Bug 30952: Move search bar below navbar and reduce navbar height

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Julian Maurice 2022-09-09 12:09:46 +02:00 committed by Tomas Cohen Arazi
parent 4ab40c6a8d
commit 9f81f69391
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F
27 changed files with 108 additions and 231 deletions

File diff suppressed because one or more lines are too long

View file

@ -140,7 +140,7 @@
"@container-md": "@container-desktop",
"@container-large-desktop": "(1140px + @grid-gutter-width)",
"@container-lg": "@container-large-desktop",
"@navbar-height": "50px",
"@navbar-height": "30px",
"@navbar-margin-bottom": "0",
"@navbar-border-radius": "0",
"@navbar-padding-horizontal": ".3em",

View file

@ -1,6 +1,5 @@
#header {
.navbar-nav li a {
line-height: 40px;
.navbar-nav > li > a {
overflow: hidden;
color: #FFFFFF;
@ -13,6 +12,7 @@
background-color: rgb(53, 44, 46);
li a {
color: #FFFFFF;
&:hover, &:focus {
background-color: transparent;
text-decoration: underline;
@ -40,8 +40,11 @@
}
#header_search {
border-radius: 28px;
background-color: #418940;
border-radius: 0;
border: 1px solid #418940;
display: flex;
padding: 0 .8em;
.residentsearch {
padding: 0;
@ -55,23 +58,22 @@
}
> ul {
padding: 0;
padding: 0 .8em 0 0;
margin: 0;
order: -1;
border-radius: 16px 0 0 16px;
padding-left: 16px;
background-color: #418940;
border-radius: 0 16px 16px 0;
display: flex;
justify-content: space-around;
align-items: center;
color: white;
background-color: #418940;
z-index: 2;
li {
background: transparent;
border: 0;
border-radius: 0;
background-color: transparent;
border: 0;
border-bottom-width: 0;
padding-bottom: 0;
@ -80,16 +82,15 @@
a {
color: #FFF;
font-size: .9em;
padding: 0 .5em;
padding: 0 .25em;
margin: 0 .25em;
border: 2px solid transparent;
}
}
}
.ui-state-hover, .ui-state-active {
a {
i {
border-bottom: 2px solid #FFFFFF;
padding-bottom: 2px;
}
border-bottom: 2px solid #FFFFFF;
}
}
@ -98,29 +99,13 @@
position: relative;
}
.form-title {
padding: 0 .8em;
background-image: linear-gradient(to right, #418940, #71B443);
border-radius: 0 16px 16px 0;
display: flex;
align-items: center;
z-index: 2;
white-space: nowrap;
label {
color: white;
font-weight: bold;
}
}
.form-content {
background-color: white;
margin-left: -16px;
padding-left: 16px;
border-radius: 0 16px 16px 0;
position: relative;
z-index: 1;
white-space: nowrap;
z-index: 1;
display: flex;
input[type="text"] {
@ -139,20 +124,20 @@
}
.form-extra-content {
left: 0;
right: 0;
left: -16px;
right: 60px;
position: absolute;
top: 31px;
background-color: #352C2E;
background-color: #f3f4f4;
background-color: white;
padding: 1em;
border-radius: 0 0 16px 16px;
border-radius: 0 0 8px 8px;
border: 1px solid #418940;
border-top: 0;
box-shadow: 0 2px 2px 1px #00000030;
z-index: 1;
display: none;
label {
color: white;
}
.form-control {
display: block;
width: 100%;
@ -190,38 +175,11 @@
}
#logged-in-menu {
position: relative;
left: 0;
top: 0;
height: 50px;
&:hover {
&:hover, &:active, &:focus {
text-decoration: none;
}
}
.loggedinusername {
bottom: 5px;
text-decoration: none;
position: relative;
float: right;
right: 0;
height: 20px;
width: 100%;
}
.logged-in-branch-name {
position: relative;
right: 0;
height: 20px;
top: 10px;
width: 100%;
&:hover {
text-decoration: underline;
}
}
#lastborrower-window {
display: none;
background-image: linear-gradient(to left, #418940, #71B443);

View file

@ -1,11 +1,8 @@
<!-- Begin Acquisitions Resident Search Box -->
<div id="header_search" class="navbar-form navbar-left">
<div id="header_search">
<div id="supplier_search" class="residentsearch">
<form name="findsupplier" action="/cgi-bin/koha/acqui/booksellers.pl" method="post">
<span class="form-title">
<label class="control-label">Vendor search</label>
</span>
<span class="form-content">
<input type="text" name="supplier" id="supplier" class="head-searchbox form-control" placeholder="Search vendors" />
</span>
@ -15,9 +12,6 @@
<div id="orders_search" class="residentsearch">
<form action="/cgi-bin/koha/acqui/histsearch.pl" method="post">
<span class="form-title">
<label class="control-label">Orders search</label>
</span>
<span class="form-content">
<input type="text" id="title" class="form-control" placeholder="Title" name="title" size="13" value="[% title | html %]" />
<input type="text" id="searchsupplier" class="form-control" placeholder="Vendor" name="name" size="13" value="[% name | html %]" />
@ -40,8 +34,8 @@
</div>
<ul>
<li><a title="Vendor search" href="#supplier_search"><i class="fa fa-upload"></i></a></li>
<li><a title="Orders search" href="#orders_search"><i class="fa fa-download"></i></a></li>
<li><a title="Vendor search" href="#supplier_search"><i class="fa fa-upload"></i> Vendor search</a></li>
<li><a title="Orders search" href="#orders_search"><i class="fa fa-download"></i> Orders search</a></li>
</ul>
</div><!-- /header_search -->

View file

@ -65,7 +65,7 @@
</select>
[% END %]
<div id="header_search" class="navbar-form navbar-left">
<div id="header_search">
<div id="mainmain_heading" class="residentsearch">
<form action="/cgi-bin/koha/authorities/authorities-home.pl" method="get">
<input type="hidden" name="op" value="do_search" />
@ -74,10 +74,6 @@
<input type="hidden" name="and_or" value="and" />
<input type="hidden" name="excluding" value="" />
<span class="form-title">
<label class="control-label">Main heading ($a)</label>
</span>
<span class="form-content">
[% INCLUDE authtype %]
<input id="value_mainentry" class="form-control head-searchbox" type="text" name="value" value="[% value | html %]" placeholder="Search main heading ($a only)" />
@ -101,10 +97,6 @@
<input type="hidden" name="op" value="do_search" />
<input type="hidden" name="type" value="intranet" />
<span class="form-title">
<label class="control-label">Main heading</label>
</span>
<span class="form-content">
[% INCLUDE authtype %]
<input id="value_mainheading" class="form-control head-searchbox" type="text" name="value" value="[% value | html %]" placeholder="Search main heading" />
@ -126,10 +118,6 @@
<input type="hidden" name="type" value="intranet" />
<input type="hidden" name="marclist" value="match" />
<span class="form-title">
<label class="control-label">All headings</label>
</span>
<span class="form-content">
[% INCLUDE authtype %]
<input id="value_matchheading" class="form-control head-searchbox" type="text" name="value" value="[% value | html %]" placeholder="Search any heading" />
@ -153,10 +141,6 @@
<input type="hidden" name="and_or" value="and" />
<input type="hidden" name="excluding" value="" />
<span class="form-title">
<label class="control-label">Entire record</label>
</span>
<span class="form-content">
[% INCLUDE authtype %]
<input id="value_anywhere" class="form-control head-searchbox" type="text" name="value" value="[% value | html %]" placeholder="Search any authority field" />
@ -173,10 +157,10 @@
</div>
<ul>
<li><a title="Search main heading ($a only)" href="#mainmain_heading" class="keep_text"><i style="font-weight:bold">$a</i></a></li>
<li><a title="Search main heading" href="#main_heading" class="keep_text"><i class="fa fa-header"></i></a></li>
<li><a title="Search all headings" href="#matchheading_search" class="keep_text"><i class="fa fa-align-center"></i></a></li>
<li><a title="Search entire record" href="#entire_record" class="keep_text"><i class="fa fa-folder-open-o"></i></a></li>
<li><a title="Search main heading ($a only)" href="#mainmain_heading" class="keep_text"><i style="font-weight:bold">$a</i> Search main heading ($a only)</a></li>
<li><a title="Search main heading" href="#main_heading" class="keep_text"><i class="fa fa-header"></i> Search main heading</a></li>
<li><a title="Search all headings" href="#matchheading_search" class="keep_text"><i class="fa fa-align-center"></i> Search all headings</a></li>
<li><a title="Search entire record" href="#entire_record" class="keep_text"><i class="fa fa-folder-open-o"></i> Search entire record</a></li>
</ul>
</div><!-- /header_search -->
<!-- End Authorities Resident Search Box -->

View file

@ -1,15 +1,11 @@
[% USE Koha %]
[% USE Branches %]
<div id="header_search" class="navbar-form navbar-left">
<div id="header_search">
<div id="budgets_search" class="residentsearch">
<form action="/cgi-bin/koha/admin/aqbudgets.pl" method="post">
<input type="hidden" name="budget_period_id" value="[% budget_period_id | html %]" />
<span class="form-title">
<label class="control-label">Search funds</label>
</span>
<span class="form-content">
<select name="filter_budgetbranch" id="filter_budgetbranch" class="form-control">
<option value="">All libraries</option>
@ -34,9 +30,9 @@
[% INCLUDE 'catalogue-search-box.inc' %]
<ul>
<li><a title="Search funds" href="#budgets_search" class="keep_text"><i class="fa fa-credit-card"></i></a></li>
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Check out" href="#circ_search" class="keep_text"><i class="fa fa-upload"></i></a></li>[% END %]
[% IF ( CAN_user_catalogue ) %]<li><a title="Search catalog" href="#catalog_search" class="keep_text"><i class="fa fa-fw fa-search"></i></a></li>[% END %]
<li><a title="Search funds" href="#budgets_search" class="keep_text"><i class="fa fa-credit-card"></i> Search funds</a></li>
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Check out" href="#circ_search" class="keep_text"><i class="fa fa-upload"></i> Check out</a></li>[% END %]
[% IF ( CAN_user_catalogue ) %]<li><a title="Search catalog" href="#catalog_search" class="keep_text"><i class="fa fa-fw fa-search"></i> Search catalog</a></li>[% END %]
</ul>
</div><!-- /header_search -->

View file

@ -1,4 +1,4 @@
<div id="header_search" class="navbar-form navbar-left">
<div id="header_search">
[% INCLUDE 'patron-search-box.inc' %]
[% INCLUDE 'checkin-search-box.inc' %]
@ -6,10 +6,10 @@
[% INCLUDE 'catalogue-search-box.inc' %]
<ul>
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Check out" href="#circ_search" class="keep_text"><i class="fa fa-upload"></i></a></li>[% END %]
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Check in" href="#checkin_search" class="keep_text"><i class="fa fa-download"></i></a></li>[% END %]
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Renew" href="#renew_search" class="keep_text"><i class="fa fa-retweet"></i></a></li>[% END %]
[% IF ( CAN_user_catalogue ) %]<li class="ui-tabs-active"><a title="Search catalog" href="#catalog_search" class="keep_text"><i class="fa fa-fw fa-search"></i></a></li>[% END %]
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Check out" href="#circ_search" class="keep_text"><i class="fa fa-upload"></i> Check out</a></li>[% END %]
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Check in" href="#checkin_search" class="keep_text"><i class="fa fa-download"></i> Check in</a></li>[% END %]
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Renew" href="#renew_search" class="keep_text"><i class="fa fa-retweet"></i> Renew</a></li>[% END %]
[% IF ( CAN_user_catalogue ) %]<li class="ui-tabs-active"><a title="Search catalog" href="#catalog_search" class="keep_text"><i class="fa fa-fw fa-search"></i> Search catalog</a></li>[% END %]
</ul>
</div><!-- /header_search -->

View file

@ -3,13 +3,10 @@
[% PROCESS 'patronfields.inc' %]
<!-- Begin Patrons Resident Search Box -->
<div id="header_search" class="navbar-form navbar-left">
<div id="header_search">
<div id="addbooks_search" class="residentsearch">
<form name="search" action="addbooks.pl">
<span class="form-title">
<label class="control-label">Cataloging search</label>
</span>
<span class="form-content">
<input class="head-searchbox form-control" type="text" name="q" id="cat_search" placeholder="Search the catalog and the reservoir" size="40" />
@ -25,11 +22,11 @@
[% INCLUDE 'catalogue-search-box.inc' %]
<ul>
<li><a title="Cataloging search" href="#addbooks_search" class="keep_text"><i class="fa fa-fw fa-search"></i></a></li>
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Check out" href="#circ_search" class="keep_text"><i class="fa fa-upload"></i></a></li>[% END %]
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Check in" href="#checkin_search" class="keep_text"><i class="fa fa-download"></i></a></li>[% END %]
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Renew" href="#renew_search" class="keep_text"><i class="fa fa-retweet"></i></a></li>[% END %]
<li><a title="Search catalog" href="#catalog_search" class="keep_text"><i class="fa fa-fw fa-search"></i></a></li>
<li><a title="Cataloging search" href="#addbooks_search" class="keep_text"><i class="fa fa-fw fa-search"></i> Cataloging search</a></li>
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Check out" href="#circ_search" class="keep_text"><i class="fa fa-upload"></i> Check out</a></li>[% END %]
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Check in" href="#checkin_search" class="keep_text"><i class="fa fa-download"></i> Check in</a></li>[% END %]
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Renew" href="#renew_search" class="keep_text"><i class="fa fa-retweet"></i> Renew</a></li>[% END %]
<li><a title="Search catalog" href="#catalog_search" class="keep_text"><i class="fa fa-fw fa-search"></i> Search catalog</a></li>
</ul>
</div><!-- /header_search -->
<!-- End Main page Resident Search Box -->

View file

@ -2,9 +2,6 @@
[% IF ( CAN_user_catalogue ) %]
<div id="catalog_search" class="residentsearch">
<form action="/cgi-bin/koha/catalogue/search.pl" method="get" id="cat-search-block">
<span class="form-title">
<label class="control-label">Search catalog</label>
</span>
<span class="form-content">
[% IF ( Koha.Preference('IntranetCatalogSearchPulldown') ) %]
[% INCLUDE 'search_indexes.inc' $header_pulldown = 1 %]

View file

@ -1,9 +1,6 @@
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
<div id="checkin_search" class="residentsearch">
<form method="post" action="/cgi-bin/koha/circ/returns.pl" autocomplete="off">
<span class="form-title">
<label class="control-label">Check in</label>
</span>
<span class="form-content">
<input name="barcode" id="ret_barcode" class="head-searchbox form-control" accesskey="r" type="text" placeholder="Scan a barcode to check in" size="40"/>
</span>

View file

@ -1,16 +1,16 @@
[% USE Koha %]
<!-- Begin Main page Resident Search Box -->
<div id="header_search" class="navbar-form navbar-left">
<div id="header_search">
[% INCLUDE 'patron-search-box.inc' %]
[% INCLUDE 'renew-search-box.inc' %]
[% INCLUDE 'catalogue-search-box.inc' %]
<ul>
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Check out" href="#circ_search" class="keep_text"><i class="fa fa-upload"></i></a></li>[% END %]
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Renew" href="#renew_search" class="keep_text"><i class="fa fa-retweet"></i></a></li>[% END %]
[% IF ( CAN_user_catalogue ) %]<li><a title="Search catalog" href="#catalog_search" class="keep_text"><i class="fa fa-fw fa-search"></i></a></li>[% END %]
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Check out" href="#circ_search" class="keep_text"><i class="fa fa-upload"></i> Check out</a></li>[% END %]
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Renew" href="#renew_search" class="keep_text"><i class="fa fa-retweet"></i> Renew</a></li>[% END %]
[% IF ( CAN_user_catalogue ) %]<li><a title="Search catalog" href="#catalog_search" class="keep_text"><i class="fa fa-fw fa-search"></i> Search catalog</a></li>[% END %]
</ul>
</div><!-- /header_search -->
<!-- End Main page Resident Search Box -->

View file

@ -1,7 +1,7 @@
[% USE Koha %]
<!-- Begin Main page Resident Search Box -->
<div id="header_search" class="navbar-form navbar-left">
<div id="header_search">
[% INCLUDE 'patron-search-box.inc' %]
[% INCLUDE 'checkin-search-box.inc' %]
@ -9,10 +9,10 @@
[% INCLUDE 'catalogue-search-box.inc' %]
<ul>
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Check out" href="#circ_search" class="keep_text"><i class="fa fa-upload"></i></a></li>[% END %]
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Check in" href="#checkin_search" class="keep_text"><i class="fa fa-download"></i></a></li>[% END %]
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Renew" href="#renew_search" class="keep_text"><i class="fa fa-retweet"></i></a></li>[% END %]
[% IF ( CAN_user_catalogue ) %]<li><a title="Search catalog" href="#catalog_search"><i class="fa fa-fw fa-search" class="keep_text"></i></a></li>[% END %]
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Check out" href="#circ_search" class="keep_text"><i class="fa fa-upload"></i> Check out</a></li>[% END %]
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Check in" href="#checkin_search" class="keep_text"><i class="fa fa-download"></i> Check in</a></li>[% END %]
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Renew" href="#renew_search" class="keep_text"><i class="fa fa-retweet"></i> Renew</a></li>[% END %]
[% IF ( CAN_user_catalogue ) %]<li><a title="Search catalog" href="#catalog_search"><i class="fa fa-fw fa-search" class="keep_text"></i> Search catalog</a></li>[% END %]
</ul>
</div>
<!-- End Main page Resident Search Box -->

View file

@ -1,11 +1,7 @@
[% USE Koha %]
<div id="header_search" class="navbar-form navbar-left">
<div id="header_search">
<div id="city_search" class="residentsearch">
<form action="[% script_name | html %]" method="post">
<span class="form-title">
<label class="control-label">Search cities</label>
</span>
<span class="form-content">
<input class="head-searchbox form-control" type="text" name="city_name_filter" id="city_name_filter" value="[% city_name_filter | html %]" placeholder="City search" />
</span>
@ -19,9 +15,9 @@
[% INCLUDE 'catalogue-search-box.inc' %]
<ul>
<li><a title="Search cities" href="#city_search" class="keep_text"><i class="fa fa-building-o"></i></a></li>
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Check out" href="#circ_search" class="keep_text"><i class="fa fa-upload"></i></a></li>[% END %]
[% IF ( CAN_user_catalogue ) %]<li><a title="Search catalog" href="#catalog_search" class="keep_text"><i class="fa fa-fw fa-search"></i></a></li>[% END %]
<li><a title="Search cities" href="#city_search" class="keep_text"><i class="fa fa-building-o"></i> Search cities</a></li>
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Check out" href="#circ_search" class="keep_text"><i class="fa fa-upload"></i> Check out</a></li>[% END %]
[% IF ( CAN_user_catalogue ) %]<li><a title="Search catalog" href="#catalog_search" class="keep_text"><i class="fa fa-fw fa-search"></i> Search catalog</a></li>[% END %]
</ul>
</div>
<!-- End Cities Resident Search Box -->

View file

@ -1,12 +1,8 @@
[% USE Koha %]
<div id="header_search" class="navbar-form navbar-left">
<div id="header_search">
<div id="contract_description_search" class="residentsearch">
<form action="[% script_name | html %]" method="post">
<span class="form-title">
<label class="control-label">Search contracts</label>
</span>
<span class="form-content">
<input class="head-searchbox form-control" type="text" name="searchfield" id="searchfield" value="[% searchfield | html %]" placeholder="Search by contract name or/and description:" size="40"/>
</span>
@ -20,9 +16,9 @@
[% INCLUDE 'catalogue-search-box.inc' %]
<ul>
<li><a title="Search contracts" href="#contract_description_search" class="keep_text"><i class="fa fa-pencil-square-o"></i></a></li>
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Check out" href="#circ_search" class="keep_text"><i class="fa fa-upload"></i></a></li>[% END %]
[% IF ( CAN_user_catalogue ) %]<li><a title="Search catalog" href="#catalog_search" class="keep_text"><i class="fa fa-fw fa-search"></i></a></li>[% END %]
<li><a title="Search contracts" href="#contract_description_search" class="keep_text"><i class="fa fa-pencil-square-o"></i> Search contracts</a></li>
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Check out" href="#circ_search" class="keep_text"><i class="fa fa-upload"></i> Check out</a></li>[% END %]
[% IF ( CAN_user_catalogue ) %]<li><a title="Search catalog" href="#catalog_search" class="keep_text"><i class="fa fa-fw fa-search"></i> Search catalog</a></li>[% END %]
</ul>
</div>
<!-- End Patrons Admin Resident Search Box -->

View file

@ -1,12 +1,8 @@
[% USE Koha %]
<div id="header_search" class="navbar-form navbar-left">
<div id="header_search">
<div id="currency_search" class="residentsearch">
<form action="[% script_name | html %]" method="post">
<span class="form-title">
<label class="control-label">Search currencies</label>
</span>
<span class="form-content">
<input class="head-searchbox form-control" type="text" name="description" id="description" value="[% searchfield | html %]" placeholder="Currencies search" />
</span>
@ -20,9 +16,9 @@
[% INCLUDE 'catalogue-search-box.inc' %]
<ul>
<li><a title="Search currencies" href="#currency_search" class="keep_text"><i class="fa fa-dollar"></i></a></li>
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Check out" href="#circ_search" class="keep_text"><i class="fa fa-upload"></i></a></li>[% END %]
[% IF ( CAN_user_catalogue ) %]<li><a title="Search catalog" href="#catalog_search" class="keep_text"><i class="fa fa-fw fa-search"></i></a></li>[% END %]
<li><a title="Search currencies" href="#currency_search" class="keep_text"><i class="fa fa-dollar"></i> Search currencies</a></li>
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Check out" href="#circ_search" class="keep_text"><i class="fa fa-upload"></i> Check out</a></li>[% END %]
[% IF ( CAN_user_catalogue ) %]<li><a title="Search catalog" href="#catalog_search" class="keep_text"><i class="fa fa-fw fa-search"></i> Search catalog</a></li>[% END %]
</ul>
</div>
<!-- End Currencies Resident Search Box -->

View file

@ -1,11 +1,7 @@
[% USE Koha %]
<div id="header_search" class="navbar-form navbar-left">
<div id="header_search">
<div id="desk_search" class="residentsearch">
<form action="[% script_name|html %]" method="post">
<span class="form-title">
<label class="control-label">Search desks</label>
</span>
<span class="form-content">
<input class="head-searchbox form-control" type="text" name="desk_name" placeholder="Search desks" id="desk_name" value="[% searchfield|html %]" size="40" />
</span>
@ -19,9 +15,9 @@
[% INCLUDE 'catalogue-search-box.inc' %]
<ul>
<li><a title="Search desks" href="#desk_search" class="keep_text"><i class="fa fa-desktop"></i></a></li>
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Check out" href="#circ_search" class="keep_text"><i class="fa fa-upload"></i></a></li>[% END %]
[% IF ( CAN_user_catalogue ) %]<li><a title="Search catalog" href="#catalog_search" class="keep_text"><i class="fa fa-fw fa-search"></i></a></li>[% END %]
<li><a title="Search desks" href="#desk_search" class="keep_text"><i class="fa fa-desktop"></i> Search desks</a></li>
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Check out" href="#circ_search" class="keep_text"><i class="fa fa-upload"></i> Check out</a></li>[% END %]
[% IF ( CAN_user_catalogue ) %]<li><a title="Search catalog" href="#catalog_search" class="keep_text"><i class="fa fa-fw fa-search"></i> Search catalog</a></li>[% END %]
</ul>
</div>
<!-- End Desks Resident Search Box -->

View file

@ -66,8 +66,6 @@
</li>
</ul>
[% content | $raw %]
<ul class="nav navbar-nav">
[% IF ( Koha.Preference('intranetbookbag') ) %]
<li>
@ -221,3 +219,5 @@
[% IF ( Koha.Preference('intranetbookbag') ) %]<div id="cartDetails">Your cart is empty.</div>[% END %]
</nav>
[% content | $raw %]

View file

@ -1,6 +1,6 @@
<!-- Begin Main page Resident Search Box -->
<div id="header_search" class="navbar-form navbar-left">
<div id="header_search">
[% INCLUDE 'patron-search-box.inc' %]
[% INCLUDE 'checkin-search-box.inc' %]
[% INCLUDE 'renew-search-box.inc' %]
@ -8,11 +8,11 @@
[% INCLUDE 'catalogue-search-box.inc' %]
<ul>
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Check out" href="#circ_search" class="keep_text"><i class="fa fa-upload"></i></a></li>[% END %]
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Check in" href="#checkin_search" class="keep_text"><i class="fa fa-download"></i></a></li>[% END %]
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Renew" href="#renew_search" class="keep_text"><i class="fa fa-retweet"></i></a></li>[% END %]
[% IF ( CAN_user_borrowers_edit_borrowers ) %]<li><a title="Search patrons" href="#patron_search" class="keep_text"><i class="fa fa-fw fa-id-card-o"></i></a></li>[% END %]
[% IF ( CAN_user_catalogue ) %]<li><a title="Search catalog" href="#catalog_search" class="keep_text"><i class="fa fa-fw fa-search"></i></a></li>[% END %]
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Check out" href="#circ_search" class="keep_text"><i class="fa fa-upload"></i> Check out</a></li>[% END %]
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Check in" href="#checkin_search" class="keep_text"><i class="fa fa-download"></i> Check in</a></li>[% END %]
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Renew" href="#renew_search" class="keep_text"><i class="fa fa-retweet"></i> Renew</a></li>[% END %]
[% IF ( CAN_user_borrowers_edit_borrowers ) %]<li><a title="Search patrons" href="#patron_search" class="keep_text"><i class="fa fa-fw fa-id-card-o"></i> Search patrons</a></li>[% END %]
[% IF ( CAN_user_catalogue ) %]<li><a title="Search catalog" href="#catalog_search" class="keep_text"><i class="fa fa-fw fa-search"></i> Search catalog</a></li>[% END %]
</ul>
</div><!-- /header_search -->

View file

@ -1,12 +1,8 @@
[% USE Koha %]
<div id="header_search" class="navbar-form navbar-left">
<div id="header_search">
<div id="notices_search" class="residentsearch">
<form action="/cgi-bin/koha/tools/letter.pl" method="post">
<span class="form-title">
<label class="control-label">Search notices</label>
</span>
<span class="form-content">
<input class="head-searchbox form-control" type="text" name="searchfield" id="searchfield" value="" placeholder="Search existing notices"/>
</span>
@ -20,9 +16,9 @@
[% INCLUDE 'catalogue-search-box.inc' %]
<ul>
<li><a title="Search notices" href="#notices_search" class="keep_text"><i class="fa fa-commenting-o"></i></a></li>
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Check out" href="#circ_search" class="keep_text"><i class="fa fa-upload"></i></a></li>[% END %]
[% IF ( CAN_user_catalogue ) %]<li><a title="Search catalog" href="#catalog_search" class="keep_text"><i class="fa fa-fw fa-search"></i></a></li>[% END %]
<li><a title="Search notices" href="#notices_search" class="keep_text"><i class="fa fa-commenting-o"></i> Search notices</a></li>
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Check out" href="#circ_search" class="keep_text"><i class="fa fa-upload"></i> Check out</a></li>[% END %]
[% IF ( CAN_user_catalogue ) %]<li><a title="Search catalog" href="#catalog_search" class="keep_text"><i class="fa fa-fw fa-search"></i> Search catalog</a></li>[% END %]
</ul>
</div>
<!-- End Notices Resident Search Box -->

View file

@ -6,10 +6,6 @@
<form method="post" action="/cgi-bin/koha/members/member.pl">
<input type="hidden" name="quicksearch" value="1" />
<span class="form-title">
<label class="control-label">Search patrons</label>
</span>
<span class="form-content">
[% IF ( Koha.Preference('RetainPatronsSearchTerms') ) %]
<input name="searchmember" id="searchmember" class="head-searchbox form-control" type="text" placeholder="Enter patron card number or partial name" size="25" value="[% searchmember | html %]"/>

View file

@ -1,10 +1,6 @@
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
<div id="circ_search" class="residentsearch">
<form action="/cgi-bin/koha/circ/circulation.pl" id="patronsearch" method="post">
<span class="form-title">
<label class="control-label">Check out</label>
</span>
<span class="form-content">
<input autocomplete="off" id="findborrower" name="findborrower" class="head-searchbox form-control" type="text" placeholder="Enter patron card number or partial name" size="40"/>

View file

@ -1,4 +1,4 @@
<div id="header_search" class="navbar-form navbar-left">
<div id="header_search">
[% INCLUDE 'member-search-box.inc' %]
[% INCLUDE 'patron-search-box.inc' %]
[% INCLUDE 'checkin-search-box.inc' %]
@ -6,10 +6,10 @@
[% INCLUDE 'catalogue-search-box.inc' %]
<ul>
<li><a title="Search patrons" href="#patron_search" class="keep_text"><i class="fa fa-fw fa-id-card-o"></i></a></li>
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Check out" href="#circ_search" class="keep_text"><i class="fa fa-upload"></i></a></li>[% END %]
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Check in" href="#checkin_search" class="keep_text"><i class="fa fa-download"></i></a></li>[% END %]
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Renew" href="#renew_search" class="keep_text"><i class="fa fa-retweet"></i></a></li>[% END %]
[% IF ( CAN_user_catalogue ) %]<li><a title="Search catalog" href="#catalog_search" class="keep_text"><i class="fa fa-fw fa-search"></i></a></li>[% END %]
<li><a title="Search patrons" href="#patron_search" class="keep_text"><i class="fa fa-fw fa-id-card-o"></i> Search patrons</a></li>
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Check out" href="#circ_search" class="keep_text"><i class="fa fa-upload"></i> Check out</a></li>[% END %]
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Check in" href="#checkin_search" class="keep_text"><i class="fa fa-download"></i> Check in</a></li>[% END %]
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Renew" href="#renew_search" class="keep_text"><i class="fa fa-retweet"></i> Renew</a></li>[% END %]
[% IF ( CAN_user_catalogue ) %]<li><a title="Search catalog" href="#catalog_search" class="keep_text"><i class="fa fa-fw fa-search"></i> Search catalog</a></li>[% END %]
</ul>
</div><!-- /header_search -->

View file

@ -1,12 +1,8 @@
[% USE Koha %]
<div id="header_search" class="navbar-form navbar-left">
<div id="header_search">
<div id="patron_category_search" class="residentsearch">
<form action="[% script_name | html %]" method="post">
<span class="form-title">
<label class="control-label">Search patron categories</label>
</span>
<span class="form-content">
<input class="head-searchbox form-control" type="text" name="description" value="[% searchfield | html %]" placeholder="Search by patron category name" />
</span>
@ -20,9 +16,9 @@
[% INCLUDE 'catalogue-search-box.inc' %]
<ul>
<li><a title="Search patron categories" href="#patron_category_search" class="keep_text"><i class="fa fa-fw fa-id-card-o"></i></a></li>
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Check out" href="#circ_search" class="keep_text"><i class="fa fa-upload"></i></a></li>[% END %]
[% IF ( CAN_user_catalogue ) %]<li><a title="Search catalog" href="#catalog_search" class="keep_text"><i class="fa fa-fw fa-search"></i></a></li>[% END %]
<li><a title="Search patron categories" href="#patron_category_search" class="keep_text"><i class="fa fa-fw fa-id-card-o"></i> Search patron categories</a></li>
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Check out" href="#circ_search" class="keep_text"><i class="fa fa-upload"></i> Check out</a></li>[% END %]
[% IF ( CAN_user_catalogue ) %]<li><a title="Search catalog" href="#catalog_search" class="keep_text"><i class="fa fa-fw fa-search"></i> Search catalog</a></li>[% END %]
</ul>
</div>
<!-- End Patrons Admin Resident Search Box -->

View file

@ -1,13 +1,9 @@
<div id="header_search" class="navbar-form navbar-left">
<div id="header_search">
<div id="syspref_search" class="residentsearch">
<form action="/cgi-bin/koha/admin/preferences.pl">
<input type="hidden" name="tab" value="[% last_tab | html %]" />
<input type="hidden" name="op" value="search" />
<span class="form-title">
<label class="control-label">Search system preferences</label>
</span>
<span class="form-content">
<input class="head-searchbox form-control" type="text" name="searchfield" id="searchfield" value="" placeholder="System preference search">
</span>
@ -21,9 +17,9 @@
[% INCLUDE 'catalogue-search-box.inc' %]
<ul>
<li><a title="Search system preferences" href="#syspref_search" class="keep_text"><i class="fa fa-fw fa-cogs"></i></a></li>
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Check out" href="#circ_search" class="keep_text"><i class="fa fa-upload"></i></a></li>[% END %]
[% IF ( CAN_user_catalogue ) %]<li><a title="Search catalog" href="#catalog_search" class="keep_text"><i class="fa fa-fw fa-search"></i></a></li>[% END %]
<li><a title="Search system preferences" href="#syspref_search" class="keep_text"><i class="fa fa-fw fa-cogs"></i> Search system preferences</a></li>
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Check out" href="#circ_search" class="keep_text"><i class="fa fa-upload"></i> Check out</a></li>[% END %]
[% IF ( CAN_user_catalogue ) %]<li><a title="Search catalog" href="#catalog_search" class="keep_text"><i class="fa fa-fw fa-search"></i> Search catalog</a></li>[% END %]
</ul>
</div><!-- /header_search -->
<!-- End Main page Resident Search Box -->

View file

@ -1,9 +1,6 @@
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
<div id="renew_search" class="residentsearch">
<form method="post" action="/cgi-bin/koha/circ/renew.pl" autocomplete="off">
<span class="form-title">
<label class="control-label">Renew</label>
</span>
<span class="form-content">
<input name="barcode" id="ren_barcode" class="head-searchbox form-control" accesskey="r" type="text" placeholder="Scan a barcode to renew" size="40"/>
</span>

View file

@ -1,7 +1,7 @@
[% USE Koha %]
<!-- Begin Main page Resident Search Box -->
<div id="header_search" class="navbar-form navbar-left">
<div id="header_search">
<div id="subscription_search" class="residentsearch">
<form action="/cgi-bin/koha/serials/serials-search.pl" method="get">
[% IF ( routing ) %]
@ -9,10 +9,6 @@
[% END %]
<input type="hidden" name="searched" value="1" />
<span class="form-title">
<label class="control-label">Search subscriptions</label>
</span>
<span class="form-content">
<input type="text" class="form-control" placeholder="ISSN" size="11" name="ISSN_filter" id="ISSN_filter" value="[% ISSN_filter | html %]" />
@ -31,9 +27,9 @@
[% INCLUDE 'catalogue-search-box.inc' %]
<ul>
<li><a title="Search subscriptions" href="#subscription_search" class="keep_text"><i class="fa fa-book"></i></a></li>
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Check out" href="#circ_search" class="keep_text"><i class="fa fa-upload"></i></a></li>[% END %]
[% IF ( CAN_user_catalogue ) %]<li><a title="Search catalog" href="#catalog_search" class="keep_text"><i class="fa fa-fw fa-search"></i></a></li>[% END %]
<li><a title="Search subscriptions" href="#subscription_search" class="keep_text"><i class="fa fa-book"></i> Search subscriptions</a></li>
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Check out" href="#circ_search" class="keep_text"><i class="fa fa-upload"></i> Check out</a></li>[% END %]
[% IF ( CAN_user_catalogue ) %]<li><a title="Search catalog" href="#catalog_search" class="keep_text"><i class="fa fa-fw fa-search"></i> Search catalog</a></li>[% END %]
</ul>
</div><!-- /header_search -->
<!-- End Serials Resident Search Box -->

View file

@ -1,12 +1,9 @@
[% USE Koha %]
<div id="header_search" class="navbar-form navbar-left">
<div id="header_search">
<div id="suggestions_search" class="residentsearch">
<form action="/cgi-bin/koha/acqui/newordersuggestion.pl" method="get">
<input type="hidden" name="booksellerid" value="[% booksellerid | html %]" />
<span class="form-title">
<label class="control-label">Search suggestions</label>
</span>
<span class="form-content">
<input type="text" id="searchtitle" class="head-searchbox form-control" placeholder="Title" name="title" size="10" value="[% title | html %]" />
@ -23,9 +20,9 @@
[% INCLUDE 'catalogue-search-box.inc' %]
<ul>
<li><a title="Search suggestions" href="#suggestions_search" class="keep_text"><i class="fa fa-comment-o"></i></a></li>
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Check out" href="#circ_search" class="keep_text"><i class="fa fa-upload"></i></a></li>[% END %]
[% IF ( CAN_user_catalogue ) %]<li><a title="Search catalog" href="#catalog_search" class="keep_text"><i class="fa fa-fw fa-search"></i></a></li>[% END %]
<li><a title="Search suggestions" href="#suggestions_search" class="keep_text"><i class="fa fa-comment-o"></i> Search suggestions</a></li>
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Check out" href="#circ_search" class="keep_text"><i class="fa fa-upload"></i> Check out</a></li>[% END %]
[% IF ( CAN_user_catalogue ) %]<li><a title="Search catalog" href="#catalog_search" class="keep_text"><i class="fa fa-fw fa-search"></i> Search catalog</a></li>[% END %]
</ul>
</div>
<!-- End Suggestions Resident Search Box -->