diff options
author | ArthurHoaro <arthur@hoa.ro> | 2018-07-28 11:07:55 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2018-07-28 11:07:55 +0200 |
commit | 83faedadff76c5bdca036f39f13943f63b27e164 (patch) | |
tree | 6f44cede16ec6a60f10b9699e211e0818f06d2c8 /tpl/default/import.html | |
parent | 1d9eb22a3df85b67fe6652c0876cd7382c2fb525 (diff) | |
parent | 658988f3aeba7a5a938783249ccf2765251e5597 (diff) | |
download | Shaarli-83faedadff76c5bdca036f39f13943f63b27e164.tar.gz Shaarli-83faedadff76c5bdca036f39f13943f63b27e164.tar.zst Shaarli-83faedadff76c5bdca036f39f13943f63b27e164.zip |
Merge tag 'v0.9.7' into stable
Release v0.9.7
Diffstat (limited to 'tpl/default/import.html')
-rw-r--r-- | tpl/default/import.html | 86 |
1 files changed, 86 insertions, 0 deletions
diff --git a/tpl/default/import.html b/tpl/default/import.html new file mode 100644 index 00000000..000a50ac --- /dev/null +++ b/tpl/default/import.html | |||
@@ -0,0 +1,86 @@ | |||
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 | <p><br>{'Maximum size allowed:'|t} <strong>{$maxfilesizeHuman}</strong></p> | ||
22 | </div> | ||
23 | |||
24 | <div class="pure-g"> | ||
25 | <div class="pure-u-lg-1-3 pure-u-1"> | ||
26 | <div class="form-label"> | ||
27 | <label><span class="label-name">{'Visibility'|t}</span></label> | ||
28 | </div> | ||
29 | </div> | ||
30 | <div class="pure-u-lg-2-3 pure-u-1"> | ||
31 | <div class="radio-buttons"> | ||
32 | <div> | ||
33 | <input type="radio" name="privacy" value="default" checked="checked"> | ||
34 | {'Use values from the imported file, default to public'|t} | ||
35 | </div> | ||
36 | <div> | ||
37 | <input type="radio" name="privacy" value="private"> | ||
38 | {'Import all bookmarks as private'|t} | ||
39 | </div> | ||
40 | <div> | ||
41 | <input type="radio" name="privacy" value="public"> | ||
42 | {'Import all bookmarks as public'|t} | ||
43 | </div> | ||
44 | </div> | ||
45 | </div> | ||
46 | </div> | ||
47 | |||
48 | <div class="pure-g"> | ||
49 | <div class="pure-u-lg-1-3 pure-u-7-8"> | ||
50 | <div class="form-label"> | ||
51 | <label for="overwrite"> | ||
52 | <span class="label-name">{'Overwrite existing bookmarks'|t}</span><br> | ||
53 | <span class="label-desc">{'Duplicates based on URL'|t}</span> | ||
54 | </label> | ||
55 | </div> | ||
56 | </div> | ||
57 | <div class="pure-u-lg-2-3 pure-u-1-8"> | ||
58 | <div class="form-input"> | ||
59 | <input type="checkbox" name="overwrite" id="overwrite"> | ||
60 | </div> | ||
61 | </div> | ||
62 | </div> | ||
63 | |||
64 | <div class="pure-g"> | ||
65 | <div class="pure-u-lg-1-3 pure-u-1"> | ||
66 | <div class="form-label"> | ||
67 | <label for="default_tags"><span class="label-name">{'Add default tags'|t}</span></label> | ||
68 | </div> | ||
69 | </div> | ||
70 | <div class="pure-u-lg-2-3 pure-u-1"> | ||
71 | <div class="form-input"> | ||
72 | <input type="text" name="default_tags" id="default_tags" placeholder="{'Tag'|t}"> | ||
73 | </div> | ||
74 | </div> | ||
75 | </div> | ||
76 | |||
77 | <div class="center"> | ||
78 | <input type="submit" name="import_file" value="{'Import'|t}"> | ||
79 | </div> | ||
80 | </div> | ||
81 | </div> | ||
82 | </form> | ||
83 | |||
84 | {include="page.footer"} | ||
85 | </body> | ||
86 | </html> | ||