fix(ui): improve consistency in new runner management pages (#11675)

Followup to https://codeberg.org/forgejo/forgejo/pulls/11516 which I didn't have time to review. Some consistency fixes.

Haven't done anything with the [actions in the table](https://codeberg.org/attachments/5a7eb4f2-c45c-4189-b952-ca4cd4085eb5) but something will need to be done. Like an ellipsis menu.

## Preview

![1](/attachments/a894648b-51e0-4706-9a83-338868a24970)

![2](/attachments/a8b3dc47-49fc-42d6-a353-a3b2963414d2)

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/11675
Reviewed-by: Andreas Ahlenstorf <aahlenst@noreply.codeberg.org>
Reviewed-by: Mathieu Fenniak <mfenniak@noreply.codeberg.org>
Co-authored-by: 0ko <0ko@noreply.codeberg.org>
Co-committed-by: 0ko <0ko@noreply.codeberg.org>
This commit is contained in:
0ko 2026-03-15 15:29:01 +01:00 committed by Mathieu Fenniak
parent 8fed6bcc9b
commit fd750f39b6
4 changed files with 7 additions and 13 deletions

View file

@ -14,9 +14,9 @@
<textarea id="description" name="runner_description"{{if .Err_RunnerDescription}} class="error"{{end}}>{{.Runner.Description}}</textarea>
</div>
</fieldset>
<div class="form-buttons">
<a class="ui secondary button" href="{{$.RunnersListLink}}">{{ctx.Locale.Tr "actions.runners.create_runner.cancel_button"}}</a>
<button class="ui primary button">{{ctx.Locale.Tr "actions.runners.create_runner.create_button"}}</button>
<div class="button-sequence">
<button class="primary button">{{ctx.Locale.Tr "actions.runners.create_runner.create_button"}}</button>
<a class="secondary button" href="{{$.RunnersListLink}}">{{ctx.Locale.Tr "actions.runners.create_runner.cancel_button"}}</a>
</div>
</form>
</div>

View file

@ -26,9 +26,9 @@
</div>
</div>
</fieldset>
<div class="form-buttons">
<a class="ui secondary button" href="{{$.RunnersListLink}}">{{ctx.Locale.Tr "actions.runners.edit_runner.cancel_button"}}</a>
<button class="ui primary button">{{ctx.Locale.Tr "actions.runners.edit_runner.save_button"}}</button>
<div class="button-sequence">
<button class="primary button">{{ctx.Locale.Tr "actions.runners.edit_runner.save_button"}}</button>
<a class="secondary button" href="{{$.RunnersListLink}}">{{ctx.Locale.Tr "actions.runners.edit_runner.cancel_button"}}</a>
</div>
</form>
</div>

View file

@ -4,7 +4,7 @@
{{ctx.Locale.Tr "actions.runners.runner_manage_panel"}} ({{ctx.Locale.Tr "admin.total" .Total}})
<div class="ui right">
<div class="ui top right pointing dropdown">
<button class="ui secondary tiny button">
<button class="ui basic tiny button">
{{ctx.Locale.Tr "actions.runners.show_registration_token"}}
{{svg "octicon-triangle-down" 14 "dropdown icon"}}
</button>