aboutsummaryrefslogtreecommitdiffstats
path: root/templates/user/settings/account.tmpl
diff options
context:
space:
mode:
authorqwerty287 <80460567+qwerty287@users.noreply.github.com>2021-10-27 17:40:08 +0200
committerGitHub <noreply@github.com>2021-10-27 23:40:08 +0800
commit01fc24c78c6108540a3267b41ac113fd8bde23e1 (patch)
tree5bd1117f2bba15d2465a75168017b09e1c2ef7b7 /templates/user/settings/account.tmpl
parent89beceeb9ace8b61223d55b389541bba19578b42 (diff)
downloadgitea-01fc24c78c6108540a3267b41ac113fd8bde23e1.tar.gz
gitea-01fc24c78c6108540a3267b41ac113fd8bde23e1.zip
Add appearance section in settings (#17433)
* Add appearance section in settings * Fix lint * Fix lint * Apply suggestions from code review Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: Lauris BH <lauris@nix.lv>
Diffstat (limited to 'templates/user/settings/account.tmpl')
-rw-r--r--templates/user/settings/account.tmpl38
1 files changed, 0 insertions, 38 deletions
diff --git a/templates/user/settings/account.tmpl b/templates/user/settings/account.tmpl
index 9ed5d3a6dd..3753a77cec 100644
--- a/templates/user/settings/account.tmpl
+++ b/templates/user/settings/account.tmpl
@@ -130,44 +130,6 @@
</form>
</div>
- <h4 class="ui top attached header">
- {{.i18n.Tr "settings.manage_themes"}}
- </h4>
- <div class="ui attached segment">
- <div class="ui email list">
- <div class="item">
- {{.i18n.Tr "settings.theme_desc"}}
- </div>
-
- <form class="ui form" action="{{.Link}}/theme" method="post">
- {{.CsrfTokenHtml}}
- <div class="field">
- <label for="ui">{{.i18n.Tr "settings.ui"}}</label>
- <div class="ui selection dropdown" id="ui">
- <input name="theme" type="hidden" value="{{.SignedUser.Theme}}">
- {{svg "octicon-triangle-down" 14 "dropdown icon"}}
- <div class="text">
- {{range $i,$a := .AllThemes}}
- {{if eq $.SignedUser.Theme $a}}{{$a}}{{end}}
- {{end}}
- </div>
-
- <div class="menu">
- {{range $i,$a := .AllThemes}}
- <div class="item{{if eq $.SignedUser.Theme $a}} active selected{{end}}" data-value="{{$a}}">
- {{$a}}
- </div>
- {{end}}
- </div>
- </div>
- </div>
-
- <div class="field">
- <button class="ui green button">{{$.i18n.Tr "settings.update_theme"}}</button>
- </div>
- </form>
- </div>
- </div>
<h4 class="ui top attached error header">
{{.i18n.Tr "settings.delete_account"}}
</h4>