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

@ -37,22 +37,23 @@ body{font-family:sans-serif;background-color:var(--bg-main); color: var(--fg-mai
.article-header {text-align: center;} .article-header {text-align: center;}
#firstHeading {font-family:sans-serif; text-align: center;font-size:3em; font-weight: normal} #firstHeading {font-family:sans-serif; text-align: center;font-size:3em; font-weight: normal}
@media (min-width:800px) {.homepage #firstHeading {font-size: 4.5em}} @media (min-width:800px) {.homepage #firstHeading {font-size: 4.5em}}
.inner-content{font-family:serif; margin: 1.7em auto; max-width: 1280px; line-height: 1.9; color: var(--fg-main)} .inner-content, .article-content {margin: 1.7em auto; max-width: 1280px;}
.inner-content em,.inner-content strong{color: var(--fg-sharp)} .article-content{font-family:serif; margin: 1.7em auto; max-width: 1280px; line-height: 1.9; color: var(--fg-main)}
.inner-content h1{color: var(--fg-error)} .article-content em,.article-content strong{color: var(--fg-sharp)}
.inner-content table {font-family: sans-serif} .article-content h1{color: var(--fg-error)}
.inner-content h2, .inner-content h3, .inner-content h4, .inner-content h5, .inner-content h6{font-family:sans-serif; color: var(--fg-sharp); font-weight: normal} .article-content table {font-family: sans-serif}
.inner-content h2{border-bottom: 1px solid var(--border)} .article-content h2, .article-content h3, .article-content h4, .article-content h5, .article-content h6{font-family:sans-serif; color: var(--fg-sharp); font-weight: normal}
.inner-content h3{margin:0.8em 0} .article-content h2{border-bottom: 1px solid var(--border)}
.inner-content h4{margin:0.6em 0} .article-content h3{margin:0.8em 0}
.inner-content h5{margin:0.5em 0} .article-content h4{margin:0.6em 0}
.inner-content h6{margin:0.4em 0} .article-content h5{margin:0.5em 0}
.inner-content p{text-indent: 1.9em; margin: 0} .article-content h6{margin:0.4em 0}
.inner-content li{margin: .3em 0} .article-content p{text-indent: 1.9em; margin: 0}
.inner-content blockquote{color:var(--fg-alt); border-left: 4px solid var(--bg-alt);margin-left:0;padding-left:12px} .article-content li{margin: .3em 0}
.inner-content table{border:var(--bg-alt) 1px solid;border-collapse:collapse;line-height: 1.5;overflow-x:auto} .article-content blockquote{color:var(--fg-alt); border-left: 4px solid var(--bg-alt);margin-left:0;padding-left:12px}
.inner-content table > * > tr > th, .inner-content table > tr > th {background-color:var(--bg-alt);border:var(--border) 1px solid;padding:2px} .article-content table{border:var(--bg-alt) 1px solid;border-collapse:collapse;line-height: 1.5;overflow-x:auto}
.inner-content table > * > tr > td, .inner-content table > tr > td {border:var(--border) 1px solid;padding:2px} .article-content table > * > tr > th, .article-content table > tr > th {background-color:var(--bg-alt);border:var(--border) 1px solid;padding:2px}
.article-content table > * > tr > td, .article-content table > tr > td {border:var(--border) 1px solid;padding:2px}
/* spoiler styles */ /* spoiler styles */
.spoiler {color: var(--fg-sharp); background-color: var(--fg-sharp)} .spoiler {color: var(--fg-sharp); background-color: var(--fg-sharp)}

View file

@ -5,8 +5,9 @@
{% block content %} {% block content %}
<h1>Administrative tools</h1> <h1>Administrative tools</h1>
{% if current_user and current_user.is_admin %} <div class="inner-content">
<ul> {% if current_user and current_user.is_admin %}
<ul>
<li> <li>
<a href="/manage/export">Export pages</a> <a href="/manage/export">Export pages</a>
</li> </li>
@ -16,8 +17,9 @@
<li> <li>
<a href="/manage/accounts">Manage accounts</a> <a href="/manage/accounts">Manage accounts</a>
</li> </li>
</ul> </ul>
{% else %} {% else %}
<p>Administrative tools can be accessed by administrator users only.</p> <p>Administrative tools can be accessed by administrator users only.</p>
{% endif %} {% endif %}
</div>
{% endblock %} {% endblock %}

View file

@ -10,17 +10,20 @@
<h1 id="firstHeading">{{ p.title }}</h1> <h1 id="firstHeading">{{ p.title }}</h1>
<div class="preview-subtitle">{{ T('backlinks') }}</div> <div class="preview-subtitle">{{ T('backlinks') }}</div>
{% if backlinks %} <div class="inner-content">
<ul> {% if backlinks %}
{% for op in backlinks %} <ul>
{% for op in backlinks %}
<li><a href="{{ op.get_url() }}"> <li><a href="{{ op.get_url() }}">
{{ op.title }} (<strong>#{{ op.id }}</strong>) {{ op.title }} (<strong>#{{ op.id }}</strong>)
</a></li> </a></li>
{% endfor %} {% endfor %}
</ul> </ul>
{% else %} {% else %}
<p class="placeholder">{{ T("backlinks-empty") }}</p> <p class="placeholder">{{ T("backlinks-empty") }}</p>
{% endif %} {% endif %}
</div>
<p>{{ T("back-to") }} <a href="{{ p.get_url() }}">{{ p.title }}</a>.</p> <p>{{ T("back-to") }} <a href="{{ p.get_url() }}">{{ p.title }}</a>.</p>
{% endblock %} {% endblock %}

View file

@ -5,5 +5,7 @@
{% block content %} {% block content %}
<h1>Bad request</h1> <h1>Bad request</h1>
<p>You sent a request the server cant understand. If you entered the URL manually please check your spelling and try again.</p> <div class="inner-content">
<p>You sent a request the server cant understand. If you entered the URL manually please check your spelling and try again.</p>
</div>
{% endblock %} {% endblock %}

View file

@ -6,6 +6,7 @@
<article> <article>
<h1 id="firstHeading">{{ T('calendar') }}</h1> <h1 id="firstHeading">{{ T('calendar') }}</h1>
<div class="inner-content">
<ul> <ul>
{% for year in range(till_year, from_year-1, -1) %} {% for year in range(till_year, from_year-1, -1) %}
<li> <li>
@ -30,5 +31,6 @@
</li> </li>
</ul> </ul>
</p> </p>
</div>
</article> </article>
{% endblock %} {% endblock %}

View file

@ -9,9 +9,10 @@
{% block content %} {% block content %}
<h1>Contributions of {{ u.username }}</h1> <h1>Contributions of {{ u.username }}</h1>
<p class="nl-pagination">Showing results <strong>{{ page_n * 20 - 19 }}</strong> to <strong>{{ min(page_n * 20, total_count) }}</strong> of <strong>{{ total_count }}</strong> total.</p> <div class="inner-content">
<p class="nl-pagination">Showing results <strong>{{ page_n * 20 - 19 }}</strong> to <strong>{{ min(page_n * 20, total_count) }}</strong> of <strong>{{ total_count }}</strong> total.</p>
<ul> <ul>
{% if page_n > 1 %} {% if page_n > 1 %}
<li class="nl-prev"><a href="?page={{ page_n - 1 }}">&laquo; Previous page</a></li> <li class="nl-prev"><a href="?page={{ page_n - 1 }}">&laquo; Previous page</a></li>
{% endif %} {% endif %}
@ -37,5 +38,6 @@
{% if page_n < total_count // 20 %} {% if page_n < total_count // 20 %}
<li class="nl-next"><a href="?page={{ page_n + 1 }}">Next page &raquo;</a></li> <li class="nl-next"><a href="?page={{ page_n + 1 }}">Next page &raquo;</a></li>
{% endif %} {% endif %}
</ul> </ul>
</div>
{% endblock %} {% endblock %}

View file

@ -5,16 +5,17 @@
{% block content %} {% block content %}
<h1>{{ T('easter-date-calc') }}</h1> <h1>{{ T('easter-date-calc') }}</h1>
<form> <div class="inner-content">
<form>
<div> <div>
<label for="y">{{ T('year') }}: </label> <label for="y">{{ T('year') }}: </label>
<input type="text" name="y" value="{{ y }}"> <input type="text" name="y" value="{{ y }}">
<input type="submit" value="{{ T('calculate') }}" class="submit-quick"> <input type="submit" value="{{ T('calculate') }}" class="submit-quick">
</div> </div>
</form> </form>
{% if easter_dates %} {% if easter_dates %}
<div class="easter-results"> <div class="easter-results">
<p class="easter-date">{{ T('easter') }}: <strong>{{ easter_dates['easter'].strftime('%B %-d, %Y') }}</strong></p> <p class="easter-date">{{ T('easter') }}: <strong>{{ easter_dates['easter'].strftime('%B %-d, %Y') }}</strong></p>
<h2>{{ T('other-dates') }}</h2> <h2>{{ T('other-dates') }}</h2>
@ -24,6 +25,7 @@
<li>Pentecoste: <strong>{{ easter_dates['pentecoste'].strftime('%B %-d, %Y') }}</strong></li> <li>Pentecoste: <strong>{{ easter_dates['pentecoste'].strftime('%B %-d, %Y') }}</strong></li>
<li>Prima Domenica d'Avvento: <strong>{{ easter_dates['avvento1'].strftime('%B %-d, %Y') }}</strong></li> <li>Prima Domenica d'Avvento: <strong>{{ easter_dates['avvento1'].strftime('%B %-d, %Y') }}</strong></li>
</ul> </ul>
</div>
</div> </div>
{% endif %} {% endif %}
{% endblock %} {% endblock %}

View file

@ -25,13 +25,14 @@
Remember this is only a preview. Remember this is only a preview.
<strong>Your changes were not saved yet!</strong> <strong>Your changes were not saved yet!</strong>
<a href="#editing-area">Jump to editing area</a></div> <a href="#editing-area">Jump to editing area</a></div>
<div class="inner-content">{{ preview|safe }}</div> <div class="inner-content article-content">{{ preview|safe }}</div>
<div style="clear:both"></div> <div style="clear:both"></div>
</div> </div>
</article> </article>
{% endif %} {% endif %}
<form method="POST"> <div class="inner-content">
<form method="POST">
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}" /> <input type="hidden" name="csrf_token" value="{{ csrf_token() }}" />
<div> <div>
<label for="title"><span class="material-icons">link</span> /</label> <label for="title"><span class="material-icons">link</span> /</label>
@ -87,7 +88,8 @@
<label for="CB__cw">Content Warning</label> <label for="CB__cw">Content Warning</label>
</div> </div>
{% endif %} {% endif %}
</form> </form>
</div>
{% endblock %} {% endblock %}

View file

@ -5,11 +5,12 @@
{% block content %} {% block content %}
<h1>Export pages</h1> <h1>Export pages</h1>
<p>You can export how many pages you want, that will be downloaded in JSON format and can be imported in another {{ app_name }} instance.</p> <div class="inner-content">
<p>You can export how many pages you want, that will be downloaded in JSON format and can be imported in another {{ app_name }} instance.</p>
<p>In order to add page to export list, please enter exact title, /url, #tag or +id. Entering a tag will add all pages with that tag to list. Each page or tag is separated by a newline.</p> <p>In order to add page to export list, please enter exact title, /url, #tag or +id. Entering a tag will add all pages with that tag to list. Each page or tag is separated by a newline.</p>
<form method="POST"> <form method="POST">
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}" /> <input type="hidden" name="csrf_token" value="{{ csrf_token() }}" />
<div> <div>
<textarea style="height:20em;width:100%" name="export-list" placeholder="Title, /url, #tag, or +id, newline-separated"></textarea> <textarea style="height:20em;width:100%" name="export-list" placeholder="Title, /url, #tag, or +id, newline-separated"></textarea>
@ -20,5 +21,6 @@
<div> <div>
<input type="submit" value="Download"> <input type="submit" value="Download">
</div> </div>
</form> </form>
</div>
{% endblock %} {% endblock %}

View file

@ -5,5 +5,7 @@
{% block content %} {% block content %}
<h1>Forbidden</h1> <h1>Forbidden</h1>
<p>You dont have permission to access this resource.</p> <div class="inner-content">
<p>You dont have permission to access this resource.</p>
</div>
{% endblock %} {% endblock %}

View file

@ -10,8 +10,9 @@
<h1 id="firstHeading">{{ p.title }}</h1> <h1 id="firstHeading">{{ p.title }}</h1>
<div class="preview-subtitle">Page history</div> <div class="preview-subtitle">Page history</div>
<ul> <div class="inner-content">
{% for rev in history %} <ul>
{% for rev in history %}
<li> <li>
<a href="/history/revision/{{ rev.id }}/"> <a href="/history/revision/{{ rev.id }}/">
#{{ rev.id }} #{{ rev.id }}
@ -30,8 +31,9 @@
<span>&lt;Unknown User&gt;</span> <span>&lt;Unknown User&gt;</span>
{% endif %} {% endif %}
</li> </li>
{% endfor %} {% endfor %}
</ul> </ul>
</div>
<p>{{ T("back-to") }} <a href="{{ p.get_url() }}">{{ p.title }}</a>.</p> <p>{{ T("back-to") }} <a href="{{ p.get_url() }}">{{ p.title }}</a>.</p>
{% endblock %} {% endblock %}

View file

@ -5,14 +5,16 @@
{% block content %} {% block content %}
<h1>Import pages</h1> <h1>Import pages</h1>
{% if current_user.is_admin %} <div class="inner-content">
<p> {% if current_user.is_admin %}
<p>
You can import files produced by the <a href="/manage/export">exporter tool</a>, in JSON format. You can import files produced by the <a href="/manage/export">exporter tool</a>, in JSON format.
Importing pages can be done by users with Admin permissions only. Importing pages can be done by users with Admin permissions only.
</p> </p>
<form enctype="multipart/form-data" method="POST"> <form enctype="multipart/form-data" method="POST">
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}" /> <input type="hidden" name="csrf_token" value="{{ csrf_token() }}" />
<div> <div>
<input type="file" accept="application/json" name="import" /> <input type="file" accept="application/json" name="import" />
@ -24,8 +26,10 @@
<div> <div>
<input type="submit" value="Import" /> <input type="submit" value="Import" />
</div> </div>
</form> </form>
{% else %} </div>
<p>Importing pages can be done by users with Admin permissions only.</p> {% else %}
{% endif %} <p>Importing pages can be done by users with Admin permissions only.</p>
{% endif %}
</div>
{% endblock %} {% endblock %}

View file

@ -1,9 +1,11 @@
{% extends "base.jinja2" %} {% extends "base.jinja2" %}
{% block title %}Internal Server Error - {{ app_name }}{% endblock %} {% block title %}% _ % - {{ app_name }}{% endblock %}
{% block content %} {% block content %}
<h1>Internal Server Error</h1> <h1>Internal Server Error</h1>
<p>Were sorry, an unexpected error occurred. Try refreshing the page.</p> <div class="inner-content">
<p>Were sorry, an unexpected error occurred. Try refreshing the page.</p>
</div>
{% endblock %} {% endblock %}

View file

@ -9,7 +9,8 @@
{% block content %} {% block content %}
<h1>Best pages</h1> <h1>Best pages</h1>
<table> <div class="inner-content">
<table>
<thead> <thead>
<tr> <tr>
<th>#</th> <th>#</th>
@ -34,5 +35,6 @@
</tr> </tr>
{% endfor %} {% endfor %}
</tbody> </tbody>
</table> </table>
</div>
{% endblock %} {% endblock %}

View file

@ -2,7 +2,7 @@
{% block content %} {% block content %}
<article> <article>
<h1>Notes by date</h1> <h1 id="firstHeading">Notes by date</h1>
<p class="nl-pagination">Showing results <strong>{{ page_n * 20 - 19 }}</strong> to <strong>{{ min(page_n * 20, total_count) }}</strong> of <strong>{{ total_count }}</strong> total.</p> <p class="nl-pagination">Showing results <strong>{{ page_n * 20 - 19 }}</strong> to <strong>{{ min(page_n * 20, total_count) }}</strong> of <strong>{{ total_count }}</strong> total.</p>

View file

@ -5,7 +5,8 @@
{% block content %} {% block content %}
<h1>{{ T('login') }}</h1> <h1>{{ T('login') }}</h1>
<form method="POST"> <div class="inner-content">
<form method="POST">
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}" /> <input type="hidden" name="csrf_token" value="{{ csrf_token() }}" />
<div> <div>
<label>{{ T('username') }}:</label> <label>{{ T('username') }}:</label>
@ -27,7 +28,8 @@
<div> <div>
<input type="submit" value="{{ T('login') }}" /> <input type="submit" value="{{ T('login') }}" />
</div> </div>
</form> </form>
<div class="inner-content"></div>
<p>{{ T('no-account-sign-up') }} <a href="/accounts/register" rel="nofollow">{{ T("sign-up") }}</a></p> <p>{{ T('no-account-sign-up') }} <a href="/accounts/register" rel="nofollow">{{ T("sign-up") }}</a></p>
{% endblock %} {% endblock %}

View file

@ -5,15 +5,16 @@
{% block content %} {% block content %}
<h1>Manage accounts</h1> <h1>Manage accounts</h1>
<div class="inner-content">
{% if current_user.is_admin %} {% if current_user.is_admin %}
<p> <p>
Here is the list of users registered on {{ app_name }}, in reverse chronological order. Here is the list of users registered on {{ app_name }}, in reverse chronological order.
<strong>Beware: you are managing sensitive informations.</strong> <strong>Beware: you are managing sensitive informations.</strong>
</p> </p>
<p class="nl-pagination">Showing results <strong>{{ page_n * 20 - 19 }}</strong> to <strong>{{ min(page_n * 20, total_count) }}</strong> of <strong>{{ total_count }}</strong> total.</p> <p class="nl-pagination">Showing results <strong>{{ page_n * 20 - 19 }}</strong> to <strong>{{ min(page_n * 20, total_count) }}</strong> of <strong>{{ total_count }}</strong> total.</p>
<form enctype="multipart/form-data" method="POST"> <form enctype="multipart/form-data" method="POST">
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}" /> <input type="hidden" name="csrf_token" value="{{ csrf_token() }}" />
<ul> <ul>
@ -43,10 +44,9 @@
<li class="nl-next"><a href="?page={{ page_n + 1 }}">Next page &raquo;</a></li> <li class="nl-next"><a href="?page={{ page_n + 1 }}">Next page &raquo;</a></li>
{% endif %} {% endif %}
</ul> </ul>
</form>
{% else %}
</form> <p>Managing accounts can be done by users with Admin permissions only.</p>
{% else %} {% endif %}
<p>Managing accounts can be done by users with Admin permissions only.</p> </div>
{% endif %}
{% endblock %} {% endblock %}

