MyShaarli/tpl/myShaarli/import.html

87 lines
2.8 KiB
HTML
Raw Permalink Normal View History

2013-02-26 10:09:41 +01:00
<!DOCTYPE html>
2023-05-25 11:13:43 +02:00
<html{if="$language !== 'auto'"} lang="{$language}"{/if}>
2017-12-15 12:16:50 +01:00
<head>
{include="includes"}
</head>
<body>
{include="page.header"}
2023-05-25 11:13:43 +02:00
<form method="POST" action="{$base_path}/admin/import" enctype="multipart/form-data" name="uploadform" id="uploadform">
2017-12-15 12:16:50 +01:00
<div class="pure-g">
<div class="pure-u-lg-1-4 pure-u-1-24"></div>
<div class="pure-u-lg-1-2 pure-u-22-24 page-form page-form-complete">
<div>
<h2 class="window-title">{"Import Database"|t}</h2>
</div>
<input type="hidden" name="token" value="{$token}">
2018-10-05 11:55:51 +02:00
<div class="center import-field-container" id="import-field">
2017-12-15 12:16:50 +01:00
<input type="hidden" name="MAX_FILE_SIZE" value="{$maxfilesize}">
<input type="file" name="filetoupload">
2018-10-05 11:55:51 +02:00
<p><br>{'Maximum size allowed:'|t} <strong>{$maxfilesizeHuman}</strong></p>
2017-12-15 12:16:50 +01:00
</div>
<div class="pure-g">
<div class="pure-u-lg-1-3 pure-u-1">
<div class="form-label">
<label><span class="label-name">{'Visibility'|t}</span></label>
</div>
</div>
<div class="pure-u-lg-2-3 pure-u-1">
<div class="radio-buttons">
<div>
<input type="radio" name="privacy" value="default" checked="checked">
2018-10-05 11:55:51 +02:00
{'Use values from the imported file, default to public'|t}
2017-12-15 12:16:50 +01:00
</div>
<div>
<input type="radio" name="privacy" value="private">
2018-10-05 11:55:51 +02:00
{'Import all bookmarks as private'|t}
2017-12-15 12:16:50 +01:00
</div>
<div>
<input type="radio" name="privacy" value="public">
2018-10-05 11:55:51 +02:00
{'Import all bookmarks as public'|t}
2017-12-15 12:16:50 +01:00
</div>
</div>
</div>
</div>
<div class="pure-g">
<div class="pure-u-lg-1-3 pure-u-7-8">
<div class="form-label">
<label for="overwrite">
<span class="label-name">{'Overwrite existing bookmarks'|t}</span><br>
<span class="label-desc">{'Duplicates based on URL'|t}</span>
</label>
</div>
</div>
<div class="pure-u-lg-2-3 pure-u-1-8">
<div class="form-input">
2015-07-17 11:28:43 +02:00
<input type="checkbox" name="overwrite" id="overwrite">
2017-12-15 12:16:50 +01:00
</div>
</div>
</div>
<div class="pure-g">
<div class="pure-u-lg-1-3 pure-u-1">
<div class="form-label">
<label for="default_tags"><span class="label-name">{'Add default tags'|t}</span></label>
</div>
</div>
<div class="pure-u-lg-2-3 pure-u-1">
<div class="form-input">
2023-05-25 11:13:43 +02:00
<input type="text" name="default_tags" id="default_tags" aria-label="{'Tag'|t}" placeholder="{'Tag'|t}">
2017-12-15 12:16:50 +01:00
</div>
</div>
</div>
<div class="center">
<input type="submit" name="import_file" value="{'Import'|t}">
2015-07-17 11:28:43 +02:00
</div>
</div>
2017-12-15 12:16:50 +01:00
</div>
</form>
{include="page.footer"}
</body>
</html>