style: adjust some knowledge database pages to revamped style (#28863)
This commit is contained in:
parent
879fe9643a
commit
d1642e2b0f
|
@ -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 %}
|
||||
|
|
|
@ -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 %}
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue