bookmarks/js/templates/Settings.html

68 lines
2.4 KiB
HTML

<div id="app-settings-header">
<button class="settings-button"><%- t('bookmarks', 'Settings') %></button>
</div>
<div id="app-settings-content">
<h3><%- t('bookmarks', 'Bookmarklet') %></h3>
<p>
<%- t('bookmarks', 'Drag this to your browser bookmarks and click it, when you want to bookmark a webpage quickly:') %>
</p>
<a class="button bookmarklet" href=""
><%- t('bookmarks', 'Add to {instanceName} ', {instanceName:oc_defaults.name}) %></a
>
<h3><%- t('bookmarks', 'Import & Export') %></h3>
<form
class="import-form"
action="bookmark/import"
method="post"
target="upload_iframe"
enctype="multipart/form-data"
encoding="multipart/form-data"
>
<input type="file" class="import" name="bm_import" size="5" />
<input type="hidden" name="requesttoken" value="<%- oc_requesttoken %>" />
<button class="import-facade">
<span class="icon-upload"></span> <%- t('bookmarks', 'Import') %>
</button>
</form>
<iframe class="upload" name="upload_iframe" id="upload_iframe"></iframe>
<button class="export">
<span class="icon-download"></span> <%- t('bookmarks', 'Export') %>
</button>
<div class="import-status"></div>
<h3><%- t('bookmarks', 'Sorting') %></h3>
<form class="sort-form" action="settings/sort" method="post">
<select id="sort" name="sorting">
<option id="added" value="added">
<%- t('bookmarks', 'Recently added') %></option
>
<option id="title" value="title">
<%- t('bookmarks', 'Alphabetically') %></option
>
<option id="clickcount" value="clickcount">
<%- t('bookmarks', 'Most visited') %></option
>
<option id="lastmodified" value="lastmodified">
<%- t('bookmarks', 'Latest modified') %></option
>
</select>
</form>
<h3><%- t('bookmarks', 'View mode') %></h3>
<select class="view-mode" name="view">
<option id="grid" value="grid"> <%- t('bookmarks', 'Grid view') %></option>
<option id="list" value="list"> <%- t('bookmarks', 'List view') %></option>
</select>
<h3><%- t('bookmarks', 'RSS Feed') %></h3>
<p>
<%- t('bookmarks', 'This is an RSS feed of the current result set with access restricted to you.') %>
</p>
<input type="text" readonly class="rss-link" />
<h3><%- t('bookmarks', 'Clear data') %></h3>
<p>
<%- t('bookmarks', 'Permanently remove all bookmarks from your account. There is no going back!') %>
</p>
<button class="clear-data">
<span class="icon-delete"></span> <%- t('bookmarks', 'Delete all bookmarks')
%>
</button>
</div>