From 135ce7ebef5919db3c664a9efe290363884990a8 Mon Sep 17 00:00:00 2001 From: James Brooks Date: Wed, 10 Aug 2016 20:40:54 +0100 Subject: [PATCH] Fix template indentations --- .../views/dashboard/components/add.blade.php | 140 ++++----- .../views/dashboard/components/edit.blade.php | 144 ++++----- .../dashboard/components/groups/add.blade.php | 68 ++--- .../components/groups/edit.blade.php | 68 ++--- .../components/groups/index.blade.php | 70 ++--- .../dashboard/components/index.blade.php | 78 ++--- .../views/dashboard/incidents/add.blade.php | 230 +++++++------- .../views/dashboard/incidents/edit.blade.php | 166 +++++------ .../views/dashboard/incidents/index.blade.php | 64 ++-- .../views/dashboard/metrics/add.blade.php | 142 ++++----- .../views/dashboard/metrics/edit.blade.php | 148 ++++----- .../views/dashboard/metrics/index.blade.php | 62 ++-- .../dashboard/notifications/index.blade.php | 18 +- .../views/dashboard/schedule/add.blade.php | 112 +++---- .../views/dashboard/schedule/edit.blade.php | 96 +++--- .../views/dashboard/schedule/index.blade.php | 68 ++--- .../dashboard/settings/analytics.blade.php | 106 +++---- .../dashboard/settings/app-setup.blade.php | 244 +++++++-------- .../settings/customization.blade.php | 74 ++--- .../dashboard/settings/localization.blade.php | 176 +++++------ .../dashboard/settings/security.blade.php | 90 +++--- .../dashboard/settings/stylesheet.blade.php | 58 ++-- .../views/dashboard/settings/theme.blade.php | 282 +++++++++--------- .../views/dashboard/subscribers/add.blade.php | 56 ++-- .../dashboard/subscribers/index.blade.php | 82 ++--- resources/views/dashboard/team/add.blade.php | 88 +++--- resources/views/dashboard/team/edit.blade.php | 94 +++--- .../views/dashboard/team/index.blade.php | 64 ++-- .../views/dashboard/team/invite.blade.php | 76 ++--- .../views/dashboard/templates/add.blade.php | 63 ++-- .../views/dashboard/templates/index.blade.php | 54 ++-- .../views/dashboard/user/index.blade.php | 134 ++++----- 32 files changed, 1707 insertions(+), 1708 deletions(-) diff --git a/resources/views/dashboard/components/add.blade.php b/resources/views/dashboard/components/add.blade.php index 43fe12b6..48dd35f5 100644 --- a/resources/views/dashboard/components/add.blade.php +++ b/resources/views/dashboard/components/add.blade.php @@ -1,78 +1,78 @@ @extends('layout.dashboard') @section('content') -
- - - {{ trans('dashboard.components.components') }} - - > {{ trans('dashboard.components.add.title') }} +
+ -
-
-
- @include('dashboard.partials.errors') -
- -
-
- - -
-
- - -
-
- - -
- @if($groups->count() > 0) -
- - -
- @else - - @endif -
-
- - -
-
- - - {{ trans('forms.components.tags-help') }} -
-
- -
-
- - - -
- - {{ trans('forms.cancel') }} + + {{ trans('dashboard.components.components') }} + + > {{ trans('dashboard.components.add.title') }} +
+
+
+
+ @include('dashboard.partials.errors') + + +
+
+ +
- -
+
+ + +
+
+ + +
+ @if($groups->count() > 0) +
+ + +
+ @else + + @endif +
+
+ + +
+
+ + + {{ trans('forms.components.tags-help') }} +
+
+ +
+ + + + +
+ + {{ trans('forms.cancel') }} +
+
+
@stop diff --git a/resources/views/dashboard/components/edit.blade.php b/resources/views/dashboard/components/edit.blade.php index 6324f878..1d27ffd1 100644 --- a/resources/views/dashboard/components/edit.blade.php +++ b/resources/views/dashboard/components/edit.blade.php @@ -1,79 +1,79 @@ @extends('layout.dashboard') @section('content') -
- - - {{ trans('dashboard.components.components') }} - - > {{ trans('dashboard.components.edit.title') }} +
+ -
-
-
- @include('dashboard.partials.errors') -
- -
-
- - -
-
- - -
-
- - -
- @if($groups->count() > 0) -
- - -
- @else - - @endif -
-
- - -
-
- - - {{ trans('forms.components.tags-help') }} -
-
- -
-
- - - - -
- - {{ trans('forms.cancel') }} + + {{ trans('dashboard.components.components') }} + + > {{ trans('dashboard.components.edit.title') }} +
+
+
+
+ @include('dashboard.partials.errors') + + +
+
+ +
- -
+
+ + +
+
+ + +
+ @if($groups->count() > 0) +
+ + +
+ @else + + @endif +
+
+ + +
+
+ + + {{ trans('forms.components.tags-help') }} +
+
+ +
+ + + + + +
+ + {{ trans('forms.cancel') }} +
+
- @stop +
+@stop diff --git a/resources/views/dashboard/components/groups/add.blade.php b/resources/views/dashboard/components/groups/add.blade.php index 3111e463..dc843f9d 100644 --- a/resources/views/dashboard/components/groups/add.blade.php +++ b/resources/views/dashboard/components/groups/add.blade.php @@ -1,42 +1,42 @@ @extends('layout.dashboard') @section('content') -
- - - {{ trans_choice('dashboard.components.groups.groups', 2) }} - - > {{ trans('dashboard.components.groups.add.title') }} +
+ -
-
-
- @include('dashboard.partials.errors') -
- -
-
- - -
-
- - -
-
- -
- - {{ trans('forms.cancel') }} + + {{ trans_choice('dashboard.components.groups.groups', 2) }} + + > {{ trans('dashboard.components.groups.add.title') }} +
+
+
+
+ @include('dashboard.partials.errors') + + +
+
+ +
- -
+
+ + +
+ + +
+ + {{ trans('forms.cancel') }} +
+
+
@stop diff --git a/resources/views/dashboard/components/groups/edit.blade.php b/resources/views/dashboard/components/groups/edit.blade.php index 72d27a1c..39f0519e 100644 --- a/resources/views/dashboard/components/groups/edit.blade.php +++ b/resources/views/dashboard/components/groups/edit.blade.php @@ -1,42 +1,42 @@ @extends('layout.dashboard') @section('content') -
- - - {{ trans_choice('dashboard.components.groups.groups', 2) }} - - > {{ trans('dashboard.components.groups.edit.title') }} +
+ -
-
-
- @include('dashboard.partials.errors') -
- -
-
- - -
-
- - -
-
- -
- - {{ trans('forms.cancel') }} + + {{ trans_choice('dashboard.components.groups.groups', 2) }} + + > {{ trans('dashboard.components.groups.edit.title') }} +
+
+
+
+ @include('dashboard.partials.errors') + + +
+
+ +
- -
+
+ + +
+ + +
+ + {{ trans('forms.cancel') }} +
+
+
@stop diff --git a/resources/views/dashboard/components/groups/index.blade.php b/resources/views/dashboard/components/groups/index.blade.php index e65200d7..c0c118ae 100644 --- a/resources/views/dashboard/components/groups/index.blade.php +++ b/resources/views/dashboard/components/groups/index.blade.php @@ -1,44 +1,44 @@ @extends('layout.dashboard') @section('content') -
- @if(isset($sub_menu)) - @include('dashboard.partials.sub-sidebar') - @endif -
-
- - {{ trans_choice('dashboard.components.groups.groups', 2) }} - - - {{ trans('dashboard.components.groups.add.title') }} - -
-
- @include('dashboard.partials.errors') -
-
- @forelse($groups as $group) -
-
-

