summaryrefslogtreecommitdiffstats
path: root/templates/user/settings/navbar.tmpl
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-08-19 02:49:44 +0800
committerUnknwon <u@gogs.io>2015-08-19 02:49:44 +0800
commit249345458737e4db5a06250593787b483726dff0 (patch)
treecf0c0b2a26341cbddfce59219d3cf447622563e3 /templates/user/settings/navbar.tmpl
parent81b8427438d4d37d38a46d0fec4c22aee60f91fa (diff)
downloadgitea-249345458737e4db5a06250593787b483726dff0.tar.gz
gitea-249345458737e4db5a06250593787b483726dff0.zip
new delete account UI and password confirmation
Diffstat (limited to 'templates/user/settings/navbar.tmpl')
-rw-r--r--templates/user/settings/navbar.tmpl28
1 files changed, 28 insertions, 0 deletions
diff --git a/templates/user/settings/navbar.tmpl b/templates/user/settings/navbar.tmpl
new file mode 100644
index 0000000000..3b8973b8e0
--- /dev/null
+++ b/templates/user/settings/navbar.tmpl
@@ -0,0 +1,28 @@
+<div class="four wide column">
+ <div class="ui vertical menu">
+ <div class="header item">{{.i18n.Tr "settings"}}</div>
+ <a class="{{if .PageIsSettingsProfile}}active{{end}} item" href="{{AppSubUrl}}/user/settings">
+ {{.i18n.Tr "settings.profile"}}
+ </a>
+ <a class="{{if .PageIsSettingsPassword}}active{{end}} item" href="{{AppSubUrl}}/user/settings/password">
+ {{.i18n.Tr "settings.password"}}
+ </a>
+ <a class="{{if .PageIsSettingsEmails}}active{{end}} item" href="{{AppSubUrl}}/user/settings/email">
+ {{.i18n.Tr "settings.emails"}}
+ </a>
+ <a class="{{if .PageIsSettingsSSHKeys}}active{{end}} item" href="{{AppSubUrl}}/user/settings/ssh">
+ {{.i18n.Tr "settings.ssh_keys"}}
+ </a>
+ {{if .HasOAuthService}}
+ <a class="{{if .PageIsSettingsSocial}}active{{end}} item" href="{{AppSubUrl}}/user/settings/social">
+ {{.i18n.Tr "settings.social"}}
+ </a>
+ {{end}}
+ <a class="{{if .PageIsSettingsApplications}}active{{end}} item" href="{{AppSubUrl}}/user/settings/applications">
+ {{.i18n.Tr "settings.applications"}}
+ </a>
+ <a class="{{if .PageIsSettingsDelete}}active{{end}} item" href="{{AppSubUrl}}/user/settings/delete">
+ {{.i18n.Tr "settings.delete"}}
+ </a>
+ </div>
+</div>