Skip to content

Commit

Permalink
Pagination adjustment
Browse files Browse the repository at this point in the history
  • Loading branch information
Aemiii91 committed May 18, 2024
1 parent 6b20daf commit 29620cb
Show file tree
Hide file tree
Showing 20 changed files with 39 additions and 39 deletions.
2 changes: 1 addition & 1 deletion .github/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def generate_pagination(current_page: int, num_pages: int) -> str:
buffer += """---\n\n<table align="center"><tr>"""
if current_page > 0:
buffer += f"""<td align="right" valign="middle">\n\n[![Previous page]({PREV_PAGE_ICON_URL})]({format_page_filename(current_page - 1, num_pages)})\n\n</td>"""
buffer += f"""<td align="center" valign="middle">\n\n{generate_page_links(current_page, num_pages)}\n\n</td>"""
buffer += f"""<td align="center" valign="middle"><sup>\n\n{generate_page_links(current_page, num_pages)}\n\n</sup></td>"""
if current_page < num_pages - 1:
buffer += f"""<td valign="middle">\n\n[![Next page]({NEXT_PAGE_ICON_URL})]({format_page_filename(current_page + 1, num_pages)})\n\n</td>"""
buffer += "</tr></table>"
Expand Down
4 changes: 2 additions & 2 deletions generated/custom/index-01-79.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,8 +214,8 @@

