From 385194e009d070412c58d85f8fb5e798ea03683e Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Thu, 13 Oct 2022 20:09:56 +0200 Subject: Admin initial components --- components/AdminSidebar.vue | 34 ++++++++++++++++++++++++++++++++++ components/VHeader.vue | 5 +++++ 2 files changed, 39 insertions(+) create mode 100644 components/AdminSidebar.vue diff --git a/components/AdminSidebar.vue b/components/AdminSidebar.vue new file mode 100644 index 0000000..d044cea --- /dev/null +++ b/components/AdminSidebar.vue @@ -0,0 +1,34 @@ + + + diff --git a/components/VHeader.vue b/components/VHeader.vue index a141d0b..0814352 100644 --- a/components/VHeader.vue +++ b/components/VHeader.vue @@ -50,6 +50,11 @@ | Your Profile + a.flex.leading-6.block.px-4.py-2.text-sm.text-gray-700(class="dark:text-white" href="/admin" role="menuitem" tabindex="-1" v-if="me.is_staff") + + + + | Admin a.flex.leanding-6.block.px-4.py-2.text-sm.text-gray-700(class="dark:text-white" href="/settings" role="menuitem" tabindex="-1") -- cgit v1.2.3-18-g5258