@@ -36,13 +36,13 @@ def echo_html_fenye_str(rec_num, fenye_num):
3636 fenye_str = '<ul class="pagination">'
3737
3838 if fenye_num > 1 :
39- pager_home = '''<li class="{0}" name='fenye' onclick='change(this);'
40- value='{1}'><a>First Page</a></li>''' .format (
39+ pager_home = '''<li class="page-item {0}" name='fenye' onclick='change(this);'
40+ value='{1}'><a class="page-link" >First Page</a></li>''' .format (
4141 '' , 1
4242 )
4343
44- pager_pre = ''' <li class="{0}" name='fenye' onclick='change(this);'
45- value='{1}'><a>Previous Page</a></li>''' .format (
44+ pager_pre = ''' <li class="page-item {0}" name='fenye' onclick='change(this);'
45+ value='{1}'><a class="page-link" >Previous Page</a></li>''' .format (
4646 '' , fenye_num - 1
4747 )
4848 if fenye_num > 5 :
@@ -62,19 +62,19 @@ def echo_html_fenye_str(rec_num, fenye_num):
6262 else :
6363 checkstr = ''
6464
65- tmp_str_df = '''<li class="{0}" name='fenye' onclick='change(this);'
66- value='{1}'><a>{1}</a></li>''' .format (
65+ tmp_str_df = '''<li class="page-item {0}" name='fenye' onclick='change(this);'
66+ value='{1}'><a class="page-link {0}" >{1}</a></li>''' .format (
6767 checkstr , num
6868 )
6969
7070 pager_mid += tmp_str_df
7171 if fenye_num < pagination_num :
72- pager_next = '''<li class="{0}" name='fenye' onclick='change(this);'
73- value='{1}'><a>Next Page</a></li>''' .format (
72+ pager_next = '''<li class="page-item {0}" name='fenye' onclick='change(this);'
73+ value='{1}'><a class="page-link" >Next Page</a></li>''' .format (
7474 '' , fenye_num + 1
7575 )
76- pager_last = '''<li class="{0}" name='fenye' onclick='change(this);'
77- value='{1}'><a>End Page</a></li>''' .format (
76+ pager_last = '''<li class="page-item {0}" name='fenye' onclick='change(this);'
77+ value='{1}'><a class="page-link" >End Page</a></li>''' .format (
7878 '' , pagination_num
7979 )
8080
0 commit comments