From d1a8f6fbab6bcc2fa963664c92634bef242c8420 Mon Sep 17 00:00:00 2001 From: Awilum Date: Thu, 23 Jan 2020 15:35:39 +0300 Subject: [PATCH] feat(admin-plugin): update extends templates #211 --- .../templates/extends/fieldsets/index.html | 4 +- .../templates/extends/themes/information.html | 82 +++++++++---------- .../templates/extends/themes/settings.html | 22 ++--- 3 files changed, 54 insertions(+), 54 deletions(-) diff --git a/site/plugins/admin/templates/extends/fieldsets/index.html b/site/plugins/admin/templates/extends/fieldsets/index.html index 546ecda1..607ab429 100644 --- a/site/plugins/admin/templates/extends/fieldsets/index.html +++ b/site/plugins/admin/templates/extends/fieldsets/index.html @@ -10,7 +10,7 @@ {% set fieldset = parser_decode(filesystem_read(fieldset_path), 'yaml') %} {% endif %} - + {% if fieldset.icon %} {% else %} @@ -61,4 +61,4 @@ {{ tr('admin_create_new_fieldset') }} {% endif %} -{% endblock %} \ No newline at end of file +{% endblock %} diff --git a/site/plugins/admin/templates/extends/themes/information.html b/site/plugins/admin/templates/extends/themes/information.html index b29f25ea..b32dae14 100644 --- a/site/plugins/admin/templates/extends/themes/information.html +++ b/site/plugins/admin/templates/extends/themes/information.html @@ -1,44 +1,44 @@ {% extends "plugins/admin/templates/partials/base.html" %} {% block content %} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
{{ tr('admin_name') }}:{{ theme_manifest.name }}
{{ tr('admin_version') }}:{{ theme_manifest.version }}
{{ tr('admin_description') }}:{{ theme_manifest.description }}
{{ tr('admin_author_name') }}:{{ theme_manifest.author.name }}
{{ tr('admin_author_email') }}:{{ theme_manifest.author.email }}
{{ tr('admin_author_url') }}:{{ theme_manifest.author.url }}
{{ tr('admin_homepage') }}:{{ theme_manifest.homepage }}
{{ tr('admin_bugs') }}:{{ theme_manifest.bugs }}
{{ tr('admin_license') }}:{{ theme_manifest.license }}
-{% endblock %} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
{{ tr('admin_name') }}:{{ theme_manifest.name }}
{{ tr('admin_version') }}:{{ theme_manifest.version }}
{{ tr('admin_description') }}:{{ theme_manifest.description }}
{{ tr('admin_author_name') }}:{{ theme_manifest.author.name }}
{{ tr('admin_author_email') }}:{{ theme_manifest.author.email }}
{{ tr('admin_author_url') }}:{{ theme_manifest.author.url }}
{{ tr('admin_homepage') }}:{{ theme_manifest.homepage }}
{{ tr('admin_bugs') }}:{{ theme_manifest.bugs }}
{{ tr('admin_license') }}:{{ theme_manifest.license }}
+{% endblock %} \ No newline at end of file diff --git a/site/plugins/admin/templates/extends/themes/settings.html b/site/plugins/admin/templates/extends/themes/settings.html index ebf9b4b7..3699d58a 100644 --- a/site/plugins/admin/templates/extends/themes/settings.html +++ b/site/plugins/admin/templates/extends/themes/settings.html @@ -1,16 +1,16 @@ {% extends "plugins/admin/templates/partials/base.html" %} {% block content %} -
- {{ csrf() }} - - -
-
-
- + + {{ csrf() }} + + +
+
+
+ +
-
- -{% endblock %} + +{% endblock %} \ No newline at end of file