- @if($groups->count() > 1) - - @endif - {{ $group->name }} - {{ $group->components->count() }} -

-
- +
+ @if(isset($sub_menu)) + @include('dashboard.partials.sub-sidebar') + @endif +
+
+ + {{ trans_choice('dashboard.components.groups.groups', 2) }} + + + {{ trans('dashboard.components.groups.add.title') }} + +
+
+ @include('dashboard.partials.errors') +
+
+ @forelse($groups as $group) +
+
+

+ @if($groups->count() > 1) + + @endif + {{ $group->name }} + {{ $group->components->count() }} +

+
+ - @empty -
{{ trans('dashboard.components.groups.no_components') }}
- @endforelse
+ @empty +
{{ trans('dashboard.components.groups.no_components') }}
+ @endforelse
+
@stop diff --git a/resources/views/dashboard/components/index.blade.php b/resources/views/dashboard/components/index.blade.php index 78de73b3..c64eec01 100644 --- a/resources/views/dashboard/components/index.blade.php +++ b/resources/views/dashboard/components/index.blade.php @@ -1,49 +1,49 @@ @extends('layout.dashboard') @section('content') -
- @if(isset($sub_menu)) - @include('dashboard.partials.sub-sidebar') - @endif -
-
- - {{ trans('dashboard.components.components') }} - - - {{ trans('dashboard.components.add.title') }} - -
-
- @include('dashboard.partials.errors') -
-
- @forelse($components as $component) -
-
-

- @if($components->count() > 1) - - @endif - {{ $component->name }} {{ $component->human_status }} -

- @if($component->group) -

{{ trans('dashboard.components.listed_group', ['name' => $component->group->name]) }}

+
+ @if(isset($sub_menu)) + @include('dashboard.partials.sub-sidebar') + @endif +
+
+ + {{ trans('dashboard.components.components') }} + + + {{ trans('dashboard.components.add.title') }} + +
+
+ @include('dashboard.partials.errors') +
+
+ @forelse($components as $component) +
+
+

+ @if($components->count() > 1) + @endif - @if($component->description) -

{{ $component->description }}

- @endif -

- + {{ $component->name }} {{ $component->human_status }} + + @if($component->group) +

{{ trans('dashboard.components.listed_group', ['name' => $component->group->name]) }}

+ @endif + @if($component->description) +

