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