Skip to content

Commit 232c177

Browse files
committed
chore: wip
1 parent 8d48c89 commit 232c177

File tree

5 files changed

+83
-64
lines changed

5 files changed

+83
-64
lines changed

resources/components/Dashboard/Navbar.vue

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,16 @@ watch(theme, (currentVal) => {
4141
>
4242
</form>
4343
<div class="flex items-center gap-x-4 lg:gap-x-6">
44+
<button
45+
type="button"
46+
class="-m-2.5 p-2.5 text-gray-400 hover:text-blue-gray-500"
47+
>
48+
<span class="sr-only">View Health Page</span>
49+
<RouterLink to="/health">
50+
<div class="i-heroicons-exclamation-triangle w-6 h-6 transition duration-150 ease-in-out" />
51+
</RouterLink>
52+
</button>
53+
4454
<button
4555
type="button"
4656
class="-m-2.5 p-2.5 text-gray-400 hover:text-blue-gray-500"

resources/components/Dashboard/Sidebar.vue

Lines changed: 65 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,6 @@
1717
class="flex flex-1 flex-col gap-y-8"
1818
>
1919
<li>
20-
<div class="text-xs font-semibold leading-6 text-gray-400 pt-4">
21-
Navigation
22-
</div>
23-
2420
<ul
2521
role="list"
2622
class="-mx-2 mt-2 space-y-1"
@@ -35,119 +31,132 @@
3531
Dashboard
3632
</RouterLink>
3733
</li>
34+
</ul>
35+
</li>
36+
37+
<li>
38+
<div class="text-xs font-semibold leading-6 text-gray-400">
39+
Management
40+
</div>
41+
42+
<ul
43+
role="list"
44+
class="-mx-2 mt-2 space-y-1"
45+
>
3846
<li>
47+
<!-- Current: "bg-gray-50 text-blue-600", Default: "text-gray-700 hover:text-blue-600 hover:bg-gray-50" -->
3948
<RouterLink
40-
to="/deployments"
41-
class="sidebar-links group"
49+
to="/dns"
50+
class="sidebar-links"
4251
>
43-
<div class="i-heroicons-clock text-gray-500 w-6 h-6 dark:text-gray-200 group-hover:text-gray-700 transition duration-150 ease-in-out" />
44-
Deployments
52+
<!-- <span class="flex h-6 w-6 shrink-0 items-center justify-center rounded-lg border text-[0.625rem] font-medium bg-white text-gray-400 border-gray-200 dark:border-gray-600 group-hover:border-blue-600 group-hover:text-blue-600">U</span> -->
53+
<div class="i-heroicons-document-magnifying-glass text-gray-500 w-6 h-6 dark:text-gray-200 group-hover:text-gray-700 transition duration-150 ease-in-out" />
54+
<span class="truncate">DNS</span>
4555
</RouterLink>
4656
</li>
57+
4758
<li>
59+
<!-- Current: "bg-gray-50 text-blue-600", Default: "text-gray-700 hover:text-blue-600 hover:bg-gray-50" -->
4860
<RouterLink
49-
to="/commands"
50-
class="sidebar-links group"
61+
to="/emails"
62+
class="sidebar-links"
5163
>
52-
<div class="i-heroicons-command-line text-gray-500 w-6 h-6 dark:text-gray-200 group-hover:text-gray-700 transition duration-150 ease-in-out" />
53-
Commands
64+
<!-- <span class="flex h-6 w-6 shrink-0 items-center justify-center rounded-lg border text-[0.625rem] font-medium bg-white text-gray-400 border-gray-200 dark:border-gray-600 group-hover:border-blue-600 group-hover:text-blue-600">U</span> -->
65+
<div class="i-heroicons-at-symbol text-gray-500 w-6 h-6 dark:text-gray-200 group-hover:text-gray-700 transition duration-150 ease-in-out" />
66+
<span class="truncate">Emails</span>
5467
</RouterLink>
5568
</li>
5669

5770
<li>
5871
<RouterLink
59-
to="/queue"
60-
class="sidebar-links group"
72+
to="/library"
73+
class="sidebar-links"
6174
>
62-
<div class="i-heroicons-queue-list text-gray-500 w-6 h-6 dark:text-gray-200 group-hover:text-gray-700 transition duration-150 ease-in-out" />
63-
Queue
75+
<div class="i-heroicons-building-library text-gray-500 w-6 h-6 dark:text-gray-200 group-hover:text-gray-700 transition duration-150 ease-in-out" />
76+
<span class="truncate">Library</span>
6477
</RouterLink>
6578
</li>
6679

6780
<li>
6881
<RouterLink
69-
to="/notifications"
82+
to="/logs"
7083
class="sidebar-links group"
7184
>
72-
<div class="i-heroicons-envelope text-gray-500 w-6 h-6 dark:text-gray-200 group-hover:text-gray-700 transition duration-150 ease-in-out" />
73-
Notifications
85+
<div class="i-heroicons-document-text text-gray-500 w-6 h-6 dark:text-gray-200 group-hover:text-gray-700 transition duration-150 ease-in-out" />
86+
Logs
7487
</RouterLink>
7588
</li>
76-
77-
<!-- <li>
78-
<RouterLink
79-
to="/queue"
80-
class="sidebar-links group"
81-
>
82-
<div class="i-heroicons-archive-box text-gray-500 w-6 h-6 dark:text-gray-200 group-hover:text-gray-700 transition duration-150 ease-in-out" />
83-
Storage
84-
</RouterLink>
85-
</li> -->
8689
</ul>
8790
</li>
8891

8992
<li>
9093
<div class="text-xs font-semibold leading-6 text-gray-400">
91-
Management
94+
App
9295
</div>
9396

9497
<ul
9598
role="list"
9699
class="-mx-2 mt-2 space-y-1"
97100
>
98101
<li>
99-
<!-- Current: "bg-gray-50 text-blue-600", Default: "text-gray-700 hover:text-blue-600 hover:bg-gray-50" -->
100102
<RouterLink
101-
to="/dns"
102-
class="sidebar-links"
103+
to="/deployments"
104+
class="sidebar-links group"
103105
>
104-
<!-- <span class="flex h-6 w-6 shrink-0 items-center justify-center rounded-lg border text-[0.625rem] font-medium bg-white text-gray-400 border-gray-200 dark:border-gray-600 group-hover:border-blue-600 group-hover:text-blue-600">U</span> -->
105-
<div class="i-heroicons-document-magnifying-glass text-gray-500 w-6 h-6 dark:text-gray-200 group-hover:text-gray-700 transition duration-150 ease-in-out" />
106-
<span class="truncate">DNS</span>
106+
<div class="i-heroicons-clock text-gray-500 w-6 h-6 dark:text-gray-200 group-hover:text-gray-700 transition duration-150 ease-in-out" />
107+
Deployments
107108
</RouterLink>
108109
</li>
109110

110111
<li>
111-
<!-- Current: "bg-gray-50 text-blue-600", Default: "text-gray-700 hover:text-blue-600 hover:bg-gray-50" -->
112112
<RouterLink
113-
to="/emails"
114-
class="sidebar-links"
113+
to="/requests"
114+
class="sidebar-links group"
115115
>
116-
<!-- <span class="flex h-6 w-6 shrink-0 items-center justify-center rounded-lg border text-[0.625rem] font-medium bg-white text-gray-400 border-gray-200 dark:border-gray-600 group-hover:border-blue-600 group-hover:text-blue-600">U</span> -->
117-
<div class="i-heroicons-at-symbol text-gray-500 w-6 h-6 dark:text-gray-200 group-hover:text-gray-700 transition duration-150 ease-in-out" />
118-
<span class="truncate">Emails</span>
116+
<div class="i-heroicons-magnifying-glass text-gray-500 w-6 h-6 dark:text-gray-200 group-hover:text-gray-700 transition duration-150 ease-in-out" />
117+
Requests
119118
</RouterLink>
120119
</li>
121120

122121
<li>
123122
<RouterLink
124-
to="/library"
125-
class="sidebar-links"
123+
to="/actions"
124+
class="sidebar-links group"
126125
>
127-
<div class="i-heroicons-building-library text-gray-500 w-6 h-6 dark:text-gray-200 group-hover:text-gray-700 transition duration-150 ease-in-out" />
128-
<span class="truncate">Library</span>
126+
<div class="i-heroicons-rocket-launch text-gray-500 w-6 h-6 dark:text-gray-200 group-hover:text-gray-700 transition duration-150 ease-in-out" />
127+
Actions
129128
</RouterLink>
130129
</li>
131130

132-
<!-- <li>
131+
<li>
133132
<RouterLink
134-
to="/settings/billing"
135-
class="sidebar-links"
133+
to="/commands"
134+
class="sidebar-links group"
136135
>
137-
<div class="i-heroicons-cog-6-tooth text-gray-500 w-6 h-6 dark:text-gray-200 group-hover:text-gray-700 transition duration-150 ease-in-out" />
138-
<span class="truncate">Config</span>
136+
<div class="i-heroicons-command-line text-gray-500 w-6 h-6 dark:text-gray-200 group-hover:text-gray-700 transition duration-150 ease-in-out" />
137+
Commands
139138
</RouterLink>
140139
</li>
141140

142141
<li>
143142
<RouterLink
144-
to="/environment"
145-
class="sidebar-links"
143+
to="/jobs"
144+
class="sidebar-links group"
146145
>
147-
<div class="i-heroicons-lock-closed text-gray-500 w-6 h-6 dark:text-gray-200 group-hover:text-gray-700 transition duration-150 ease-in-out" />
148-
<span class="truncate">Secrets</span>
146+
<div class="i-heroicons-queue-list text-gray-500 w-6 h-6 dark:text-gray-200 group-hover:text-gray-700 transition duration-150 ease-in-out" />
147+
Jobs
149148
</RouterLink>
150-
</li> -->
149+
</li>
150+
151+
<li>
152+
<RouterLink
153+
to="/notifications"
154+
class="sidebar-links group"
155+
>
156+
<div class="i-heroicons-envelope text-gray-500 w-6 h-6 dark:text-gray-200 group-hover:text-gray-700 transition duration-150 ease-in-out" />
157+
Notifications
158+
</RouterLink>
159+
</li>
151160
</ul>
152161
</li>
153162

resources/views/dashboard/library/index.vue

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ useHead({
186186
</td>
187187

188188
<td class="relative whitespace-nowrap py-4 pl-3 pr-4 text-right text-sm font-medium sm:pr-6">
189-
<a href="#" class="text-blue-600 hover:text-blue-900">Edit<span class="sr-only">, Component A</span></a>
189+
<a href="#" class="text-blue-600 hover:text-blue-900">Open<span class="sr-only">, Component A, in IDE</span></a>
190190
</td>
191191
</tr>
192192
</tbody>
@@ -234,15 +234,15 @@ useHead({
234234
</th>
235235

236236
<th scope="col" class="px-3 py-3.5 text-right text-sm font-semibold text-gray-900">
237-
Created At
237+
Updated At
238238
</th>
239239

240240
<th scope="col" class="px-3 py-3.5 text-right text-sm font-semibold text-gray-900">
241-
Updated At
241+
Created At
242242
</th>
243243

244244
<th scope="col" class="relative py-3.5 pl-3 pr-4 sm:pr-6">
245-
<span class="sr-only">Edit</span>
245+
<span class="sr-only">Open</span>
246246
</th>
247247
</tr>
248248
</thead>
@@ -262,15 +262,15 @@ useHead({
262262
</td>
263263

264264
<td class="whitespace-nowrap px-3 py-4 text-right text-sm text-gray-500">
265-
01-03-2023 08:23:15
265+
04-19-2022 09:04:20
266266
</td>
267267

268268
<td class="whitespace-nowrap px-3 py-4 text-right text-sm text-gray-500">
269-
04-19-2022 09:04:20
269+
01-03-2023 08:23:15
270270
</td>
271271

272272
<td class="relative whitespace-nowrap py-4 pl-3 pr-4 text-right text-sm font-medium sm:pr-6">
273-
<a href="#" class="text-blue-600 hover:text-blue-900">Edit<span class="sr-only">, Component A</span></a>
273+
<a href="#" class="text-blue-600 hover:text-blue-900">Open<span class="sr-only">, Component A, in IDE</span></a>
274274
</td>
275275
</tr>
276276
</tbody>

storage/framework/types/dashboard-router.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ declare module 'vue-router/auto-routes' {
2828
'/emails/': RouteRecordInfo<'/emails/', '/emails', Record<never, never>, Record<never, never>>,
2929
'/environment/': RouteRecordInfo<'/environment/', '/environment', Record<never, never>, Record<never, never>>,
3030
'/health/': RouteRecordInfo<'/health/', '/health', Record<never, never>, Record<never, never>>,
31+
'/jobs/': RouteRecordInfo<'/jobs/', '/jobs', Record<never, never>, Record<never, never>>,
3132
'/library/': RouteRecordInfo<'/library/', '/library', Record<never, never>, Record<never, never>>,
3233
'/models/': RouteRecordInfo<'/models/', '/models', Record<never, never>, Record<never, never>>,
3334
'/models/subscribers': RouteRecordInfo<'/models/subscribers', '/models/subscribers', Record<never, never>, Record<never, never>>,
3435
'/models/users': RouteRecordInfo<'/models/users', '/models/users', Record<never, never>, Record<never, never>>,
3536
'/notifications/': RouteRecordInfo<'/notifications/', '/notifications', Record<never, never>, Record<never, never>>,
36-
'/queue/': RouteRecordInfo<'/queue/', '/queue', Record<never, never>, Record<never, never>>,
3737
'/settings/billing': RouteRecordInfo<'/settings/billing', '/settings/billing', Record<never, never>, Record<never, never>>,
3838
'/settings/cache': RouteRecordInfo<'/settings/cache', '/settings/cache', Record<never, never>, Record<never, never>>,
3939
'/settings/database': RouteRecordInfo<'/settings/database', '/settings/database', Record<never, never>, Record<never, never>>,

0 commit comments

Comments
 (0)