{{ $component->description }}

+ @endif +
+ - @empty -
{{ trans('dashboard.components.add.message') }}
- @endforelse
+ @empty +
{{ trans('dashboard.components.add.message') }}
+ @endforelse
+
@stop diff --git a/resources/views/dashboard/incidents/add.blade.php b/resources/views/dashboard/incidents/add.blade.php index 821a633b..f799042f 100644 --- a/resources/views/dashboard/incidents/add.blade.php +++ b/resources/views/dashboard/incidents/add.blade.php @@ -1,131 +1,131 @@ @extends('layout.dashboard') @section('content') -
- - - {{ trans('dashboard.incidents.incidents') }} - - > {{ trans('dashboard.incidents.add.title') }} +
+ -
-
-
- @include('dashboard.partials.errors') -
- -
- @if($incident_templates->count() > 0) -
- - -
- @endif -
- - -
-
-
- - - - -
-
- - -
- @if(!$components_in_groups->isEmpty() || !$components_out_groups->isEmpty()) -
- - +
+ @if($incident_templates->count() > 0) +
+ + +
+ @endif +
+ + +
+
+
+ + + + +
+
+ + +
+ @if(!$components_in_groups->isEmpty() || !$components_out_groups->isEmpty()) +
+ + - {{ trans('forms.optional') }} -
- @endif -
- +
-
- - {{ trans('forms.cancel') }} + +
+
- -
+
+ {{ trans('forms.optional') }} + +
+ + @if(subscribers_enabled()) +
+ +
+ @endif +
+ +
+
+ + {{ trans('forms.cancel') }} +
+
+
+
@stop diff --git a/resources/views/dashboard/incidents/edit.blade.php b/resources/views/dashboard/incidents/edit.blade.php index 3d078179..d42d6520 100644 --- a/resources/views/dashboard/incidents/edit.blade.php +++ b/resources/views/dashboard/incidents/edit.blade.php @@ -1,97 +1,97 @@ @extends('layout.dashboard') @section('content') -
- - - {{ trans('dashboard.incidents.incidents') }} - - > {{ trans('dashboard.incidents.edit.title') }} +
+ -
-
-
- @include('dashboard.partials.errors') -
- -
-
- - -
-
-
- - - - -
-
- - -
- @if($incident->component) -
-
-
{{ $incident->component->name }}
-
-
- @foreach(trans('cachet.components.status') as $statusID => $status) -
- -
- @endforeach + + {{ trans('dashboard.incidents.incidents') }} + + > {{ trans('dashboard.incidents.edit.title') }} +
+
+
+
+ @include('dashboard.partials.errors') + + +
+
+ + +
+
+
+ + + + +
+
+ + +
+ @if($incident->component) +
+
+
{{ $incident->component->name }}
+
+
+ @foreach(trans('cachet.components.status') as $statusID => $status) +
+
+ @endforeach
- @endif -
- -
- -
-
-
- {{ trans('forms.optional') }} - -
-
- - id}}> - +
+ @endif
-
- - {{ trans('forms.cancel') }} + +
+
- -
+
+ {{ trans('forms.optional') }} + +
+
+ + id}}> + +
+
+ + {{ trans('forms.cancel') }} +
+
+
+
@stop diff --git a/resources/views/dashboard/incidents/index.blade.php b/resources/views/dashboard/incidents/index.blade.php index 23287ab1..d10ccfc6 100644 --- a/resources/views/dashboard/incidents/index.blade.php +++ b/resources/views/dashboard/incidents/index.blade.php @@ -1,43 +1,43 @@ @extends('layout.dashboard') @section('content') -
- @if(isset($sub_menu)) - @include('dashboard.partials.sub-sidebar') - @endif -
-
- - {{ trans('dashboard.incidents.incidents') }} - - - {{ trans('dashboard.incidents.add.title') }} - -
-
-
-
- @include('dashboard.partials.errors') -

{!! trans_choice('dashboard.incidents.logged', $incidents->count(), ['count' => $incidents->count()]) !!}

+
+ @if(isset($sub_menu)) + @include('dashboard.partials.sub-sidebar') + @endif +
+
+ + {{ trans('dashboard.incidents.incidents') }} + + + {{ trans('dashboard.incidents.add.title') }} + +
+
+
+
+ @include('dashboard.partials.errors') +

{!! trans_choice('dashboard.incidents.logged', $incidents->count(), ['count' => $incidents->count()]) !!}

-
- @foreach($incidents as $incident) -
-
- {{ $incident->name }} - @if($incident->message) -

{{ Str::words($incident->message, 5) }}

- @endif -
- +
+ @foreach($incidents as $incident) +
+
+ {{ $incident->name }} + @if($incident->message) +

{{ Str::words($incident->message, 5) }}

