width: 79.2%;
}
-tr.active td {
+tbody tr.active:nth-child(2n+1) td,
+tbody tr.active td {
background-color: #FFFFCC;
}
-tr.active.highlight td {
- background-color: #FEF4B4;
-}
-
#loading {
background-color: #FFF;
cursor: wait;
.highlighted-row { background-color: orange !important }
-tbody tr:nth-child(odd) td,
-tr.highlight td,
-tr.highlight th,
-tr.odd td,
-tr.odd.highlight td {
+tbody tr:nth-child(odd) td {
background-color : #F3F3F3;
border : 1px solid #BCBCBC;
border-right : 1px solid #BCBCBC;
}
-tr.even td, tr.even.highlight td {
- background-color: #FFF;
- border-right : 1px solid #BCBCBC;
-}
-
.overdue td.od {
color : #cc0000;
font-weight : bold;
</tfoot>
<tbody>
[% FOREACH books_loo IN books_loop %]
- [% IF ( books_loo.order_received ) %]<tr class="disabled">[% ELSE %][% IF ( books_loo.toggle ) %]<tr class="highlight">[% ELSE %]<tr>[% END %][% END %]
+ [% IF ( books_loo.order_received ) %]
+ <tr class="disabled">
+ [% ELSE %]
+ <tr>
+ [% END %]
<td>
[% books_loo.ordernumber %]
</td>
</thead>
<tbody>
[% FOREACH lateorder IN lateorders %]
- [% UNLESS ( loop.odd ) %]<tr class="highlight">
- [% ELSE %]<tr>[% END %]
+ <tr>
<td>
<input type="checkbox" value="[% lateorder.ordernumber %]" data-booksellerid="[% lateorder.supplierid %]" name="ordernumber">
</td>
</thead>
<tbody>
[% FOREACH order IN ordered %]
- [% IF loop.odd %]
- <tr class="highlight">
- [% ELSE %]
- <tr>
- [% END %]
+ <tr>
<td class="cell">
[% order.title %]
</td>
<tbody>
<!-- Actual Search Results -->
[% FOREACH searchresult IN searchresults %]
- [% UNLESS ( loop.odd ) %]
- <tr class="highlight">
- [% ELSE %]
<tr>
- [% END %]
<td>
[% searchresult.number %]
</td>
</thead>
[% FOREACH order IN spent %]
- [% IF loop.odd %]
- <tr class="highlight">
- [% ELSE %]
<tr>
- [% END %]
-
<td class="cell">
[% order.title %]
</td>
</thead>
<tbody>
[% FOREACH contract IN contracts %]
- [% IF ( loop.even ) %]<tr class="highlight">[% ELSE %]<tr>[% END %]
+ <tr>
<td>
<a href="/cgi-bin/koha/admin/aqcontract.pl?op=add_form&contractnumber=[% contract.contractnumber %]&booksellerid=[% contract.booksellerid %]">[% contract.contractname %]</a>
</td>
</td>
</tr>
- <!-- note highlight assignment appears backwards because we already have a normal row for Default -->
+
[% FOREACH loo IN frameworks %]
<tr>
<td>[% loo.frameworkcode %]</td>
<th>Actions</th>
</tr>
[% FOREACH class_sort_rule IN class_sort_rules %]
- [% IF ( loop.odd ) %]
<tr>
- [% ELSE %]
- <tr class="highlight">
- [% END %]
<td>[% class_sort_rule.rule %]</td>
<td>[% class_sort_rule.description %]</td>
<td>[% class_sort_rule.sort_routine %]</td>
[% END %]
</tr>
[% FOREACH resul IN result %]
- [% UNLESS ( loop.odd ) %]
- <tr data-authid="[% resul.authid %]" class="highlight">
- [% ELSE %]
<tr data-authid="[% resul.authid %]">
- [% END %]
<td>[% PROCESS authresult summary=resul.summary %]</td>
<td><a href="detail.pl?authid=[% resul.authid %]">Details</a></td>
[% UNLESS ( resul.isEDITORS ) %]
<th>Count</th>
</tr>
[% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %]
- [% IF ( loop.odd ) %]<tr>[% ELSE %]<tr class="highlight">[% END %]
+ <tr>
<td>
<a href="/cgi-bin/koha/catalogue/search.pl?idx=[% SEARCH_RESULT.scan_index_to_use %]&q=[% SEARCH_RESULT.scan_use |url %]"[% SEARCH_RESULT.title %]"">[% SEARCH_RESULT.title |html %]</a>
</td>
<!-- Actual Search Results -->
[% SET MaxSearchResultsItemsPerRecordStatusCheck = Koha.Preference('MaxSearchResultsItemsPerRecordStatusCheck') %]
[% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %]
- [% IF ( loop.odd ) %]<tr>[% ELSE %]<tr class="highlight">[% END %]
+ <tr>
[% IF ( AmazonCoverImages || LocalCoverImages ) %]
<td>
[% IF ( LocalCoverImages) %]
<th>Subject headings</th>
</tr>
[% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %]
- [% IF ( SEARCH_RESULT.even ) %]<tr class="highlight">[% ELSE %]<tr>[% END %]
+ <tr>
<td>
<a href="/cgi-bin/koha/search.pl?type=[% IF ( SEARCH_RESULT.opac ) %]opac[% ELSE %]intra[% END %]&subjectitems=[% SEARCH_RESULT.subject2 |html %]">[% SEARCH_RESULT.subject %]</a>
</td>
[% IF ( CAN_user_editcatalogue_edit_items ) %]<th> </th>[% END %]
</tr>
[% FOREACH resultsloo IN resultsloop %]
- [% IF ( loop.even ) %]
- <tr class="highlight">
- [% ELSE %]
- <tr>
- [% END %]
+ <tr>
<td><input type="checkbox" class="selection" id="bib[% resultsloo.biblionumber %]" name="biblionumber" value="[% resultsloo.biblionumber %]" /></td>
<td>
<p>
[% IF ( CAN_user_editcatalogue_edit_catalogue ) %]<th> </th>[% END %]
</tr>
[% FOREACH breeding_loo IN breeding_loop %]
- [% IF ( loop.odd ) %]
<tr>
- [% ELSE %]
- <tr class="highlight">
- [% END %]
<td>[% breeding_loo.title |html %]
[% breeding_loo.author %]</td>
<td>[% breeding_loo.isbn %]</td>
[% FOREACH item_loo IN item_loop %]
[% IF ( item_loo.itemnumber == itemnumber) %]
[% IF item_loo.nomod %]
- <tr id="row[% item_loo.itemnumber %]" class="active highlight">
+ <tr id="row[% item_loo.itemnumber %]" class="active">
[% ELSE %]
- <tr id="row[% item_loo.itemnumber %]" class="active editable highlight">
+ <tr id="row[% item_loo.itemnumber %]" class="active editable">
[% END %]
[% ELSE %]
[% IF item_loo.nomod %]
[% INCLUDE 'doc-head-close.inc' %]
<script type="text/javascript">
$(document).ready(function(){
- $(".striped tr:even").addClass("highlight");
$("tr.mybranch td").css("background-color", "#CFE7FF");
});
</script>
<td>[% count %]</td>
</tr>
</table>
-<table class="striped">
+<table>
<tr>
<th>Library</th>
<th>No. of times checked out</th>
<!-- FIXME: Shouldn't hardcode dollar signs, since Euro or Pound might be needed -->
[% FOREACH account IN accounts %]
- [% IF ( loop.odd ) %]<tr>[% ELSE %]<tr class="highlight">[% END %]
+ <tr>
<td><span title="[% account.date %]">[% account.date |$KohaDates %]</span></td>
<td>
[% SWITCH account.accounttype %]
[% END %]
</tr>
[% FOREACH loopro IN mainloo.looprow %]
- [% UNLESS ( loop.odd ) %]
- <tr class="highlight">
- [% ELSE %]
- <tr>
- [% END %]
+ <tr>
<td>[% loopro.rowtitle %]</td>
[% FOREACH loopcel IN loopro.loopcell %]
<td>[% IF ( loopcel.value ) %][% loopcel.value %][% END %]
<th>TOTAL</th>
</tr>
[% FOREACH loopro IN mainloo.looprow %]
- [% UNLESS ( loop.odd ) %]<tr class="highlight">
- [% ELSE %]<tr>[% END %]
+ <tr>
<td>[% IF ( loopro.rowtitle_display ) %][% loopro.rowtitle_display %][% ELSE %][% loopro.rowtitle %][% END %]
</td>
[% FOREACH loopcel IN loopro.loopcell %]
</tr>
</thead>
<tbody>
- <tr class="highlight">
+ <tr>
<td>Patron category</td>
<td><input type="radio" name="Line" value="categorycode" /></td>
<td><input type="radio" name="Column" value="categorycode" /></td>
<td colspan="2"></td>
<td ><select name="status"><option value=""> </option><option value="debarred">restricted</option><option value="gonenoadress">gone no address</option><option value="lost">lost</option></select></td>
</tr>
- <tr class="highlight">
+ <tr>
<td>Patron activity</td>
<td colspan="2"><select name="period" id="period">
<option value="1">1</option>
<td> </td>
</tr>
- <tr class="highlight">
+ <tr>
<td>Library</td>
<td><input type="radio" name="Line" value="branchcode" /></td>
<td><input type="radio" name="Column" value="branchcode" /></td>
</td>
</tr>
[% IF ( SORT1_LOOP ) %]
- <tr class="highlight">
+ <tr>
<td>Sort1</td>
<td><input type="radio" name="Line" value="sort1" /></td>
<td><input type="radio" name="Column" value="sort1" /></td>
<input type="hidden" name="Filter" />
[% END %]
[% IF ( SORT2_LOOP ) %]
- [% UNLESS ( SORT1_LOOP ) %]<tr class="highlight">
- [% ELSE %]<tr>[% END %]
+ <tr>
<td>Sort2</td>
<td><input type="radio" name="Line" value="sort2" /></td>
<td><input type="radio" name="Column" value="sort2" /></td>
[% END %]
</tr>
[% FOREACH loopro IN mainloo.looprow %]
-[% IF ( loopro.hilighted ) %]<tr class="highlighted">[% ELSE %]<tr>[% END %]
+ <tr>
<td>[% loopro.rowtitle %]</td>
[% FOREACH loopcel IN loopro.loopcell %]
<td>
</tr>
[% IF ( looptable.looprow ) %]
[% FOREACH loopro IN looptable.looprow %]
- [% UNLESS ( loop.odd ) %]<tr class="highlight">
- [% ELSE %]<tr>[% END %]
+ <tr>
<td>[% loop.count %]</td>
<td>[% IF ( loopro.itemcallnumber ) %][% loopro.itemcallnumber %][% ELSE %]No call number[% END %]</td>
<th> </th>
</tr>
[% FOREACH definition IN definitions %]
- [% UNLESS ( loop.odd ) %]
- <tr class="highlight" valign="top">
- [% ELSE %]
- <tr valign="top">
- [% END %]
+ <tr>
<td>[% definition.name %]</td>
<td>[% definition.description %]</td>
<td>[% definition.areaname %]</td>
<th>TOTAL</th>
</tr>
[% FOREACH loopro IN mainloo.looprow %]
- [% IF ( loop.odd ) %]
<tr>
- [% ELSE %]
- <tr class="highlight">
- [% END %]
<td>[% loopro.rowtitle_display or "UNKNOWN VALUE" |html %]</td>
[% FOREACH loopcel IN loopro.loopcell %]
<td>[% loopcel.value %]</td>
<span class="hint">[% INCLUDE 'date-format.inc' %]</span>
</td>
</tr>
- <tr class="highlight">
+ <tr>
<td><label for="PeriodTypeSel">Type:</label><select name="PeriodTypeSel" id="PeriodTypeSel">
<option value ="issue">Checkout</option>
<option value ="renew">Renewal</option>
</select>
</td>
</tr>
- <tr class="highlight">
+ <tr>
<td>Item type</td>
<td><input type="radio" name="Line" value="itemtype" /></td>
<td><input type="radio" name="Column" value="itemtype" /></td>
</select>
</td>
</tr>
- <tr class="highlight">
+ <tr>
<td>Collection</td>
<td><input type="radio" name="Line" value="items.ccode" /></td>
<td><input type="radio" name="Column" value="items.ccode" /></td>
</select>
</td>
</tr>
- <tr class="highlight">
+ <tr>
<td>Item call number</td>
<td></td>
<td></td>
</tr>
[% END %]
[% IF ( hassort2 ) %]
- <tr class="highlight"><td>Patron sort 2</td>
+ <tr><td>Patron sort 2</td>
<td><input type="radio" name="Line" value="borrowers.sort2" /></td>
<td><input type="radio" name="Column" value="borrowers.sort2" /></td>
<td><select name="Filter" id="sort2">
<th>TOTAL</th>
</tr>
[% FOREACH loopro IN mainloo.looprow %]
- [% IF ( loop.odd ) %]
<tr>
- [% ELSE %]
- <tr class="highlight">
- [% END %]
<td>[% loopro.rowtitle_display or "UNKNOWN VALUE" |html %]</td>
[% FOREACH loopcel IN loopro.loopcell %]
<td align="center">
<input type="checkbox" name="filter_reservestatus_or_5" value="5" /> Cancelled
</td>
</tr>
- <tr class="highlight">
+ <tr>
<td>Hold Date</td>
<td><input type="radio" name="Line" value="reservedate" /></td>
<td><input type="radio" name="Column" value="reservedate" /></td>
</select>
</td>
</tr>
- <tr class="highlight">
+ <tr>
<td>Item type</td>
<td><input type="radio" name="Line" value="items.itype" /></td>
<td><input type="radio" name="Column" value="items.itype" /></td>
</select>
</td>
</tr>
- <tr class="highlight">
+ <tr>
<td>Holding library</td>
<td><input type="radio" name="Line" value="items.holdingbranch" /></td>
<td><input type="radio" name="Column" value="items.holdingbranch" /></td>
</select>
</td>
</tr>
- <tr class="highlight">
+ <tr>
<td>Collection</td>
<td><input type="radio" name="Line" value="items.ccode" /></td>
<td><input type="radio" name="Column" value="items.ccode" /></td>
</select>
</td>
</tr>
- <tr class="highlight">
+ <tr>
<td>Item call number</td>
<td></td>
<td></td>
</tr>
[% END %]
[% IF ( hassort2 ) %]
- <tr class="highlight"><td>Patron sort 2</td>
+ <tr><td>Patron sort 2</td>
<td><input type="radio" name="Line" value="borrowers.sort2" /></td>
<td><input type="radio" name="Column" value="borrowers.sort2" /></td>
<td><select name="filter_borrowers.sort2" id="sort2">
[% IF SuspendHoldsIntranet %]<th> </th><!-- Suspend Holds Column Header -->[% END %]
</tr>
[% FOREACH reserveloo IN biblioloo.reserveloop %]
- [% UNLESS ( loop.odd ) %]<tr class="highlight">[% ELSE %]<tr>[% END %]
+ <tr>
<td>
<input type="hidden" name="reserve_id" value="[% reserveloo.reserve_id %]" />
<input type="hidden" name="borrowernumber" value="[% reserveloo.borrowernumber %]" />
<th>Select</th>
</tr>
[% FOREACH loop_supplier IN loop_suppliers %]
- [% UNLESS ( loop.odd ) %]
- <tr class="highlight">
- [% ELSE %]
<tr>
- [% END %]
<td>[% loop_supplier.name %]</td>
<td><a href="#" onclick="GetIt([% loop_supplier.aqbooksellerid %],$(this).parent().prev().text())">Choose</a></td>
</tr>
<th colspan="2"> </th>
</tr>
[% FOREACH subscriptions_loo IN subscriptions_loop %]
- [% IF ( subscriptions_loo.toogle ) %]
- <tr class="highlight">
- [% ELSE %]
<tr>
- [% END %]
<td>
[% subscriptions_loo.issn %]
</td>
<th>Renew</th>
</tr>
[% FOREACH subscription IN subscriptions %]
- [% UNLESS ( loop.odd ) %]<tr class="highlight">[% ELSE %]<tr>[% END %]
+ <tr>
<td><a href="subscription-detail.pl?subscriptionid=[% subscription.subscriptionid %]"># [% subscription.subscriptionid %]</a> </td>
<td>[% subscription.frequency.description %]</td>
<td>[% subscription.numberpattern.label %]</td>
</thead>
<tbody>
[% FOREACH serial IN year.serials %]
- [% UNLESS ( loop.odd ) %]<tr class="highlight">[% ELSE %]<tr>[% END %]
+ <tr>
[% IF ( CAN_user_serials_receive_serials ) %]
<td>
[% UNLESS CAN_user_serials_receive_serials %]
<th>Notes</th>
</tr>
[% FOREACH serialslis IN serialslist %]
- [% UNLESS ( loop.odd ) %]
- <tr class="highlight">
- [% ELSE %]
<tr>
- [% END %]
<td>
<input type="hidden" name="serialid" value="[% serialslis.serialid %]" />
<input type="hidden" name="biblionumber" value="[% serialslis.biblionumber %]" />
</thead>
<tbody>
[% FOREACH suggestions_loo IN suggestion.suggestions_loop %]
- [% IF ( suggestions_loo.even ) %]<tr class="highlight">[% ELSE %]<tr>[% END %]
+ <tr>
<td>
<input type="checkbox" name="edit_field" value="[% suggestions_loo.suggestionid %]" />
</td>
</tr></thead>
[% FOREACH title IN titles %]
- [% IF ( title.even ) %]
- <tr class="highlight">
- [% ELSE %]
- <tr>
- [% END %]
+ <tr>
<td>[% INCLUDE 'biblio-default-view.inc' biblionumber = title.biblionumber %][% title.title |html %][% FOREACH subtitl IN title.subtitle %] [% subtitl.subfield %][% END %]</a>
[% title.author %]
<p>[% IF ( title.publishercode ) %]- [% title.publishercode|html %]
<tr>
<td />
[% IF ( record.record_type == 'biblio' ) %]
- <td class="highlight" colspan="5">Matches biblio [% record_lis.match_id %] (score = [% record_lis.match_score %]): <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% record_lis.match_id %]">[% record_lis.match_citation %]</a></td>
+ <td colspan="5">Matches biblio [% record_lis.match_id %] (score = [% record_lis.match_score %]): <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% record_lis.match_id %]">[% record_lis.match_citation %]</a></td>
[% ELSIF ( record.record_type == 'auth' ) %]
- <td class="highlight" colspan="5">Matches authority [% record_lis.match_id %] (score = [% record_lis.match_score %]): <a href="/cgi-bin/koha/authorities/detail.pl?authid=[% record_lis.match_id %]">[% record_lis.match_citation %]</a> |
+ <td colspan="5">Matches authority [% record_lis.match_id %] (score = [% record_lis.match_score %]): <a href="/cgi-bin/koha/authorities/detail.pl?authid=[% record_lis.match_id %]">[% record_lis.match_citation %]</a> |
<a href="/cgi-bin/koha/authorities/merge.pl?mergereference=breeding&authid=[% record_lis.match_id %]&authid=[% record_lis.import_record_id %]">Merge</a>
</td>
[% END %]
[% ELSIF ( record.record_type == 'auth') %]
<tr data-authid="[% record_lis.import_record_id %]">
<td />
- <td class="highlight" colspan="4"><a href="#" class="merge_auth">Search for a record to merge in a new window</a></td>
+ <td colspan="4"><a href="#" class="merge_auth">Search for a record to merge in a new window</a></td>
</tr>
[% END %]
[% END %]
<th>Action</th>
</tr>
[% FOREACH batch_lis IN batch_list %]
- [% UNLESS ( loop.odd ) %]<tr class="highlight">[% ELSE %]<tr>[% END %]
+ <tr>
<td>[% batch_lis.import_batch_id %]</td>
<td><a href="[% batch_lis.script_name %]?import_batch_id=[% batch_lis.import_batch_id %]">[% batch_lis.file_name %]</a></td>
<td>[% batch_lis.comments %]</td>
</thead>
<tbody>
[% FOREACH loopro IN looprow %]
- [% UNLESS ( loop.odd ) %]<tr class="highlight">[% ELSE %]<tr>[% END %]
+ <tr>
<td>[% loopro.timestamp %]</td>
<td>
<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% loopro.user %]" title="display detail for this librarian."> [% IF ( loopro.userfirstname ) || ( loopro.usersurname ) %][% loopro.userfirstname %] [% loopro.usersurname %] ([% loopro.user %]) [% ELSE %][% loopro.user %][% END %]</a>
</th>
</tr>
[% FOREACH itemsloo IN itemsloop %]
- [% UNLESS ( loop.odd ) %]
- <tr class="highlight">
- [% ELSE %]
<tr>
- [% END %]
[% IF itemsloop %]
<td>
<input type="checkbox" class="selection" value="[% itemsloo.biblionumber %]" name="biblionumber" />