summaryrefslogtreecommitdiff
path: root/print/templates
diff options
context:
space:
mode:
authorKaalleen <36401965+kaalleen@users.noreply.github.com>2021-04-20 17:50:30 +0200
committerGitHub <noreply@github.com>2021-04-20 17:50:30 +0200
commit08adc27b307166e0d62faef2ce662c2be3366912 (patch)
tree7fab288edb1d0bc40a94229cbe374190dcd42ae0 /print/templates
parent92b0b0a8bd9ffb8128e74e68edb39ab4886bfd7f (diff)
Language-Stylesheets for Print-PDF (#1156)
Diffstat (limited to 'print/templates')
-rw-r--r--print/templates/index.html3
-rw-r--r--print/templates/operator_overview.html2
-rw-r--r--print/templates/print_detail.html2
-rw-r--r--print/templates/print_overview.html2
4 files changed, 6 insertions, 3 deletions
diff --git a/print/templates/index.html b/print/templates/index.html
index 375fdc77..d4244493 100644
--- a/print/templates/index.html
+++ b/print/templates/index.html
@@ -7,6 +7,9 @@
<script src="resources/jquery-3.3.1.min.js"></script>
<script src="resources/inkstitch.js"></script>
<link rel="stylesheet" href="resources/style.css" />
+ {% for l in languages %}
+ <link rel="stylesheet" href="resources/{{ l }}.css" />
+ {% endfor %}
<link rel="shortcut icon" type="image/png" href="/favicon.png"/>
</head>
<body>
diff --git a/print/templates/operator_overview.html b/print/templates/operator_overview.html
index 71c5ea2e..a7f33a85 100644
--- a/print/templates/operator_overview.html
+++ b/print/templates/operator_overview.html
@@ -1,6 +1,6 @@
<header>
{% include 'headline.html' %}
- <div class="job-details">
+ <div class="job-details condensed">
<div>
<div class="table">
<p><span>{{ _('Unique Colors') }}:</span><span>{{ job.num_colors }}</span></p>
diff --git a/print/templates/print_detail.html b/print/templates/print_detail.html
index f076fc04..f9082a66 100644
--- a/print/templates/print_detail.html
+++ b/print/templates/print_detail.html
@@ -1,6 +1,6 @@
<header>
{% include 'headline.html' %}
- <div class="job-details">
+ <div class="job-details condensed">
<div>
<div class="table">
<p><span>{{ _('COLOR') }}:</span><span data-field-name="color-{{ color_block.color.hex_digits }}" contenteditable="true" data-placeholder="{{ _('Enter thread name...') }}">{{ color_block.color.thread_name }}</span></p>
diff --git a/print/templates/print_overview.html b/print/templates/print_overview.html
index 34478438..04269e20 100644
--- a/print/templates/print_overview.html
+++ b/print/templates/print_overview.html
@@ -1,6 +1,6 @@
<header>
{% include 'headline.html' %}
- <div class="job-details">
+ <div class="job-details condensed">
<div>
<div class="table">
<p><span>{{ _('Unique Colors') }}:</span><span>{{ job.num_colors }}</span></p>