Revize 9df37183
Přidáno uživatelem David Raška před asi 11 roky(ů)
index.php | ||
---|---|---|
<div id="show_detail" class="hide"></div>
|
||
<div id="node_detail" class="hide"></div>
|
||
<div id="method_detail" class="hide">
|
||
<div><img src="js/skin/access.png"><span class="t">access rights for access to page</span></div>
|
||
<table>
|
||
<tbody id="access_table">
|
||
<tr>
|
||
<th class="t">AXO value</th>
|
||
<th>AXO</th>
|
||
<th>ACO</th>
|
||
<th class="t">Actions</th>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
<div><img src="js/skin/access-partial.png"><span class="t">access rights for access to part of page</span></div>
|
||
<table>
|
||
<tbody id="access-partial_table">
|
||
<tr>
|
||
<th class="t">AXO value</th>
|
||
<th>AXO</th>
|
||
<th>ACO</th>
|
||
<th class="t">Actions</th>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
<div><img src="js/skin/links.png"><span class="t">Access rights for links to other pages</span></div>
|
||
<table>
|
||
<tbody id="links_table">
|
||
<tr>
|
||
<th class="t">AXO value</th>
|
||
<th>AXO</th>
|
||
<th>ACO</th>
|
||
<th class="t">Actions</th>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
<div><img src="js/skin/breadcrumbs.png"><span class="t">Access rights for breadcrumbs navigation</span></div>
|
||
<table>
|
||
<tbody id="breadcrumbs_table">
|
||
<tr>
|
||
<th class="t">AXO value</th>
|
||
<th>AXO</th>
|
||
<th>ACO</th>
|
||
<th class="t">Actions</th>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
<div><img src="js/skin/grid-action.png"><span class="t">Access rights for grid actions</span></div>
|
||
<table>
|
||
<tbody id="grid-action_table">
|
||
<tr>
|
||
<th class="t">AXO value</th>
|
||
<th>AXO</th>
|
||
<th>ACO</th>
|
||
<th class="t">Actions</th>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
<div>
|
||
<div><img src="js/skin/access.png"><span class="t">access rights for access to page</span></div>
|
||
<table>
|
||
<tbody id="access_table">
|
||
<tr>
|
||
<th class="t">AXO value</th>
|
||
<th>AXO</th>
|
||
<th>ACO</th>
|
||
<th class="t">Actions</th>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
<div>
|
||
<div><img src="js/skin/access-partial.png"><span class="t">access rights for access to part of page</span></div>
|
||
<table>
|
||
<tbody id="access-partial_table">
|
||
<tr>
|
||
<th class="t">AXO value</th>
|
||
<th>AXO</th>
|
||
<th>ACO</th>
|
||
<th class="t">Actions</th>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
<div>
|
||
<div><img src="js/skin/links.png"><span class="t">Access rights for links to other pages</span></div>
|
||
<table>
|
||
<tbody id="links_table">
|
||
<tr>
|
||
<th class="t">AXO value</th>
|
||
<th>AXO</th>
|
||
<th>ACO</th>
|
||
<th class="t">Actions</th>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
<div>
|
||
<div><img src="js/skin/breadcrumbs.png"><span class="t">Access rights for breadcrumbs navigation</span></div>
|
||
<table>
|
||
<tbody id="breadcrumbs_table">
|
||
<tr>
|
||
<th class="t">AXO value</th>
|
||
<th>AXO</th>
|
||
<th>ACO</th>
|
||
<th class="t">Actions</th>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
<div>
|
||
<div><img src="js/skin/grid-action.png"><span class="t">Access rights for grid actions</span></div>
|
||
<table>
|
||
<tbody id="grid-action_table">
|
||
<tr>
|
||
<th class="t">AXO value</th>
|
||
<th>AXO</th>
|
||
<th>ACO</th>
|
||
<th class="t">Actions</th>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
</div>
|
||
<table id="axo_detail" class="hide">
|
||
<tbody>
|
js/script.js | ||
---|---|---|
|
||
len = node.data.children.length;
|
||
|
||
$('#access_table tr.axo').remove();
|
||
$('#access-partial_table tr.axo').remove();
|
||
$('#links_table tr.axo').remove();
|
||
$('#breadcrumbs_table tr.axo').remove();
|
||
$('#grid-action_table tr.axo').remove();
|
||
$('#access_table').parent().parent().addClass('hide').find('tr.axo').remove();
|
||
$('#access-partial_table').parent().parent().addClass('hide').find('tr.axo').remove();
|
||
$('#links_table').parent().parent().addClass('hide').find('tr.axo').remove();
|
||
$('#breadcrumbs_table').parent().parent().addClass('hide').find('tr.axo').remove();
|
||
$('#grid-action_table').parent().parent().addClass('hide').find('tr.axo').remove();
|
||
|
||
for (i = 0; i < len; i++)
|
||
{
|
||
... | ... | |
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>');
|
||
$('#'+node.data.children[i].usage+"_table").parent().parent().removeClass('hide');
|
||
}
|
||
}
|
||
else
|
||
... | ... | |
if (tab === 'axo')
|
||
{
|
||
$('#axo_sections_tab').click();
|
||
$('#sections_tree').dynatree('getTree').activateKey(tab+'/'+req);
|
||
$('#sections_tree').dynatree('getTree').activateKey('axo_section/'+req);
|
||
$('#sections_tree').dynatree('getActiveNode').expand();
|
||
}
|
||
else
|
||
{
|
||
$('#sources_tab').click();
|
||
$('#sources_tree').dynatree('getTree').activateKey(tab+'/'+req);
|
||
$('#sources_tree').dynatree('getTree').activateKey('controller/'+req);
|
||
$('#sources_tree').dynatree('getActiveNode').expand();
|
||
}
|
||
}
|
style.css | ||
---|---|---|
background-color: #eeeeee;
|
||
}
|
||
|
||
#method_detail > div {
|
||
#method_detail div div {
|
||
border: solid #CCCCCC;
|
||
background-color: #eeeeee;
|
||
border-width: 1px 1px 0 1px;
|
Také k dispozici: Unified diff
Changes:
- Hiding emty ACL tables in method detail