diff options
author | silverwind <me@silverwind.io> | 2020-11-29 07:22:04 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-29 01:22:04 -0500 |
commit | e00a3554279d314a4dab4ce11bdd86707201d0d2 (patch) | |
tree | faad207d4afb3921143d78a59b1465b068648049 /templates/repo/release | |
parent | da4bb6fc4ef552865816303fc9c0db25509ff626 (diff) | |
download | gitea-e00a3554279d314a4dab4ce11bdd86707201d0d2.tar.gz gitea-e00a3554279d314a4dab4ce11bdd86707201d0d2.zip |
Dropdowns, Labels fixes and more CSS tweaks (#13733)
* Dropdowns and Labels fixes
- Rework dropdown, menu and label styles
- Improve issue sidebar milestone and label sections
- Fix archived repo and private org badge
- Move more colors to CSS vars
- Move issue number to end of title on issue page
* more dropdown fixes
* fix basic blue labels - fixes #13731
* improve class setting on svg
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'templates/repo/release')
-rw-r--r-- | templates/repo/release/new.tmpl | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/templates/repo/release/new.tmpl b/templates/repo/release/new.tmpl index 883d103998..7c38f54019 100644 --- a/templates/repo/release/new.tmpl +++ b/templates/repo/release/new.tmpl @@ -67,27 +67,27 @@ <span class="help">{{.i18n.Tr "repo.release.prerelease_helper"}}</span> <div class="field"> {{if .PageIsEditRelease}} - <a class="ui blue basic button" href="{{.RepoLink}}/releases"> + <a class="ui button" href="{{.RepoLink}}/releases"> {{.i18n.Tr "repo.release.cancel"}} </a> + <a class="ui red button delete-button" data-url="{{$.RepoLink}}/releases/delete" data-id="{{.ID}}"> + {{$.i18n.Tr "repo.release.delete_release"}} + </a> {{if .IsDraft}} - <input class="ui grey button" type="submit" name="draft" value="{{.i18n.Tr "repo.release.save_draft"}}"/> - <button class="ui green button"> + <input class="ui button" type="submit" name="draft" value="{{.i18n.Tr "repo.release.save_draft"}}"/> + <button class="ui primary button"> {{.i18n.Tr "repo.release.publish"}} </button> {{else}} - <button class="ui green button"> + <button class="ui primary button"> {{.i18n.Tr "repo.release.edit_release"}} </button> {{end}} - <a class="ui red button delete-button" data-url="{{$.RepoLink}}/releases/delete" data-id="{{.ID}}"> - {{$.i18n.Tr "repo.release.delete_release"}} - </a> {{else}} - <button class="ui green button"> + <input class="ui button" type="submit" name="draft" value="{{.i18n.Tr "repo.release.save_draft"}}"/> + <button class="ui primary button"> {{.i18n.Tr "repo.release.publish"}} </button> - <input class="ui grey button" type="submit" name="draft" value="{{.i18n.Tr "repo.release.save_draft"}}"/> {{end}} </div> </div> |