minor template updates

graphs-n-shit
lza_menace 4 years ago
parent d62aebabe4
commit 42a060fc71

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

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

@ -12,7 +12,7 @@
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="sr-only" for="inlineFormInput">Text</label> <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>
<div class="form-group"> <div class="form-group">
<input type=file name=file> <input type=file name=file>

Loading…
Cancel
Save