mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-11 19:25:21 +01:00
[PR] [Feature] 590 - Daggerheart Menu (#1007)
* Added menu with refresh tools * Replaced menu icon
This commit is contained in:
parent
eefb28c312
commit
f1b6d3851d
53 changed files with 730 additions and 350 deletions
18
templates/sidebar/tabs.hbs
Normal file
18
templates/sidebar/tabs.hbs
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
<nav class="tabs faded-ui" role="tablist" data-tooltip-direction="LEFT">
|
||||
<menu class="flexcol">
|
||||
{{#each tabs}}
|
||||
<li>
|
||||
<button type="button" class="ui-control plain icon {{#if icon}}{{icon}}{{/if}}" data-action="tab" data-tab="{{ @key }}"
|
||||
role="tab" aria-pressed="{{ active }}" data-group="primary" aria-label="{{ localize tooltip }}"
|
||||
aria-controls="{{ @key }}" data-tooltip>
|
||||
{{#if img}}<img src="{{img}}" />{{/if}}
|
||||
</button>
|
||||
<div class="notification-pip"></div>
|
||||
</li>
|
||||
{{/each}}
|
||||
<li>
|
||||
<button type="button" class="collapse ui-control plain icon fas fa-caret-left" data-tooltip
|
||||
aria-label="{{ localize "Expand" }}" data-action="toggleState"></button>
|
||||
</li>
|
||||
</menu>
|
||||
</nav>
|
||||
Loading…
Add table
Add a link
Reference in a new issue