aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/default/import.html
diff options
context:
space:
mode:
Diffstat (limited to 'tpl/default/import.html')
-rw-r--r--tpl/default/import.html85
1 files changed, 85 insertions, 0 deletions
diff --git a/tpl/default/import.html b/tpl/default/import.html
new file mode 100644
index 00000000..e6e521e8
--- /dev/null
+++ b/tpl/default/import.html
@@ -0,0 +1,85 @@
1<!DOCTYPE html>
2<html>
3<head>
4 {include="includes"}
5</head>
6<body>
7{include="page.header"}
8
9<form method="POST" action="?do=import" enctype="multipart/form-data" name="uploadform" id="uploadform">
10 <div class="pure-g">
11 <div class="pure-u-lg-1-4 pure-u-1-24"></div>
12 <div class="pure-u-lg-1-2 pure-u-22-24 page-form page-form-complete">
13 <div>
14 <h2 class="window-title">{"Import Database"|t}</h2>
15 </div>
16
17 <input type="hidden" name="token" value="{$token}">
18 <div class="center" id="import-field">
19 <input type="hidden" name="MAX_FILE_SIZE" value="{$maxfilesize}">
20 <input type="file" name="filetoupload">
21 </div>
22
23 <div class="pure-g">
24 <div class="pure-u-lg-1-3 pure-u-1">
25 <div class="form-label">
26 <label><span class="label-name">{'Visibility'|t}</span></label>
27 </div>
28 </div>
29 <div class="pure-u-lg-2-3 pure-u-1">
30 <div class="radio-buttons">
31 <div>
32 <input type="radio" name="privacy" value="default" checked="checked">
33 Use values from the imported file, default to public
34 </div>
35 <div>
36 <input type="radio" name="privacy" value="private">
37 Import all bookmarks as private
38 </div>
39 <div>
40 <input type="radio" name="privacy" value="public">
41 Import all bookmarks as public
42 </div>
43 </div>
44 </div>
45 </div>
46
47 <div class="pure-g">
48 <div class="pure-u-lg-1-3 pure-u-7-8">
49 <div class="form-label">
50 <label for="overwrite">
51 <span class="label-name">{'Overwrite existing bookmarks'|t}</span><br>
52 <span class="label-desc">{'Duplicates based on URL'|t}</span>
53 </label>
54 </div>
55 </div>
56 <div class="pure-u-lg-2-3 pure-u-1-8">
57 <div class="form-input">
58 <input type="checkbox" name="overwrite" id="overwrite">
59 </div>
60 </div>
61 </div>
62
63 <div class="pure-g">
64 <div class="pure-u-lg-1-3 pure-u-1">
65 <div class="form-label">
66 <label for="default_tags"><span class="label-name">{'Add default tags'|t}</span></label>
67 </div>
68 </div>
69 <div class="pure-u-lg-2-3 pure-u-1">
70 <div class="form-input">
71 <input type="text" name="default_tags" id="default_tags" placeholder="{'Tag'|t}">
72 </div>
73 </div>
74 </div>
75
76 <div class="center">
77 <input type="submit" name="import_file" value="{'Import'|t}">
78 </div>
79 </div>
80 </div>
81</form>
82
83{include="page.footer"}
84</body>
85</html>