Bug 30952: Staff interface redesign (header)
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / includes / budgets-admin-search.inc
1 [% USE Koha %]
2 [% USE Branches %]
3 <div id="header_search" class="navbar-form navbar-left">
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                 <select name="filter_budgetbranch" id="filter_budgetbranch" class="form-control">
15                     <option value="">All libraries</option>
16                     [% FOREACH branchloo IN Branches.all( selected => selected_branchcode ) %]
17                         [% IF branchloo.selected %]
18                             <option value="[% branchloo.branchcode | html %]" selected="selected">[% branchloo.branchname | html %]</option>
19                         [% ELSE %]
20                             <option value="[% branchloo.branchcode | html %]" >[% branchloo.branchname | html %]</option>
21                         [% END %]
22                     [% END %]
23                 </select>
24
25                 <input class="query form-control" type="text" name="filter_budgetname" id="filter_budgetname" value="[% filter_budgetname | html %]" placeholder="Search funds" />
26             </span>
27
28             <button type="submit"><i class="fa fa-arrow-right"></i></button>
29         </form>
30     </div>
31
32     [% INCLUDE 'patron-search-box.inc' %]
33
34     [% INCLUDE 'catalogue-search-box.inc' %]
35
36     <ul>
37         <li><a title="Search funds" href="#budgets_search"><i class="fa fa-credit-card"></i></a></li>
38         [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Check out" href="#circ_search"><i class="fa fa-upload"></i></a></li>[% END %]
39         [% IF ( CAN_user_catalogue ) %]<li><a title="Search catalog" href="#catalog_search"><i class="fa fa-fw fa-search"></i></a></li>[% END %]
40     </ul>
41 </div><!-- /header_search -->
42
43 <!-- End Suggestions Resident Search Box -->