summaryrefslogtreecommitdiff
path: root/ishtar_common/templates/blocks/DataTables-external-sources.html
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2021-10-27 11:55:34 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2022-12-12 12:20:59 +0100
commit183c1422d978e2b1cbb1d47e0a024dcee57ae3f9 (patch)
treecc39c3e69039af5bc7854602a4ec9c956e0b4316 /ishtar_common/templates/blocks/DataTables-external-sources.html
parent62e05e799962d810804d0cd5f8d377ac8b434a01 (diff)
downloadIshtar-183c1422d978e2b1cbb1d47e0a024dcee57ae3f9.tar.bz2
Ishtar-183c1422d978e2b1cbb1d47e0a024dcee57ae3f9.zip
Syndication - search UI
Diffstat (limited to 'ishtar_common/templates/blocks/DataTables-external-sources.html')
-rw-r--r--ishtar_common/templates/blocks/DataTables-external-sources.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/ishtar_common/templates/blocks/DataTables-external-sources.html b/ishtar_common/templates/blocks/DataTables-external-sources.html
new file mode 100644
index 000000000..ce4d67ada
--- /dev/null
+++ b/ishtar_common/templates/blocks/DataTables-external-sources.html
@@ -0,0 +1,14 @@
+{% load i18n %}
+
+<div class="d-flex justify-content-center">
+<div class="btn-group btn-group-toggle" data-toggle="buttons">
+ <label class="btn btn-secondary active">
+ <input type="radio" name="_sources" id="default" autocomplete="off" checked> {% trans "Local" %}
+ </label>
+ {% for source_id, source_label in external_sources %}
+ <label class="btn btn-secondary">
+ <input type="radio" name="_sources" id="{{source_id}}" autocomplete="off"> {{source_label}}
+ </label>
+ {% endfor %}
+</div>
+</div>