From cf6ed5af326fed4a63a267c750241fde09c4432e Mon Sep 17 00:00:00 2001 From: James Cole Date: Sun, 23 Jul 2023 07:10:42 +0200 Subject: [PATCH] Remove missing CSS --- resources/views/errors/404.twig | 11 +- resources/views/errors/500.twig | 11 +- resources/views/errors/503.twig | 7 +- resources/views/errors/DatabaseException.twig | 11 +- resources/views/errors/FireflyException.twig | 10 +- .../views/vendor/passport/authorize.twig | 101 +++++++++--------- 6 files changed, 80 insertions(+), 71 deletions(-) diff --git a/resources/views/errors/404.twig b/resources/views/errors/404.twig index ffa44c348e..182984dc8e 100644 --- a/resources/views/errors/404.twig +++ b/resources/views/errors/404.twig @@ -11,13 +11,14 @@ {# CSS things #} {# libraries #} - - - + + {# the theme #} - - + {# favicons #} {% include('partials.favicons') %} diff --git a/resources/views/errors/500.twig b/resources/views/errors/500.twig index af41119d88..5f618e79af 100644 --- a/resources/views/errors/500.twig +++ b/resources/views/errors/500.twig @@ -11,13 +11,14 @@ {# CSS things #} {# libraries #} - - - + + {# the theme #} - - + {# favicons #} {% include('partials.favicons') %} diff --git a/resources/views/errors/503.twig b/resources/views/errors/503.twig index 57d19951bb..4aef63b2cb 100644 --- a/resources/views/errors/503.twig +++ b/resources/views/errors/503.twig @@ -9,11 +9,12 @@ {# libraries #} - + {# the theme #} - - + {# favicons #} {% include('partials.favicons') %} diff --git a/resources/views/errors/DatabaseException.twig b/resources/views/errors/DatabaseException.twig index 4f56c01a77..3607f0b357 100644 --- a/resources/views/errors/DatabaseException.twig +++ b/resources/views/errors/DatabaseException.twig @@ -11,13 +11,14 @@ {# CSS things #} {# libraries #} - - - + + {# the theme #} - - + {# favicons #} {% include('partials.favicons') %} diff --git a/resources/views/errors/FireflyException.twig b/resources/views/errors/FireflyException.twig index ef5e630ee7..f3e4b5db0c 100644 --- a/resources/views/errors/FireflyException.twig +++ b/resources/views/errors/FireflyException.twig @@ -11,13 +11,15 @@ {# CSS things #} {# libraries #} - - + + {# the theme #} - - + {# favicons #} {% include('partials.favicons') %} diff --git a/resources/views/vendor/passport/authorize.twig b/resources/views/vendor/passport/authorize.twig index 78407c7cf1..f11f627c91 100644 --- a/resources/views/vendor/passport/authorize.twig +++ b/resources/views/vendor/passport/authorize.twig @@ -10,12 +10,14 @@ {# CSS things #} {# libraries #} - - + + {# the theme #} - - + {# Firefly III customisations #} @@ -48,68 +50,69 @@ -
-
-
-
-
- {{ trans('firefly.authorization_request', {version: config('firefly.version')}) }} -
-
- {% if client.user.id == user.id %} +
+
+
+
+
+ {{ trans('firefly.authorization_request', {version: config('firefly.version')}) }} +
+
+ {% if client.user.id == user.id %}

{{ trans('firefly.authorization_request_intro', {client: client.name|escape})|raw }}

{{ trans('firefly.authorization_request_site', {url: client.redirect|phphost})|raw }}

- {% endif %} + {% endif %} - {% if client.user.id != user.id %} + {% if client.user.id != user.id %}

{{ 'authorization_request_invalid'|_ }}

- {% endif %} - - {% if scopes|length > 0 %} -
-

{{ 'scopes_will_be_able'|_ }}

+ {% endif %} + + {% if scopes|length > 0 %} +
+

{{ 'scopes_will_be_able'|_ }}

-
    - {% for scope in scopes %} -
  • {{ scope.description }}
  • - {% endfor %} -
-
- {% endif %} - -
- - {% if client.user.id == user.id %} -
- {{ csrf_field() }} - - - - -
- {% endif %} - - -
- {{ csrf_field() }} - {{ method_field('DELETE') }} - - - - -
+
    + {% for scope in scopes %} +
  • {{ scope.description }}
  • + {% endfor %} +
+ {% endif %} + +
+ + {% if client.user.id == user.id %} +
+ {{ csrf_field() }} + + + + +
+ {% endif %} + + +
+ {{ csrf_field() }} + {{ method_field('DELETE') }} + + + + +
+