summaryrefslogtreecommitdiff
path: root/ishtar_common/templates/blocks/DataTables-external-sources.html
diff options
context:
space:
mode:
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>