-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathweb-push.tpl
More file actions
56 lines (50 loc) · 1.85 KB
/
Copy pathweb-push.tpl
File metadata and controls
56 lines (50 loc) · 1.85 KB
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
47
48
49
50
51
52
53
54
55
56
<div class="acp-page-container">
<!-- IMPORT admin/partials/settings/header.tpl -->
<div class="row m-0">
<div id="spy-container" class="col-12 col-md-8 px-0 mb-4" tabindex="0">
<form role="form" class="web-push-settings">
<div class="mb-4">
<h5 class="fw-bold tracking-tight settings-header">[[web-push:admin.settings]]</h5>
<div class="mb-3">
<label class="form-label" for="maxLength">[[web-push:admin.max-length]]</label>
<input type="number" min="0" max="4096" id="maxLength" name="maxLength" title="[[web-push:admin.max-length]]" class="form-control" placeholder="256">
<p class="form-text">[[web-push:admin.max-length-help]]</p>
</div>
<div class="mb-3">
<label class="form-label" for="badge">[[web-push:admin.badge]]</label>
<input type="text" id="badge" name="badge" title="[[web-push:admin.badge]]" class="form-control" placeholder="https://...">
<p class="form-text">[[web-push:admin.badge-help]]</p>
</div>
<div class="mb-3">
<label class="form-label" for="icon">[[web-push:admin.icon]]</label>
<input type="text" id="icon" name="icon" title="[[web-push:admin.icon]]" class="form-control" placeholder="https://...">
<p class="form-text">[[web-push:admin.icon-help]]</p>
</div>
</div>
</form>
<div class="mb-4">
<h5 class="fw-bold tracking-tight settings-header">[[web-push:admin.users]]</h5>
<table class="table">
<thead>
<tr>
<th>[[web-push:admin.user]]</th>
<th>[[web-push:admin.devices]]</th>
</tr>
</thead>
<tbody>
{{{ each users }}}
<tr>
<td>
{buildAvatar(users, "24px", false)}
{./username}
</td>
<td>{./deviceCount}</td>
</tr>
{{{ end }}}
</tbody>
</table>
</div>
</div>
<!-- IMPORT admin/partials/settings/toc.tpl -->
</div>
</div>