From aeb96ecec7d471934be3ea90362a8f5a32282132 Mon Sep 17 00:00:00 2001 From: Emil Miler Date: Tue, 5 Oct 2021 10:33:57 +0200 Subject: [PATCH] Default template optimizations --- templates/back.html | 7 +-- templates/front.html | 107 +------------------------------------------ templates/style.css | 9 ++-- 3 files changed, 8 insertions(+), 115 deletions(-) diff --git a/templates/back.html b/templates/back.html index 0790df0..1b085be 100644 --- a/templates/back.html +++ b/templates/back.html @@ -11,7 +11,7 @@ {{ semester }} {{ year }} -

Svým podpisem v rubrice „PODPIS“ stvrzuji, že jsem byl/a seznámen/a s „Bezpečnostním poučením“ pro předměty IT, s programem kurzu a se studijními povinnostmi.

+

Svým podpisem v rubrice „PODPIS“ stvrzuji, že jsem byl/a seznámen/a s „Bezpečnostním poučením“ pro předměty IT, s programem kurzu a se studijními povinnostmi.

@@ -79,11 +79,6 @@ - - - - -
diff --git a/templates/front.html b/templates/front.html index eaa0e5c..efee63c 100644 --- a/templates/front.html +++ b/templates/front.html @@ -14,7 +14,7 @@ - + @@ -37,7 +37,7 @@
Předmět:{{ subject }}{{ title }} Kód předmětu: {{ code }}
- + @@ -51,10 +51,7 @@ - - - @@ -72,11 +69,6 @@ - - - - - @@ -94,11 +86,6 @@ - - - - - @@ -116,11 +103,6 @@ - - - - - @@ -138,11 +120,6 @@ - - - - - @@ -160,11 +137,6 @@ - - - - - @@ -182,11 +154,6 @@ - - - - - @@ -204,11 +171,6 @@ - - - - - @@ -226,11 +188,6 @@ - - - - - @@ -248,11 +205,6 @@ - - - - - @@ -270,11 +222,6 @@ - - - - - @@ -292,11 +239,6 @@ - - - - - @@ -314,11 +256,6 @@ - - - - - @@ -336,11 +273,6 @@ - - - - - @@ -358,11 +290,6 @@ - - - - - @@ -380,11 +307,6 @@ - - - - - @@ -402,11 +324,6 @@ - - - - - @@ -424,11 +341,6 @@ - - - - - @@ -446,11 +358,6 @@ - - - - - @@ -468,11 +375,6 @@ - - - - - @@ -490,11 +392,6 @@ - - - - -
PříjmeníJméno Podpis PráceZápočetZkouška
diff --git a/templates/style.css b/templates/style.css index 449136b..c1c3aec 100644 --- a/templates/style.css +++ b/templates/style.css @@ -60,7 +60,7 @@ header { justify-content: space-between; } -table#meta { +#meta { margin: 7mm 0; width: 100%; } @@ -89,9 +89,10 @@ table#attendance { transform: rotate(180deg); /* Hack for rotating a table by 270 degrees */ writing-mode: vertical-rl; /* and scaling it relatively to page size. */ } -table#attendance td { min-height: 5mm; width: 8mm; } -table#attendance tr:nth-child(1) { - background-color: #ddd; +table#attendance tr:nth-child(1) { background-color: #ddd } +table#attendance td:nth-child(n+3):nth-child(-n+14) { + width: 8mm; + height: 8mm; } table#days th { height: 8mm }