-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathimport.html
More file actions
62 lines (53 loc) · 2.08 KB
/
Copy pathimport.html
File metadata and controls
62 lines (53 loc) · 2.08 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
57
58
59
60
61
62
<!DOCTYPE html>
<html{if="$language !== 'auto'"} lang="{$language}"{/if}>
<head>
{include="includes"}
</head>
<body>
{include="page.header"}
<div class="pure-g pure-g-full">
<div class="pure-u-2-24"></div>
<form method="POST" action="{$base_path}/admin/import" enctype="multipart/form-data" name="uploadform" id="uploadform" class="page-form pure-u-20-24">
<h2 class="window-title">{"Import Database"|t}</h2>
<input type="hidden" name="token" value="{$token}">
<div class="import-field-container" id="import-field">
<input type="hidden" name="MAX_FILE_SIZE" value="{$maxfilesize}">
<input type="file" name="filetoupload">
<p><br>{'Maximum size allowed:'|t} <strong>{$maxfilesizeHuman}</strong></p>
</div>
<div>
<label>{'Visibility'|t}</label>
</div>
<div class="radio-buttons">
<label>
<input type="radio" name="privacy" value="default" checked="checked">
{'Use values from the imported file, default to public'|t}
</label>
<label>
<input type="radio" name="privacy" value="private">
{'Import all bookmarks as private'|t}
</label>
<label>
<input type="radio" name="privacy" value="public">
{'Import all bookmarks as public'|t}
</label>
</div>
<label class="checkbox">
<input type="checkbox" name="overwrite" id="overwrite">
<span class="label-name">{'Overwrite existing bookmarks'|t}</span><br>
<span class="label-desc">{'Duplicates based on URL'|t}</span>
</label>
<div>
<label for="default_tags"><span class="label-name">{'Add default tags'|t}</span></label>
</div>
<div class="form-input">
<input type="text" name="default_tags" id="default_tags" aria-label="{'Tag'|t}" placeholder="{'Tag'|t}">
</div>
<div class="submit-buttons">
<input type="submit" name="import_file" value="{'Import'|t}">
</div>
</form>
</div>
{include="page.footer"}
</body>
</html>