From db3359838943b90ca241f24c443c64f290c610ff Mon Sep 17 00:00:00 2001 From: Awilum Date: Mon, 27 Jan 2020 19:52:23 +0300 Subject: [PATCH] feat(admin-plugin): update api templates #211 --- site/plugins/admin/templates/system/api/delivery/add.html | 6 +++--- .../plugins/admin/templates/system/api/delivery/edit.html | 4 ++-- .../admin/templates/system/api/delivery/index.html | 8 ++++---- site/plugins/admin/templates/system/api/index.html | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/site/plugins/admin/templates/system/api/delivery/add.html b/site/plugins/admin/templates/system/api/delivery/add.html index 68de8a45..cc9abe61 100644 --- a/site/plugins/admin/templates/system/api/delivery/add.html +++ b/site/plugins/admin/templates/system/api/delivery/add.html @@ -9,17 +9,17 @@
- {{ tr('admin_help_text_for_tokens_label') }} + {{ tr('admin_help_text_for_tokens_label') }}
- {{ tr('admin_help_text_for_api_calls_limit_label') }} + {{ tr('admin_help_text_for_api_calls_limit_label') }}
- {{ tr('admin_help_text_for_api_token_icon', {':link': 'fontawesome'})|raw }} + {{ tr('admin_help_text_for_api_token_icon', {':link': 'fontawesome'})|raw }}
diff --git a/site/plugins/admin/templates/system/api/delivery/edit.html b/site/plugins/admin/templates/system/api/delivery/edit.html index ae039617..7ccf6b84 100644 --- a/site/plugins/admin/templates/system/api/delivery/edit.html +++ b/site/plugins/admin/templates/system/api/delivery/edit.html @@ -32,7 +32,7 @@ id="limit" name="limit_calls" value="{{ api_token_data.limit_calls }}" - class="w-full border border-black border-2 outline-none px-2 py-2" + class="form-control" required="required" data-validation="length required" data-validation-length="min1" @@ -46,7 +46,7 @@ id="fieldsetIcon" name="icon" value="{{ api_token_data.icon }}" - class="w-full border border-black border-2 outline-none px-2 py-2" + class="form-control" required="required" data-validation="length required" data-validation-length="min1" diff --git a/site/plugins/admin/templates/system/api/delivery/index.html b/site/plugins/admin/templates/system/api/delivery/index.html index d1ca9710..6f71312e 100644 --- a/site/plugins/admin/templates/system/api/delivery/index.html +++ b/site/plugins/admin/templates/system/api/delivery/index.html @@ -7,13 +7,13 @@ - Title + {{ tr('admin_title') }} - Delivery Token + {{ tr('admin_delivery_token') }} - Calls + {{ tr('admin_calls') }} @@ -69,4 +69,4 @@ } })}} {% endif %} -{% endblock %} \ No newline at end of file +{% endblock %} diff --git a/site/plugins/admin/templates/system/api/index.html b/site/plugins/admin/templates/system/api/index.html index e0b83975..9abb5a9d 100644 --- a/site/plugins/admin/templates/system/api/index.html +++ b/site/plugins/admin/templates/system/api/index.html @@ -7,7 +7,7 @@ - Name + {{ tr('admin_name') }}