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