diff options
author | Michał <emkael@tlen.pl> | 2017-06-20 17:53:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-20 17:53:52 +0200 |
commit | 210e4aa3a62eae078d31a7ad5ed2f53089b4e01d (patch) | |
tree | fbae45d98c224e79a72b141b6cc657810daf714c /templates | |
parent | dd86138412dc4eb6c7d1ce61f3a3308b5ce85043 (diff) | |
parent | a0d4e684dd0254f26c70c3e59f73c3685680e757 (diff) |
Merge pull request #9 from emkael/name-filter
Name filter
Diffstat (limited to 'templates')
-rw-r--r-- | templates/ranking.html | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/templates/ranking.html b/templates/ranking.html index ef338bb..2f546a7 100644 --- a/templates/ranking.html +++ b/templates/ranking.html @@ -24,7 +24,7 @@ title="Kliknięcie zamienia filtr w danej kategorii.<br />Kliknięcie z klawiszem Ctrl dodaje filtr w kategorii."></span> </div> <div class="collapse panel-body" id="filters"> - <p> + <div class="form-inline"> <div class="btn-group" role="group"> <button type="button" class="btn btn-disabled">Okręg</button> <button type="button" class="btn btn-default" data-filter="region" data-value="DS">DS</button> @@ -45,8 +45,6 @@ <button type="button" class="btn btn-default" data-filter="region" data-value="ZP">ZP</button> <button type="button" class="btn btn-default" data-clear="region">wszystkie</button> </div> - </p> - <p> <div class="btn-group" role="group"> <button type="button" class="btn btn-disabled">Płeć</button> <button type="button" class="btn btn-default" data-filter="gender" data-value="K">K</button> @@ -62,7 +60,21 @@ <button type="button" class="btn btn-default" data-filter="age" data-value="N">N</button> <button type="button" class="btn btn-default" data-clear="age">wszyscy</button> </div> - </p> + <div class="form-group"> + <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> + </form> + </div> + </div> </div> </div> <div class="panel panel-default"> |