From d1642e2b0f827c4889faa0400e2d0dd3cb074b72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Tue, 11 Dec 2018 14:55:20 +0100 Subject: [PATCH] style: adjust some knowledge database pages to revamped style (#28863) --- welco/kb/templates/kb/page_detail.html | 2 ++ welco/kb/templates/kb/page_history.html | 2 ++ welco/static/css/style.css | 10 ++++++++++ 3 files changed, 14 insertions(+) diff --git a/welco/kb/templates/kb/page_detail.html b/welco/kb/templates/kb/page_detail.html index bbd78c4..9fb7842 100644 --- a/welco/kb/templates/kb/page_detail.html +++ b/welco/kb/templates/kb/page_detail.html @@ -19,11 +19,13 @@ {% block content %} +
{{ object.content|safe }}

{% trans 'Keywords:' %} {% for tag in object.tags.all %}{{tag}}{% if not forloop.last %}, {% endif %}{% endfor %}

+
{% endblock %} diff --git a/welco/kb/templates/kb/page_history.html b/welco/kb/templates/kb/page_history.html index 578d474..46a1276 100644 --- a/welco/kb/templates/kb/page_history.html +++ b/welco/kb/templates/kb/page_history.html @@ -13,10 +13,12 @@ {% block content %} +
+
{% endblock %} diff --git a/welco/static/css/style.css b/welco/static/css/style.css index 00cb644..e291fd0 100644 --- a/welco/static/css/style.css +++ b/welco/static/css/style.css @@ -214,6 +214,16 @@ form#kb-search { margin-bottom: 2em; } +form#kb-search + div { + background: white; +} + +div#page-history, +div#page-content { + background: white; + padding: 1rem; +} + .contacts div.search input, .kb div.search input { margin: 0 1ex;