aboutsummaryrefslogtreecommitdiff
path: root/templates/view_list.html
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2022-01-27 09:51:44 -0500
committerB. Stack <bgstack15@gmail.com>2022-01-27 09:51:44 -0500
commitadfc6caaedefaeea913a7f5c4ad7781bb629ecba (patch)
tree4255fe3d57adaa4a0af8f9a93c0347afa70ea01f /templates/view_list.html
downloadbws-master.tar.gz
bws-master.tar.bz2
bws-master.zip
initial commitHEADmaster
Diffstat (limited to 'templates/view_list.html')
-rw-r--r--templates/view_list.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/view_list.html b/templates/view_list.html
new file mode 100644
index 0000000..87fd43b
--- /dev/null
+++ b/templates/view_list.html
@@ -0,0 +1,6 @@
+{# goes in the <div id='list'/> in view.html, called by the js #}{% for i in bm_list %}
+{% if loop.first %}<table id="bm_list" class="display"><thead><tr><th>title</th><th>url</th><th>tags</th><th>timestamp</th><th>notes</th><th></th></tr></thead><tbody>{% endif %}
+<tr><td>{{ i.title }}</td><td><a href="{{ i.url }}"
+{% if i.always_open_in_new_tab %}target="_blank"{% endif %}>{{ i.url }}</a></td><td>{{ i.tags|sort|join(',') }}</td><td>{{ i.timestamp }}</td><td>{{ i.notes }}
+<td><a href="{{ url_for('edit') }}{{ i.bid }}">edit<a/></tr>
+{% if loop.last %}</tbody></table>{% endif %}{% endfor %}
bgstack15