aboutsummaryrefslogtreecommitdiffstats
path: root/resources/views/dashboard/data.edge
diff options
context:
space:
mode:
Diffstat (limited to 'resources/views/dashboard/data.edge')
-rw-r--r--resources/views/dashboard/data.edge340
1 files changed, 181 insertions, 159 deletions
diff --git a/resources/views/dashboard/data.edge b/resources/views/dashboard/data.edge
index cf48c1c..ac1ee40 100644
--- a/resources/views/dashboard/data.edge
+++ b/resources/views/dashboard/data.edge
@@ -1,179 +1,201 @@
1@layout('layouts.v2') 1@layout('layouts/v2')
2 2
3@section('content') 3@section('content')
4<style> 4<style>
5 table { 5 table {
6 border: 1px solid #919191; 6 border: 1px solid #919191;
7 border-collapse: collapse; 7 border-collapse: collapse;
8 table-layout: fixed; 8 table-layout: fixed;
9 width: 100%; 9 width: 100%;
10 } 10 }
11 table thead { text-align: center; }
12 table tbody { text-align: right; }
13 table tr { border-bottom: 1px solid #919191; }
14 table tbody tr:nth-child(even) { background: var(--tertiary-color); }
15 table th { background: var(--secondary-color); font-weight: bold; }
16 table th, table td { padding: 1rem; }
17 table th:not(last-of-type), table td:not(last-of-type) { border-right: 1px solid #919191; }
18 11
12 table thead {
13 text-align: center;
14 }
15
16 table tbody {
17 text-align: right;
18 }
19
20 table tr {
21 border-bottom: 1px solid #919191;
22 }
23
24 table tbody tr:nth-child(even) {
25 background: var(--tertiary-color);
26 }
27
28 table th {
29 background: var(--secondary-color);
30 font-weight: bold;
31 }
32
33 table th,
34 table td {
35 padding: 1rem;
36 }
37
38 table th:not(last-of-type),
39 table td:not(last-of-type) {
40 border-right: 1px solid #919191;
41 }
19</style> 42</style>
20 43
21<div class="bg-purple-200 flex items-center justify-center"> 44<div class="bg-purple-200 flex items-center justify-center">
22 <div class="w-full bg-white shadow-md rounded px-8 pt-6 mt-5 pb-8 mb-4"> 45 <div class="w-full bg-white shadow-md rounded px-8 pt-6 mt-5 pb-8 mb-4">
23 <h1 class="text-gray-700 text-center text-2xl pb-5">Your Account Data</h1> 46 <h1 class="text-gray-700 text-center text-2xl pb-5">Your Account Data</h1>
24 47
25
26 <table class="w-full rounded-lg overflow-hidden sm:shadow-lg my-5"> 48 <table class="w-full rounded-lg overflow-hidden sm:shadow-lg my-5">
27 <tr> 49 <tr>
28 <th> 50 <th>
29 Name 51 Name
30 </th> 52 </th>
31 <th> 53 <th>
32 Value 54 Value
33 </th> 55 </th>
34 </tr> 56 </tr>
35 <tr> 57 <tr>
36 <td> 58 <td>
37 E-Mail 59 E-Mail
38 </td> 60 </td>
39 <td> 61 <td>
40 {{ mail }} 62 {{ mail }}
41 </td> 63 </td>
42 </tr> 64 </tr>
43 <tr> 65 <tr>
44 <td> 66 <td>
45 Username 67 Username
46 </td> 68 </td>
47 <td> 69 <td>
48 {{ username }} 70 {{ username }}
49 </td> 71 </td>
50 </tr> 72 </tr>
51 <tr> 73 <tr>
52 <td> 74 <td>
53 Last Name 75 Last Name
54 </td> 76 </td>
55 <td> 77 <td>
56 {{ lastname }} 78 {{ lastname }}
57 </td> 79 </td>
58 </tr> 80 </tr>
59 <tr> 81 <tr>
60 <td> 82 <td>
61 Created account on 83 Created account on
62 </td> 84 </td>
63 <td> 85 <td>
64 {{ created }} 86 {{ created }}
65 </td> 87 </td>
66 </tr> 88 </tr>
67 <tr> 89 <tr>
68 <td> 90 <td>
69 Last account update on 91 Last account update on
70 </td> 92 </td>
71 <td> 93 <td>
72 {{ updated }} 94 {{ updated }}
73 </td> 95 </td>
74 </tr> 96 </tr>
75 </table> 97 </table>
76 98
77 <h1 class="text-gray-700 text-center text-2xl pb-5">Your Services</h1> 99 <h1 class="text-gray-700 text-center text-2xl pb-5">Your Services</h1>
78 <table class="w-full rounded-lg overflow-hidden sm:shadow-lg my-5"> 100 <table class="w-full rounded-lg overflow-hidden sm:shadow-lg my-5">
79 <tr> 101 <tr>
80 <th> 102 <th>
81 Service ID 103 Service ID
82 </th> 104 </th>
83 <th> 105 <th>
84 Name 106 Name
85 </th> 107 </th>
86 <th> 108 <th>
87 Recipe ID 109 Recipe ID
88 </th> 110 </th>
89 <th> 111 <th>
90 Settings 112 Settings
91 </th> 113 </th>
92 <th> 114 <th>
93 Created 115 Created
94 </th> 116 </th>
95 <th> 117 <th>
96 Last updated 118 Last updated
97 </th> 119 </th>
98 </tr> 120 </tr>
99 121
100 @each(service in services) 122 @each(service in services)
101 <tr> 123 <tr>
102 <td> 124 <td>
103 {{ service.serviceId }} 125 {{ service.serviceId }}
104 </td> 126 </td>
105 <td> 127 <td>
106 {{ service.name }} 128 {{ service.name }}
107 </td> 129 </td>
108 <td> 130 <td>
109 {{ service.recipeId }} 131 {{ service.recipeId }}
110 </td> 132 </td>
111 <td> 133 <td>
112 {{ stringify(service.settings) }} 134 {{ stringify(service.settings) }}
113 </td> 135 </td>
114 <td> 136 <td>
115 {{ service.created_at }} 137 {{ service.createdAt.toFormat('yyyy-MM-dd HH:mm:ss') }}
116 </td> 138 </td>
117 <td> 139 <td>
118 {{ service.updated_at }} 140 {{ service.updatedAt.toFormat('yyyy-MM-dd HH:mm:ss') }}
119 </td> 141 </td>
120 </tr> 142 </tr>
121 @endeach 143 @endeach
122 </table> 144 </table>
123 145
124 <h1 class="text-gray-700 text-center text-2xl pb-5">Your Workspaces</h1> 146 <h1 class="text-gray-700 text-center text-2xl pb-5">Your Workspaces</h1>
125 <table> 147 <table>
126 <tr> 148 <tr>
127 <th> 149 <th>
128 Service ID 150 Workspace ID
129 </th> 151 </th>
130 <th> 152 <th>
131 Name 153 Name
132 </th> 154 </th>
133 <th> 155 <th>
134 Order 156 Order
135 </th> 157 </th>
136 <th> 158 <th>
137 Services 159 Services
138 </th> 160 </th>
139 <th> 161 <th>
140 Data 162 Data
141 </th> 163 </th>
142 <th> 164 <th>
143 Created 165 Created
144 </th> 166 </th>
145 <th> 167 <th>
146 Last updated 168 Last updated
147 </th> 169 </th>
148 </tr> 170 </tr>
149 171
150 @each(workspace in workspaces) 172 @each(workspace in workspaces)
151 <tr> 173 <tr>
152 <td> 174 <td>
153 {{ workspace.workspaceId }} 175 {{ workspace.workspaceId }}
154 </td> 176 </td>
155 <td> 177 <td>
156 {{ workspace.name }} 178 {{ workspace.name }}
157 </td> 179 </td>
158 <td> 180 <td>
159 {{ workspace.order }} 181 {{ workspace.order }}
160 </td> 182 </td>
161 <td> 183 <td>
162 {{ stringify(workspace.services) }} 184 {{ stringify(workspace.services) }}
163 </td> 185 </td>
164 <td> 186 <td>
165 {{ stringify(workspace.data) }} 187 {{ stringify(workspace.data) }}
166 </td> 188 </td>
167 <td> 189 <td>
168 {{ workspace.created_at }} 190 {{ workspace.createdAt.toFormat('yyyy-MM-dd HH:mm:ss') }}
169 </td> 191 </td>
170 <td> 192 <td>
171 {{ workspace.updated_at }} 193 {{ workspace.updatedAt.toFormat('yyyy-MM-dd HH:mm:ss') }}
172 </td> 194 </td>
173 </tr> 195 </tr>
174 @endeach 196 @endeach
175 </table> 197 </table>
176 198
177 <div class="text-center"> 199 <div class="text-center">
178 <a class="w-full font-bold text-sm text-gray-500 hover:text-gray-800 mb-3" href="/user/account">Back to My 200 <a class="w-full font-bold text-sm text-gray-500 hover:text-gray-800 mb-3" href="/user/account">Back to My
179 Account</a> 201 Account</a>
@@ -182,4 +204,4 @@
182 </div> 204 </div>
183</div> 205</div>
184</div> 206</div>
185@endsection \ No newline at end of file 207@endsection