summaryrefslogtreecommitdiff
path: root/ishtar_common/templates/blocks
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2017-11-24 23:13:11 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2017-11-24 23:13:11 +0100
commit4c9fdd6fa72cc77214292b5c435074d8bc4005e6 (patch)
treec984d00f04cdeb2303d7d36ea813c4e6b79db9db /ishtar_common/templates/blocks
parenta1c527975f9be70e5d3807f072a05a52c35b7c8e (diff)
downloadIshtar-4c9fdd6fa72cc77214292b5c435074d8bc4005e6.tar.bz2
Ishtar-4c9fdd6fa72cc77214292b5c435074d8bc4005e6.zip
UI: work on sheets
Diffstat (limited to 'ishtar_common/templates/blocks')
-rw-r--r--ishtar_common/templates/blocks/JQueryJqGrid.html27
1 files changed, 16 insertions, 11 deletions
diff --git a/ishtar_common/templates/blocks/JQueryJqGrid.html b/ishtar_common/templates/blocks/JQueryJqGrid.html
index 9c18c4399..9160ef9b5 100644
--- a/ishtar_common/templates/blocks/JQueryJqGrid.html
+++ b/ishtar_common/templates/blocks/JQueryJqGrid.html
@@ -20,17 +20,22 @@
<table id='grid_{{name}}' class='jqgrid'></table>
<div id='pager_{{name}}'></div>
-<div id='foot_{{name}}' class='gridfooter'>
-
-{% if source_full or extra_sources %}
-<a class='badge {{sname}}-csv' href='{{source}}csv' target='_blank' title="{% trans 'Export as CSV' %}">{% trans "CSV" %}</a>
-{% if source_full %}<a class='badge {{sname}}-csv-full' href='{{source_full}}csv' target='_blank' title="{% trans 'Export as CSV - full' %}">{% trans "CSV full" %}</a>{% endif %}
-{% for slug, name, extra_source in extra_sources %}
-<a class='badge {{slug}}-csv-full' href='{{extra_source}}csv' target='_blank' title="{% trans 'Export as CSV - ' %}{{name}}">{{name}}</a>
-{% endfor %}
-{% else %}
-<a class='{{sname}}-csv' href="{{source}}csv" target="_blank" title="{% trans 'Export as CSV' %}">{% trans "CSV" %}</a>
-{% endif %} {{encoding}}
+<div id='foot_{{name}}' class="gridfooter row toolbar">
+ <div class='col-md-2'>
+ <div class="btn-group btn-group-sm" role="group"
+ aria-label="{% trans 'Export'%}">
+ {% if source_full or extra_sources %}
+ <a class="btn btn-secondary" href='{{source}}csv' target='_blank'
+ title="{% trans 'Export as CSV - ' %}{% trans 'simple'%}">{% trans "CSV" %}</a>
+ {% if source_full %}<a class='btn btn-secondary' href='{{source_full}}csv' target='_blank' title="{% trans 'Export as CSV - full' %}">{% trans "CSV full" %}</a>{% endif %}
+ {% for slug, name, extra_source in extra_sources %}
+ <a class="btn btn-secondary" href='{{extra_source}}csv' target='_blank' title="{% trans 'Export as CSV - ' %}{{name}}">{{name}}</a>
+ {% endfor %}
+ {% else %}
+ <a class="btn btn-secondary" href="{{source}}csv" target="_blank" title="{% trans 'Export as CSV' %}">{% trans "CSV" %}</a>
+ {% endif %}
+ </div>
+ </div>
</div>
{% if multiple %}