diff options
author | ArthurHoaro <arthur@hoa.ro> | 2018-06-08 12:50:49 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2018-07-05 20:34:22 +0200 |
commit | 28f26524609338316cc6e51c743058e6e8c7b12b (patch) | |
tree | e03f1e5dde3779a47a682cf1461151fbd687e4bb /tpl/default/thumbnails.html | |
parent | 787faa42f3a2bcbf83a7853f23f3667a6febf9da (diff) | |
download | Shaarli-28f26524609338316cc6e51c743058e6e8c7b12b.tar.gz Shaarli-28f26524609338316cc6e51c743058e6e8c7b12b.tar.zst Shaarli-28f26524609338316cc6e51c743058e6e8c7b12b.zip |
Add a page to update all thumbnails through AJAX requests in both templates
Diffstat (limited to 'tpl/default/thumbnails.html')
-rw-r--r-- | tpl/default/thumbnails.html | 48 |
1 files changed, 48 insertions, 0 deletions
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 @@ | |||
1 | <!DOCTYPE html> | ||
2 | <html> | ||
3 | <head> | ||
4 | {include="includes"} | ||
5 | </head> | ||
6 | <body> | ||
7 | {include="page.header"} | ||
8 | |||
9 | <div class="pure-g thumbnails-page-container"> | ||
10 | <div class="pure-u-lg-1-3 pure-u-1-24"></div> | ||
11 | <div class="pure-u-lg-1-3 pure-u-22-24 page-form page-form-light"> | ||
12 | <h2 class="window-title">{'Thumbnails update'|t}</h2> | ||
13 | |||
14 | <div class="pure-g"> | ||
15 | <div class="pure-u-lg-1-3 pure-u-1-24"></div> | ||
16 | <div class="pure-u-lg-1-3 pure-u-22-24"> | ||
17 | <div class="thumbnail-placeholder" style="width: {$thumbnails_width}px; height: {$thumbnails_height}px;"></div> | ||
18 | </div> | ||
19 | </div> | ||
20 | |||
21 | <div class="pure-g"> | ||
22 | <div class="pure-u-1-12"></div> | ||
23 | <div class="pure-u-5-6"> | ||
24 | <div class="thumbnail-link-title"></div> | ||
25 | |||
26 | <div class="progressbar"> | ||
27 | <div></div> | ||
28 | </div> | ||
29 | </div> | ||
30 | </div> | ||
31 | |||
32 | <div class="pure-g"> | ||
33 | <div class="pure-u-lg-1-3 pure-u-1-24"></div> | ||
34 | <div class="pure-u-lg-1-3 pure-u-22-24"> | ||
35 | <div class="progress-counter"> | ||
36 | <span class="progress-current">0</span> / <span class="progress-total">{$ids|count}</span> | ||
37 | </div> | ||
38 | </div> | ||
39 | </div> | ||
40 | |||
41 | <input type="hidden" name="ids" value="{function="implode($ids, ',')"}" /> | ||
42 | </div> | ||
43 | </div> | ||
44 | |||
45 | {include="page.footer"} | ||
46 | <script src="js/thumbnails_update.min.js?v={$version_hash}"></script> | ||
47 | </body> | ||
48 | </html> | ||