CI / build (push) Failing after 6m2s
Introduce a Node build system for minified CSS/JS with content hashes, add PWA support, i18n helpers, accessibility improvements, and more translatable strings. Move theme configuration from bookmarks to localStorage, add Playwright tests, and set up CI workflows.
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'|t}</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'|t}</strong> <span class="text-muted">- {'Export all links'|t}</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'|t}</strong> <span class="text-muted">- {'Export public links only'|t}</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'|t}</strong> <span class="text-muted">- {'Export private links only'|t}</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>
|