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

Implemented bookmark deletion, show message on overview

This commit is contained in:
2016-07-21 16:07:13 +02:00
parent c7acf09cf9
commit e4dc631e46
3 changed files with 19 additions and 6 deletions

View File

@@ -3,6 +3,18 @@
{% block pageheader %}Bookmarks{% endblock %}
{% block pagecontent %}
{% if message %}
<div class="row">
<div class="col s12">
<div class="card-panel orange lighten-2">
<span class="white-text">
{{ message }}
</span>
</div>
</div>
</div>
{% endif %}
<div class="row">
<form action="{{ url_for('bookmarks', userkey=userkey) }}" method="POST">
<div class="input-field col l10 m10 s8">

View File

@@ -66,7 +66,7 @@
{% if bookmark.url_hash %}
<div class="input-field col l2 m3 s4">
<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="button" name="delete">Delete</button></p>
<p class="left-align"><button class="btn btn-large waves-effect waves-light" type="submit" name="delete">Delete</button></p>
</form>
</div>
{% endif %}