comparison view/layout/default/base.tt @ 11:573272ec604b

almost comlete doxygen library
author sergey
date Thu, 15 May 2014 18:24:02 +0400
parents 2d1a0a75fc49
children d9551c7e7101
comparison
equal deleted inserted replaced
10:83ad674a8cdd 11:573272ec604b
1 [% 1 [%
2 document.css.push(css.global); 2 document.css.push(css.global);
3 document.css.push(css.forms);
3 %] 4 %]
5 [% IF document.menu.page.size;
6 render('menu', items = document.menu.page, class='menu-bar', id='page-menu');
7 END %]
8 <div id="header">
9 [%
10 render(
11 'menu',
12 items = [
13 { title = 'HOME', href = app.location },
14 { title = 'Wiki', href = app.location.wiki },
15 { title = 'Owncloud', href = app.location.owncloud },
16 { title = 'BugZilla', href = app.location.bugzilla },
17 { title = 'Library', href = app.location.library },
18 { title = 'Mercurial', href = app.location.mercurial }
19 ],
20 class = 'menu-bar float-left',
21 id = 'main-menu'
22 )%]
23 [%
24 IF user.isNobody;
25 usermenu = [
26 { title = 'Login', href= app.location.user.login(ref = location) }
27 ];
28 ELSE;
29 usermenu = [
30 { title = user.name },
31 { title = 'Settings', href = app.location.user },
32 { title = 'Logout', href = app.location.user.logout }
33 ];
34 END;
35 render('menu', items = usermenu, class = 'menu-bar float-right', id = 'user-menu');
36 %]
37 <div style="clear: both"></div>
38 </div>
4 $content 39 $content