File tree Expand file tree Collapse file tree 3 files changed +24
-7
lines changed Expand file tree Collapse file tree 3 files changed +24
-7
lines changed Original file line number Diff line number Diff line change 1
- < div style ="display: flex; flex-direction: column; gap: 10px; max-width: 100%; overflow-x: hidden; ">
1
+ < div style ="display: flex; flex-direction: column; gap: 10px; max-width: 100%; ">
2
2
3
3
< div style ="display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; ">
4
4
< h2 style ="margin: 0; "> Channels</ h2 >
@@ -16,7 +16,7 @@ <h2 style="margin: 0;">Channels</h2>
16
16
< % } %>
17
17
18
18
< % if (!app.channels.length) { %>
19
- < article style ="border-style: dashed; padding: 10px; border-radius: 5px; ">
19
+ < article style ="border-style: dashed; padding: 10px; border-radius: 5px; max-width: 100%; ">
20
20
< p > There are no channels currently</ p >
21
21
</ article >
22
22
< % } %>
Original file line number Diff line number Diff line change 1
- < div style ="display: flex; flex-direction: column; gap: 10px; ">
1
+ < div style ="display: flex; flex-direction: column; gap: 10px; max-width: 100%; ">
2
2
< h2 > Notifications</ h2 >
3
3
4
4
< % app.notifications.forEach(n => { %>
@@ -22,7 +22,7 @@ <h2>Notifications</h2>
22
22
< % }) %>
23
23
24
24
< % if (!app.notifications.length) { %>
25
- < div style ="border-radius: 5px; border: dashed; padding: 10px; ">
25
+ < div style ="border-radius: 5px; border: dashed; padding: 10px; max-width: fit-content; ">
26
26
< p > There are no notifications currently</ p >
27
27
</ div >
28
28
< % } %>
Original file line number Diff line number Diff line change 1
- < div style ="border-radius: 5px; border-style: dashed; padding: 10px; ">
2
- < h2 > App</ h2 >
3
- < pre > < %= JSON.stringify(app, null, 2) %> </ pre >
1
+ < div style ="display: flex; flex-direction: column; gap: 10px; max-width: 100%; ">
2
+
3
+ < div style ="display: flex; justify-content: space-between; align-items: center; ">
4
+ < h2 style ="margin: 0; "> App</ h2 >
5
+ < a href ="/apps/<%= app.id %>/edit "> Edit</ a >
6
+ </ div >
7
+
8
+ < div style ="display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 5px; border: dashed; padding: 10px; border-radius: 5px; width: fit-content; max-width: 100%; ">
9
+ < div > < strong > ID:</ strong > </ div >
10
+ < div > < %= app.id %> </ div >
11
+ < div > < strong > Name:</ strong > </ div >
12
+ < div > < %= app.name %> </ div >
13
+ < div > < strong > Status:</ strong > </ div >
14
+ < div > < %= app.is_active ? 'Active' : 'Inactive' %> </ div >
15
+ < div > < strong > Created:</ strong > </ div >
16
+ < div > < %= new Date(app.created_at).toLocaleString() %> </ div >
17
+ < div > < strong > Updated:</ strong > </ div >
18
+ < div > < %= new Date(app.updated_at).toLocaleString() %> </ div >
19
+ </ div >
20
+
4
21
</ div >
You can’t perform that action at this time.
0 commit comments