View file

@ -5,5 +5,7 @@
{% block content %} {% block content %}
<h1>{{ T('not-found') }}</h1> <h1>{{ T('not-found') }}</h1>
<p>{{ T('not-found-text-1') }} <strong>{{ request.path }}</strong> {{ T('not-found-text-2') }}.</p> <div class="inner-content">
<p>{{ T('not-found-text-1') }} <strong>{{ request.path }}</strong> {{ T('not-found-text-2') }}.</p>
</div>
{% endblock %} {% endblock %}

View file

@ -7,7 +7,7 @@
<h1 id="firstHeading">Privacy Policy</h1> <h1 id="firstHeading">Privacy Policy</h1>
<div class="inner-content"> <div class="inner-content article-content">
{% filter markdown %} {% filter markdown %}
# Privacy # Privacy

View file

@ -5,7 +5,8 @@
{% block content %} {% block content %}
<h1>{{ T('sign-up') }}</h1> <h1>{{ T('sign-up') }}</h1>
<form method="POST"> <div class="inner-content">
<form method="POST">
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}" /> <input type="hidden" name="csrf_token" value="{{ csrf_token() }}" />
<div> <div>
<label>{{ T('username') }}:</label> <label>{{ T('username') }}:</label>
@ -30,7 +31,9 @@
<div> <div>
<input type="submit" value="{{ T('sign-up') }}" /> <input type="submit" value="{{ T('sign-up') }}" />
</div> </div>
</form> </form>
<p>{{ T('already-have-account') }} <a href="/accounts/login" rel="nofollow">{{ T("login") }}</a></p>
</div>
<p>{{ T('already-have-account') }} <a href="/accounts/login" rel="nofollow">{{ T("login") }}</a></p>
{% endblock %} {% endblock %}

