File tree Expand file tree Collapse file tree 11 files changed +38
-21
lines changed Expand file tree Collapse file tree 11 files changed +38
-21
lines changed Original file line number Diff line number Diff line change 1
- < div class ="p-10 ">
1
+ < div class ="p-10 bg-base-200 ">
2
2
< div class ="mx-auto max-w-6xl w-full text-center text-sm ">
3
3
< p >
4
4
Copyright © 2024. Made with ❤️ by
Original file line number Diff line number Diff line change 1
- < header class ="navbar p-10 sticky top-0 z-10 backdrop-blur-sm bg-base-100/70 border border-b border-gray -100 ">
1
+ < header class ="navbar p-10 sticky top-0 z-10 bg-base-100 ">
2
2
< div class ="max-w-6xl mx-auto justify-between w-full items-center ">
3
3
< div class ="flex-1 ">
4
4
< a class ="btn btn-ghost text-3xl font-extrabold " href ="/ "> Notify</ a >
11
11
< div class ="dropdown dropdown-end ">
12
12
< div tabindex ="0 " role ="button " class ="btn btn-ghost btn-circle avatar ">
13
13
< div class ="w-10 rounded-full ">
14
- < div class ="bg-gray-300 h-full w-full "> </ div >
14
+ < div class ="h-full w-full "> </ div >
15
15
</ div >
16
16
</ div >
17
17
< ul tabindex ="0 " class ="menu menu-sm dropdown-content bg-base-100 rounded-box z-[1] mt-3 w-52 p-2 shadow ">
Original file line number Diff line number Diff line change 3
3
<!-- head -->
4
4
< %- include('../components/head.html') %>
5
5
6
- < body class ="flex min-h-screen flex-col overflow-auto max-w-full bg-gray-50 ">
6
+ < body class ="flex min-h-screen flex-col overflow-auto max-w-full ">
7
7
<!-- header -->
8
8
< %- include('../components/header.html') %>
9
9
10
- < main class ="flex-1 relative h-full ">
10
+ < main class ="flex-1 relative h-full bg-base-200 ">
11
11
12
12
< div class ="p-10 ">
13
13
< div class ="mx-auto max-w-6xl w-full ">
@@ -16,7 +16,7 @@ <h2 class="font-medium text-2xl">Apps / <%= app.id %></h2>
16
16
< div class ="sm:grid sm:grid-cols-4 flex flex-col gap-5 mt-5 ">
17
17
18
18
< aside >
19
- < ul class ="menu bg-base-100 rounded-lg border border-gray-100 ">
19
+ < ul class ="menu bg-base-100 rounded-lg p-5 ">
20
20
< li > < a href ="/apps/<%= app.id %> "> App</ a > </ li >
21
21
< li > < a href ="/apps/<%= app.id %>/channels "> Channels</ a > </ li >
22
22
< li > < a href ="/apps/<%= app.id %>/notifications "> Notifications</ a > </ li >
Original file line number Diff line number Diff line change 3
3
<!-- head -->
4
4
< %- include('../components/head.html') %>
5
5
6
- < body class ="flex min-h-screen flex-col overflow-auto max-w-full bg-gray-50 ">
6
+ < body class ="flex min-h-screen flex-col overflow-auto max-w-full bg-base-200 ">
7
7
<!-- header -->
8
8
< %- include('../components/header.html') %>
9
9
Original file line number Diff line number Diff line change 3
3
<!-- head -->
4
4
< %- include('../components/head.html') %>
5
5
6
- < body class ="flex min-h-screen flex-col overflow-auto max-w-full ">
6
+ < script >
7
+ document . addEventListener ( 'DOMContentLoaded' , function ( ) {
8
+ var savedTheme = localStorage . getItem ( 'theme' ) || 'light' ;
9
+ document . documentElement . setAttribute ( 'data-theme' , savedTheme ) ; ;
10
+ } ) ;
11
+ </ script >
12
+
13
+ < body class ="flex min-h-screen flex-col overflow-auto max-w-full bg-base-200 ">
7
14
< %- body %>
8
15
</ body >
9
16
</ html >
Original file line number Diff line number Diff line change 1
1
< div class ="flex flex-col gap-5 ">
2
2
< h2 class ="font-medium text-xl "> Channels</ h2 >
3
- < div class ="border border-gray-100 rounded-lg bg-base-100 p-5 ">
4
- < pre > < %= JSON.stringify(app, null, 2) %> </ pre >
3
+ < div class ="card bg-base-100 card-bordered ">
4
+ < div class ="card-body ">
5
+ < pre > < %= JSON.stringify(app, null, 2) %> </ pre >
6
+ </ div >
5
7
</ div >
6
8
</ div >
Original file line number Diff line number Diff line change 1
1
< div class ="flex flex-col gap-5 ">
2
2
< h2 class ="font-medium text-xl "> Notifications</ h2 >
3
- < div class ="border border-gray-100 rounded-lg bg-base-100 p-5 ">
4
- < pre > < %= JSON.stringify(app, null, 2) %> </ pre >
3
+ < div class ="card bg-base-100 card-bordered ">
4
+ < div class ="card-body ">
5
+ < pre > < %= JSON.stringify(app, null, 2) %> </ pre >
6
+ </ div >
5
7
</ div >
6
8
</ div >
Original file line number Diff line number Diff line change 1
1
< div class ="flex flex-col gap-5 ">
2
2
< h2 class ="font-medium text-xl "> App</ h2 >
3
- < div class ="border border-gray-100 rounded-lg bg-base-100 p-5 ">
4
- < pre > < %= JSON.stringify(app, null, 2) %> </ pre >
3
+ < div class ="card bg-base-100 card-bordered ">
4
+ < div class ="card-body ">
5
+ < pre > < %= JSON.stringify(app, null, 2) %> </ pre >
6
+ </ div >
5
7
</ div >
6
8
</ div >
Original file line number Diff line number Diff line change @@ -9,15 +9,19 @@ <h2 class="font-medium text-2xl">Apps</h2>
9
9
< div class ="grid grid-cols-3 gap-5 mt-5 ">
10
10
< % if (apps.length) { %>
11
11
< % apps.forEach(app => { %>
12
- < div class ="p-5 border border-gray-100 rounded-lg bg-base-100 ">
13
- < a class ="link " href ="/apps/<%= app.id %> "> < h4 > < %= app.name %> </ h4 > </ a >
12
+ < div class ="card bg-base-100 card-bordered ">
13
+ < div class ="card-body ">
14
+ < a class ="link " href ="/apps/<%= app.id %> "> < h4 > < %= app.name %> </ h4 > </ a >
15
+ </ div >
14
16
</ div >
15
17
< % }) %>
16
18
< % } %>
17
19
18
20
< % if (!apps.length) { %>
19
- < div class ="p-5 border border-gray-100 rounded-md bg-base-100 ">
20
- There are no apps currently
21
+ < div class ="card bg-base-100 ">
22
+ < div class ="card-body ">
23
+ There are no apps currently
24
+ </ div >
21
25
</ div >
22
26
< % } %>
23
27
</ div >
Original file line number Diff line number Diff line change 1
- < div class ="flex bg-gray-50 flex-col justify-center items-center min-h-screen ">
1
+ < div class ="flex flex-col justify-center items-center min-h-screen ">
2
2
3
- < div class ="card bg-base-100 shadow-xl gap-10 min-w-[400px] ">
3
+ < div class ="card bg-base-100 shadow-xl gap-10 min-w-[400px] card-bordered ">
4
4
< div class ="card-body gap-6 ">
5
5
6
6
< div class ="flex flex-col gap-1 ">
You can’t perform that action at this time.
0 commit comments