mirror of
https://github.com/crater-invoice/crater.git
synced 2025-12-15 09:52:55 -05:00
Compare commits
1 Commits
dark-notif
...
dark-globa
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3defe3fa29 |
@@ -41,6 +41,11 @@
|
||||
w-[300px]
|
||||
h-[200px]
|
||||
right-0
|
||||
dark:border-white/10
|
||||
dark:text-white
|
||||
dark:bg-gray-800/[.95]
|
||||
dark:shadow-glass
|
||||
dark:backdrop-blur-xl
|
||||
"
|
||||
>
|
||||
<div
|
||||
@@ -68,7 +73,7 @@
|
||||
<div
|
||||
v-for="(customer, index) in usersStore.customerList"
|
||||
:key="index"
|
||||
class="p-2 hover:bg-gray-100 cursor-pointer rounded-md"
|
||||
class="p-2 hover:bg-gray-100 cursor-pointer rounded-md dark:hover:bg-gray-700/40"
|
||||
>
|
||||
<router-link
|
||||
:to="{ path: `/admin/customers/${customer.id}/view` }"
|
||||
@@ -87,6 +92,7 @@
|
||||
bg-gray-200
|
||||
rounded-full
|
||||
text-primary-500
|
||||
dark:bg-gray-600
|
||||
"
|
||||
>
|
||||
{{ initGenerator(customer.name) }}
|
||||
@@ -116,7 +122,7 @@
|
||||
<div
|
||||
v-for="(user, index) in usersStore.userList"
|
||||
:key="index"
|
||||
class="p-2 hover:bg-gray-100 cursor-pointer rounded-md"
|
||||
class="p-2 hover:bg-gray-100 cursor-pointer rounded-md dark:hover:bg-gray-700/40"
|
||||
>
|
||||
<router-link
|
||||
:to="{ path: `/admin/users/${user.id}/edit` }"
|
||||
@@ -135,6 +141,7 @@
|
||||
bg-gray-200
|
||||
rounded-full
|
||||
text-primary-500
|
||||
dark:bg-gray-600
|
||||
"
|
||||
>
|
||||
{{ initGenerator(user.name) }}
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
<template>
|
||||
<div
|
||||
:class="success || info
|
||||
? 'bg-white dark:border dark:border-white/10 dark:text-white dark:bg-gray-800/[.80] dark:shadow-glass dark:backdrop-blur-sm'
|
||||
: 'bg-red-50 dark:bg-red-400/[.70] dark:shadow-glass dark:backdrop-blur-sm'"
|
||||
:class="success || info ? 'bg-white' : 'bg-red-50'"
|
||||
class="
|
||||
max-w-sm
|
||||
mb-3
|
||||
@@ -50,7 +48,7 @@
|
||||
</svg>
|
||||
<svg
|
||||
v-if="error"
|
||||
class="w-6 h-6 text-red-400 dark:text-white"
|
||||
class="w-6 h-6 text-red-400"
|
||||
fill="currentColor"
|
||||
viewBox="0 0 24 24"
|
||||
>
|
||||
@@ -64,9 +62,7 @@
|
||||
<div class="flex-1 w-0 ml-3 text-left">
|
||||
<p
|
||||
:class="`text-sm leading-5 font-medium ${
|
||||
success || info
|
||||
? 'text-gray-900 dark:text-white'
|
||||
: 'text-red-800 dark:text-white'
|
||||
success || info ? 'text-gray-900' : 'text-red-800'
|
||||
}`"
|
||||
>
|
||||
{{
|
||||
@@ -79,9 +75,7 @@
|
||||
</p>
|
||||
<p
|
||||
:class="`mt-1 text-sm leading-5 ${
|
||||
success || info
|
||||
? 'text-gray-500 dark:text-gray-400'
|
||||
: 'text-red-700 dark:text-red-200'
|
||||
success || info ? 'text-gray-500' : 'text-red-700'
|
||||
}`"
|
||||
>
|
||||
{{
|
||||
@@ -98,7 +92,7 @@
|
||||
:class="
|
||||
success || info
|
||||
? ' text-gray-400 focus:text-gray-500'
|
||||
: 'text-red-400 focus:text-red-500 dark:text-red-100'
|
||||
: 'text-red-400 focus:text-red-500'
|
||||
"
|
||||
class="
|
||||
inline-flex
|
||||
|
||||
Reference in New Issue
Block a user