From 2d1db4bf055a425bf4529b2f9f0378d58e3ec648 Mon Sep 17 00:00:00 2001 From: Sergio Benitez Date: Fri, 4 Sep 2015 20:39:23 -0700 Subject: Added LDAP simple auth support. --- templates/admin/auth/edit.tmpl | 17 +++++++++++++---- templates/admin/auth/new.tmpl | 28 ++++++++++++++++------------ 2 files changed, 29 insertions(+), 16 deletions(-) (limited to 'templates/admin/auth') diff --git a/templates/admin/auth/edit.tmpl b/templates/admin/auth/edit.tmpl index 6da77f1282..5569ce19e5 100644 --- a/templates/admin/auth/edit.tmpl +++ b/templates/admin/auth/edit.tmpl @@ -30,7 +30,7 @@ - {{if eq $type 2}} + {{if eq $type 2 3}}
@@ -43,6 +43,7 @@
+ {{if eq $type 2}}
@@ -55,6 +56,13 @@
+ {{end}} + {{if eq $type 3}} +
+ + +
+ {{end}}
@@ -76,7 +84,8 @@
- {{else if eq $type 3}} + + {{else if eq $type 4}}
- {{else if eq $type 4}} + {{else if eq $type 5}}
@@ -104,7 +113,7 @@ {{end}}
- {{if eq $type 3}} + {{if eq $type 4}} {{.i18n.Tr "admin.auths.enable_tls"}} diff --git a/templates/admin/auth/new.tmpl b/templates/admin/auth/new.tmpl index f16db0a513..ca5d6be17b 100644 --- a/templates/admin/auth/new.tmpl +++ b/templates/admin/auth/new.tmpl @@ -26,48 +26,52 @@
-
-
+
+
-
+
-
+
-
+
-
+
-
+
-
+ +
-
+
-
+
-
+
-
+
-- cgit v1.2.3