mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Content server: Add a navigation panel at the bottom of each page. Fixes #1020225 (improvement in server web pages)
This commit is contained in:
parent
06d13aa0af
commit
18791fd822
@ -97,6 +97,7 @@ def build_index(books, num, search, sort, order, start, total, url_base, CKEYS,
|
|||||||
|
|
||||||
search_box = build_search_box(num, search, sort, order, prefix)
|
search_box = build_search_box(num, search, sort, order, prefix)
|
||||||
navigation = build_navigation(start, num, total, prefix+url_base)
|
navigation = build_navigation(start, num, total, prefix+url_base)
|
||||||
|
navigation2 = build_navigation(start, num, total, prefix+url_base)
|
||||||
bookt = TABLE(id='listing')
|
bookt = TABLE(id='listing')
|
||||||
|
|
||||||
body = BODY(
|
body = BODY(
|
||||||
@ -104,7 +105,8 @@ def build_index(books, num, search, sort, order, start, total, url_base, CKEYS,
|
|||||||
search_box,
|
search_box,
|
||||||
navigation,
|
navigation,
|
||||||
HR(CLASS('spacer')),
|
HR(CLASS('spacer')),
|
||||||
bookt
|
bookt,
|
||||||
|
navigation2
|
||||||
)
|
)
|
||||||
|
|
||||||
# Book list {{{
|
# Book list {{{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user