From ddd002094d5c80ca4065b7d181e7f5b9471556da Mon Sep 17 00:00:00 2001 From: vantezzen Date: Thu, 2 Apr 2020 15:32:18 +0200 Subject: Update dashboard design --- resources/views/dashboard/account.edge | 109 ++++++----- resources/views/dashboard/data.edge | 326 ++++++++++++++++---------------- resources/views/dashboard/delete.edge | 45 +++-- resources/views/dashboard/login.edge | 86 +++++---- resources/views/dashboard/transfer.edge | 81 ++++---- 5 files changed, 348 insertions(+), 299 deletions(-) (limited to 'resources/views/dashboard') diff --git a/resources/views/dashboard/account.edge b/resources/views/dashboard/account.edge index a91aa11..9f3539e 100644 --- a/resources/views/dashboard/account.edge +++ b/resources/views/dashboard/account.edge @@ -1,66 +1,75 @@ -@layout('layouts.main') +@layout('layouts.v2') @section('content') -

Your Ferdi account

-@if(flashMessage('error')) -
- {{ flashMessage('error') }} +
+
+

+ Your Ferdi account +

+ @if(flashMessage('error')) +
+ {{ flashMessage('error') }}
-@endif -@if(old('message')) -
- {{ old('message') }} + @endif + @if(old('message')) +
+ {{ old('message') }}
-@endif -@if(flashMessage('notification')) -
- {{ flashMessage('notification.message') }} + @endif + @if(flashMessage('notification')) +
+ {{ flashMessage('notification.message') }}
-@endif -@if(success === true) -
- Sucessfully updated your user account + @endif + @if(success === true) +
+ Sucessfully updated your user account
-@endif + @endif -
- {{ csrfField() }} -
- + + {{ csrfField() }} +
+
- +
-
-
- +
+
+
- +
-
-
- +
+
+
- +
-
-
+
+
+
+ + - - - -
- -
- Logout -
- -
- -@endsection \ No newline at end of file +@endsection 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 @@ -@layout('layouts.main') +@layout('layouts.v2') @section('content') -

Your Ferdi account data

-@if(flashMessage('error')) -
- {{ flashMessage('error') }} -
-@endif -@if(old('message')) -
- {{ old('message') }} -
-@endif - -

General account data

- - - - - - - - - - - - - - - - - - - - - -
- Name - - Value -
- E-Mail - - {{ mail }} -
- Username - - {{ username }} -
- Created account on - - {{ created }} -
- Last account update on - - {{ updated }} -
- -

Your services

- - - - - - - - - + +
+
+

Your Account Data

-

Your workspaces

-
- Service ID - - Name - - Recipe ID - - Settings - - Created - - Last updated -
- - - - - - - - - - - @each(workspace in workspaces) - - - - - - - - - - @endeach -
- Service ID - - Name - - Order - - Services - - Data - - Created - - Last updated -
- {{ workspace.workspaceId }} - - {{ workspace.name }} - - {{ workspace.order }} - - {{ workspace.services }} - - {{ workspace.data }} - - {{ workspace.created_at }} - - {{ workspace.updated_at }} -
+ + + + + + + + + + + + + + + + + + + + + + +
+ Name + + Value +
+ E-Mail + + {{ mail }} +
+ Username + + {{ username }} +
+ Created account on + + {{ created }} +
+ Last account update on + + {{ updated }} +
+ +

Your Services

+ + + + + + + + + + + @each(service in services) + + + + + + + + + @endeach +
+ Service ID + + Name + + Recipe ID + + Settings + + Created + + Last updated +
+ {{ service.serviceId }} + + {{ service.name }} + + {{ service.recipeId }} + + {{ stringify(service.settings) }} + + {{ service.created_at }} + + {{ service.updated_at }} +
+ +

Your Workspaces

