diff options
Diffstat (limited to 'templates/package/shared')
-rw-r--r-- | templates/package/shared/cargo.tmpl | 4 | ||||
-rw-r--r-- | templates/package/shared/cleanup_rules/edit.tmpl | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/templates/package/shared/cargo.tmpl b/templates/package/shared/cargo.tmpl index 8831cd8988..9761cb2133 100644 --- a/templates/package/shared/cargo.tmpl +++ b/templates/package/shared/cargo.tmpl @@ -8,14 +8,14 @@ </div> <form class="field" action="{{.Link}}/cargo/initialize" method="post"> {{.CsrfTokenHtml}} - <button class="ui green button">{{$.locale.Tr "packages.owner.settings.cargo.initialize"}}</button> + <button class="ui primary button">{{$.locale.Tr "packages.owner.settings.cargo.initialize"}}</button> </form> <div class="field"> <label>{{$.locale.Tr "packages.owner.settings.cargo.rebuild.description"}}</label> </div> <form class="field" action="{{.Link}}/cargo/rebuild" method="post"> {{.CsrfTokenHtml}} - <button class="ui green button">{{$.locale.Tr "packages.owner.settings.cargo.rebuild"}}</button> + <button class="ui primary button">{{$.locale.Tr "packages.owner.settings.cargo.rebuild"}}</button> </form> <div class="field"> <label>{{.locale.Tr "packages.registry.documentation" "Cargo" "https://docs.gitea.com/usage/packages/cargo/" | Safe}}</label> diff --git a/templates/package/shared/cleanup_rules/edit.tmpl b/templates/package/shared/cleanup_rules/edit.tmpl index 295ac1a6a4..1bfa6260a1 100644 --- a/templates/package/shared/cleanup_rules/edit.tmpl +++ b/templates/package/shared/cleanup_rules/edit.tmpl @@ -62,11 +62,11 @@ </div> <div class="field"> {{if .IsEditRule}} - <button class="ui green button" name="action" value="save">{{.locale.Tr "save"}}</button> + <button class="ui primary button" name="action" value="save">{{.locale.Tr "save"}}</button> <button class="ui red button" name="action" value="remove">{{.locale.Tr "remove"}}</button> <a class="ui button" href="{{.Link}}/preview">{{.locale.Tr "packages.owner.settings.cleanuprules.preview"}}</a> {{else}} - <button class="ui green button" name="action" value="save">{{.locale.Tr "add"}}</button> + <button class="ui primary button" name="action" value="save">{{.locale.Tr "add"}}</button> {{end}} </div> </form> |