Add saving & clearing of changes of the sidebar tab ordering
This commit is contained in:
parent
a682048852
commit
8c8d16e315
5 changed files with 99 additions and 9 deletions
|
|
@ -1,14 +1,46 @@
|
|||
<footer>
|
||||
<button type="close">
|
||||
{{ localize "OFT.apps.discard-changes" }}
|
||||
</button>
|
||||
<button>
|
||||
<button data-scope="User">
|
||||
<oft-icon
|
||||
name="icons/save"
|
||||
aria-hidden="true"
|
||||
var:fill="currentColor"
|
||||
var:size="1rem"
|
||||
></oft-icon>
|
||||
{{ localize "Save Changes" }}
|
||||
{{ localize "OFT.apps.SidebarTabRearranger.save-user" }}
|
||||
</button>
|
||||
<button
|
||||
type="button"
|
||||
data-action="unsetSetting"
|
||||
data-scope="User"
|
||||
>
|
||||
{{ localize "OFT.apps.SidebarTabRearranger.remove-user" }}
|
||||
</button>
|
||||
|
||||
{{#if meta.isGM}}
|
||||
<button
|
||||
data-scope="World"
|
||||
>
|
||||
<oft-icon
|
||||
name="icons/save"
|
||||
aria-hidden="true"
|
||||
var:fill="currentColor"
|
||||
var:size="1rem"
|
||||
></oft-icon>
|
||||
{{ localize "OFT.apps.SidebarTabRearranger.save-world" }}
|
||||
</button>
|
||||
<button
|
||||
type="button"
|
||||
data-action="unsetSetting"
|
||||
data-scope="World"
|
||||
>
|
||||
{{ localize "OFT.apps.SidebarTabRearranger.remove-world" }}
|
||||
</button>
|
||||
{{/if}}
|
||||
|
||||
<button
|
||||
class="wide"
|
||||
type="close"
|
||||
>
|
||||
{{ localize "OFT.apps.discard-changes" }}
|
||||
</button>
|
||||
</footer>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue