diff options
author | silverwind <me@silverwind.io> | 2020-10-21 23:07:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-21 22:07:33 +0100 |
commit | 83106c166d8708f6ce5fd5c65ce4a4ad6943c48d (patch) | |
tree | d083d90e21f9c18495e02c62f0e3eeeb0dd97f91 /templates/base | |
parent | a06ea38207982fa5b51fc98f4107ac9bbaf97d1d (diff) | |
download | gitea-83106c166d8708f6ce5fd5c65ce4a4ad6943c48d.tar.gz gitea-83106c166d8708f6ce5fd5c65ce4a4ad6943c48d.zip |
Replace footer and modal icons with SVG (#13245)
- Replace two font icons with SVG in the footer
- Replace icons in delete modals with SVG
- Horizontally center message text in modals
Diffstat (limited to 'templates/base')
-rw-r--r-- | templates/base/delete_modal_actions.tmpl | 4 | ||||
-rw-r--r-- | templates/base/footer_content.tmpl | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/templates/base/delete_modal_actions.tmpl b/templates/base/delete_modal_actions.tmpl index a889c67e5a..7a0760b125 100644 --- a/templates/base/delete_modal_actions.tmpl +++ b/templates/base/delete_modal_actions.tmpl @@ -1,10 +1,10 @@ <div class="actions"> <div class="ui red basic inverted cancel button"> - <i class="remove icon"></i> + {{svg "octicon-trashcan"}} {{.i18n.Tr "modal.no"}} </div> <div class="ui green basic inverted ok button"> - <i class="checkmark icon"></i> + {{svg "octicon-check"}} {{.i18n.Tr "modal.yes"}} </div> </div> diff --git a/templates/base/footer_content.tmpl b/templates/base/footer_content.tmpl index ddd4f23649..f0d8a6f5a4 100644 --- a/templates/base/footer_content.tmpl +++ b/templates/base/footer_content.tmpl @@ -5,10 +5,10 @@ </div> <div class="ui right links"> {{if .ShowFooterBranding}} - <a target="_blank" rel="noopener noreferrer" href="https://github.com/go-gitea/gitea"><i class="fa fa-github-square"></i><span class="sr-only">GitHub</span></a> + <a target="_blank" rel="noopener noreferrer" href="https://github.com/go-gitea/gitea">{{svg "octicon-mark-github"}}<span class="sr-only">GitHub</span></a> {{end}} <div class="ui language bottom floating slide up dropdown link item"> - <i class="world icon"></i> + {{svg "octicon-globe"}} <div class="text">{{.LangName}}</div> <div class="menu language-menu"> {{range .AllLangs}} |