From 3e79ad6d543b908efc6165fe751e33d27968f0ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kate=C5=99ina=20=C4=8C=C3=AD=C5=BEkov=C3=A1?= Date: Fri, 3 Apr 2020 12:08:32 +0200 Subject: [PATCH] =?UTF-8?q?archiv=20flashcards=20-=20odkazy=20na=20zadn?= =?UTF-8?q?=C3=AD=20stran=C4=9B=20karet?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mamweb/static/css/mamweb.css | 28 ++++++++++++++++--- seminar/templates/seminar/archiv/cisla.html | 13 +++++++-- .../seminar/cojemam/organizatori.html | 2 +- 3 files changed, 35 insertions(+), 8 deletions(-) diff --git a/mamweb/static/css/mamweb.css b/mamweb/static/css/mamweb.css index 033e0c4e..5089f46e 100644 --- a/mamweb/static/css/mamweb.css +++ b/mamweb/static/css/mamweb.css @@ -558,7 +558,7 @@ div.seznam_orgu { text-align: center; } -div.org_pole { +div.org_pole, div.rocnik_pole { display: inline-block; width: 30%; min-width: 300px; @@ -576,16 +576,19 @@ div.org_email { font-weight: bold; } -/*otáčecí karty organizátorů*/ +/*otáčecí karty (orgové, archiv) */ .flip-card { - width: 200px; - height: 250px; perspective: 1000px; /* Remove this if you don't want the 3D effect */ margin-left: auto; margin-right: auto; } +#organizatori.flip-card { + width: 200px; + height: 250px; +} + #archiv.flip-card { width: 210px; height: 298px; @@ -637,6 +640,23 @@ div.flip-card-foto img { padding-top: 20px; } +/* karty archiv */ + +div.popis_rocniku { + text-align: left; + font-weight: bold; + margin: 20px; +} + + +div.popis_rocniku a{ + color: black; +} + +div.popis_rocniku a:hover{ + color: #6f2509; +} + /* graf na úvodní stránce */ a span.popup { diff --git a/seminar/templates/seminar/archiv/cisla.html b/seminar/templates/seminar/archiv/cisla.html index 60b61e6e..be860f81 100644 --- a/seminar/templates/seminar/archiv/cisla.html +++ b/seminar/templates/seminar/archiv/cisla.html @@ -14,7 +14,7 @@ {% for rocnik, url_png in object_list.items %} -
+

Ročník {{ rocnik }} @@ -34,9 +34,16 @@

-
- + Jednotlivá čísla: +
    + {% for cislo in rocnik.cisla.all reversed %} +
  • {{ cislo.poradi }}. číslo {% if cislo.pdf %}(pdf) {% endif %} + {% empty %} + --- + {% endfor %} +
+ Výsledková listina
diff --git a/seminar/templates/seminar/cojemam/organizatori.html b/seminar/templates/seminar/cojemam/organizatori.html index 58d13dde..a3957101 100644 --- a/seminar/templates/seminar/cojemam/organizatori.html +++ b/seminar/templates/seminar/cojemam/organizatori.html @@ -46,7 +46,7 @@ {# karta organizátora - zepředu fotka, zezadu popis, u neaktivních data kdy organizovali #} -
+