diff options
Diffstat (limited to 'ishtar_common/templates/blocks/DataTables-content.html')
-rw-r--r-- | ishtar_common/templates/blocks/DataTables-content.html | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/ishtar_common/templates/blocks/DataTables-content.html b/ishtar_common/templates/blocks/DataTables-content.html index 814e10c18..9de143cd4 100644 --- a/ishtar_common/templates/blocks/DataTables-content.html +++ b/ishtar_common/templates/blocks/DataTables-content.html @@ -1,5 +1,5 @@ {% load i18n %} - <div id="grid_{{name}}_meta_wrapper"> + <div id="grid_{{name}}_meta_wrapper" class="sources sources-default"> <table id='grid_{{name}}' class="display" width="100%"> <thead> <tr> @@ -11,7 +11,7 @@ </table> </div> - <div id='foot_{{name}}' class="gridfooter row toolbar"> + <div id='foot_{{name}}' class="sources sources-default gridfooter row toolbar"> <div class='col col-sm-2'> <div class="btn-group btn-group-sm" role="group"> <button type='button' class="btn btn-secondary" data-toggle="modal" @@ -63,3 +63,17 @@ {% endif %} <input type="hidden" id="hidden_{{name}}" name="{{name}}"/> + + {% for source_id, source_label, source_url in external_sources %} + <div id="grid_{{name}}_{{source_id}}_meta_wrapper" class="sources sources-{{source_id}}"> + <table id='grid_{{name}}_{{source_id}}' class="display" width="100%"> + <thead> + <tr> + <th></th> + <th></th>{% for col in col_names %} + <th>{{col}}</th> + {% endfor %}</tr> + </thead> + </table> + </div> + {% endfor %} |