1
0
mirror of https://github.com/aquatix/digimarks.git synced 2025-12-07 01:25:11 +01:00

Icons on buttons, better datetime layout

This commit is contained in:
2016-07-23 15:27:05 +02:00
parent cda3beac98
commit 51446b5d12

View File

@@ -64,13 +64,13 @@
</div> </div>
<div class="input-field col l2 m3 s4"> <div class="input-field col l2 m3 s4">
<p class="left-align"><button class="btn btn-large waves-effect waves-light" type="submit" name="submit">Save</button></p> <p class="left-align"><button class="btn btn-large waves-effect waves-light" type="submit" name="submit">Save <i class="material-icons right">send</i></button></p>
</div> </div>
</form> </form>
{% if bookmark.url_hash %} {% if bookmark.url_hash %}
<div class="input-field col l2 m3 s4"> <div class="input-field col l2 m3 s4">
<form action="{{ url_for('deletingbookmark', userkey=userkey, urlhash=bookmark.url_hash) }}" method="POST"> <form action="{{ url_for('deletingbookmark', userkey=userkey, urlhash=bookmark.url_hash) }}" method="POST">
<p class="left-align"><button class="btn btn-large waves-effect waves-light" type="submit" name="delete">Delete</button></p> <p class="left-align"><button class="btn btn-large waves-effect waves-light" type="submit" name="delete">Delete <i class="material-icons right">delete</i></button></p>
</form> </form>
</div> </div>
{% endif %} {% endif %}
@@ -82,17 +82,21 @@
<div class="col l11 m11 s8">{{ bookmark.created_date.strftime('%Y-%m-%d %H:%M') }}</div> <div class="col l11 m11 s8">{{ bookmark.created_date.strftime('%Y-%m-%d %H:%M') }}</div>
</div> </div>
#} #}
<table> <div class="row">
<tr> <div class="col l4 m6 s12">
<th>Added</th> <table>
<td>{{ bookmark.created_date.strftime('%Y-%m-%d %H:%M') }}</td> <tr>
</tr> <th>Added</th>
{% if bookmark.modified_date %} <td>{{ bookmark.created_date.strftime('%Y-%m-%d %H:%M') }}</td>
<tr> </tr>
<th>Modified</th> {% if bookmark.modified_date %}
<td>{{ bookmark.modified_date.strftime('%Y-%m-%d %H:%M') }}</td> <tr>
</tr> <th>Modified</th>
{% endif %} <td>{{ bookmark.modified_date.strftime('%Y-%m-%d %H:%M') }}</td>
</table> </tr>
{% endif %}
</table>
</div>
</div>
{% endif %} {% endif %}
{% endblock %} {% endblock %}