diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2021-10-28 23:23:26 +0200 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2022-12-12 12:20:59 +0100 |
| commit | db6f3f2152bfb480915a63ae04e88f2979d23341 (patch) | |
| tree | 5632d4e651df050c97c33574327e40448cdcd721 /ishtar_common/templates/blocks/DataTables-external-sources.html | |
| parent | 183c1422d978e2b1cbb1d47e0a024dcee57ae3f9 (diff) | |
| download | Ishtar-db6f3f2152bfb480915a63ae04e88f2979d23341.tar.bz2 Ishtar-db6f3f2152bfb480915a63ae04e88f2979d23341.zip | |
Syndication - search interface
Diffstat (limited to 'ishtar_common/templates/blocks/DataTables-external-sources.html')
| -rw-r--r-- | ishtar_common/templates/blocks/DataTables-external-sources.html | 25 |
1 files changed, 15 insertions, 10 deletions
diff --git a/ishtar_common/templates/blocks/DataTables-external-sources.html b/ishtar_common/templates/blocks/DataTables-external-sources.html index ce4d67ada..00cc7cf2c 100644 --- a/ishtar_common/templates/blocks/DataTables-external-sources.html +++ b/ishtar_common/templates/blocks/DataTables-external-sources.html @@ -1,14 +1,19 @@ {% 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 class="btn-group btn-group-toggle" data-toggle="buttons"> + <label id="source_button_default" class="btn btn-secondary active"> + <input type="radio" name="_sources" autocomplete="off" checked> + {% trans "Local" %} <span class="badge badge-light" id="source_badge_default">-</span> + </label> + {% for source_id, source_label, source_url in external_sources %} + <label id="source_button_{{source_id}}" class="btn btn-secondary"> + <input type="radio" name="_sources" autocomplete="off"> + {{source_label}} <span class="badge badge-light" id="source_badge_{{source_id}}">-</span> + </label> + {% endfor %} + </div> </div> + +<script> +</script>
\ No newline at end of file |
