annotate shared_view/includes/menu.tt @ 16:e69c970c3ddd default tip

sync
author sergey
date Tue, 20 May 2014 01:28:48 +0400
parents d9551c7e7101
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
11
573272ec604b almost comlete doxygen library
sergey
parents:
diff changeset
1 [% META class='IMPL::Web::View::TTMenuControl' %]
12
d9551c7e7101 improved dox library
sergey
parents: 11
diff changeset
2 [% MACRO link(href,title) BLOCK -%]
d9551c7e7101 improved dox library
sergey
parents: 11
diff changeset
3 <a href="$href" class="menu-item"><span class="menu-item-icon">&nbsp;</span>$title</a>
11
573272ec604b almost comlete doxygen library
sergey
parents:
diff changeset
4 [%- END %]
12
d9551c7e7101 improved dox library
sergey
parents: 11
diff changeset
5 [% MACRO span(title) BLOCK -%]
d9551c7e7101 improved dox library
sergey
parents: 11
diff changeset
6 <span class="menu-item"><span class="menu-item-icon">&nbsp;</span>$title</span>
11
573272ec604b almost comlete doxygen library
sergey
parents:
diff changeset
7 [%- END %]
573272ec604b almost comlete doxygen library
sergey
parents:
diff changeset
8 <ul class="$class" id="$id">
12
d9551c7e7101 improved dox library
sergey
parents: 11
diff changeset
9 [% FOREACH item IN items ~%]
11
573272ec604b almost comlete doxygen library
sergey
parents:
diff changeset
10 <li [% IF item.active %]class="active"[% END %]>[% item.href ? link(item.href,item.title) : span(item.title) %]</li>
12
d9551c7e7101 improved dox library
sergey
parents: 11
diff changeset
11 [%~ END %]
11
573272ec604b almost comlete doxygen library
sergey
parents:
diff changeset
12 </ul>