summaryrefslogtreecommitdiff
path: root/print/templates/ui.html
diff options
context:
space:
mode:
authorLex Neva <lexelby@users.noreply.github.com>2018-03-30 20:37:11 -0400
committerGitHub <noreply@github.com>2018-03-30 20:37:11 -0400
commit084c5555f21a6e927e4de98fdb66c4c408626f58 (patch)
tree91e2da4493f4dcc5243114d3f73296b4a0166543 /print/templates/ui.html
parent1279b3ec47fa9c7eb6540e255b67389644fb0b38 (diff)
print through web browser (#127)
* spawn a web server and open a printable view of the design in the user's web browser * configurable inclusion of client and operator views * editable fields for color names, client, title, and purchase order number * groundwork laid to save these parameters back into the SVG * major refactor of codebase to support printing * code is organized logically into modules * added inkstitch logo and branding guidelines * l10n text extraction now handled by babel * removed legacy embroider_update extension * partial fix for #125
Diffstat (limited to 'print/templates/ui.html')
-rw-r--r--print/templates/ui.html33
1 files changed, 33 insertions, 0 deletions
diff --git a/print/templates/ui.html b/print/templates/ui.html
new file mode 100644
index 00000000..078f1a4c
--- /dev/null
+++ b/print/templates/ui.html
@@ -0,0 +1,33 @@
+ <div class="ui">
+ <p class="header">{{ _('Ink/Stitch Print Preview') }}</p>
+ <div class="buttons">
+ <button class="print">{{ _('Print') }}</button>
+ <button class="settings">{{ _('Settings') }}</button>
+ <button class="close">{{ _('Close') }}</button>
+ </div>
+ <div id="errors">
+ {{ _('⚠ lost connection to Ink/Stitch') }}
+ </div>
+ </div>
+
+ <div id="settings-ui">
+ <p id="close-settings">X</p>
+ <h1>{{ _('Settings') }}</h1>
+ <div>
+ <p>{{ _('Printing Size') }}:
+ <select id="printing-size">
+ <option value="letter" selected="selected">Letter</option>
+ <option value="a4">A4</option>
+ </select>
+ </p>
+ </div>
+ <div>
+ <fieldset>
+ <legend>{{ ('Print Layouts') }}:</legend>
+ <p><input type="checkbox" id="client-overview" {{ 'checked' if view.client_overview else '' }}><label for="client-overview">Client Overview</label></p>
+ <p><input type="checkbox" id="client-detailedview" {{ 'checked' if view.client_detailedview else '' }}><label for="client-detailedview">Client Detailed View</label></p>
+ <p><input type="checkbox" id="operator-overview" {{ 'checked' if view.operator_overview else '' }}><label for="operator-overview">Operator Overview</label></p>
+ <p><input type="checkbox" id="operator-detailedview" {{ 'checked' if view.operator_detailedview else '' }}><label for="operator-overview">Operator Detailed View</label></p>
+ </fieldset>
+ </div>
+ </div>