diff options
Diffstat (limited to 'templates/shared/actions/runner_list.tmpl')
-rw-r--r-- | templates/shared/actions/runner_list.tmpl | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/templates/shared/actions/runner_list.tmpl b/templates/shared/actions/runner_list.tmpl index f652d56e09..e5907da8e8 100644 --- a/templates/shared/actions/runner_list.tmpl +++ b/templates/shared/actions/runner_list.tmpl @@ -3,7 +3,7 @@ <h4 class="ui top attached header"> {{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"> + <div class="ui top right pointing dropdown jump"> <button class="ui primary tiny button"> {{ctx.Locale.Tr "actions.runners.new"}} {{svg "octicon-triangle-down" 14 "dropdown icon"}} @@ -17,14 +17,18 @@ Registration Token </div> <div class="ui input"> - <input type="text" value="{{.RegistrationToken}}"> + <input type="text" value="{{.RegistrationToken}}" readonly> <button class="ui basic label button" aria-label="{{ctx.Locale.Tr "copy"}}" data-clipboard-text="{{.RegistrationToken}}"> {{svg "octicon-copy" 14}} </button> </div> <div class="divider"></div> <div class="item"> - <a href="{{$.Link}}/reset_registration_token">{{ctx.Locale.Tr "actions.runners.reset_registration_token"}}</a> + <a class="link-action" data-url="{{$.Link}}/reset_registration_token" + data-modal-confirm="{{ctx.Locale.Tr "actions.runners.reset_registration_token_confirm"}}" + > + {{ctx.Locale.Tr "actions.runners.reset_registration_token"}} + </a> </div> </div> </div> |