+ @endif +
+ - @endforeach
+ @endforeach
+
@stop diff --git a/resources/views/dashboard/metrics/add.blade.php b/resources/views/dashboard/metrics/add.blade.php index ac42e9c1..946d8515 100644 --- a/resources/views/dashboard/metrics/add.blade.php +++ b/resources/views/dashboard/metrics/add.blade.php @@ -1,80 +1,80 @@ @extends('layout.dashboard') @section('content') -
- - - {{ trans('dashboard.metrics.metrics') }} - - > {{ trans('dashboard.metrics.add.title') }} +
+ -
-
-
- @include('dashboard.partials.errors') -
- -
-
- - -
-
- - -
-
- -
- -
-
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- -
-
-
-
- - {{ trans('forms.cancel') }} + + {{ trans('dashboard.metrics.metrics') }} + + > {{ trans('dashboard.metrics.add.title') }} +
+
+
+
+ @include('dashboard.partials.errors') + + +
+
+ + +
+
+ + +
+
+ +
+
- -
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ +
+ +
+
+ + {{ trans('forms.cancel') }} +
+
+
+
@stop diff --git a/resources/views/dashboard/metrics/edit.blade.php b/resources/views/dashboard/metrics/edit.blade.php index 149aa327..869e0cc0 100644 --- a/resources/views/dashboard/metrics/edit.blade.php +++ b/resources/views/dashboard/metrics/edit.blade.php @@ -1,83 +1,83 @@ @extends('layout.dashboard') @section('content') -
- - - {{ trans('dashboard.metrics.metrics') }} - - > {{ trans('dashboard.metrics.edit.title') }} +
+ -
-
-
- @include('dashboard.partials.errors') -
- -
-
- - -
-
- - -
-
- -
- -
-
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- -
-
- - id}}> - -
-
- - {{ trans('forms.cancel') }} + + {{ trans('dashboard.metrics.metrics') }} + + > {{ trans('dashboard.metrics.edit.title') }} +
+
+
+
+ @include('dashboard.partials.errors') + + +
+
+ + +
+
+ + +
+
+ +
+
- -
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ +
+ + + id}}> + +
+
+ + {{ trans('forms.cancel') }} +
+
+
+
@stop diff --git a/resources/views/dashboard/metrics/index.blade.php b/resources/views/dashboard/metrics/index.blade.php index c0701317..091c3727 100644 --- a/resources/views/dashboard/metrics/index.blade.php +++ b/resources/views/dashboard/metrics/index.blade.php @@ -1,41 +1,41 @@ @extends('layout.dashboard') @section('content') -
- - - {{ trans('dashboard.metrics.metrics') }} - - - {{ trans('dashboard.metrics.add.title') }} - -
+
+ -
-
-
- @include('dashboard.partials.errors') -
- @forelse($metrics as $metric) -
-
- {{ $metric->name }} - @if($metric->description) -

{{ Str::words($metric->description, 5) }}

- @endif -
- + + {{ trans('dashboard.metrics.metrics') }} + + + {{ trans('dashboard.metrics.add.title') }} + +
+
+
+
+
+ @include('dashboard.partials.errors') +
+ @forelse($metrics as $metric) +
+
+ {{ $metric->name }} + @if($metric->description) +

{{ Str::words($metric->description, 5) }}

+ @endif +
+ - @empty -
{{ trans('dashboard.metrics.add.message') }}
- @endforelse
+ @empty +
{{ trans('dashboard.metrics.add.message') }}
+ @endforelse
+
@stop diff --git a/resources/views/dashboard/notifications/index.blade.php b/resources/views/dashboard/notifications/index.blade.php index 1c2b3062..f7f96d68 100644 --- a/resources/views/dashboard/notifications/index.blade.php +++ b/resources/views/dashboard/notifications/index.blade.php @@ -1,15 +1,15 @@ @extends('layout.dashboard') @section('content') -
- - {{ trans('dashboard.notifications.notifications') }} +
+ -
-
-

{{ trans('dashboard.notifications.notifications') }}

-
+ {{ trans('dashboard.notifications.notifications') }} +
+
+
+

{{ trans('dashboard.notifications.notifications') }}

