Skip to content

Commit

Permalink
Pagination adjustment 2
Browse files Browse the repository at this point in the history
  • Loading branch information
Aemiii91 committed May 18, 2024
1 parent 29620cb commit 22de4f6
Show file tree
Hide file tree
Showing 20 changed files with 57 additions and 57 deletions.
6 changes: 3 additions & 3 deletions .github/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,10 +145,10 @@ def generate_pagination(current_page: int, num_pages: int) -> str:
buffer = ""
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"><sup>\n\n{generate_page_links(current_page, num_pages)}\n\n</sup></td>"""
buffer += f"""<td align="right">\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>"""
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 += f"""<td>\n\n[![Next page]({NEXT_PAGE_ICON_URL})]({format_page_filename(current_page + 1, num_pages)})\n\n</td>"""
buffer += "</tr></table>"
return buffer

Expand Down
6 changes: 3 additions & 3 deletions generated/custom/index-01-79.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,12 +210,12 @@

---

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

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

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

[&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;

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

---

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

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

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

[&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)

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

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

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

---

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

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

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

[&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)

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

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

Expand Down
6 changes: 3 additions & 3 deletions generated/custom/index-04-d8.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,15 +210,15 @@

---

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

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

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

[&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)

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

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

Expand Down
6 changes: 3 additions & 3 deletions generated/custom/index-05-2a.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,15 +210,15 @@

---

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

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

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

[&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)

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

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

Expand Down
6 changes: 3 additions & 3 deletions generated/custom/index-06-21.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,15 +210,15 @@

---

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

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

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

[&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)

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

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

Expand Down
6 changes: 3 additions & 3 deletions generated/custom/index-07-fc.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,15 +210,15 @@

---

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

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

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

[&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)

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

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

Expand Down
6 changes: 3 additions & 3 deletions generated/custom/index-08-bc.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,15 +210,15 @@

---

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

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

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

[&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)

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

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

Expand Down
6 changes: 3 additions & 3 deletions generated/custom/index-09-9d.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,15 +210,15 @@

---

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

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

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

[&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)

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

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

Expand Down
6 changes: 3 additions & 3 deletions generated/custom/index-10-be.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,15 +210,15 @@

---

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

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

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

[&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)

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

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

Expand Down
6 changes: 3 additions & 3 deletions generated/custom/index-11-8c.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,15 +210,15 @@

---

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

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

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

[&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)

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

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

Expand Down
6 changes: 3 additions & 3 deletions generated/custom/index-12-ca.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,15 +210,15 @@

---

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

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

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

[&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)

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

[![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"><sup>
<table align="center"><tr><td align="center" valign="middle">

&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)

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

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

Expand Down
6 changes: 3 additions & 3 deletions generated/icons_themes/index-01-79.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,12 +154,12 @@

---

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

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

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

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

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

---

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

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

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

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

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

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

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

---

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

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

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

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

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

[![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"><sup>
<table align="center"><tr><td align="center" valign="middle">

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

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

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

Expand Down
6 changes: 3 additions & 3 deletions generated/remixed/index-01-79.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,12 +108,12 @@

---

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

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

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

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

</sup></td></tr></table>
</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"><sup>
<table align="center"><tr><td align="center" valign="middle">

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

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

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

Expand Down

0 comments on commit 22de4f6

Please sign in to comment.