summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2017-06-20 17:50:05 +0200
committeremkael <emkael@tlen.pl>2017-06-20 17:50:32 +0200
commita0d4e684dd0254f26c70c3e59f73c3685680e757 (patch)
treefbbedf874bbe142d78985a0c89f8939ee5432452 /templates
parente4ce29ed1dc11a459cf1d165cd258d95f45e17e6 (diff)
Support for easier filter input on mobile devicesname-filter
This should conclude a fix for #5
Diffstat (limited to 'templates')
-rw-r--r--templates/ranking.html20
1 files changed, 11 insertions, 9 deletions
diff --git a/templates/ranking.html b/templates/ranking.html
index 4dd91fe..2f546a7 100644
--- a/templates/ranking.html
+++ b/templates/ranking.html
@@ -61,16 +61,18 @@
<button type="button" class="btn btn-default" data-clear="age">wszyscy</button>
</div>
<div class="form-group">
- <div class="input-group" role="group">
- <div class="input-group-addon">Imię/nazwisko</div>
- <input type="text" class="form-control" data-filter-field="name" />
- <div class="input-group-btn">
- <button type="button" class="btn btn-default" data-filter-action="name">
- <i class="glyphicon glyphicon-search"></i>
- </button>
- <button type="button" class="btn btn-default" data-clear="name">wyczyść</button>
+ <form action="javascript:void(0)">
+ <div class="input-group" role="group">
+ <div class="input-group-addon">Imię/nazwisko</div>
+ <input type="text" class="form-control" data-filter-field="name" />
+ <div class="input-group-btn">
+ <button type="submit" class="btn btn-default" data-filter-action="name">
+ <i class="glyphicon glyphicon-search"></i>
+ </button>
+ <button type="button" class="btn btn-default" data-clear="name">wyczyść</button>
+ </div>
</div>
- </div>
+ </form>
</div>
</div>
</div>