color: [% css_colors.text_alert %];
}
#acct_prefs_header { float: left; }
-.search_page_nav_link { cursor: pointer; }
+.search_page_nav_link {
+ cursor: pointer;
+ padding-left: 1em;
+}
#opac.result.sort { width: 160px; }
.renew-summary { font-size: [% css_fonts.size_bigger %]; font-style: italic; margin: 0.5ex 0; }
.failure-text { margin-left: 4em; font-style: italic; color: [% css_colors.text_alert %]; }
padding-bottom: 1ex;
}
.cn_browse_item { padding: 2ex; }
-.results-paginator-list {
- padding-left: 1em;
- padding-right: 1em;
-}
+.results-paginator-list { padding-left: 1em; }
.results-paginator-selected { color: [% css_colors.text_alert %]; }
.inactive-hold { background: [% css_colors.accent_lightest %]; }
<span>
<span class='start_end_links_span'>
- [% class = 'search_page_nav_link';
+ [%- class = 'search_page_nav_link';
href = '#';
IF page > 0;
href = mkurl('', {page => page - 1});
- ELSE; class = class _ ' invisible'; END;
- %]
+ -%]
<a class='[% class %]' href='[% href %]'
title='[% l("Previous page") %]'><span class="nav_arrow_fix">◄</span> [% l('Previous') %] </a>
+ [%- END;
- [%- # show links to 4 previous pages, the current page, and 3 more pages.
+ # show links to 4 previous pages, the current page, and 3 more pages.
added = 0;
pageitr = page - 5;
IF page_count > 1; # no need to paginate 1 page
END;
-%]
</span>
- [%- END; -%]
+ [%- END;
- [% class = 'search_page_nav_link';
+ class = 'search_page_nav_link';
href = '#';
IF (page + 1) < page_count;
href = mkurl('', {page => page + 1});
- ELSE; class = class _ ' invisible'; END;
- %]
+ -%]
<a class='[% class %]' href='[% href %]'
title='[% l("Next page") %]'> [% l('Next') %] <span class="nav_arrow_fix">►</span></a>
+ [%- END; -%]
</span>
</span>
</div>