summaryrefslogtreecommitdiff
path: root/print/templates
diff options
context:
space:
mode:
authorLex Neva <github.com@lexneva.name>2018-04-16 20:17:07 -0400
committerLex Neva <github.com@lexneva.name>2018-04-16 20:17:07 -0400
commit7b0804562e4ce3b440e67de6cb001ac021326990 (patch)
tree80704e0702ce1d65e97ee123047baefa44e33a26 /print/templates
parentf9b90d31b7730103e296b0c2509885b07000eac4 (diff)
add 'save as defaults' button
Diffstat (limited to 'print/templates')
-rw-r--r--print/templates/headline.html5
-rw-r--r--print/templates/ui.html5
2 files changed, 7 insertions, 3 deletions
diff --git a/print/templates/headline.html b/print/templates/headline.html
index cbc9c43a..421202e4 100644
--- a/print/templates/headline.html
+++ b/print/templates/headline.html
@@ -1,5 +1,8 @@
<figure class="brandlogo">
- <img src="{{ logo.src or "resources/inkstitch-logo.svg" }}" alt="{{ logo.title }}" title="{{ logo.title }}">
+ <label for="logo-picker">
+ <img src="{{ logo.src or "resources/inkstitch-logo.svg" }}" alt="{{ logo.title }}" title="{{ logo.title }}" data-field-name="logo">
+ <input type=file id="logo-picker" />
+ </label>
</figure>
<div class="headline">
<div class="pageTitle">
diff --git a/print/templates/ui.html b/print/templates/ui.html
index 9acdd1bc..f7246962 100644
--- a/print/templates/ui.html
+++ b/print/templates/ui.html
@@ -15,7 +15,7 @@
<h1>{{ _('Settings') }}</h1>
<div>
<p>{{ _('Printing Size') }}:
- <select id="printing-size">
+ <select id="printing-size" data-field-name="paper-size">
<option value="letter" selected="selected">Letter</option>
<option value="a4">A4</option>
</select>
@@ -23,11 +23,12 @@
</div>
<div>
<fieldset>
- <legend>{{ ('Print Layouts') }}:</legend>
+ <legend>{{ _('Print Layouts') }}:</legend>
<p><input type="checkbox" id="client-overview" data-field-name="client-overview" /><label for="client-overview">Client Overview</label></p>
<p><input type="checkbox" id="client-detailedview" data-field-name="client-detailedview" /><label for="client-detailedview">Client Detailed View</label></p>
<p><input type="checkbox" id="operator-overview" data-field-name="operator-overview" CHECKED /><label for="operator-overview">Operator Overview</label></p>
<p><input type="checkbox" id="operator-detailedview" data-field-name="operator-detailedview" CHECKED /><label for="operator-detailedview">Operator Detailed View</label></p>
</fieldset>
+ <button id="save-settings" title="{{ _("Includes all settings visible here and also the icon.") }}">{{ _("Save as defaults") }}</button>
</div>
</div>