The frontend for the project formerly known as signet, now known as beignet.
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 
 

57 rader
1.1 KiB

  1. <template>
  2. <!-- Unused -->
  3. <div class="is-flex is-flex-direction-row">
  4. <nav class="is-hidden-tablet-only is-hidden-mobile">
  5. <div class="mt-6">
  6. <div>
  7. <span class="has-text-white has-text-weight-bold my-4 mx-2">Administration</span>
  8. </div>
  9. <ul class="p-2">
  10. <li v-for="(link, i) in links" v-bind:key="i">
  11. <RouterLink :to="link.to" class="has-text-grey-light">{{ link.text }}</RouterLink>
  12. </li>
  13. </ul>
  14. </div>
  15. </nav>
  16. <div class="container is-max-desktop">
  17. <RouterView></RouterView>
  18. </div>
  19. </div>
  20. </template>
  21. <script setup lang="ts">
  22. const links = [
  23. {
  24. text: 'Dashboard',
  25. to: '/admin/dashboard',
  26. },
  27. {
  28. text: 'Add Fund',
  29. to: '/admin/addfund',
  30. },
  31. {
  32. text: 'Add/Modify Queue',
  33. to: '/admin/modifyqueue',
  34. },
  35. {
  36. text: 'Add User',
  37. to: '/admin/adduser',
  38. },
  39. {
  40. text: 'Modify User',
  41. to: '/admin/modifyuser',
  42. },
  43. ];
  44. </script>
  45. <style scoped lang="stylus">
  46. nav
  47. min-width 134px
  48. height calc(100vh - 56px)
  49. li
  50. font-variant all-petite-caps
  51. font-size 18px
  52. </style>