+
@stop diff --git a/resources/views/dashboard/schedule/add.blade.php b/resources/views/dashboard/schedule/add.blade.php index e4a39ab1..b9869e7e 100644 --- a/resources/views/dashboard/schedule/add.blade.php +++ b/resources/views/dashboard/schedule/add.blade.php @@ -1,66 +1,66 @@ @extends('layout.dashboard') @section('content') -
- - - {{ trans('dashboard.schedule.schedule') }} - - > {{ trans('dashboard.schedule.add.title') }} +
+ -
-
-
- @include('dashboard.partials.errors') -
- - -
- @if($incident_templates->count() > 0) -
- - -
- @endif -
- - -
-
- -
- -
-
-
- - -
- @if(subscribers_enabled()) -
- -
- @endif -
- + + {{ trans('dashboard.schedule.schedule') }} + + > {{ trans('dashboard.schedule.add.title') }} +
+
+
+
+ @include('dashboard.partials.errors') + + + +
+ @if($incident_templates->count() > 0)
-
- - {{ trans('forms.cancel') }} + + +
+ @endif +
+ + +
+
+ +
+
- -
+
+ + +
+ @if(subscribers_enabled()) +
+ +
+ @endif +
+ +
+
+ + {{ trans('forms.cancel') }} +
+
+
+
@stop diff --git a/resources/views/dashboard/schedule/edit.blade.php b/resources/views/dashboard/schedule/edit.blade.php index 1e0b169d..fff6cecc 100644 --- a/resources/views/dashboard/schedule/edit.blade.php +++ b/resources/views/dashboard/schedule/edit.blade.php @@ -1,58 +1,58 @@ @extends('layout.dashboard') @section('content') -
- - - {{ trans('dashboard.schedule.schedule') }} - - > {{ trans('dashboard.schedule.edit.title') }} +
+ -
-
-
- @include('dashboard.partials.errors') -
- - -
- @if($incident_templates->count() > 0) -
- - -
- @endif -
- - -
-
- -
- -
-
-
- - -
-
- + + {{ trans('dashboard.schedule.schedule') }} + + > {{ trans('dashboard.schedule.edit.title') }} +
+
+
+
+ @include('dashboard.partials.errors') + + + +
+ @if($incident_templates->count() > 0)
-
- - {{ trans('forms.cancel') }} + + +
+ @endif +
+ + +
+
+ +
+
- -
+
+ + +
+
+ +
+
+ + {{ trans('forms.cancel') }} +
+
+
+
@stop diff --git a/resources/views/dashboard/schedule/index.blade.php b/resources/views/dashboard/schedule/index.blade.php index 1ff93af1..e76cb7a3 100644 --- a/resources/views/dashboard/schedule/index.blade.php +++ b/resources/views/dashboard/schedule/index.blade.php @@ -1,45 +1,45 @@ @extends('layout.dashboard') @section('content') -
- @if(isset($sub_menu)) - @include('dashboard.partials.sub-sidebar') - @endif -
-
- - {{ trans('dashboard.schedule.schedule') }} - - - {{ trans('dashboard.schedule.add.title') }} - -
-
-
-
- @include('dashboard.partials.errors') -

{!! trans_choice('dashboard.schedule.logged', $schedule->count(), ['count' => $schedule->count()]) !!}

+
+ @if(isset($sub_menu)) + @include('dashboard.partials.sub-sidebar') + @endif +
+
+ + {{ trans('dashboard.schedule.schedule') }} + + + {{ trans('dashboard.schedule.add.title') }} + +
+
+
+
+ @include('dashboard.partials.errors') +

{!! trans_choice('dashboard.schedule.logged', $schedule->count(), ['count' => $schedule->count()]) !!}

-
- @foreach($schedule as $incident) -
-
- {{ $incident->name }} -
- {{ trans('dashboard.schedule.scheduled_at', ['timestamp' => $incident->scheduled_at_iso]) }} - @if($incident->message) -

{{ Str::words($incident->message, 5) }}

- @endif -
- +
+ @foreach($schedule as $incident) +
+
+ {{ $incident->name }} +
+ {{ trans('dashboard.schedule.scheduled_at', ['timestamp' => $incident->scheduled_at_iso]) }} + @if($incident->message) +

{{ Str::words($incident->message, 5) }}

