-
Notifications
You must be signed in to change notification settings - Fork 1
/
export.html
80 lines (74 loc) · 2.16 KB
/
export.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<!DOCTYPE html>
<html{if="$language !== 'auto'"} lang="{$language}"{/if}>
<head>
{include="includes"}
</head>
<body class="text-light bg-dark">
{include="page.header"}
<form method="GET" name="exportform" id="exportform">
<input type="hidden" name="do" value="export" />
<input type="hidden" name="token" value="{$token}" />
<h2>{'Export'|t}</h2>
<p class="form-group">
<label for="selection_all">
{'Selection'|t}
</label>
<span class="custom-control custom-radio">
<input type="radio"
name="selection"
id="selection_all"
value="all"
checked
class="custom-control-input"
/>
<label for="selection_all" class="custom-control-label">
{'All'|t}
</label>
</span>
<span class="custom-control custom-radio">
<input type="radio"
name="selection"
id="selection_private"
value="private"
{if="$privateLinkcount === 0"} disabled {/if}
class="custom-control-input"
/>
<label for="selection_private" class="custom-control-label">
{'Only Private'|t}
</label>
</span>
<span class="custom-control custom-radio">
<input type="radio"
name="selection"
id="selection_public"
value="public"
{if="($linkcount - $privateLinkcount) < 1"} disabled {/if}
class="custom-control-input"
/>
<label for="selection_public" class="custom-control-label">
{'Only Public'|t}
</label>
</span>
</p>
<p class="custom-control custom-checkbox">
<input type="checkbox"
name="prepend_note_url"
id="prepend_note_url"
class="custom-control-input"
/>
<label for="prepend_note_url" class="custom-control-label">
{"Prepend note permalinks with this Shaarli instance's URL"|t}
</label>
<small class="form-text text-muted">
{'Useful to import bookmarks in a web browser'|t}
</small>
</p>
<p>
<button type="submit"
class="btn btn-primary"
>{'Export'|t}</button>
</p>
</form>
{include="page.footer"}
</body>
</html>