Commit 890f515d authored by Nicolas Joyard's avatar Nicolas Joyard

Enhance CSV button

parent 940a07d0
......@@ -145,9 +145,9 @@
</div>
<div class="form-group">
<a class='btn btn-primary' href='?country=&amp;search=&amp;group=&amp;chamber=1&csv'>
<button class='btn btn-default' type='submit' name='csv'>
<span class="glyphicon glyphicon-download-alt"></span> Download as CSV
</a>
</button>
</div>
</form>
......
......@@ -145,9 +145,9 @@
</div>
<div class="form-group">
<a class='btn btn-primary' href='?country=110&amp;search=&amp;group=&amp;chamber=&csv'>
<button class='btn btn-default' type='submit' name='csv'>
<span class="glyphicon glyphicon-download-alt"></span> Download as CSV
</a>
</button>
</div>
</form>
......
......@@ -146,9 +146,9 @@
</div>
<div class="form-group">
<a class='btn btn-primary' href='?country=&amp;search=&amp;group=17&amp;chamber=&csv'>
<button class='btn btn-default' type='submit' name='csv'>
<span class="glyphicon glyphicon-download-alt"></span> Download as CSV
</a>
</button>
</div>
</form>
......
......@@ -146,9 +146,9 @@
</div>
<div class="form-group">
<a class='btn btn-primary' href='?country=110&amp;search=e&amp;group=17&amp;chamber=1&csv'>
<button class='btn btn-default' type='submit' name='csv'>
<span class="glyphicon glyphicon-download-alt"></span> Download as CSV
</a>
</button>
</div>
</form>
......
......@@ -145,9 +145,9 @@
</div>
<div class="form-group">
<a class='btn btn-primary' href='?country=&amp;search=non-existing-rep-name&amp;group=&amp;chamber=&csv'>
<button class='btn btn-default' type='submit' name='csv'>
<span class="glyphicon glyphicon-download-alt"></span> Download as CSV
</a>
</button>
</div>
</form>
......
......@@ -145,9 +145,9 @@
</div>
<div class="form-group">
<a class='btn btn-primary' href='?country=&amp;search=am&amp;group=&amp;chamber=&csv'>
<button class='btn btn-default' type='submit' name='csv'>
<span class="glyphicon glyphicon-download-alt"></span> Download as CSV
</a>
</button>
</div>
</form>
......
......@@ -145,9 +145,9 @@
</div>
<div class="form-group">
<a class='btn btn-primary' href='?search=&amp;page=1&csv'>
<button class='btn btn-default' type='submit' name='csv'>
<span class="glyphicon glyphicon-download-alt"></span> Download as CSV
</a>
</button>
</div>
</form>
......
......@@ -145,9 +145,9 @@
</div>
<div class="form-group">
<a class='btn btn-primary' href='?search=&amp;page=1&csv'>
<button class='btn btn-default' type='submit' name='csv'>
<span class="glyphicon glyphicon-download-alt"></span> Download as CSV
</a>
</button>
</div>
</form>
......
......@@ -145,9 +145,9 @@
</div>
<div class="form-group">
<a class='btn btn-primary' href='?search=joly&amp;page=1&csv'>
<button class='btn btn-default' type='submit' name='csv'>
<span class="glyphicon glyphicon-download-alt"></span> Download as CSV
</a>
</button>
</div>
</form>
......
......@@ -145,9 +145,9 @@
</div>
<div class="form-group">
<a class='btn btn-primary' href='?search=&amp;page=1&csv'>
<button class='btn btn-default' type='submit' name='csv'>
<span class="glyphicon glyphicon-download-alt"></span> Download as CSV
</a>
</button>
</div>
</form>
......
......@@ -145,9 +145,9 @@
</div>
<div class="form-group">
<a class='btn btn-primary' href='?search=&amp;page=1&csv'>
<button class='btn btn-default' type='submit' name='csv'>
<span class="glyphicon glyphicon-download-alt"></span> Download as CSV
</a>
</button>
</div>
</form>
......
......@@ -145,9 +145,9 @@
</div>
<div class="form-group">
<a class='btn btn-primary' href='?search=&amp;page=2&csv'>
<button class='btn btn-default' type='submit' name='csv'>
<span class="glyphicon glyphicon-download-alt"></span> Download as CSV
</a>
</button>
</div>
</form>
......
......@@ -145,9 +145,9 @@
</div>
<div class="form-group">
<a class='btn btn-primary' href='?search=&amp;page=2&csv'>
<button class='btn btn-default' type='submit' name='csv'>
<span class="glyphicon glyphicon-download-alt"></span> Download as CSV
</a>
</button>
</div>
</form>
......
......@@ -10,6 +10,6 @@
- endbuttons
- buttons
%a{'href': '?{{ qs }}&csv', 'class': 'btn btn-primary'}
%button{'type': 'submit', 'name': 'csv', 'class': 'btn btn-default'}
{% bootstrap_icon "download-alt" %} Download as CSV
- endbuttons
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