From 28f26524609338316cc6e51c743058e6e8c7b12b Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Fri, 8 Jun 2018 12:50:49 +0200 Subject: Add a page to update all thumbnails through AJAX requests in both templates --- tpl/default/configure.html | 8 +++----- tpl/default/page.header.html | 14 +++++++++++++ tpl/default/thumbnails.html | 48 ++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 65 insertions(+), 5 deletions(-) create mode 100644 tpl/default/thumbnails.html (limited to 'tpl/default') diff --git a/tpl/default/configure.html b/tpl/default/configure.html index 5695ae8e..dca9503b 100644 --- a/tpl/default/configure.html +++ b/tpl/default/configure.html @@ -248,12 +248,10 @@ diff --git a/tpl/default/page.header.html b/tpl/default/page.header.html index 840e4352..fc03404e 100644 --- a/tpl/default/page.header.html +++ b/tpl/default/page.header.html @@ -171,4 +171,18 @@ {/if} +{if="!empty($global_warnings) && $is_logged_in"} +
+
+
+ {loop="global_warnings"} +

{$value}

+ {/loop} +
+
+ +
+
+{/if} +
diff --git a/tpl/default/thumbnails.html b/tpl/default/thumbnails.html new file mode 100644 index 00000000..a8cf904e --- /dev/null +++ b/tpl/default/thumbnails.html @@ -0,0 +1,48 @@ + + + + {include="includes"} + + +{include="page.header"} + +
+
+
+

{'Thumbnails update'|t}

+ +
+
+
+
+
+
+ +
+
+
+ + +
+
+
+
+
+ +
+
+
+
+ 0 / {$ids|count} +
+
+
+ + +
+
+ +{include="page.footer"} + + + -- cgit v1.2.3