summaryrefslogtreecommitdiff
path: root/print/templates/headline.html
diff options
context:
space:
mode:
authorLex Neva <lexelby@users.noreply.github.com>2018-04-28 13:40:52 -0400
committerGitHub <noreply@github.com>2018-04-28 13:40:52 -0400
commit14828d6fa2d290fb5f10b2e5956b2fa1153588d5 (patch)
tree8e163688d30fd6ec23b1c7d5977ccceb97091264 /print/templates/headline.html
parent69d231b4eb197bfe135ec7e146b53c5de975b9d9 (diff)
parent8e3dd74a286d4549fdb1dd9cc7a9fcfadb85bb9e (diff)
Merge pull request #148 from lexelby/lexelby-print-features
additional print features
Diffstat (limited to 'print/templates/headline.html')
-rw-r--r--print/templates/headline.html14
1 files changed, 9 insertions, 5 deletions
diff --git a/print/templates/headline.html b/print/templates/headline.html
index 649c02ea..7a7059b9 100644
--- a/print/templates/headline.html
+++ b/print/templates/headline.html
@@ -1,12 +1,16 @@
<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>
+ <span class="logo-instructions">{{ _("Click to choose another logo") }}</span>
</figure>
<div class="headline">
<div class="pageTitle">
- <h1><span class="jobtitle" contenteditable="true" data-placeholder="{{ _('Enter job title...') }}" data-field-name="job-title">{{ job.title }}</span></h1>
- <p class="header-field" data-label="{{ _('CLIENT') }}:" contenteditable="true" data-placeholder="{{ _('Enter client name...') }}" data-field-name="client-name">{{ client }}</p>
- <p class="header-field" data-label="{{ _('PURCHASE ORDER #:') }}" contenteditable="true" data-placeholder="{{ _('Enter purchase order number...') }}" data-field-name="purchase-order">{{ purchase_order }}</p>
+ <h1><span class="jobtitle" contenteditable="true" data-placeholder="{{ _('Enter job title...') }}" data-field-name="title"></span></h1>
+ <p class="header-field" data-label="{{ _('CLIENT') }}:" contenteditable="true" data-placeholder="{{ _('Enter client name...') }}" data-field-name="client-name"></p>
+ <p class="header-field" data-label="{{ _('PURCHASE ORDER #:') }}" contenteditable="true" data-placeholder="{{ _('Enter purchase order number...') }}" data-field-name="purchase-order"></p>
</div>
-
+
<div class="currentDate">{{ date|datetimeformat(_('%Y.%m.%d')) }}</div>
</div>