diff options
author | Giteabot <teabot@gitea.io> | 2023-07-03 00:25:16 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-03 12:25:16 +0800 |
commit | d8a59d5f12fba9bfe8fff1b424ff279a81e817a6 (patch) | |
tree | 153ca784db2f9ffbb2760c9761f9ba1df35add7a | |
parent | 1ddfe0313190ab7d01fcfa338f4e1a274a68f424 (diff) | |
download | gitea-d8a59d5f12fba9bfe8fff1b424ff279a81e817a6.tar.gz gitea-d8a59d5f12fba9bfe8fff1b424ff279a81e817a6.zip |
use css on labels (#25626) (#25636)
Backport #25626 by @derelm
Changes html to use CSS label class similar to
`templates/shared/actions/runner_list.tmpl`
Before:
![grafik](https://github.com/go-gitea/gitea/assets/465155/6729d580-3ea6-4a90-972e-6e5117459da7)
After:
![grafik](https://github.com/go-gitea/gitea/assets/465155/d4fc280c-c40b-4db4-b1ba-877270f875c8)
List view (for reference - unchanged):
![grafik](https://github.com/go-gitea/gitea/assets/465155/5ad2d8d1-2fb5-414d-823b-48a368a74724)
Co-authored-by: derelm <465155+derelm@users.noreply.github.com>
-rw-r--r-- | templates/shared/actions/runner_edit.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/shared/actions/runner_edit.tmpl b/templates/shared/actions/runner_edit.tmpl index 0985bc603d..77403dc7e6 100644 --- a/templates/shared/actions/runner_edit.tmpl +++ b/templates/shared/actions/runner_edit.tmpl @@ -19,7 +19,7 @@ <label>{{.locale.Tr "actions.runners.agent_labels"}}</label> <span> {{range .Runner.AgentLabels}} - <span>{{.}}</span> + <span class="ui label">{{.}}</span> {{end}} </span> </div> |