Style changes

This commit is contained in:
Yusur 2023-05-18 08:47:06 +02:00
parent ba3ed04b44
commit d53677ea66
25 changed files with 389 additions and 371 deletions

View file

@ -10,28 +10,30 @@
<h1 id="firstHeading">{{ p.title }}</h1>
<div class="preview-subtitle">Page history</div>
<ul>
{% for rev in history %}
<li>
<a href="/history/revision/{{ rev.id }}/">
#{{ rev.id }}
&middot;
{{ rev.pub_date.strftime("%B %-d, %Y %H:%M:%S") }}
{% if rev.comment %}
“{{ rev.comment }}”
<div class="inner-content">
<ul>
{% for rev in history %}
<li>
<a href="/history/revision/{{ rev.id }}/">
#{{ rev.id }}
&middot;
{{ rev.pub_date.strftime("%B %-d, %Y %H:%M:%S") }}
{% if rev.comment %}
“{{ rev.comment }}”
{% endif %}
</a>
by
{% if rev.user_id %}
<a href="/u/{{ rev.user.username }}">
{{ rev.user.username }}
</a>
{% else %}
<span>&lt;Unknown User&gt;</span>
{% endif %}
</a>
by
{% if rev.user_id %}
<a href="/u/{{ rev.user.username }}">
{{ rev.user.username }}
</a>
{% else %}
<span>&lt;Unknown User&gt;</span>
{% endif %}
</li>
{% endfor %}
</ul>
</li>
{% endfor %}
</ul>
</div>
<p>{{ T("back-to") }} <a href="{{ p.get_url() }}">{{ p.title }}</a>.</p>
{% endblock %}