forgejo/templates/repo/settings
wxiaoguang 576644d815
Simplify helper CSS classes and avoid abuse (#26728)
Removed CSS helper classes (some of them are not useful while some of
them are abused often)

* `gt-db`: in most cases it could be replaced by `gt-df` and the flex
layout should be encouraged. Other cases: either it does need the
`gt-df` (eg: by using `div` directly) or it is an abuse (eg: the warning
message in a form)
* `gt-di`: it doesn't seem useful, or it could be replaced by `gt-dib`
in most cases.
* `gt-dif`: not useful, it could be replaced by `flex-text-inline` or
`gt-df`
* `gt-js`: never used
* All `<i class="icon gt-df gt-ac gt-jc">` could be written as `<i
class="icon">`


## Some UI samples

### Admin Notice


![image](https://github.com/go-gitea/gitea/assets/2114189/d02010d4-dc7d-463f-bc99-dcc9b6e2e2ac)

### Admin Stacktrace


![image](https://github.com/go-gitea/gitea/assets/2114189/4045695c-a8c4-4e37-b720-e77a61b1e965)

### Org Home


![image](https://github.com/go-gitea/gitea/assets/2114189/069f02d0-76ad-4052-8a80-700d7e501d40)

### Org Team Repo


![image](https://github.com/go-gitea/gitea/assets/2114189/dc8d6106-bb6b-4f60-83ac-06cb28df3ab5)

### Release List


![image](https://github.com/go-gitea/gitea/assets/2114189/0845e8a5-d1a9-487a-9d25-3c200ad54c17)


### User Setting Application Token Scope


![image](https://github.com/go-gitea/gitea/assets/2114189/fffbde27-432b-49c6-827e-17b8cd3457ff)

Co-authored-by: Giteabot <teabot@gitea.io>
2023-08-26 01:35:10 +02:00
..
webhook Add ThreadID parameter for Telegram webhooks (#25996) 2023-08-13 14:00:06 +00:00
actions.tmpl Support configuration variables on Gitea Actions (#24724) 2023-06-20 22:54:15 +00:00
branches.tmpl Introduce flex-list & flex-item elements for Gitea UI (#25790) 2023-08-01 00:13:42 +02:00
collaboration.tmpl Use template context function for avatar rendering (#26385) 2023-08-10 11:19:39 +08:00
deploy_keys.tmpl Introduce flex-list & flex-item elements for Gitea UI (#25790) 2023-08-01 00:13:42 +02:00
githook_edit.tmpl Change to vertical navbar layout for secondary navbar for repo/user/admin settings (#24246) 2023-04-23 18:21:21 +08:00
githooks.tmpl Change to vertical navbar layout for secondary navbar for repo/user/admin settings (#24246) 2023-04-23 18:21:21 +08:00
layout_footer.tmpl Change to vertical navbar layout for secondary navbar for repo/user/admin settings (#24246) 2023-04-23 18:21:21 +08:00
layout_head.tmpl Change to vertical navbar layout for secondary navbar for repo/user/admin settings (#24246) 2023-04-23 18:21:21 +08:00
lfs.tmpl Add tooltip to describe LFS table column and color delete LFS file button red (#26181) 2023-07-27 13:39:09 +00:00
lfs_file.tmpl Add PDF rendering via PDFObject (#24086) 2023-05-29 12:10:00 +00:00
lfs_file_find.tmpl Fix mobile navbar and misc cleanups (#25134) 2023-06-09 09:10:51 +00:00
lfs_locks.tmpl Use template context function for avatar rendering (#26385) 2023-08-10 11:19:39 +08:00
lfs_pointers.tmpl Add tooltip to describe LFS table column and color delete LFS file button red (#26181) 2023-07-27 13:39:09 +00:00
nav.tmpl Move secrets and runners settings to actions settings (#24200) 2023-04-27 20:08:47 -04:00
navbar.tmpl Fixed incorrect locale references (#26218) 2023-07-29 21:34:22 +08:00
options.tmpl Simplify helper CSS classes and avoid abuse (#26728) 2023-08-26 01:35:10 +02:00
protected_branch.tmpl Use template context function for avatar rendering (#26385) 2023-08-10 11:19:39 +08:00
push_mirror_sync_modal.tmpl Allow editing push mirrors after creation (#26151) 2023-08-01 16:00:59 +00:00
runner_edit.tmpl Change to vertical navbar layout for secondary navbar for repo/user/admin settings (#24246) 2023-04-23 18:21:21 +08:00
secrets.tmpl Change to vertical navbar layout for secondary navbar for repo/user/admin settings (#24246) 2023-04-23 18:21:21 +08:00
tags.tmpl Use template context function for avatar rendering (#26385) 2023-08-10 11:19:39 +08:00