From 83e747bfda43c2c8fa0aceb2c989d42fe5ca1582 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Sun, 13 Sep 2015 11:07:21 -0400 Subject: #697 and #1606 and new admin edit user UI --- templates/.VERSION | 2 +- templates/admin/user/edit.tmpl | 185 +++++++++++++++++++++------------------- templates/admin/user/new.tmpl | 2 +- templates/user/auth/signup.tmpl | 2 +- 4 files changed, 99 insertions(+), 92 deletions(-) (limited to 'templates') diff --git a/templates/.VERSION b/templates/.VERSION index 203bac2818..b269da9b60 100644 --- a/templates/.VERSION +++ b/templates/.VERSION @@ -1 +1 @@ -0.6.11.0913 Beta \ No newline at end of file +0.6.12.0913 Beta \ No newline at end of file diff --git a/templates/admin/user/edit.tmpl b/templates/admin/user/edit.tmpl index e6591b80db..d4e83d6f9d 100644 --- a/templates/admin/user/edit.tmpl +++ b/templates/admin/user/edit.tmpl @@ -1,93 +1,100 @@ -{{template "ng/base/head" .}} -{{template "ng/base/header" .}} -
-
-
- {{template "admin/nav" .}} -
-
- {{template "ng/base/alert" .}} -
-
-
- {{.i18n.Tr "admin.users.edit_account"}} -
-
- {{.CsrfTokenHtml}} -
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - - {{.i18n.Tr "admin.users.is_activated"}} -
- - - {{.i18n.Tr "admin.users.is_admin"}} -
- - - {{.i18n.Tr "admin.users.allow_git_hook"}} -
-
- - -      - -
-
-

{{.i18n.Tr "settings.delete_account_title"}}

-

{{.i18n.Tr "settings.delete_account_desc"}}

-
- - -
-
-
-
-
+{{template "base/head" .}} +
+
+
+ {{template "admin/navbar" .}} +
+ {{template "base/alert" .}} +

+ {{.i18n.Tr "admin.users.edit_account"}} +

+
+
+ {{.CsrfTokenHtml}} +
+ + {{.User.Name}} +
+ +
+ + +
+
+ + +
+
+ + +
+
+ + +
+ +
+ + +

{{.i18n.Tr "admin.users.password_helper"}}

+
+
+ + +
+
+ + +
+ +
+
+ + +
+
+
+
+ + +
+
+
+
+ + +
+
+ +
+ +
{{.i18n.Tr "admin.users.delete_account"}}
+
+
+
-{{template "ng/base/footer" .}} + + +{{template "base/footer" .}} diff --git a/templates/admin/user/new.tmpl b/templates/admin/user/new.tmpl index 5d02d1d6d7..7272343818 100644 --- a/templates/admin/user/new.tmpl +++ b/templates/admin/user/new.tmpl @@ -15,7 +15,7 @@