+ @endif +
+ - @endforeach
+ @endforeach
+
@stop diff --git a/resources/views/dashboard/settings/analytics.blade.php b/resources/views/dashboard/settings/analytics.blade.php index b6dcb9ba..e3b953f1 100644 --- a/resources/views/dashboard/settings/analytics.blade.php +++ b/resources/views/dashboard/settings/analytics.blade.php @@ -1,66 +1,66 @@ @extends('layout.dashboard') @section('content') -
- @if(isset($sub_menu)) - @include('dashboard.partials.sub-sidebar') - @endif -
-
- - {{ trans('dashboard.settings.analytics.analytics') }} - -
-
-
-
- - @include('dashboard.partials.errors') -
-
-
-
- - -
-
-
-
-
-
- - -
-
-
-
-
-
- - -
-
-
-
-
-
- - -
-
-
-
- +
+ @if(isset($sub_menu)) + @include('dashboard.partials.sub-sidebar') + @endif +
+
+ + {{ trans('dashboard.settings.analytics.analytics') }} + +
+
+
+ + + @include('dashboard.partials.errors') +
- + +
- -
+
+
+
+ + +
+
+
+
+
+
+ + +
+
+
+
+
+
+ + +
+
+
+ + +
+
+
+ +
+
+
+
+
@stop diff --git a/resources/views/dashboard/settings/app-setup.blade.php b/resources/views/dashboard/settings/app-setup.blade.php index 9a54c7ea..4776a70e 100644 --- a/resources/views/dashboard/settings/app-setup.blade.php +++ b/resources/views/dashboard/settings/app-setup.blade.php @@ -1,136 +1,136 @@ @extends('layout.dashboard') @section('content') -
- @if(isset($sub_menu)) - @include('dashboard.partials.sub-sidebar') - @endif -
-
- - {{ trans('dashboard.settings.app-setup.app-setup') }} - -
-
-
-
- - @include('dashboard.partials.errors') -
-
-
-
- - -
-
-
-
-
-
- - -
-
-
-
-
-
- -
- -
-
-
-
-
-
-
- - -
-
-
-
-
-
- -
-
-
-
-
-
- -
-
-
-
-
-
- -
-
-
-
-
-
- -
-
-
-
-
-
- -
-
-
-
-
-
- -
-
-
-
- +
+ @if(isset($sub_menu)) + @include('dashboard.partials.sub-sidebar') + @endif +
+
+ + {{ trans('dashboard.settings.app-setup.app-setup') }} + +
+
+
+ + + @include('dashboard.partials.errors') +
- + +
+
+
+
+ + +
+
+
+
+
+
+ +
+ +
+
+
+
+
+
+
+ + +
+
+
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
- - -
+
+
+
+ +
+
+
+ + +
+
@stop diff --git a/resources/views/dashboard/settings/customization.blade.php b/resources/views/dashboard/settings/customization.blade.php index 7d5277c9..7063dd86 100644 --- a/resources/views/dashboard/settings/customization.blade.php +++ b/resources/views/dashboard/settings/customization.blade.php @@ -1,51 +1,51 @@ @extends('layout.dashboard') @section('content') -
- @if(isset($sub_menu)) - @include('dashboard.partials.sub-sidebar') - @endif -
-
- - {{ trans('dashboard.settings.customization.customization') }} - -
-
-
-
- - @include('dashboard.partials.errors') -
-
-
-
- - -
-
-
-
-
-
- - -
-
-
-
- +
+ @if(isset($sub_menu)) + @include('dashboard.partials.sub-sidebar') + @endif +
+
+ + {{ trans('dashboard.settings.customization.customization') }} + +
+
+
+ + + @include('dashboard.partials.errors') +
- + +
+
+
+
+ + +
+
+
+
- -
+
+
+
+ +
+
+
+ +
+
@stop diff --git a/resources/views/dashboard/settings/localization.blade.php b/resources/views/dashboard/settings/localization.blade.php index ed4051f9..0cd28976 100644 --- a/resources/views/dashboard/settings/localization.blade.php +++ b/resources/views/dashboard/settings/localization.blade.php @@ -1,102 +1,102 @@ @extends('layout.dashboard') @section('content') -
- @if(isset($sub_menu)) - @include('dashboard.partials.sub-sidebar') - @endif -
-
- - {{ trans('dashboard.settings.localization.localization') }} - -
-
-
-
- - @include('dashboard.partials.errors') -
-
-
-
- - -
-
-
-
-
-
- - -
-
-
-
-
-
- - -
-
-
-
-
-
- - -
-
-
-
-
-
- -
-
-
-
- +
+ @if(isset($sub_menu)) + @include('dashboard.partials.sub-sidebar') + @endif +
+
+ + {{ trans('dashboard.settings.localization.localization') }} + +
+
+
+ + + @include('dashboard.partials.errors') +
- + +
+
+
+
+ + +
+
+
+
+
+
+ + +
+
+
+
+
+
+ + +
+
+
+
+
+
+ +
+
+
+
- -
+
+
+
+ +
+
+
+ +
+
@stop diff --git a/resources/views/dashboard/settings/security.blade.php b/resources/views/dashboard/settings/security.blade.php index 18b5afbe..286f3dd2 100644 --- a/resources/views/dashboard/settings/security.blade.php +++ b/resources/views/dashboard/settings/security.blade.php @@ -1,61 +1,61 @@ @extends('layout.dashboard') @section('content') -
- @if(isset($sub_menu)) - @include('dashboard.partials.sub-sidebar') - @endif -
-
- - {{ trans('dashboard.settings.security.security') }} - -
-
-
-
- - @include('dashboard.partials.errors') -
-
-
-
- - -
- {{ trans('forms.settings.security.allowed-domains-help') }} -
-
-
-
-
- +
+ @if(isset($sub_menu)) + @include('dashboard.partials.sub-sidebar') + @endif +
+
+ + {{ trans('dashboard.settings.security.security') }} + +
+
+
+ + + @include('dashboard.partials.errors') +
- + + +
+ {{ trans('forms.settings.security.allowed-domains-help') }} +
+
- @if(!$unsecure_users->isEmpty()) -
- -
-
{{ trans('dashboard.settings.security.two-factor') }}
-
- @foreach($unsecure_users as $user) -
- {{ $user->username }} - -
- @endforeach +
+
+
+
- @endif - -
+
+ + @if(!$unsecure_users->isEmpty()) +
+ +
+
{{ trans('dashboard.settings.security.two-factor') }}
+
+ @foreach($unsecure_users as $user) +
+ {{ $user->username }} + +
+ @endforeach +
+
+ @endif +
+
@stop diff --git a/resources/views/dashboard/settings/stylesheet.blade.php b/resources/views/dashboard/settings/stylesheet.blade.php index e98503f9..6a700418 100644 --- a/resources/views/dashboard/settings/stylesheet.blade.php +++ b/resources/views/dashboard/settings/stylesheet.blade.php @@ -1,42 +1,42 @@ @extends('layout.dashboard') @section('content') -
- @if(isset($sub_menu)) - @include('dashboard.partials.sub-sidebar') - @endif -
-
- - {{ trans('dashboard.settings.stylesheet.stylesheet') }} - -
-
-
-
- - @include('dashboard.partials.errors') -
-
-
-
- - -
-
-
-
- +
+ @if(isset($sub_menu)) + @include('dashboard.partials.sub-sidebar') + @endif +
+
+ + {{ trans('dashboard.settings.stylesheet.stylesheet') }} + +
+
+
+ + + @include('dashboard.partials.errors') +
- + +
- -
+ + +
+
+
+ +
+
+
+
+
@stop diff --git a/resources/views/dashboard/settings/theme.blade.php b/resources/views/dashboard/settings/theme.blade.php index 9fee5845..c8419323 100644 --- a/resources/views/dashboard/settings/theme.blade.php +++ b/resources/views/dashboard/settings/theme.blade.php @@ -1,159 +1,159 @@ @extends('layout.dashboard') @section('content') -
- @if(isset($sub_menu)) - @include('dashboard.partials.sub-sidebar') - @endif -
-
- - {{ trans('dashboard.settings.theme.theme') }} - -
-
-
-
- - @include('dashboard.partials.errors') +
+ @if(isset($sub_menu)) + @include('dashboard.partials.sub-sidebar') + @endif +
+
+ + {{ trans('dashboard.settings.theme.theme') }} + +
+
+
+ + + @include('dashboard.partials.errors') +
+
+
+ + @if($app_banner) + + + @endif + + {{ trans('forms.settings.app-setup.banner-help') }} +
+
+
+
+
-
+
- - @if($app_banner) - - - @endif - - {{ trans('forms.settings.app-setup.banner-help') }} + + +
+
+
+
+ +

