0001-style-adjust-some-knowledge-database-pages-to-revamp.patch
welco/kb/templates/kb/page_detail.html | ||
---|---|---|
19 | 19 | |
20 | 20 |
{% block content %} |
21 | 21 | |
22 |
<div id="page-content"> |
|
22 | 23 |
{{ object.content|safe }} |
23 | 24 | |
24 | 25 |
<p class="keywords"> |
25 | 26 |
{% trans 'Keywords:' %} |
26 | 27 |
{% for tag in object.tags.all %}{{tag}}{% if not forloop.last %}, {% endif %}{% endfor %} |
27 | 28 |
</p> |
29 |
</div> |
|
28 | 30 | |
29 | 31 |
{% endblock %} |
welco/kb/templates/kb/page_history.html | ||
---|---|---|
13 | 13 | |
14 | 14 |
{% block content %} |
15 | 15 | |
16 |
<div id="page-history"> |
|
16 | 17 |
<ul> |
17 | 18 |
{% for version in versions_list %} |
18 | 19 |
<li>{{ version.revision.date_created }}, <a href="{% url 'kb-page-version' slug=object.slug version=version.id %}">{% trans 'view' %}</a></li> |
19 | 20 |
{% endfor %} |
20 | 21 |
</ul> |
22 |
</div> |
|
21 | 23 | |
22 | 24 |
{% endblock %} |
welco/static/css/style.css | ||
---|---|---|
214 | 214 |
margin-bottom: 2em; |
215 | 215 |
} |
216 | 216 | |
217 |
form#kb-search + div { |
|
218 |
background: white; |
|
219 |
} |
|
220 | ||
221 |
div#page-history, |
|
222 |
div#page-content { |
|
223 |
background: white; |
|
224 |
padding: 1rem; |
|
225 |
} |
|
226 | ||
217 | 227 |
.contacts div.search input, |
218 | 228 |
.kb div.search input { |
219 | 229 |
margin: 0 1ex; |
220 |
- |