Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 836427cf

Přidáno uživatelem David Raška před asi 11 roky(ů)

Changes:
- Changes in layout

Zobrazit rozdíly:

.gitignore
/axo_doc.xml
index.php
<head>
<title>FreenetIS AXO documentation</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="shorcut icon" type="image/x-icon" href="skin/favicon.ico" />
<link rel="stylesheet" type="text/css" href="style.css" media="screen">
<link rel='stylesheet' type='text/css' href='skin/ui.dynatree.css'>
<script src='js/jquery.min.js' type="text/javascript"></script>
......
<body>
<div id="loading"></div>
<div class="hide" id="header">
<h1>Free<span>net</span>IS</h1>
<img src="skin/logo_freenetis.jpg">
<!--<h1>Free<span>net</span>IS</h1>-->
<div class="t">AXO documentation</div>
<ul class="tab">
<li class="tab" id="sources_tab"><span class="t">Pages</span></li>
......
<table>
<tbody id="access_table">
<tr>
<th>AXO value</th>
<th class="t">AXO value</th>
<th>AXO</th>
<th>ACO</th>
<th class="t">Actions</th>
......
<table>
<tbody id="access-partial_table">
<tr>
<th>AXO value</th>
<th class="t">AXO value</th>
<th>AXO</th>
<th>ACO</th>
<th class="t">Actions</th>
......
<table>
<tbody id="links_table">
<tr>
<th>AXO value</th>
<th class="t">AXO value</th>
<th>AXO</th>
<th>ACO</th>
<th class="t">Actions</th>
......
<table>
<tbody id="breadcrumbs_table">
<tr>
<th>AXO value</th>
<th class="t">AXO value</th>
<th>AXO</th>
<th>ACO</th>
<th class="t">Actions</th>
......
<table>
<tbody id="grid-action_table">
<tr>
<th>AXO value</th>
<th class="t">AXO value</th>
<th>AXO</th>
<th>ACO</th>
<th class="t">Actions</th>
js/script.js
var lang = __t('lang');
/**
* Translate function
*
......
for (i = 0; i < arguments.length-1; i++)
{
text = text.replace('{s}', '<span class="translated_part">'+arguments[i+1]+'</span>');
text = text.replace('{s}', '<span class="important">'+arguments[i+1]+'</span>');
}
return text;
......
{
if (node.parent !== null)
{
parent = node.parent;
var parent = node.parent;
// display breadcrumbs
breadcrumbs = new Array();
var breadcrumbs = new Array();
breadcrumbs.unshift(node.data.nf_title);
while (parent.parent !== null)
......
default:
if (typeof node.data.type !== 'undefined')
{
count = node.data.type.match(/\//g);
var count = node.data.type.match(/\//g);
if (count === null)
{
......
}
// display details from children
detail = '';
var detail = '';
if (node.data.children !== null &&
node.data.type !== 'method')
{
......
for (i = 0; i < len; i++)
{
link = 'detail';
detail += '<li><span class="links '+link+'_link" href="'+node.data.children[i].key+'">'+node.data.children[i].nf_title+"</span></li>";
detail += '<li><span class="links detail_link" href="'+node.data.children[i].key+'">'+node.data.children[i].nf_title+"</span></li>";
}
$('#details #node_detail').html('<ul>'+detail+'</ul>');
......
for (i = 0; i < len; i++)
{
$('#'+node.data.children[i].usage+"_table").append('<tr class="axo"><td>'+node.data.children[i].value+'</td><td>'+node.data.children[i].section+'</td><td>'+node.data.children[i].action+'</td><td><span class="detail_link axo_show_detail" href="axo_section/'+node.data.children[i].section+'/'+node.data.children[i].value+'"></span></td></tr>');
var title = node.data.children[i].value;
var cls = '';
if (typeof node.data.children[i].c_en !== 'undefined' &&
node.data.children[i].c_en !== null &&
typeof node.data.children[i].c_cs !== 'undefined' &&
node.data.children[i].c_cs !== null
)
{
if (lang === 'cs')
{
var comment = node.data.children[i].c_cs;
}
else
{
var comment = node.data.children[i].c_en;
}
title = '<span class="has_hint" title="'+comment+'">'+title+'</span>';
}
$('#'+node.data.children[i].usage+"_table").append('<tr class="axo"><td>'+title+'</td><td>'+node.data.children[i].section+'</td><td>'+node.data.children[i].action+'</td><td><span class="detail_link axo_show_detail" href="axo_section/'+node.data.children[i].section+'/'+node.data.children[i].value+'"></span></td></tr>');
}
}
else
......
node.data.c_cs !== null
)
{
if (__t('lang') === 'cs')
if (lang === 'cs')
{
comment = node.data.c_cs;
var comment = node.data.c_cs;
}
else
{
comment = node.data.c_en;
var comment = node.data.c_en;
}
$('#details #comment').text("");
......
*/
function customRender(node)
{
if (__t('lang') === 'cs')
if (lang === 'cs')
{
comment = node.data.c_cs;
}
js/translate.cs.js
'usage:': 'Použití:',
'comment': 'Komentář',
'axo value': 'AXO hodnota',
'actions': 'Akce',
'this page has no access rights': 'Tato stránka nevyžaduje žádná práva',
style.css
font-size: 30px;
}
#header img {
padding: 10px 0 0 15px;
}
#header > div,
#header ul,
h1 {
......
margin: 100px auto;
}
.translated_part {
border-bottom: 1px dashed #000000;
.important {
background-color: #cccccc;
border-radius: 2px;
padding: 0 5px;
}
.has_hint {
border-bottom: 1px dotted #000000;
cursor: pointer;
}

Také k dispozici: Unified diff