-
-
-
-
- - -
-
-
-
- - -
-
-
-
-
-
-
- - -
-
-
-
- - -
-
-
-
- -
-
-
-
-
-
-
- - -
-
-
-
- - -
-
-
-
-
-
- - -
-
-
-
- - -
-
-
-
-
-
- - -
-
-
-
- - -
-
-
-
-
-
- - -
-
-
-
- - -
-
-
-
-
-
-
- -
-
-
-
-
-
+
- + + +
+
+
+
+ + +
+
+
+
+
- -
+
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+
+
+
+ +
+
+
+
+ +
+
+
+ +
+
+
+
+
@stop diff --git a/resources/views/dashboard/subscribers/add.blade.php b/resources/views/dashboard/subscribers/add.blade.php index eb393369..e3b376dd 100644 --- a/resources/views/dashboard/subscribers/add.blade.php +++ b/resources/views/dashboard/subscribers/add.blade.php @@ -1,36 +1,36 @@ @extends('layout.dashboard') @section('content') -
- - - {{ trans('dashboard.subscribers.subscribers') }} - +
+ -
-
-
- @include('dashboard.partials.errors') -
- -
-
- - - {{ trans('dashboard.subscribers.add.help') }}

-
-
- -
-
- - {{ trans('forms.cancel') }} -
-
-
+ + {{ trans('dashboard.subscribers.subscribers') }} + +
+
+
+
+ @include('dashboard.partials.errors') +
+ +
+
+ + + {{ trans('dashboard.subscribers.add.help') }}

+
+ +
+
+ + {{ trans('forms.cancel') }} +
+
+
+
@stop diff --git a/resources/views/dashboard/subscribers/index.blade.php b/resources/views/dashboard/subscribers/index.blade.php index 33b24522..f4062f42 100644 --- a/resources/views/dashboard/subscribers/index.blade.php +++ b/resources/views/dashboard/subscribers/index.blade.php @@ -2,53 +2,53 @@ @section('content')
- - - {{ trans('dashboard.subscribers.subscribers') }} - - @if($current_user->isAdmin && subscribers_enabled()) - - {{ trans('dashboard.subscribers.add.title') }} - - @endif -
+ + + {{ trans('dashboard.subscribers.subscribers') }} + +@if($current_user->isAdmin && subscribers_enabled()) + + {{ trans('dashboard.subscribers.add.title') }} + +@endif +
-
-
-

{{ trans('dashboard.subscribers.description') }}

+
+
+

{{ trans('dashboard.subscribers.description') }}

-
- @foreach($subscribers as $subscriber) -
-
-

{{ trans('dashboard.subscribers.subscriber', ['email' => $subscriber->email, 'date' => $subscriber->created_at]) }}

-
-
- @if(is_null($subscriber->getOriginal('verified_at'))) - {{ trans('dashboard.subscribers.not_verified') }} - @else - {{ trans('dashboard.subscribers.verified') }} - @endif -
-
- @if($subscriber->subscriptions->count() > 0) - {!! $subscriber->subscriptions->map(function ($subscription) { - return ''.$subscription->component->name.''; - })->implode(' ') !!} - @else -

{{ trans('dashboard.subscribers.no_subscriptions') }}

- @endif -
- +
+ @foreach($subscribers as $subscriber) +
+
+

{{ trans('dashboard.subscribers.subscriber', ['email' => $subscriber->email, 'date' => $subscriber->created_at]) }}

