67 lines
3.5 KiB
HTML
67 lines
3.5 KiB
HTML
<!DOCTYPE html>
|
|
<html{if="$language !== 'auto'"} lang="{$language}"{/if}>
|
|
<head>
|
|
{$pageName="export"}
|
|
{include="includes"}
|
|
</head>
|
|
<body>
|
|
{include="page.header"}
|
|
<div id="toolsdiv" class="container page-export">
|
|
<div class="row">
|
|
<div class="col-md-8 col-md-offset-2">
|
|
<form method="post" action="{$base_path}/admin/export">
|
|
<input type="hidden" name="token" value="{$token}">
|
|
|
|
<div class="card">
|
|
<div class="card-header">{"Export Database"|t}</div>
|
|
<div class="card-body">
|
|
<div class="filter-toggle-row">
|
|
<div>
|
|
<div class="filter-toggle-label">{'Prepend note permalinks with this Shaarli instance\'s URL'|t}</div>
|
|
<div class="sublabel">{'Useful to import bookmarks in a web browser'|t}</div>
|
|
</div>
|
|
<label class="toggle-switch">
|
|
<input type="checkbox" name="prepend_note_url" id="prepend_note_url"/>
|
|
<span class="toggle-slider"></span>
|
|
</label>
|
|
</div>
|
|
|
|
<hr style="margin: 1.5rem 0; border-top: 1px solid var(--border);">
|
|
|
|
<h3 style="font-size: 1.1rem; font-weight: 600; color: var(--text-main); margin-bottom: 1rem;">Selection</h3>
|
|
|
|
<div class="form-group">
|
|
<div class="radio-group">
|
|
<div class="form-group checkbox-wrapper" style="margin-bottom: 0.5rem;">
|
|
<input name="selection" type="radio" value="all" id="selection-all" checked style="width: auto;" />
|
|
<label for="selection-all" style="margin: 0;">
|
|
<strong>Export all</strong> <span class="text-muted">- Export all links</span>
|
|
</label>
|
|
</div>
|
|
<div class="form-group checkbox-wrapper" style="margin-bottom: 0.5rem;">
|
|
<input name="selection" type="radio" value="public" id="selection-public" style="width: auto;" />
|
|
<label for="selection-public" style="margin: 0;">
|
|
<strong>Export public</strong> <span class="text-muted">- Export public links only</span>
|
|
</label>
|
|
</div>
|
|
<div class="form-group checkbox-wrapper">
|
|
<input name="selection" type="radio" value="private" id="selection-private" style="width: auto;" />
|
|
<label for="selection-private" style="margin: 0;">
|
|
<strong>Export private</strong> <span class="text-muted">- Export private links only</span>
|
|
</label>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="card-footer">
|
|
<button type="submit" class="btn btn-primary">{'Export'|t}</button>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{include="page.footer"}
|
|
</body>
|
|
</html>
|