From b797e8e90d294b14d774cb82b174e8cf0cc9bbd6 Mon Sep 17 00:00:00 2001 From: vaishk Date: Sun, 24 Dec 2017 02:34:44 +0530 Subject: [PATCH] dates to events & UI changes --- camp/static/css/main.css | 6 +++++- content/templates/content.html | 8 ++++++++ content/templates/results.html | 10 +++++----- 3 files changed, 18 insertions(+), 6 deletions(-) diff --git a/camp/static/css/main.css b/camp/static/css/main.css index 50d8290..1e9bb94 100644 --- a/camp/static/css/main.css +++ b/camp/static/css/main.css @@ -179,7 +179,11 @@ table thead, table tbody, table tfoot { font-weight: 600; } - +.content-date { + font-size: 14px; + font-weight: 600; + text-transform: uppercase; +} diff --git a/content/templates/content.html b/content/templates/content.html index 04e7e2e..a7162f8 100644 --- a/content/templates/content.html +++ b/content/templates/content.html @@ -8,6 +8,14 @@ {% endif %}

{{content.title}}

+ {% if content.type.name == 'events' %} + + {% endif %}

{{content.formatted_header|safe}}

{{content.formatted_body|safe}}

{% include "opt.html" %} diff --git a/content/templates/results.html b/content/templates/results.html index 5c3bc7b..b3d7ecb 100644 --- a/content/templates/results.html +++ b/content/templates/results.html @@ -4,7 +4,7 @@ {% block content %}
-
+
{% if section %}

{{section }}

{% else %} @@ -15,7 +15,7 @@ {% for row in content %} {% if row.type.name == 'news' %}
-
+
{% else %}
-
+
{% if row.image_url %} {% endif %}
-
+
{{ row.title }} {% if row.type.name == 'events' %}