2 <div ng-show="! ready" class="alert alert-important">
6 <form ng-controller="ListCtrl" class="form-search" ng-show="ready">
9 <fieldset ng-show="show.registration_type">
11 Odaberite tip registracije
14 <label class="radio input-block-level" ng-repeat="type in RegistrationTypes" ng-switch on="type.code">
15 <hr ng-switch-when="false">
16 <span ng-switch-default>
17 <span class="badge {{type.css_class}}">{{Counts[type.code]}}</span>
18 <input type="radio" name="search.registration_type" ng-model="search.registration_type" value="{{type.code}}" >
21 <i>{{type.description}}</i>
23 <span class="badge" ng-repeat="filter in filters" ng-show="Counts[type.code+'+'+filter.name]"+>
24 {{Counts[type.code+'+'+filter.name]}} {{filter.label}}
31 <fieldset ng-show="show.filters">
36 <label class="badge filter-{{search[filter.name]}}" ng-repeat="filter in filters" >
37 <input ng-model="search[filter.name]" type="checkbox">
38 {{Counts[filter.name]}}
49 <input class="my-lebel-input search-query" ng-model="search.$" label="Search">
51 <a class="btn btn-invert" href="" ng-click="reset()">
52 <i class="icon-remove"></i></a>
54 <b>{{pager.results}} results</b>
58 <input type="checkbox" ng-model="pager.show_all">
59 All results on single page <b>(can be slow!)</b>
63 <input type="checkbox" ng-model="print_hide_status" ng-click="print_hide(print_hide_status)" >
69 <fieldset ng-show="show.states">
70 <button ng-repeat="state in ValidStates" ng-click="search.$ = state" class="btn {{state}}">
71 <span class="badge">{{Counts['state+'+state]}}</span>
76 <fieldset ng-show="show.pager_numeric">
77 <input type="number" ng-model="pager.page" size="3" min="1" max="{{pager.last_page}}">
78 <input type="number" ng-model="pager.limit">
82 <div ng-show="list.length" class="content">
84 <pagination class="pagination-large" max-size="12"
85 num-pages="pager.last_page"
86 current-page="pager.page"
87 hide-pagination="pager.show_all"
90 <dl ng-repeat="registration in list">
91 %= include 'registration/view', before => begin
93 <a class="btn btn-primary" href="#/verified/{{registration.id}}">change status</a>
97 <pagination class="pagination-large" max-size="12"
98 num-pages="pager.last_page"
99 current-page="pager.page"
100 hide-pagination="pager.show_all"
103 </div><!-- ng-show="list.length"-->
105 % if ( $lang =~ m/-dev/ ) {
106 <pre class="controls-row">