1
0
mirror of https://github.com/aquatix/digimarks.git synced 2025-12-06 22:05:09 +01:00

Show alert-card when status is not 200

This commit is contained in:
2016-07-19 14:28:39 +02:00
parent 84ced26c74
commit f1fdbc5c2e

View File

@@ -4,6 +4,18 @@
{% block pagecontent %}
<div class="row">
{% if bookmark.http_status != 200 %}
<div class="col s12">
<div class="card red darken-1">
<div class="card-content white-text">
<span class="card-title">
<i class="medium material-icons">report_problem</i>
HTTP status {{ bookmark.http_status }}
</span>
</div>
</div>
</div>
{% endif %}
<form class="col s12" action="{{ url_for('addingbookmark', userkey=userkey) }}" method="POST">
<div class="input-field col s12">