logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://hacktivis.me/git/pleroma-fe.git

staff_panel.vue (851B)


  1. <template>
  2. <div class="staff-panel">
  3. <div class="panel panel-default base01-background">
  4. <div class="panel-heading timeline-heading base02-background">
  5. <div class="title">
  6. {{ $t("about.staff") }}
  7. </div>
  8. </div>
  9. <div class="panel-body">
  10. <div
  11. v-for="group in groupedStaffAccounts"
  12. :key="group.role"
  13. class="staff-group"
  14. >
  15. <h4>{{ $t('general.role.' + group.role) }}</h4>
  16. <basic-user-card
  17. v-for="user in group.users"
  18. :key="user.screen_name"
  19. :user="user"
  20. />
  21. </div>
  22. </div>
  23. </div>
  24. </div>
  25. </template>
  26. <script src="./staff_panel.js"></script>
  27. <style lang="scss">
  28. .staff-group {
  29. padding-left: 1em;
  30. padding-top: 1em;
  31. .basic-user-card {
  32. padding-left: 0;
  33. }
  34. }
  35. </style>