Bug 32743: (follow-up) Add markup comments
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / includes / budgets-admin-search.inc
1 [% USE Koha %]
2 [% USE Branches %]
3 <div id="header_search">
4
5     <div id="budgets_search" class="residentsearch">
6         <form action="/cgi-bin/koha/admin/aqbudgets.pl" method="post">
7             <input type="hidden" name="budget_period_id" value="[% budget_period_id | html %]" />
8
9             <span class="form-title">
10                 <label class="control-label">Search funds</label>
11             </span>
12
13             <span class="form-content">
14                 <input class="query form-control" type="text" name="filter_budgetname" id="filter_budgetname" value="[% filter_budgetname | html %]" placeholder="Search funds" />
15
16                 <button type="button" class="form-extra-content-toggle"><i class="fa fa-sliders"></i></button>
17             </span>
18
19             <button type="submit"><i class="fa fa-arrow-right"></i></button>
20
21             <div class="form-extra-content">
22                 <label for="filter_budgetbranch">Library</label>
23
24                 <select name="filter_budgetbranch" id="filter_budgetbranch" class="form-control">
25                     <option value="">All libraries</option>
26                     [% FOREACH branchloo IN Branches.all( selected => selected_branchcode ) %]
27                         [% IF branchloo.selected %]
28                             <option value="[% branchloo.branchcode | html %]" selected="selected">[% branchloo.branchname | html %]</option>
29                         [% ELSE %]
30                             <option value="[% branchloo.branchcode | html %]" >[% branchloo.branchname | html %]</option>
31                         [% END %]
32                     [% END %]
33                 </select>
34             </div>
35         </form>
36     </div>
37
38     [% INCLUDE 'patron-search-box.inc' %]
39
40     [% INCLUDE 'catalogue-search-box.inc' %]
41
42     <ul>
43         <li><a title="Search funds" href="#budgets_search" class="keep_text"><i class="fa fa-credit-card"></i> <span class="tab-title">Search funds</span></a></li>
44         [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Check out" href="#circ_search" class="keep_text"><i class="fa fa-upload"></i> <span class="tab-title">Check out</span></a></li>[% END %]
45         [% IF ( CAN_user_catalogue ) %]<li><a title="Search catalog" href="#catalog_search" class="keep_text"><i class="fa fa-fw fa-search"></i> <span class="tab-title">Search catalog</span></a></li>[% END %]
46     </ul>
47 </div><!-- /header_search -->
48
49 <!-- End Suggestions Resident Search Box -->