diff options
author | Arthur <arthur@hoa.ro> | 2017-01-06 11:40:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-06 11:40:54 +0100 |
commit | 7418f7cb60524c3bfc2f240386b5e3e7eb9b3257 (patch) | |
tree | 4b0c89c133ad1679c5db3a4f0f6b94079f776395 /tpl/default/import.html | |
parent | 93b1fe54fb99efff30eec0d405cc7319fbbc1f95 (diff) | |
parent | 01c6e32a02034ab119d83364c4648ce55d75543b (diff) | |
download | Shaarli-7418f7cb60524c3bfc2f240386b5e3e7eb9b3257.tar.gz Shaarli-7418f7cb60524c3bfc2f240386b5e3e7eb9b3257.tar.zst Shaarli-7418f7cb60524c3bfc2f240386b5e3e7eb9b3257.zip |
Merge pull request #732 from ArthurHoaro/feature/theme-manager
Theme manager: improvements
Diffstat (limited to 'tpl/default/import.html')
-rw-r--r-- | tpl/default/import.html | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/tpl/default/import.html b/tpl/default/import.html new file mode 100644 index 00000000..071e1160 --- /dev/null +++ b/tpl/default/import.html | |||
@@ -0,0 +1,33 @@ | |||
1 | <!DOCTYPE html> | ||
2 | <html> | ||
3 | <head>{include="includes"}</head> | ||
4 | <body onload="document.uploadform.filetoupload.focus();"> | ||
5 | <div id="pageheader"> | ||
6 | {include="page.header"} | ||
7 | <div id="uploaddiv"> | ||
8 | Import Netscape HTML bookmarks (as exported from Firefox/Chrome/Opera/Delicious/Diigo...) (Max: {$maxfilesize} bytes). | ||
9 | <form method="POST" action="?do=import" enctype="multipart/form-data" | ||
10 | name="uploadform" id="uploadform"> | ||
11 | <input type="hidden" name="token" value="{$token}"> | ||
12 | <input type="hidden" name="MAX_FILE_SIZE" value="{$maxfilesize}"> | ||
13 | <input type="file" name="filetoupload"> | ||
14 | <input type="submit" name="import_file" value="Import" class="bigbutton"><br> | ||
15 | |||
16 | <label for="privacy"> Visibility:</label><br> | ||
17 | <input type="radio" name="privacy" value="default" checked="true"> | ||
18 | Use values from the imported file, default to public<br> | ||
19 | <input type="radio" name="privacy" value="private"> | ||
20 | Import all bookmarks as private<br> | ||
21 | <input type="radio" name="privacy" value="public"> | ||
22 | Import all bookmarks as public<br> | ||
23 | |||
24 | <input type="checkbox" name="overwrite" id="overwrite"> | ||
25 | <label for="overwrite"> Overwrite existing bookmarks</label><br> | ||
26 | <label for="default_tags"> Add default tags</label> | ||
27 | <input type="text" name="default_tags" id="default_tags"> | ||
28 | </form> | ||
29 | </div> | ||
30 | </div> | ||
31 | {include="page.footer"} | ||
32 | </body> | ||
33 | </html> | ||