View file

@ -5,7 +5,8 @@
{% block content %} {% block content %}
<h1>Search</h1> <h1>Search</h1>
<form method="POST"> <div class="inner-content">
<form method="POST">
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}" /> <input type="hidden" name="csrf_token" value="{{ csrf_token() }}" />
<div class="search-wrapper"> <div class="search-wrapper">
<label for="q">Search for: </label> <label for="q">Search for: </label>
@ -15,20 +16,21 @@
<input type="checkbox" name="include-tags" value="1" {% if pl_include_tags %}checked{% endif %}> <input type="checkbox" name="include-tags" value="1" {% if pl_include_tags %}checked{% endif %}>
<label for="include-tags">{{ T('include-tags') }}</label> <label for="include-tags">{{ T('include-tags') }}</label>
</div> </div>
</form> </form>
{% if results %} {% if results %}
<h2>Search results for <em>{{ q }}</em></h2> <h2>Search results for <em>{{ q }}</em></h2>
<ul class="nl-list"> <ul class="nl-list">
{% for n in results %} {% for n in results %}
<li>{% include "includes/nl_item.jinja2" %}</li> <li>{% include "includes/nl_item.jinja2" %}</li>
{% endfor %} {% endfor %}
</ul> </ul>
{% elif q %} {% elif q %}
<h2>{{ T('search-no-results') }} <em>{{ q }}</em></h2> <h2>{{ T('search-no-results') }} <em>{{ q }}</em></h2>
{% else %} {% else %}
<p>Please note that search queries do not search for page text.</p> <p>Please note that search queries do not search for page text.</p>
{% endif %} {% endif %}
</div>
{% endblock %} {% endblock %}

