Revision 88bd305a
Von Sven Schöling vor etwa 12 Jahren hinzugefügt
templates/webpages/menu/menu.html | ||
---|---|---|
1 |
|
|
1 |
[%- USE L %] |
|
2 | 2 |
<style type='text/css'> |
3 |
.bold { font-weight: bold; } |
|
4 |
#html-menu { float:left } |
|
3 |
#html-menu { float:left; white-space: nowrap; } |
|
5 | 4 |
#html-menu tr { vertical-align: top; } |
6 | 5 |
#html-menu img { vertical-align: middle; } |
7 | 6 |
#html-menu div.menuitem { padding: 2px 4px 1px 4px; } |
... | ... | |
17 | 16 |
[%- FOREACH item IN sections %] |
18 | 17 |
<div class='menu-multiline'> |
19 | 18 |
[%- FOREACH chunk IN item.chunks %] |
20 |
<div class='menuitem [% item.class %] hover'>[% item.spacer %][% item.a %][% item.img %][% chunk %][% '</a>' IF item.a %]</div> |
|
19 |
<div class='menuitem [% item.class %] hover'>[% item.spacer %] |
|
20 |
[%- IF item.href %] |
|
21 |
[% L.link(item.href, item.img _ chunk, target=item.target) %] |
|
22 |
[%- ELSE %] |
|
23 |
[% item.img _ chunk %] |
|
24 |
[%- END %] |
|
25 |
</div> |
|
21 | 26 |
[%- END %] |
22 | 27 |
</div> |
23 | 28 |
[%- END %] |
Auch abrufbar als: Unified diff
menuitem nach menu.pl verlagert. links in template generiert