Tweak the admin layout

This commit is contained in:
Thomas Sileo
2018-07-25 00:11:23 +02:00
parent e1374c3148
commit 8402bfbed2
2 changed files with 4 additions and 5 deletions

View File

@@ -1,3 +1,4 @@
{% if not request.path.startswith('/admin') %}
<div id="header">
<div class="h-card p-author">
@@ -8,15 +9,12 @@
{% if not session.logged_in %}<small><a class="remote-follow-button" href="/remote_follow">Remote follow</a></small>{% endif %}
</a>
{% if not request.path.startswith('/admin') %}
<div class="p-note summary">
{{ config.SUMMARY | safe }}
</div>
{% endif %}
</div>
{% if not request.path.startswith('/admin') %}
<div class="menu">
<ul>
<li><a href="/" {% if request.path == "/" %}class="selected"{% endif %}>Notes <small class="badge">{{ notes_count }}</small></a></li>
@@ -29,6 +27,6 @@
-->
</ul>
</div>
{% endif %}
</div>
{% endif %}