View file

@ -5,12 +5,14 @@
{% block content %} {% block content %}
<h1>Statistics</h1> <h1>Statistics</h1>
<ul> <div class="inner-content">
<ul>
<li>{{ T("notes-count") }}: <strong>{{ notes_count }}</strong></li> <li>{{ T("notes-count") }}: <strong>{{ notes_count }}</strong></li>
<li>{{ T("notes-count-with-url") }}: <strong>{{ notes_with_url }}</strong></li> <li>{{ T("notes-count-with-url") }}: <strong>{{ notes_with_url }}</strong></li>
<li>{{ T("revision-count") }}: <strong>{{ revision_count }}</strong></li> <li>{{ T("revision-count") }}: <strong>{{ revision_count }}</strong></li>
<li>{{ T("revision-count-per-page") }}: <strong>{{ (revision_count / notes_count)|round(2) }}</strong></li> <li>{{ T("revision-count-per-page") }}: <strong>{{ (revision_count / notes_count)|round(2) }}</strong></li>
<li>{{ T('users-count') }}: <strong>{{ users_count }}</strong></li> <li>{{ T('users-count') }}: <strong>{{ users_count }}</strong></li>
<li>{{ T('groups-count') }}: <strong>{{ groups_count }}</strong></li> <li>{{ T('groups-count') }}: <strong>{{ groups_count }}</strong></li>
</ul> </ul>
</div>
{% endblock %} {% endblock %}

