summaryrefslogtreecommitdiff
path: root/pages/admin/index.vue
diff options
context:
space:
mode:
Diffstat (limited to 'pages/admin/index.vue')
-rw-r--r--pages/admin/index.vue8
1 files changed, 5 insertions, 3 deletions
diff --git a/pages/admin/index.vue b/pages/admin/index.vue
index b0c480c..006f515 100644
--- a/pages/admin/index.vue
+++ b/pages/admin/index.vue
@@ -5,8 +5,10 @@
.fixed.inset-0.bg-gray-900.bg-opacity-90.transition-opacity
.fixed.inset-0.z-10.overflow-y-auto
.flex.min-h-full.items-end.justify-center.p-4.text-center(class="sm:items-center sm:p-0")
- .relative.transform.overflow-hidden.rounded-lg.bg-white.text-left.shadow-xl.transition-all(class="sm:my-8 sm:w-full sm:max-w-lg")
- h3.text-xl.font-bold.text-center.p-5 Edit user
+ .relative.transform.overflow-hidden.rounded-lg.bg-white.text-left.shadow-xl.transition-all(
+ class="sm:my-8 sm:w-full sm:max-w-lg dark:bg-gray-800"
+ )
+ h3.text-xl.font-bold.text-center.p-5(class="dark:text-white") Edit user
form.m-3
.mb-5
label.block.text-sm.font-medium.text-gray-700(class="dark:text-white" for="name") Name
@@ -44,7 +46,7 @@
type="checkbox" name="is_staff" v-model="form.is_staff"
)
- .bg-gray-50.px-4.py-3(class="sm:flex sm:flex-row-reverse sm:px-6")
+ .bg-gray-50.px-4.py-3(class="sm:flex sm:flex-row-reverse sm:px-6 dark:bg-gray-700")
button.inline-flex.w-full.justify-center.rounded-md.border.border-transparent.bg-green-600.px-4.py-2.text-base.font-medium.text-white.shadow-sm(
type="button"
:class="{'hover:bg-green-700 focus:outline-none focus:ring-2 focus:ring-green-500 focus:ring-offset-2 sm:ml-3 sm:w-auto sm:text-sm': true, 'opacity-25 cursor-default': isLoading}"