From 06174482826e81fb7c4675efff092e2986c4dac0 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Thu, 10 Sep 2015 17:11:41 -0400 Subject: finish new add auth UI --- templates/admin/auth/list.tmpl | 2 +- templates/admin/auth/new.tmpl | 286 ++++++++++++++++++++++------------------- 2 files changed, 152 insertions(+), 136 deletions(-) (limited to 'templates/admin/auth') diff --git a/templates/admin/auth/list.tmpl b/templates/admin/auth/list.tmpl index 0b5aed9a..72e32c6f 100644 --- a/templates/admin/auth/list.tmpl +++ b/templates/admin/auth/list.tmpl @@ -29,7 +29,7 @@ {{.ID}} {{.Name}} - {{.TypeString}} + {{.TypeName}} {{DateFmtShort .Updated}} {{DateFmtShort .Created}} diff --git a/templates/admin/auth/new.tmpl b/templates/admin/auth/new.tmpl index ca5d6be1..71578460 100644 --- a/templates/admin/auth/new.tmpl +++ b/templates/admin/auth/new.tmpl @@ -1,140 +1,156 @@ -{{template "ng/base/head" .}} -{{template "ng/base/header" .}} -
-
-
- {{template "admin/nav" .}} -
-
- {{template "ng/base/alert" .}} -
-
-
- {{.i18n.Tr "admin.auths.new"}} -
-
- {{.CsrfTokenHtml}} -
- - -
-
- - -
-
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
- -
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
- - - - {{.i18n.Tr "admin.auths.enable_auto_register"}} -
-
- - -
-
-
-
-
-
- {{.i18n.Tr "admin.auths.tips"}} -
-
-
GMail Setting:
-

Host: smtp.gmail.com, Post: 587, Enable TLS Encryption: true

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

+ {{.i18n.Tr "admin.auths.new"}} +

+
+
+ {{.CsrfTokenHtml}} + +
+ +
+
+ + +
+ + +
+
+ + +
+
+ + +
+
+ + +
+ +
+ + +

{{.i18n.Tr "admin.auths.bind_password_helper"}}

+
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+ + +
+ +
+
+ + +
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+ + +
+
+ +
+ +
+
+ +

+ {{.i18n.Tr "admin.auths.tips"}} +

+
+
GMail Setting:
+

Host: smtp.gmail.com, Post: 587, Enable TLS Encryption: true

+
+
+
-{{template "ng/base/footer" .}} +{{template "base/footer" .}} -- cgit v1.2.3