Tweak the template

This commit is contained in:
Thomas Sileo 2019-09-08 10:34:34 +02:00
parent 30eb21203c
commit 623261b832
3 changed files with 9 additions and 3 deletions

View file

@ -89,7 +89,7 @@ a:hover {
} }
} }
} }
#header { header {
margin-bottom: 70px; margin-bottom: 70px;
.title { .title {

View file

@ -1,5 +1,5 @@
{% if not request.path.startswith('/admin') %} {% if not request.path.startswith('/admin') %}
<div id="header"> <header>
<div class="h-card p-author"> <div class="h-card p-author">
<data class="u-photo" value="{{ config.ME.icon.url }}"></data> <data class="u-photo" value="{{ config.ME.icon.url }}"></data>
@ -28,5 +28,5 @@
</ul> </ul>
</div> </div>
</div> </header>
{% endif %} {% endif %}

View file

@ -42,7 +42,13 @@
</p> </p>
<textarea name="content" rows="10" cols="50" autofocus="autofocus" designMode="on" style="font-size:1.2em;width:95%;">{{ content }}</textarea> <textarea name="content" rows="10" cols="50" autofocus="autofocus" designMode="on" style="font-size:1.2em;width:95%;">{{ content }}</textarea>
<p>
<input type="file" name="file"> <input type="file" name="file">
<p>
<p>
<input type="text" name="file_description" placeholder="attachment description (optional)">
</p>
{% if request.args.get("question") == "1" %} {% if request.args.get("question") == "1" %}
<div style="margin-top:20px;"> <div style="margin-top:20px;">