+
+
+ @if(is_null($subscriber->getOriginal('verified_at'))) + {{ trans('dashboard.subscribers.not_verified') }} + @else + {{ trans('dashboard.subscribers.verified') }} + @endif +
+
+ @if($subscriber->subscriptions->count() > 0) + {!! $subscriber->subscriptions->map(function ($subscription) { + return ''.$subscription->component->name.''; + })->implode(' ') !!} + @else +

{{ trans('dashboard.subscribers.no_subscriptions') }}

+ @endif +
+ - @endforeach
+ @endforeach
+
@stop diff --git a/resources/views/dashboard/team/add.blade.php b/resources/views/dashboard/team/add.blade.php index e36599f9..a0da1dcb 100644 --- a/resources/views/dashboard/team/add.blade.php +++ b/resources/views/dashboard/team/add.blade.php @@ -1,53 +1,53 @@ @extends('layout.dashboard') @section('content') -
- - - {{ trans('dashboard.team.team') }} - +
+ -
-
-
- @include('dashboard.partials.errors') -
- -
-
- - -
-
- - -
-
- - -
-
- @if($current_user->isAdmin) -
- - -
- @endif -
- + + {{ trans('dashboard.team.team') }} + +
+
+
+
+ @include('dashboard.partials.errors') + + +
-
- - {{ trans('forms.cancel') }} -
+ +
- -
+
+ + +
+
+ + +
+
+ @if($current_user->isAdmin) +
+ + +
+ @endif + + +
+
+ + {{ trans('forms.cancel') }} +
+
+
+
@stop diff --git a/resources/views/dashboard/team/edit.blade.php b/resources/views/dashboard/team/edit.blade.php index 361b114f..2274d028 100644 --- a/resources/views/dashboard/team/edit.blade.php +++ b/resources/views/dashboard/team/edit.blade.php @@ -1,56 +1,56 @@ @extends('layout.dashboard') @section('content') -
- - - {{ trans('dashboard.team.member') }} - +
+ -
-
-
- @include('dashboard.partials.errors') -
- -
-
- - -
-
- - -
-
- - isAdmin ? "disabled": "" }}> -
-
- @if($current_user->isAdmin) -
- - -
- @endif -
- + + {{ trans('dashboard.team.member') }} + +
+
+
+
+ @include('dashboard.partials.errors') + + +
- - @if($current_user->isAdmin) - {{ trans('cachet.api.revoke') }} - @if($current_user->id != $user->id) - {{ trans('forms.delete') }} - @endif - @endif + +
- -
+
+ + +
+
+ + isAdmin ? "disabled": "" }}> +
+
+ @if($current_user->isAdmin) +
+ + +
+ @endif + + +
+ + @if($current_user->isAdmin) + {{ trans('cachet.api.revoke') }} + @if($current_user->id != $user->id) + {{ trans('forms.delete') }} + @endif + @endif +
+
+
@stop diff --git a/resources/views/dashboard/team/index.blade.php b/resources/views/dashboard/team/index.blade.php index 526680c7..de04df72 100644 --- a/resources/views/dashboard/team/index.blade.php +++ b/resources/views/dashboard/team/index.blade.php @@ -1,42 +1,42 @@ @extends('layout.dashboard') @section('content') -
- - - {{ trans('dashboard.team.team') }} - - @if($current_user->isAdmin) - - @endif -
+
+ -
-
-
-

{{ trans('dashboard.team.description') }}

+ + {{ trans('dashboard.team.team') }} + + @if($current_user->isAdmin) + + @endif +
+
+
+
+
+

{{ trans('dashboard.team.description') }}

-
- @foreach($team_members as $member) -
- - - -
{{ $member->username }}
- -
- @endforeach +
+ @foreach($team_members as $member) +
+ + + +
{{ $member->username }}
+
+ @endforeach
+
@stop diff --git a/resources/views/dashboard/team/invite.blade.php b/resources/views/dashboard/team/invite.blade.php index fd108957..861ff1d9 100644 --- a/resources/views/dashboard/team/invite.blade.php +++ b/resources/views/dashboard/team/invite.blade.php @@ -1,47 +1,47 @@ @extends('layout.dashboard') @section('content') -
- - - {{ trans('dashboard.team.team') }} - +
+ -
-
-
- @include('dashboard.partials.errors') -
- -
-
- - -
-
- -
-
- -
-
- -
-
- -
-
- + + {{ trans('dashboard.team.team') }} + +
+
+
+
+ @include('dashboard.partials.errors') + + +
-
- - {{ trans('forms.cancel') }} -
+ +
- -
+
+ +
+
+ +
+
+ +
+
+ +
+ + +
+
+ + {{ trans('forms.cancel') }} +
+
+
+
@stop diff --git a/resources/views/dashboard/templates/add.blade.php b/resources/views/dashboard/templates/add.blade.php index 36cd9552..b8931da2 100644 --- a/resources/views/dashboard/templates/add.blade.php +++ b/resources/views/dashboard/templates/add.blade.php @@ -10,7 +10,6 @@