Matt Blenkinsop
7cc6ae331d
This patch removes reference to a non-existent id ("ui-id-X") and replaces it with new ids specific to agreements, titles and packages. Test plan: 1) Apply patch 2) Navigate between Agreements, Packages, Titles using the sidebar. The search bar should change each time to match the section 3) Add some agreemens, packages, titles 4) Perform a search using the different search bar options. Each time it should take you to the correct page with the search activated in the KohaTable. The navbar should also be highlighted to match the correct section and the top search bar should also show the correct section Signed-off-by: David Nind <david@davidnind.com> JD Amended commit message: link with 32728 Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
54 lines
3 KiB
HTML
54 lines
3 KiB
HTML
[% USE Koha %]
|
|
<!-- erm-search.inc -->
|
|
<div id="header_search" role="tablist">
|
|
<div class="tab-content">
|
|
<div id="agreement_search" role="tabpanel" class="tab-pane active">
|
|
<form action="/cgi-bin/koha/erm/agreements" method="get">
|
|
<div class="form-title">
|
|
<label class="control-label">Agreement search</label>
|
|
</div>
|
|
<div class="form-content">
|
|
<input type="text" name="q" id="agreement_filter" class="head-searchbox form-control" placeholder="Enter search keywords" size="40" />
|
|
</div>
|
|
<button type="submit"><i class="fa fa-arrow-right"></i></button>
|
|
</form>
|
|
</div>
|
|
|
|
<div id="package_search" role="tabpanel" class="tab-pane">
|
|
<form action="/cgi-bin/koha/erm/eholdings/local/packages" method="get">
|
|
<div class="form-title">
|
|
<label class="control-label">Package search</label>
|
|
</div>
|
|
<div class="form-content">
|
|
<input type="text" name="package_name" id="package_name_filter" class="head-searchbox form-control" placeholder="Enter search keywords" size="40" />
|
|
</div>
|
|
<button type="submit"><i class="fa fa-arrow-right"></i></button>
|
|
</form>
|
|
</div>
|
|
|
|
<div id="title_search" role="tabpanel" class="tab-pane">
|
|
<form action="/cgi-bin/koha/erm/eholdings/local/titles" method="get">
|
|
<div class="form-title">
|
|
<label class="control-label">Title search</label>
|
|
</div>
|
|
<div class="form-content">
|
|
<input type="text" name="publication_title" id="title_filter" class="head-searchbox form-control" placeholder="Enter search keywords" size="40" />
|
|
</div>
|
|
<button type="submit"><i class="fa fa-arrow-right"></i></button>
|
|
</form>
|
|
</div>
|
|
</div><!-- /.tab-content -->
|
|
|
|
<ul class="nav nav-tabs" role="tablist">
|
|
<li role="presentation" class="active">
|
|
<a id="agreement_search_tab" title="Search agreements" href="#agreement_search" aria-controls="agreement_search" role="tab" aria-expanded="true" data-toggle="tab" class="keep_text"><i class="fa fa-check-circle-o"></i> <span class="tab-title">Search agreements</span></a>
|
|
</li>
|
|
<li role="presentation">
|
|
<a id="package_search_tab" title="Search packages" href="#package_search" aria-controls="package_search" role="tab" data-toggle="tab" class="keep_text"><i class="fa fa-archive"></i> <span class="tab-title">Search packages</span></a>
|
|
</li>
|
|
<li role="presentation">
|
|
<a id="title_search_tab" title="Search titles" href="#title_search" aria-controls="title_search" role="tab" data-toggle="tab" class="keep_text"><i class="fa fa-sort-alpha-asc"></i> <span class="tab-title">Search titles</span></a>
|
|
</li>
|
|
</ul>
|
|
</div><!-- /#header_search -->
|
|
<!-- /erm-search.inc -->
|