From 85f34ba53843177999cb98bad046e9cce22bfc8f Mon Sep 17 00:00:00 2001 From: Unknwon Date: Sun, 6 Sep 2015 16:31:22 -0400 Subject: new user profile settings UI Signed-off-by: Unknwon --- templates/install.tmpl | 4 +- templates/org/settings/options.tmpl | 2 +- templates/user/settings/profile.tmpl | 148 +++++++++++++++++------------------ templates/user/settings/sshkeys.tmpl | 13 +-- 4 files changed, 75 insertions(+), 92 deletions(-) (limited to 'templates') diff --git a/templates/install.tmpl b/templates/install.tmpl index 3001a47b..657247ce 100644 --- a/templates/install.tmpl +++ b/templates/install.tmpl @@ -26,7 +26,7 @@ -
+
@@ -62,7 +62,7 @@
-
+
diff --git a/templates/org/settings/options.tmpl b/templates/org/settings/options.tmpl index c24e7447..1c1c8bcf 100644 --- a/templates/org/settings/options.tmpl +++ b/templates/org/settings/options.tmpl @@ -12,7 +12,7 @@
{{.CsrfTokenHtml}} -
+
diff --git a/templates/user/settings/profile.tmpl b/templates/user/settings/profile.tmpl index 9ed92bab..5438feae 100644 --- a/templates/user/settings/profile.tmpl +++ b/templates/user/settings/profile.tmpl @@ -1,82 +1,74 @@ -{{template "ng/base/head" .}} -{{template "ng/base/header" .}} -
-
- {{template "user/settings/nav" .}} -
-
- {{template "ng/base/alert" .}} -
-
-
- {{.i18n.Tr "settings.public_profile"}} -
-
- - {{.CsrfTokenHtml}} -
{{.i18n.Tr "settings.profile_desc"}}
-
- - -
-
- - -
-
-

{{.i18n.Tr "settings.change_username"}}

-

{{.i18n.Tr "settings.change_username_desc"}}

-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
- -
-
- {{.CsrfTokenHtml}} -
- - - {{.i18n.Tr "settings.enable_custom_avatar_helper"}} -
-
- - -
-
- - -
-
-
-
-
+{{template "base/head" .}} +
+
+
+ {{template "user/settings/navbar" .}} +
+ {{template "base/alert" .}} +

+ {{.i18n.Tr "settings.public_profile"}} +

+
+

{{.i18n.Tr "settings.profile_desc"}}

+
+ {{.CsrfTokenHtml}} +
+ + {{.SignedUser.Id}}
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+ +
+ +
+
+ +
+ +
+ {{.CsrfTokenHtml}} +
+ +
+ + +
+
+
+ + +
+ +
+ +
+
+
+
-{{template "ng/base/footer" .}} \ No newline at end of file +{{template "base/footer" .}} \ No newline at end of file diff --git a/templates/user/settings/sshkeys.tmpl b/templates/user/settings/sshkeys.tmpl index 5eb3bfb7..4c217727 100644 --- a/templates/user/settings/sshkeys.tmpl +++ b/templates/user/settings/sshkeys.tmpl @@ -1,5 +1,5 @@ {{template "base/head" .}} -
+
{{template "user/settings/navbar" .}} @@ -78,15 +78,6 @@

{{.i18n.Tr "settings.ssh_key_deletion_desc"}}

-
-
- - {{.i18n.Tr "modal.no"}} -
-
- - {{.i18n.Tr "modal.yes"}} -
-
+ {{template "base/delete_modal_actions" .}}
{{template "base/footer" .}} \ No newline at end of file -- cgit v1.2.3