mirror of
https://github.com/aquatix/digimarks.git
synced 2025-12-07 00:15:10 +01:00
Moved info up, better nesting of columns
This commit is contained in:
@@ -3,8 +3,8 @@
|
|||||||
{% block pageheader %}{{ action }}{% endblock %}
|
{% block pageheader %}{{ action }}{% endblock %}
|
||||||
{% block pagecontent %}
|
{% block pagecontent %}
|
||||||
|
|
||||||
|
{% if bookmark.http_status != 200 %}
|
||||||
<div class="row">
|
<div class="row">
|
||||||
{% if bookmark.http_status != 200 %}
|
|
||||||
<div class="col s12">
|
<div class="col s12">
|
||||||
<div class="card-panel red darken-1">
|
<div class="card-panel red darken-1">
|
||||||
<span class="white-text">
|
<span class="white-text">
|
||||||
@@ -16,9 +16,11 @@
|
|||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% if message %}
|
{% if message %}
|
||||||
|
<div class="row">
|
||||||
<div class="col s12">
|
<div class="col s12">
|
||||||
<div class="card-panel orange lighten-2">
|
<div class="card-panel orange lighten-2">
|
||||||
<span class="white-text">
|
<span class="white-text">
|
||||||
@@ -26,7 +28,8 @@
|
|||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% if formaction and formaction == 'edit' %}
|
{% if formaction and formaction == 'edit' %}
|
||||||
<form action="{{ url_for('editingbookmark', userkey=userkey, urlhash=bookmark.url_hash) }}" method="POST">
|
<form action="{{ url_for('editingbookmark', userkey=userkey, urlhash=bookmark.url_hash) }}" method="POST">
|
||||||
@@ -34,6 +37,8 @@
|
|||||||
<form action="{{ url_for('addingbookmark', userkey=userkey) }}" method="POST">
|
<form action="{{ url_for('addingbookmark', userkey=userkey) }}" method="POST">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
<div class="row">
|
||||||
|
|
||||||
<div class="input-field col s12">
|
<div class="input-field col s12">
|
||||||
<i class="material-icons prefix">description</i>
|
<i class="material-icons prefix">description</i>
|
||||||
<input placeholder="title" type="text" name="title" id="title" value="{{ bookmark.title }}" class="validate" />
|
<input placeholder="title" type="text" name="title" id="title" value="{{ bookmark.title }}" class="validate" />
|
||||||
@@ -63,6 +68,27 @@
|
|||||||
<label for="strip">Strip parameters from url</label>
|
<label for="strip">Strip parameters from url</label>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
{% if bookmark.url_hash %}
|
||||||
|
</div>
|
||||||
|
<div class="row">
|
||||||
|
<div class="col l4 m6 s12">
|
||||||
|
<table>
|
||||||
|
<tr>
|
||||||
|
<th>Added</th>
|
||||||
|
<td>{{ bookmark.created_date.strftime('%Y-%m-%d %H:%M') }}</td>
|
||||||
|
</tr>
|
||||||
|
{% if bookmark.modified_date %}
|
||||||
|
<tr>
|
||||||
|
<th>Modified</th>
|
||||||
|
<td>{{ bookmark.modified_date.strftime('%Y-%m-%d %H:%M') }}</td>
|
||||||
|
</tr>
|
||||||
|
{% endif %}
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row">
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
<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 <i class="material-icons right">send</i></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>
|
||||||
@@ -75,28 +101,4 @@
|
|||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
{% if bookmark.url_hash %}
|
|
||||||
{#
|
|
||||||
<div class="row">
|
|
||||||
<div class="col l1 m1 s4"><em>Added</em></div>
|
|
||||||
<div class="col l11 m11 s8">{{ bookmark.created_date.strftime('%Y-%m-%d %H:%M') }}</div>
|
|
||||||
</div>
|
|
||||||
#}
|
|
||||||
<div class="row">
|
|
||||||
<div class="col l4 m6 s12">
|
|
||||||
<table>
|
|
||||||
<tr>
|
|
||||||
<th>Added</th>
|
|
||||||
<td>{{ bookmark.created_date.strftime('%Y-%m-%d %H:%M') }}</td>
|
|
||||||
</tr>
|
|
||||||
{% if bookmark.modified_date %}
|
|
||||||
<tr>
|
|
||||||
<th>Modified</th>
|
|
||||||
<td>{{ bookmark.modified_date.strftime('%Y-%m-%d %H:%M') }}</td>
|
|
||||||
</tr>
|
|
||||||
{% endif %}
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
{% endif %}
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|||||||
Reference in New Issue
Block a user