View file

@ -5,7 +5,7 @@
{% block content %} {% block content %}
<h1 id="firstHeading">Terms of Service</h1> <h1 id="firstHeading">Terms of Service</h1>
<div class="inner-content"> <div class="inner-content article-content">
{% filter markdown %} {% filter markdown %}
## Scope and Definitions ## Scope and Definitions

View file

@ -1,23 +0,0 @@
{% extends "base.jinja2" %}
{% block title %}Info on file "{{ upl.name }}" - {{ app_name }}{% endblock %}
{% block content %}
<h1>Info on file "{{ upl.name }}"</h1>
<div class="upload-frame">
<img src="{{ upl.url }}" alt="{{ upl.name }}">
</div>
<p>You can include this file in other pages with <strong>{{ '{{' }}media:{{ upl.id }}{{ '}}' }}</strong>.</p>
<h2>File info</h2>
<p>Type: {{ type_list[upl.filetype] }}</p>
<p>Upload ID: {{ upl.id }}</p>
<p>Uploaded on: {{ upl.upload_date.strftime('%B %-d, %Y %H:%M:%S') }}</p>
<p>Size: {{ upl.filesize }} bytes</p>
{% endblock %}

View file

@ -42,7 +42,7 @@
</div> </div>
{% endif %} {% endif %}
<div class="inner-content"> <div class="inner-content article-content">
{{ html_and_toc[0]|safe }} {{ html_and_toc[0]|safe }}
</div> </div>