28 lines
697 B
Handlebars
28 lines
697 B
Handlebars
<ul>
|
|
{{#each items}}
|
|
{{#unless hidden}}
|
|
<li>
|
|
{{#if disabled}}
|
|
<div class="menuitem action action-{{name}} permanent {{#if active}}active{{/if}} disabled" data-action="{{name}}">
|
|
{{else}}
|
|
<a href="#" class="menuitem action action-{{name}} permanent {{#if active}}active{{/if}}" data-action="{{name}}">
|
|
{{/if}}
|
|
{{#if iconClass}}
|
|
<span class="icon {{iconClass}}"></span>
|
|
{{else}}
|
|
<span class="no-icon"></span>
|
|
{{/if}}
|
|
<p>
|
|
<strong class="menuitem-text">{{displayName}}</strong><br>
|
|
<span class="menuitem-text-detail">{{tooltip}}</span>
|
|
</p>
|
|
{{#if disabled}}
|
|
</div>
|
|
{{else}}
|
|
</a>
|
|
{{/if}}
|
|
</li>
|
|
{{/unless}}
|
|
{{/each}}
|
|
</ul>
|