You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
1.2 KiB
20 lines
1.2 KiB
<menu user=input.user>
|
|
<menu-header>List</menu-header>
|
|
<menu-link key="characters" selected=input.selected.characters icon="C" href="/data/characters/">Characters</menu-link>
|
|
<menu-link key="channels" selected=input.selected.channels icon="#" href="/data/channels/">Channels</menu-link>
|
|
<menu-link key="history" selected=input.selected.changes icon="H" href="/data/changes/">History</menu-link>
|
|
<menu-link key="files" selected=input.selected.files icon="F" href="/data/files/">Files</menu-link>
|
|
<if-permitted user=input.user permission=["member", "character.add", "channel.add", "file.add"]>
|
|
<menu-gap />
|
|
<menu-header>Add</menu-header>
|
|
<if-permitted key="characters_add" user=input.user permission=["character.add", "member"]>
|
|
<menu-link dark icon="+" on-click("emit", "open", "character.add")>Character</menu-link>
|
|
</if-permitted>
|
|
<if-permitted key="channels_add" user=input.user permission="channel.add">
|
|
<menu-link dark icon="+" on-click("emit", "open", "channel.add")>Channel</menu-link>
|
|
</if-permitted>
|
|
<if-permitted key="files_add" user=input.user permission=["file.add", "member"]>
|
|
<menu-link dark icon="+" on-click("emit", "open", "file.add")>File</menu-link>
|
|
</if-permitted>
|
|
</if-permitted>
|
|
</menu>
|