mirror of https://gitlab.com/bashrc2/epicyon
More visible current page marker
parent
9c4614910b
commit
0cb08dfaf3
|
@ -439,12 +439,12 @@ def _page_number_buttons(users_path: str, box_name: str,
|
||||||
num_str = ''
|
num_str = ''
|
||||||
for page in range(min_page_number, max_page_number):
|
for page in range(min_page_number, max_page_number):
|
||||||
if num_str:
|
if num_str:
|
||||||
num_str += html_hide_from_screen_reader(' ⸻ ')
|
num_str += html_hide_from_screen_reader('⸻')
|
||||||
aria_page_str = ''
|
aria_page_str = ''
|
||||||
page_str = str(page)
|
page_str = ' ' + str(page) + ' '
|
||||||
curr_page_str = ''
|
curr_page_str = ''
|
||||||
if page == page_number:
|
if page == page_number:
|
||||||
page_str = '<mark><u>' + str(page) + '</u></mark>'
|
page_str = '[<mark>' + str(page) + '</mark>]'
|
||||||
aria_page_str = ' aria-current="true"'
|
aria_page_str = ' aria-current="true"'
|
||||||
curr_page_str = 'Current Page, '
|
curr_page_str = 'Current Page, '
|
||||||
num_str += \
|
num_str += \
|
||||||
|
|
Loading…
Reference in New Issue