Commit 573d0221 authored by robin Tissot's avatar robin Tissot Committed by Robin
Browse files

Add Download as CSV button.

parent d2273c97
......@@ -11,9 +11,14 @@
{{ paginator.count }} {% trans "MEP" %}{% if search.country %} {% trans "from" %} {{ search.country }}{% endif %}{% if search.group %}, {% trans "members of" %} {{ search.group }}{% endif %}{% if search.delegation %}, {% trans "working in" %} {{ search.delegation }}{% endif %}{% if search.commitee %}, {% trans "on" %} {{ search.commitee }}{% endif %}.
</p>
{% comment %}
<!-- TODO: layout & ordering -->
<div class="btn-group" data-toggle="buttons">
<div class="row">
<a href="?{{ searchparameters }}&csv" class="btn btn-default">
<span class="glyphicon glyphicon-file"> {% trans "Download as csv." %}</span>
</a>
{% comment %}
<!-- TODO: layout & ordering -->
<div class="btn-group" data-toggle="buttons">
<label class="btn btn-default active">
<input type="radio" name="view" id="cards" autocomplete="off" checked>
<span class="glyphicon glyphicon-th"></span>
......@@ -22,9 +27,10 @@
<input type="radio" name="view" id="lists" autocomplete="off">
<span class="glyphicon glyphicon-list"></span>
</label>
</div>
<div class="dropdown" style="display:inline-block;">
</div>
<div class="dropdown" style="display:inline-block;">
Order by
<button class="btn btn-default dropdown-toggle" type="button" id="orderby" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
......@@ -38,10 +44,11 @@
<li><a href="#">Party</a></li>
<li><a href="#">Group</a></li>
</ul>
</div>
{% endcomment %}
</div>
{% endcomment %}
<br />
<br/>
<div class="row">
{% for representative in object_list %}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment