-
Notifications
You must be signed in to change notification settings - Fork 1
/
thumbnails.html
46 lines (41 loc) · 1.02 KB
/
thumbnails.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<!DOCTYPE html>
<html{if="$language !== 'auto'"} lang="{$language}"{/if}>
<head>
{include="includes"}
</head>
<body class="text-light bg-dark">
{include="page.header"}
{if="!$thumbnails_enabled"}
<div class="alert alert-warning">
<p class="mb-0">
{'Thumbnails are disabled.'|t}
</p>
</div>
{else}
<h2>{'Thumbnails update'|t}</h2>
<iframe src="about:blank"
name="ajax_thumb_update"
id="ajax_thumb_update"
width="100%"
height="100"
class="my-3 border border-warning rounded bg-light text-monospace"
></iframe>
{loop="ids"}
<form method="POST"
action="?do=ajax_thumb_update"
target="ajax_thumb_update"
class="my-1 d-inline-block"
>
<button type="submit"
name="id"
value="{$value}"
class="btn btn-outline-secondary"
>
{'Update thumbnail'|t}: <var class="text-white-50">{$value}</var>
</button>
</form>
{/loop}
{/if}
{include="page.footer"}
</body>
</html>