+ + + + + + + + + + + + @each(workspace in workspaces) + + + + + + + + + + @endeach +
+ Service ID + + Name + + Order + + Services + + Data + + Created + + Last updated +
+ {{ workspace.workspaceId }} + + {{ workspace.name }} + + {{ workspace.order }} + + {{ stringify(workspace.services) }} + + {{ stringify(workspace.data) }} + + {{ workspace.created_at }} + + {{ workspace.updated_at }} +
+ + -
-
- @endsection \ No newline at end of file diff --git a/resources/views/dashboard/delete.edge b/resources/views/dashboard/delete.edge index d3fc0df..3a29253 100644 --- a/resources/views/dashboard/delete.edge +++ b/resources/views/dashboard/delete.edge @@ -1,31 +1,36 @@ -@layout('layouts.main') +@layout('layouts.v2') @section('content') -

Delete Ferdi account

-@if(flashMessage('error')) -
- {{ flashMessage('error') }} +
+
+

Delete your account

+ @if(flashMessage('error')) +
+ {{ flashMessage('error') }}
-@endif -@if(old('message')) -
- {{ old('message') }} + @endif + @if(old('message')) +
+ {{ old('message') }}
-@endif + @endif -
-

Are you sure, that you want to delete your Ferdi account?

-

This will permanently delete all your account settings, services and workspaces.

-
+ +

Are you sure, that you want to delete your Ferdi account?

+

This will permanently delete all your account settings, services and workspaces.

+
{{ csrfField() }} +
+ + + - -
- Cancel +
+
-
- -@endsection \ No newline at end of file +@endsection diff --git a/resources/views/dashboard/login.edge b/resources/views/dashboard/login.edge index 16042b3..9b4b52a 100644 --- a/resources/views/dashboard/login.edge +++ b/resources/views/dashboard/login.edge @@ -1,42 +1,64 @@ -@layout('layouts.main') +@layout('layouts.v2') @section('content') -

Login

-@if(flashMessage('error')) -
- {{ flashMessage('error') }} +
+
+

+ Login +

+ + @if(flashMessage('error')) +
+ {{ flashMessage('error') }}
-@endif -@if(old('message')) -
- {{ old('message') }} + @endif + @if(old('message')) +
+ {{ old('message') }}
-@endif - + @endif + {{ csrfField() }} -
- -
- -
-
-
- -
- -
+
+ +
-
- - By logging in, you accept the Terms of Service and Privacy policy. This website uses cookies to log you in. - +
+ +
-
-

Not a member yet? Register in the Ferdi app or import your Franz account.

+ +

+ By logging in, you accept the Terms of Service and Privacy policy. This website uses cookies to log you in. +

+ -
-
- -@endsection \ No newline at end of file +@endsection diff --git a/resources/views/dashboard/transfer.edge b/resources/views/dashboard/transfer.edge index 94efeb0..d2feedc 100644 --- a/resources/views/dashboard/transfer.edge +++ b/resources/views/dashboard/transfer.edge @@ -1,52 +1,55 @@ -@layout('layouts.main') +@layout('layouts.v2') @section('content') -

Import/Export data from another Ferdi server

-@if(flashMessage('error')) -
- {{ flashMessage('error') }} +
+
+

Import/Export data from another Ferdi server

+ @if(flashMessage('error')) +
+ {{ flashMessage('error') }}
-@endif -@if(old('message')) -
- {{ old('message') }} + @endif + @if(old('message')) +
+ {{ old('message') }}
-@endif -@if(flashMessage('notification')) -
- {{ flashMessage('notification.message') }} + @endif + @if(flashMessage('notification')) +
+ {{ flashMessage('notification.message') }}
-@endif -@if(success === true) -
- Sucessfully imported your account data + @endif + @if(success === true) +
+ Sucessfully imported your account data
-@endif + @endif -

Import data

-
- -
- -
-
- -
- {{ csrfField() }} - +

Import data

- +
+ +
-
-

Export data

-Export data +
+ {{ csrfField() }} + +
+ +
+
- +

Export data

+ Export data -
- + -@endsection \ No newline at end of file +
+ +
+
+@endsection -- cgit v1.2.3-70-g09d2