summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--welco/kb/templates/kb/page_detail.html2
-rw-r--r--welco/kb/templates/kb/page_history.html2
-rw-r--r--welco/static/css/style.css10
3 files changed, 14 insertions, 0 deletions
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 %}
+<div id="page-content">
{{ object.content|safe }}
<p class="keywords">
{% trans 'Keywords:' %}
{% for tag in object.tags.all %}{{tag}}{% if not forloop.last %}, {% endif %}{% endfor %}
</p>
+</div>
{% 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 %}
+<div id="page-history">
<ul>
{% for version in versions_list %}
<li>{{ version.revision.date_created }}, <a href="{% url 'kb-page-version' slug=object.slug version=version.id %}">{% trans 'view' %}</a></li>
{% endfor %}
</ul>
+</div>
{% 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;