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.html100
1 files changed, 76 insertions, 24 deletions
diff --git a/tpl/default/import.html b/tpl/default/import.html
index 071e1160..e6e521e8 100644
--- a/tpl/default/import.html
+++ b/tpl/default/import.html
@@ -1,33 +1,85 @@
1<!DOCTYPE html> 1<!DOCTYPE html>
2<html> 2<html>
3<head>{include="includes"}</head> 3<head>
4<body onload="document.uploadform.filetoupload.focus();"> 4 {include="includes"}
5<div id="pageheader"> 5</head>
6 {include="page.header"} 6<body>
7 <div id="uploaddiv"> 7{include="page.header"}
8 Import Netscape HTML bookmarks (as exported from Firefox/Chrome/Opera/Delicious/Diigo...) (Max: {$maxfilesize} bytes). 8
9 <form method="POST" action="?do=import" enctype="multipart/form-data" 9<form method="POST" action="?do=import" enctype="multipart/form-data" name="uploadform" id="uploadform">
10 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
11 <input type="hidden" name="token" value="{$token}"> 17 <input type="hidden" name="token" value="{$token}">
12 <input type="hidden" name="MAX_FILE_SIZE" value="{$maxfilesize}"> 18 <div class="center" id="import-field">
13 <input type="file" name="filetoupload"> 19 <input type="hidden" name="MAX_FILE_SIZE" value="{$maxfilesize}">
14 <input type="submit" name="import_file" value="Import" class="bigbutton"><br> 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>
15 46
16 <label for="privacy">&nbsp;Visibility:</label><br> 47 <div class="pure-g">
17 <input type="radio" name="privacy" value="default" checked="true"> 48 <div class="pure-u-lg-1-3 pure-u-7-8">
18 &nbsp;Use values from the imported file, default to public<br> 49 <div class="form-label">
19 <input type="radio" name="privacy" value="private"> 50 <label for="overwrite">
20 &nbsp;Import all bookmarks as private<br> 51 <span class="label-name">{'Overwrite existing bookmarks'|t}</span><br>
21 <input type="radio" name="privacy" value="public"> 52 <span class="label-desc">{'Duplicates based on URL'|t}</span>
22 &nbsp;Import all bookmarks as public<br> 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>
23 62
24 <input type="checkbox" name="overwrite" id="overwrite"> 63 <div class="pure-g">
25 <label for="overwrite">&nbsp;Overwrite existing bookmarks</label><br> 64 <div class="pure-u-lg-1-3 pure-u-1">
26 <label for="default_tags">&nbsp;Add default tags</label> 65 <div class="form-label">
27 <input type="text" name="default_tags" id="default_tags"> 66 <label for="default_tags"><span class="label-name">{'Add default tags'|t}</span></label>
28 </form> 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>
29 </div> 80 </div>
30</div> 81</form>
82
31{include="page.footer"} 83{include="page.footer"}
32</body> 84</body>
33</html> 85</html>