minor template updates

This commit is contained in:
lza_menace 2020-08-10 12:18:54 -07:00
parent d62aebabe4
commit 42a060fc71
3 changed files with 4 additions and 2 deletions

View file

@ -9,7 +9,7 @@
</div>
{% if posts %}
<ul>
<ul style="list-style-type:none;">
{% for post in posts %}
<li>#{{ post.id }} - <a href="{{ url_for('post.read', id=post.id) }}">{{ post.title }}</a> - {{ post.submitter }}</li>
{% endfor %}

View file

@ -19,7 +19,9 @@
</li>
{% else %}
<li class="nav-item">
{% if session.auth %}
<a class="nav-link" href="{{ url_for('profile.edit') }}">Profile ({{ session.auth.preferred_username }})</a>
{% endif %}
</li>
<li class="nav-item">
<a class="nav-link" href="{{ url_for('auth.logout') }}">Logout</a>

View file

@ -12,7 +12,7 @@
</div>
<div class="form-group">
<label class="sr-only" for="inlineFormInput">Text</label>
<input type="text" class="form-control mb-2 mr-sm-2 mb-sm-0" id="inlineFormInput" placeholder="Text" name="text">
<input type="text" class="form-control mb-2 mr-sm-2 mb-sm-0" id="inlineFormInput" placeholder="Text (optional)" name="text">
</div>
<div class="form-group">
<input type=file name=file>