blob: 77019c880abcb4be6749b73e2ca3a05f4a40aff6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
<script>
function selectModule(id)
{
if ($('module_check_' + id).checked)
Element.addClassName('module_' + id, 'module_row_selected');
else
Element.removeClassName('module_' + id, 'module_row_selected');
}
</script>
<h1>How to use this site</h1>
<?= Controller::byName('main')->renderView('progressbar', array('step' => 1))?>
<?= Controller::byName('main')->renderView('module_list', array('status' => 'production'))?>
<?= Controller::byName('main')->renderView('module_list', array('status' => 'beta'))?>
<?= Controller::byName('main')->renderView('module_list', array('status' => 'obsolete'))?>
<h2>Tree View</h1>
<p>
Click +/- to expand/collapse. Click part name to view detail page.
</p>
<p>
<a href="javascript:d.openAll()">open all</a> | <a href="javascript:d.closeAll()">close all</a>
</p>
<p>
<script type="text/javascript">
<!--
d = new dTree('d');
d.add(<?=$root->id?>, -1, "<?=$root->get('name')?>", "<?=$root->getViewUrl()?>");
<?= Controller::byName('parts')->renderView('tree', array('root' => $root)) ?>
document.write(d);
//-->
</script>
</p>
|