annotate view/layout/default/base.tt @ 16:e69c970c3ddd default tip

sync
author sergey
date Tue, 20 May 2014 01:28:48 +0400
parents d997ff96acf1
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6
2d1a0a75fc49 added css, templates
sergey
parents: 4
diff changeset
1 [%
2d1a0a75fc49 added css, templates
sergey
parents: 4
diff changeset
2 document.css.push(css.global);
11
573272ec604b almost comlete doxygen library
sergey
parents: 6
diff changeset
3 document.css.push(css.forms);
6
2d1a0a75fc49 added css, templates
sergey
parents: 4
diff changeset
4 %]
11
573272ec604b almost comlete doxygen library
sergey
parents: 6
diff changeset
5 <div id="header">
573272ec604b almost comlete doxygen library
sergey
parents: 6
diff changeset
6 [%
573272ec604b almost comlete doxygen library
sergey
parents: 6
diff changeset
7 render(
573272ec604b almost comlete doxygen library
sergey
parents: 6
diff changeset
8 'menu',
573272ec604b almost comlete doxygen library
sergey
parents: 6
diff changeset
9 items = [
573272ec604b almost comlete doxygen library
sergey
parents: 6
diff changeset
10 { title = 'HOME', href = app.location },
573272ec604b almost comlete doxygen library
sergey
parents: 6
diff changeset
11 { title = 'Wiki', href = app.location.wiki },
573272ec604b almost comlete doxygen library
sergey
parents: 6
diff changeset
12 { title = 'Owncloud', href = app.location.owncloud },
573272ec604b almost comlete doxygen library
sergey
parents: 6
diff changeset
13 { title = 'BugZilla', href = app.location.bugzilla },
573272ec604b almost comlete doxygen library
sergey
parents: 6
diff changeset
14 { title = 'Library', href = app.location.library },
573272ec604b almost comlete doxygen library
sergey
parents: 6
diff changeset
15 { title = 'Mercurial', href = app.location.mercurial }
573272ec604b almost comlete doxygen library
sergey
parents: 6
diff changeset
16 ],
573272ec604b almost comlete doxygen library
sergey
parents: 6
diff changeset
17 class = 'menu-bar float-left',
573272ec604b almost comlete doxygen library
sergey
parents: 6
diff changeset
18 id = 'main-menu'
573272ec604b almost comlete doxygen library
sergey
parents: 6
diff changeset
19 )%]
573272ec604b almost comlete doxygen library
sergey
parents: 6
diff changeset
20 [%
14
sergey
parents: 12
diff changeset
21 render('usermenu');
11
573272ec604b almost comlete doxygen library
sergey
parents: 6
diff changeset
22 %]
573272ec604b almost comlete doxygen library
sergey
parents: 6
diff changeset
23 <div style="clear: both"></div>
573272ec604b almost comlete doxygen library
sergey
parents: 6
diff changeset
24 </div>
12
d9551c7e7101 improved dox library
sergey
parents: 11
diff changeset
25
d9551c7e7101 improved dox library
sergey
parents: 11
diff changeset
26 [% IF document.menu.page.size;
d9551c7e7101 improved dox library
sergey
parents: 11
diff changeset
27 render('menu', items = document.menu.page, class='menu-bar', id='page-menu');
d9551c7e7101 improved dox library
sergey
parents: 11
diff changeset
28 END %]
d9551c7e7101 improved dox library
sergey
parents: 11
diff changeset
29 <div id="page-content">
d9551c7e7101 improved dox library
sergey
parents: 11
diff changeset
30 $content
d9551c7e7101 improved dox library
sergey
parents: 11
diff changeset
31 </div>