annotate view/layout/default/index.tt @ 12:d9551c7e7101

improved dox library
author sergey
date Fri, 16 May 2014 16:47:50 +0400
parents 573272ec604b
children d997ff96acf1
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
11
573272ec604b almost comlete doxygen library
sergey
parents:
diff changeset
1 [%
573272ec604b almost comlete doxygen library
sergey
parents:
diff changeset
2 document.css.push(css.global);
573272ec604b almost comlete doxygen library
sergey
parents:
diff changeset
3 document.css.push(css.forms);
573272ec604b almost comlete doxygen library
sergey
parents:
diff changeset
4 docuemnt.css.push(css.index);
573272ec604b almost comlete doxygen library
sergey
parents:
diff changeset
5 %]
573272ec604b almost comlete doxygen library
sergey
parents:
diff changeset
6 <div class="wrapper">
573272ec604b almost comlete doxygen library
sergey
parents:
diff changeset
7 <div class="inline-ghost"> </div>
573272ec604b almost comlete doxygen library
sergey
parents:
diff changeset
8 <div class="page">
573272ec604b almost comlete doxygen library
sergey
parents:
diff changeset
9 $content
573272ec604b almost comlete doxygen library
sergey
parents:
diff changeset
10 </div>
573272ec604b almost comlete doxygen library
sergey
parents:
diff changeset
11 </div>
573272ec604b almost comlete doxygen library
sergey
parents:
diff changeset
12 <div id="top-menu">
12
d9551c7e7101 improved dox library
sergey
parents: 11
diff changeset
13 [%
d9551c7e7101 improved dox library
sergey
parents: 11
diff changeset
14 IF user.isNobody;
d9551c7e7101 improved dox library
sergey
parents: 11
diff changeset
15 usermenu = [
d9551c7e7101 improved dox library
sergey
parents: 11
diff changeset
16 { title = 'Login', href= app.location.user.login(ref = location) }
d9551c7e7101 improved dox library
sergey
parents: 11
diff changeset
17 ];
d9551c7e7101 improved dox library
sergey
parents: 11
diff changeset
18 ELSE;
d9551c7e7101 improved dox library
sergey
parents: 11
diff changeset
19 usermenu = [
d9551c7e7101 improved dox library
sergey
parents: 11
diff changeset
20 { title = user.name },
d9551c7e7101 improved dox library
sergey
parents: 11
diff changeset
21 { title = 'Settings', href = app.location.user },
d9551c7e7101 improved dox library
sergey
parents: 11
diff changeset
22 { title = 'Logout', href = app.location.user.logout }
d9551c7e7101 improved dox library
sergey
parents: 11
diff changeset
23 ];
d9551c7e7101 improved dox library
sergey
parents: 11
diff changeset
24 END;
d9551c7e7101 improved dox library
sergey
parents: 11
diff changeset
25 render('menu', items = usermenu, class = 'menu-bar float-right', id = 'user-menu');
d9551c7e7101 improved dox library
sergey
parents: 11
diff changeset
26 %]
11
573272ec604b almost comlete doxygen library
sergey
parents:
diff changeset
27 </div>