[![Previous page](https://github.com/OnionUI/Themes/assets/44569252/fb1e949d-00a9-47d2-ad8b-cf273dbcf1bd)](index-02-6b.md)

</td><td align="center" valign="middle">
</td><td align="center" valign="middle"><sup>

[&nbsp;1&nbsp;](index.md)&nbsp;&hellip; [&nbsp;7&nbsp;](index-07-fc.md) [&nbsp;8&nbsp;](index-06-21.md) [&nbsp;9&nbsp;](index-05-2a.md) [&nbsp;10&nbsp;](index-04-d8.md) [&nbsp;11&nbsp;](index-03-11.md) [&nbsp;12&nbsp;](index-02-6b.md) &nbsp;**13**&nbsp;

</td></tr></table>
</sup></td></tr></table>
4 changes: 2 additions & 2 deletions generated/custom/index-02-6b.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,11 +214,11 @@

[![Previous page](https://github.com/OnionUI/Themes/assets/44569252/fb1e949d-00a9-47d2-ad8b-cf273dbcf1bd)](index-03-11.md)

</td><td align="center" valign="middle">
</td><td align="center" valign="middle"><sup>

[&nbsp;1&nbsp;](index.md)&nbsp;&hellip; [&nbsp;7&nbsp;](index-07-fc.md) [&nbsp;8&nbsp;](index-06-21.md) [&nbsp;9&nbsp;](index-05-2a.md) [&nbsp;10&nbsp;](index-04-d8.md) [&nbsp;11&nbsp;](index-03-11.md) &nbsp;**12**&nbsp; [&nbsp;13&nbsp;](index-01-79.md)

</td><td valign="middle">
</sup></td><td valign="middle">

[![Next page](https://github.com/OnionUI/Themes/assets/44569252/a0717376-2b5b-4534-9eba-4d2d3961f06b)](index-01-79.md)

Expand Down
4 changes: 2 additions & 2 deletions generated/custom/index-03-11.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,11 +214,11 @@

[![Previous page](https://github.com/OnionUI/Themes/assets/44569252/fb1e949d-00a9-47d2-ad8b-cf273dbcf1bd)](index-04-d8.md)

</td><td align="center" valign="middle">
</td><td align="center" valign="middle"><sup>

[&nbsp;1&nbsp;](index.md)&nbsp;&hellip; [&nbsp;7&nbsp;](index-07-fc.md) [&nbsp;8&nbsp;](index-06-21.md) [&nbsp;9&nbsp;](index-05-2a.md) [&nbsp;10&nbsp;](index-04-d8.md) &nbsp;**11**&nbsp; [&nbsp;12&nbsp;](index-02-6b.md) [&nbsp;13&nbsp;](index-01-79.md)

</td><td valign="middle">
</sup></td><td valign="middle">

[![Next page](https://github.com/OnionUI/Themes/assets/44569252/a0717376-2b5b-4534-9eba-4d2d3961f06b)](index-02-6b.md)

Expand Down
4 changes: 2 additions & 2 deletions generated/custom/index-04-d8.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,11 +214,11 @@

[![Previous page](https://github.com/OnionUI/Themes/assets/44569252/fb1e949d-00a9-47d2-ad8b-cf273dbcf1bd)](index-05-2a.md)

</td><td align="center" valign="middle">
</td><td align="center" valign="middle"><sup>

[&nbsp;1&nbsp;](index.md)&nbsp;&hellip; [&nbsp;7&nbsp;](index-07-fc.md) [&nbsp;8&nbsp;](index-06-21.md) [&nbsp;9&nbsp;](index-05-2a.md) &nbsp;**10**&nbsp; [&nbsp;11&nbsp;](index-03-11.md) [&nbsp;12&nbsp;](index-02-6b.md) [&nbsp;13&nbsp;](index-01-79.md)

</td><td valign="middle">
</sup></td><td valign="middle">

[![Next page](https://github.com/OnionUI/Themes/assets/44569252/a0717376-2b5b-4534-9eba-4d2d3961f06b)](index-03-11.md)

Expand Down
4 changes: 2 additions & 2 deletions generated/custom/index-05-2a.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,11 +214,11 @@

[![Previous page](https://github.com/OnionUI/Themes/assets/44569252/fb1e949d-00a9-47d2-ad8b-cf273dbcf1bd)](index-06-21.md)

</td><td align="center" valign="middle">
</td><td align="center" valign="middle"><sup>

[&nbsp;1&nbsp;](index.md)&nbsp;&hellip; [&nbsp;7&nbsp;](index-07-fc.md) [&nbsp;8&nbsp;](index-06-21.md) &nbsp;**9**&nbsp; [&nbsp;10&nbsp;](index-04-d8.md) [&nbsp;11&nbsp;](index-03-11.md) [&nbsp;12&nbsp;](index-02-6b.md) [&nbsp;13&nbsp;](index-01-79.md)

</td><td valign="middle">
</sup></td><td valign="middle">

[![Next page](https://github.com/OnionUI/Themes/assets/44569252/a0717376-2b5b-4534-9eba-4d2d3961f06b)](index-04-d8.md)

Expand Down
4 changes: 2 additions & 2 deletions generated/custom/index-06-21.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,11 +214,11 @@

[![Previous page](https://github.com/OnionUI/Themes/assets/44569252/fb1e949d-00a9-47d2-ad8b-cf273dbcf1bd)](index-07-fc.md)

</td><td align="center" valign="middle">
</td><td align="center" valign="middle"><sup>

[&nbsp;1&nbsp;](index.md)&nbsp;&hellip; &nbsp;[&nbsp;6&nbsp;](index-08-bc.md) [&nbsp;7&nbsp;](index-07-fc.md) &nbsp;**8**&nbsp; [&nbsp;9&nbsp;](index-05-2a.md) [&nbsp;10&nbsp;](index-04-d8.md) &hellip;&nbsp;[&nbsp;13&nbsp;](index-01-79.md)

</td><td valign="middle">
</sup></td><td valign="middle">

[![Next page](https://github.com/OnionUI/Themes/assets/44569252/a0717376-2b5b-4534-9eba-4d2d3961f06b)](index-05-2a.md)

Expand Down
4 changes: 2 additions & 2 deletions generated/custom/index-07-fc.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,11 +214,11 @@

[![Previous page](https://github.com/OnionUI/Themes/assets/44569252/fb1e949d-00a9-47d2-ad8b-cf273dbcf1bd)](index-08-bc.md)

</td><td align="center" valign="middle">
</td><td align="center" valign="middle"><sup>

[&nbsp;1&nbsp;](index.md)&nbsp;&hellip; &nbsp;[&nbsp;5&nbsp;](index-09-9d.md) [&nbsp;6&nbsp;](index-08-bc.md) &nbsp;**7**&nbsp; [&nbsp;8&nbsp;](index-06-21.md) [&nbsp;9&nbsp;](index-05-2a.md) &hellip;&nbsp;[&nbsp;13&nbsp;](index-01-79.md)

</td><td valign="middle">
</sup></td><td valign="middle">

[![Next page](https://github.com/OnionUI/Themes/assets/44569252/a0717376-2b5b-4534-9eba-4d2d3961f06b)](index-06-21.md)

Expand Down
4 changes: 2 additions & 2 deletions generated/custom/index-08-bc.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,11 +214,11 @@

[![Previous page](https://github.com/OnionUI/Themes/assets/44569252/fb1e949d-00a9-47d2-ad8b-cf273dbcf1bd)](index-09-9d.md)

</td><td align="center" valign="middle">
</td><td align="center" valign="middle"><sup>

[&nbsp;1&nbsp;](index.md)&nbsp;&hellip; &nbsp;[&nbsp;4&nbsp;](index-10-be.md) [&nbsp;5&nbsp;](index-09-9d.md) &nbsp;**6**&nbsp; [&nbsp;7&nbsp;](index-07-fc.md) [&nbsp;8&nbsp;](index-06-21.md) &hellip;&nbsp;[&nbsp;13&nbsp;](index-01-79.md)

</td><td valign="middle">
</sup></td><td valign="middle">

[![Next page](https://github.com/OnionUI/Themes/assets/44569252/a0717376-2b5b-4534-9eba-4d2d3961f06b)](index-07-fc.md)

Expand Down
4 changes: 2 additions & 2 deletions generated/custom/index-09-9d.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,11 +214,11 @@

[![Previous page](https://github.com/OnionUI/Themes/assets/44569252/fb1e949d-00a9-47d2-ad8b-cf273dbcf1bd)](index-10-be.md)

</td><td align="center" valign="middle">
</td><td align="center" valign="middle"><sup>

[&nbsp;1&nbsp;](index.md) [&nbsp;2&nbsp;](index-12-ca.md) [&nbsp;3&nbsp;](index-11-8c.md) [&nbsp;4&nbsp;](index-10-be.md) &nbsp;**5**&nbsp; [&nbsp;6&nbsp;](index-08-bc.md) [&nbsp;7&nbsp;](index-07-fc.md) &hellip;&nbsp;[&nbsp;13&nbsp;](index-01-79.md)

</td><td valign="middle">
</sup></td><td valign="middle">

[![Next page](https://github.com/OnionUI/Themes/assets/44569252/a0717376-2b5b-4534-9eba-4d2d3961f06b)](index-08-bc.md)

Expand Down
4 changes: 2 additions & 2 deletions generated/custom/index-10-be.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,11 +214,11 @@

[![Previous page](https://github.com/OnionUI/Themes/assets/44569252/fb1e949d-00a9-47d2-ad8b-cf273dbcf1bd)](index-11-8c.md)

</td><td align="center" valign="middle">
</td><td align="center" valign="middle"><sup>

[&nbsp;1&nbsp;](index.md) [&nbsp;2&nbsp;](index-12-ca.md) [&nbsp;3&nbsp;](index-11-8c.md) &nbsp;**4**&nbsp; [&nbsp;5&nbsp;](index-09-9d.md) [&nbsp;6&nbsp;](index-08-bc.md) [&nbsp;7&nbsp;](index-07-fc.md) &hellip;&nbsp;[&nbsp;13&nbsp;](index-01-79.md)

</td><td valign="middle">
</sup></td><td valign="middle">

[![Next page](https://github.com/OnionUI/Themes/assets/44569252/a0717376-2b5b-4534-9eba-4d2d3961f06b)](index-09-9d.md)

Expand Down
4 changes: 2 additions & 2 deletions generated/custom/index-11-8c.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,11 +214,11 @@

[![Previous page](https://github.com/OnionUI/Themes/assets/44569252/fb1e949d-00a9-47d2-ad8b-cf273dbcf1bd)](index-12-ca.md)

</td><td align="center" valign="middle">
</td><td align="center" valign="middle"><sup>

[&nbsp;1&nbsp;](index.md) [&nbsp;2&nbsp;](index-12-ca.md) &nbsp;**3**&nbsp; [&nbsp;4&nbsp;](index-10-be.md) [&nbsp;5&nbsp;](index-09-9d.md) [&nbsp;6&nbsp;](index-08-bc.md) [&nbsp;7&nbsp;](index-07-fc.md) &hellip;&nbsp;[&nbsp;13&nbsp;](index-01-79.md)

</td><td valign="middle">
</sup></td><td valign="middle">

[![Next page](https://github.com/OnionUI/Themes/assets/44569252/a0717376-2b5b-4534-9eba-4d2d3961f06b)](index-10-be.md)

Expand Down
4 changes: 2 additions & 2 deletions generated/custom/index-12-ca.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,11 +214,11 @@

[![Previous page](https://github.com/OnionUI/Themes/assets/44569252/fb1e949d-00a9-47d2-ad8b-cf273dbcf1bd)](index.md)

</td><td align="center" valign="middle">
</td><td align="center" valign="middle"><sup>

[&nbsp;1&nbsp;](index.md) &nbsp;**2**&nbsp; [&nbsp;3&nbsp;](index-11-8c.md) [&nbsp;4&nbsp;](index-10-be.md) [&nbsp;5&nbsp;](index-09-9d.md) [&nbsp;6&nbsp;](index-08-bc.md) [&nbsp;7&nbsp;](index-07-fc.md) &hellip;&nbsp;[&nbsp;13&nbsp;](index-01-79.md)

</td><td valign="middle">
</sup></td><td valign="middle">

[![Next page](https://github.com/OnionUI/Themes/assets/44569252/a0717376-2b5b-4534-9eba-4d2d3961f06b)](index-11-8c.md)

Expand Down
4 changes: 2 additions & 2 deletions generated/custom/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,11 +210,11 @@

---

<table align="center"><tr><td align="center" valign="middle">
<table align="center"><tr><td align="center" valign="middle"><sup>

&nbsp;**1**&nbsp; [&nbsp;2&nbsp;](index-12-ca.md) [&nbsp;3&nbsp;](index-11-8c.md) [&nbsp;4&nbsp;](index-10-be.md) [&nbsp;5&nbsp;](index-09-9d.md) [&nbsp;6&nbsp;](index-08-bc.md) [&nbsp;7&nbsp;](index-07-fc.md) &hellip;&nbsp;[&nbsp;13&nbsp;](index-01-79.md)

</td><td valign="middle">
</sup></td><td valign="middle">

[![Next page](https://github.com/OnionUI/Themes/assets/44569252/a0717376-2b5b-4534-9eba-4d2d3961f06b)](index-12-ca.md)

Expand Down
4 changes: 2 additions & 2 deletions generated/icons_themes/index-01-79.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,8 @@

[![Previous page](https://github.com/OnionUI/Themes/assets/44569252/fb1e949d-00a9-47d2-ad8b-cf273dbcf1bd)](index-02-6b.md)

</td><td align="center" valign="middle">
</td><td align="center" valign="middle"><sup>

[&nbsp;1&nbsp;](index.md) [&nbsp;2&nbsp;](index-03-11.md) [&nbsp;3&nbsp;](index-02-6b.md) &nbsp;**4**&nbsp;

</td></tr></table>
</sup></td></tr></table>
4 changes: 2 additions & 2 deletions generated/icons_themes/index-02-6b.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,11 +214,11 @@

[![Previous page](https://github.com/OnionUI/Themes/assets/44569252/fb1e949d-00a9-47d2-ad8b-cf273dbcf1bd)](index-03-11.md)

</td><td align="center" valign="middle">
</td><td align="center" valign="middle"><sup>

[&nbsp;1&nbsp;](index.md) [&nbsp;2&nbsp;](index-03-11.md) &nbsp;**3**&nbsp; [&nbsp;4&nbsp;](index-01-79.md)

</td><td valign="middle">
</sup></td><td valign="middle">

[![Next page](https://github.com/OnionUI/Themes/assets/44569252/a0717376-2b5b-4534-9eba-4d2d3961f06b)](index-01-79.md)

Expand Down
4 changes: 2 additions & 2 deletions generated/icons_themes/index-03-11.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,11 +214,11 @@

[![Previous page](https://github.com/OnionUI/Themes/assets/44569252/fb1e949d-00a9-47d2-ad8b-cf273dbcf1bd)](index.md)

</td><td align="center" valign="middle">
</td><td align="center" valign="middle"><sup>

[&nbsp;1&nbsp;](index.md) &nbsp;**2**&nbsp; [&nbsp;3&nbsp;](index-02-6b.md) [&nbsp;4&nbsp;](index-01-79.md)

</td><td valign="middle">
</sup></td><td valign="middle">

[![Next page](https://github.com/OnionUI/Themes/assets/44569252/a0717376-2b5b-4534-9eba-4d2d3961f06b)](index-02-6b.md)

Expand Down
4 changes: 2 additions & 2 deletions generated/icons_themes/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,11 +210,11 @@

---

<table align="center"><tr><td align="center" valign="middle">
<table align="center"><tr><td align="center" valign="middle"><sup>

&nbsp;**1**&nbsp; [&nbsp;2&nbsp;](index-03-11.md) [&nbsp;3&nbsp;](index-02-6b.md) [&nbsp;4&nbsp;](index-01-79.md)

</td><td valign="middle">
</sup></td><td valign="middle">

[![Next page](https://github.com/OnionUI/Themes/assets/44569252/a0717376-2b5b-4534-9eba-4d2d3961f06b)](index-03-11.md)

Expand Down
4 changes: 2 additions & 2 deletions generated/remixed/index-01-79.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@

[![Previous page](https://github.com/OnionUI/Themes/assets/44569252/fb1e949d-00a9-47d2-ad8b-cf273dbcf1bd)](index.md)

</td><td align="center" valign="middle">
</td><td align="center" valign="middle"><sup>

[&nbsp;1&nbsp;](index.md) &nbsp;**2**&nbsp;

</td></tr></table>
</sup></td></tr></table>
4 changes: 2 additions & 2 deletions generated/remixed/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,11 +210,11 @@

---

<table align="center"><tr><td align="center" valign="middle">
<table align="center"><tr><td align="center" valign="middle"><sup>

&nbsp;**1**&nbsp; [&nbsp;2&nbsp;](index-01-79.md)

</td><td valign="middle">
</sup></td><td valign="middle">

[![Next page](https://github.com/OnionUI/Themes/assets/44569252/a0717376-2b5b-4534-9eba-4d2d3961f06b)](index-01-79.md)

Expand Down

0 comments on commit 29620cb

Please sign in to comment.