The frontend/UI server, written in JS using the MarkoJS library
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.

11 lines
851 B

  1. <data-menu categories=input.categories selected=(input.selected || {}) user=input.user on-open("open") />
  2. <main class="data-file-page">
  3. <h1 class="file-list-headers color-primary">Your Private Files</h1>
  4. <file-list user=input.user files=state.privates on-removed("fileRemoved") on-edited("fileEdited") on-nicks("fileNicksChanged") />
  5. <h1 class="file-list-headers color-primary">Public Files</h1>
  6. <file-list user=input.user files=state.publics on-removed("fileRemoved") on-edited("fileEdited") on-nicks("fileNicksChanged") />
  7. </main>
  8. <add-channel-modal enabled=(state.modal === "channel.add") user=input.user on-close("close") />
  9. <add-character-modal enabled=(state.modal === "character.add") user=input.user on-close("close") />
  10. <add-file-modal enabled=(state.modal === "file.add") user=input.user on-added("fileAdded") on-close("close") />