From 9c015de24544de87e110b2fa3003c3f2f746bac7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kate=C5=99ina=20=C4=8C?= Date: Wed, 1 Jul 2020 19:42:34 +0200 Subject: [PATCH 01/50] =?UTF-8?q?pokusy=20o=20=C3=BApravu=20vzhledu=20titu?= =?UTF-8?q?ln=C3=AD=20str=C3=A1nky?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mamweb/static/css/mamweb.css | 24 ++++++++++--- seminar/templates/seminar/novinky.html | 3 +- .../soustredeni/seznam_soustredeni.html | 5 --- seminar/templates/seminar/titulnistrana.html | 34 ++++++++++++------- seminar/views/views_all.py | 2 +- 5 files changed, 43 insertions(+), 25 deletions(-) diff --git a/mamweb/static/css/mamweb.css b/mamweb/static/css/mamweb.css index 7dda151a..79272cea 100644 --- a/mamweb/static/css/mamweb.css +++ b/mamweb/static/css/mamweb.css @@ -958,9 +958,26 @@ div.cislo_odkazy ul { float: left; } -.novinky{ - float: right; - max-width: 42%; +div.pruh_titulni{ + width: 100%; + padding: 0%; + margin: 0%; + display: inline-block; +} + +div.titulnistrana_vitej{ + width: 33%; + display: table-cell; +} + +div.titulnistrana_novinky{ + width: 66%; + display: table-cell; +} + +div.titulnistrana_novinka{ + width: 45%; + display: inline-block; } .novinka_obrazek img { @@ -969,7 +986,6 @@ div.cislo_odkazy ul { div.novinka_obrazek { width: 100%; - max-width: 400px; /*FIXME*/ } div.org-text { diff --git a/seminar/templates/seminar/novinky.html b/seminar/templates/seminar/novinky.html index ccf40831..1ef4448a 100644 --- a/seminar/templates/seminar/novinky.html +++ b/seminar/templates/seminar/novinky.html @@ -1,6 +1,5 @@ {% for novinka in object_list %} -{# pripravene div-y na stylovani#} -
+
{% if not novinka.zverejneno and user.is_staff %}
+
{% endblock %} diff --git a/prednasky/templates/prednasky/seznam_prednasek.html b/prednasky/templates/prednasky/seznam_prednasek.html index a019c000..91261242 100644 --- a/prednasky/templates/prednasky/seznam_prednasek.html +++ b/prednasky/templates/prednasky/seznam_prednasek.html @@ -15,5 +15,7 @@ {{ prednaska.body }} b) – {{ prednaska.org }} {% endfor %} + +
{% endblock %} diff --git a/seminar/templates/seminar/profil/gdpr.html b/seminar/templates/seminar/profil/gdpr.html index 74e253f5..3e85de78 100644 --- a/seminar/templates/seminar/profil/gdpr.html +++ b/seminar/templates/seminar/profil/gdpr.html @@ -36,13 +36,14 @@ Tento souhlas uděluji ze své vlastní a svobodné vůle a beru na vědomí, ž

Dále máte právo: +

  • požádat o informaci, jaké osobní údaje jsou o vás zpracovávány,
  • požadovat opravu osobních údajů, pokud jsou neplatné nebo zastaralé,
  • požadovat, aby nebyly vaše osobní údaje zpracovávány do doby, než bude vyřešena oprávněnost výše uvedených požadavků,
  • požadovat, aby byly vaše osobní údaje předány jinému správci,
  • podat stížnost u dozorového úřadu. -

    +

V případě jakéhokoliv dotazu nebo uplatnění svých práv můžete kontaktovat pověřence pro ochranu osobních údajů na e-mailové adrese gdpr@cuni.cz.

diff --git a/seminar/templates/seminar/profil/nahraj_reseni.html b/seminar/templates/seminar/profil/nahraj_reseni.html index 861d7bdd..dddc5e19 100644 --- a/seminar/templates/seminar/profil/nahraj_reseni.html +++ b/seminar/templates/seminar/profil/nahraj_reseni.html @@ -53,7 +53,7 @@ {{ field }} - {{ field.help_text|safe }} + {{ field.help_text|safe }}> {{ field.errors }} @@ -74,7 +74,7 @@ {% endif %} +
{% endfor%} From 6f1f558db111cc2aad3413c333db50ad069c3445 Mon Sep 17 00:00:00 2001 From: Jonas Havelka Date: Fri, 18 Sep 2020 22:26:17 +0200 Subject: [PATCH 31/50] =?UTF-8?q?Spr=C3=A1vn=C3=A9=20
y=20v=20base.htm?= =?UTF-8?q?l?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mamweb/templates/base.html | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/mamweb/templates/base.html b/mamweb/templates/base.html index 7f0556f3..dff05f55 100644 --- a/mamweb/templates/base.html +++ b/mamweb/templates/base.html @@ -63,6 +63,7 @@
+
@@ -72,6 +73,9 @@ {# ========= MENU MOBILE ========== #} +
+
+