padding-bottom: 1ex;
}
.cn_browse_item { padding: 2ex; }
-
+.results-paginator-list {
+ padding-left: 1em;
+ padding-right: 1em;
+}
.results-paginator-selected { color: [% css_colors.text_alert %]; }
.inactive-hold { background: [% css_colors.accent_lightest %]; }
<a class='[% class %]' href='[% href %]'
title='[% l("Previous page") %]'><span class="nav_arrow_fix">◄</span> [% l('Previous') %] </a>
- <span style='padding-left: 11px; padding-right:11px;'>
- [% # 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
+ [%- # 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
+ -%]
+ <span class='results-paginator-list'>
+ [%-
WHILE (pageitr = pageitr + 1) < page_count;
IF pageitr < 0; NEXT; END;
IF pageitr == page; %]
added = added + 1;
IF added == 8; LAST; END;
END;
- END;
- %]
+ -%]
</span>
+ [%- END; -%]
[% class = 'search_page_nav_link';
href = '#';