From 74e69891861a799bbf1a645d3e54658bc1722621 Mon Sep 17 00:00:00 2001 From: erichhasl Date: Mon, 8 Jan 2018 21:11:46 +0100 Subject: [PATCH] change layout of partei --- .../sas_web/news/static/news/css/partei.css | 6 +- .../sas_web/news/templates/news/partei.html | 83 +++++++++++-------- 2 files changed, 52 insertions(+), 37 deletions(-) diff --git a/web_dev/sas_web/news/static/news/css/partei.css b/web_dev/sas_web/news/static/news/css/partei.css index 5a14c8f..6fa0823 100644 --- a/web_dev/sas_web/news/static/news/css/partei.css +++ b/web_dev/sas_web/news/static/news/css/partei.css @@ -1,7 +1,11 @@ #partei_bild { - max-width: 50%; margin-top: 20px; margin-bottom: 50px; + width: 100%; +} + +#tablebig { + width: 100%; } .trpartei { diff --git a/web_dev/sas_web/news/templates/news/partei.html b/web_dev/sas_web/news/templates/news/partei.html index 25f72ea..e64cf12 100644 --- a/web_dev/sas_web/news/templates/news/partei.html +++ b/web_dev/sas_web/news/templates/news/partei.html @@ -7,47 +7,58 @@

Zurück zur Übersicht

-
- -
- - +
- - - - - - - - - - - - - - +
- + +
-

Name

-
-

{{ entry.partei.name }} ({{ entry.partei.abbreviation }})

-
-

Vorsitzende(r)

-
-

{{ entry.partei.chef }}

-
-

Wahlprogramm

-
-

{{ entry.wahlprogramm|linebreaks }}

-
-

Weitere Informationen

+ + + + + + + + + + + + + + + + + + + +
+ +
+

Name

+
+

{{ entry.partei.name }} ({{ entry.partei.abbreviation }})

+
+

Vorsitzende(r)

+
+

{{ entry.partei.chef }}

+
+

Wahlprogramm

+
+

{{ entry.wahlprogramm|linebreaks }}

+
+

Weitere Informationen

+
+ {% for attachment in entry.parteianhang_set.all %} + {{ attachment.name }}
+ {% endfor %} +
- {% for attachment in entry.parteianhang_set.all %} - {{ attachment.name }}
- {% endfor %} +
+ +