forgejo/templates
wxiaoguang fba7150ca9
Refactor "shortsha" (#26877)
The old code used complex `if` blocks and strange HTML layouts.

<details>


![image](https://github.com/go-gitea/gitea/assets/2114189/7fbee2b8-d150-4e6b-b67e-83400fa290eb)

</details>

This PR refactors the template code and remove legacy CSS styles. The UI
doesn't change much.



![image](https://github.com/go-gitea/gitea/assets/2114189/3e195df9-0ab5-4182-bcb2-bb20cad823f2)


![image](https://github.com/go-gitea/gitea/assets/2114189/f707a49f-be41-4dfe-871f-2869f2230380)
2023-09-03 02:58:52 +00:00
..
admin User details page (#26713) 2023-08-31 11:21:18 +02:00
api/packages/pypi Remove incorrect HTML self close tag (#23748) 2023-03-27 18:05:51 +02:00
base Refactor og:description to limit the max length (#26876) 2023-09-03 01:43:29 +00:00
code Refactor some CSS styles and simplify code (#26771) 2023-08-28 22:14:51 +08:00
custom
devtest Minor dashboard tweaks, fix flex-list margins (#26829) 2023-08-31 21:28:45 +00:00
explore User details page (#26713) 2023-08-31 11:21:18 +02:00
mail Update team invitation email link (#26550) 2023-08-31 16:26:13 +00:00
org Remove polluted .ui.right (#26825) 2023-08-31 02:29:59 +00:00
package Minor dashboard tweaks, fix flex-list margins (#26829) 2023-08-31 21:28:45 +00:00
projects Refactor some CSS styles and simplify code (#26771) 2023-08-28 22:14:51 +08:00
repo Refactor "shortsha" (#26877) 2023-09-03 02:58:52 +00:00
shared Minor dashboard tweaks, fix flex-list margins (#26829) 2023-08-31 21:28:45 +00:00
status Replace fomantic divider module with our own (#25539) 2023-06-29 20:24:22 +08:00
swagger feat(API): add secret deletion functionality for repository (#26808) 2023-09-01 13:02:49 +00:00
user Enable djlint H008 and fix issues (#26869) 2023-09-01 17:32:39 +00:00
home.tmpl Improve home page template, fix Sort dropdown menu flash (#23856) 2023-04-01 13:47:54 +08:00
install.tmpl Use docs.gitea.com instead of docs.gitea.io (#26739) 2023-08-27 11:59:12 +00:00
post-install.tmpl Remove incorrect element ID on "post-install" page (#25104) 2023-06-08 12:23:39 +08:00