From dfa2e14bfa1709e57d40f41681666dc5fed8c0ef Mon Sep 17 00:00:00 2001 From: Markus Krogh Date: Tue, 3 Oct 2017 16:06:31 +0200 Subject: Fix css for login --- idp/templates/views/layout.vm | 42 ++++++++++++++++++++++++++++++++++-------- idp/templates/views/login.vm | 21 +++++++-------------- 2 files changed, 41 insertions(+), 22 deletions(-) (limited to 'idp/templates/views') diff --git a/idp/templates/views/layout.vm b/idp/templates/views/layout.vm index 7dca3b5..cbad886 100644 --- a/idp/templates/views/layout.vm +++ b/idp/templates/views/layout.vm @@ -4,25 +4,51 @@ - $title - $titleSuffix + + #springMessageText("idp.title", "Web Login Service") #if ($titleSuffix) -$titleSuffix #end
-
- #springMessageText( - #if ($titleSuffix) -

#springMessageText("idp.title", "Web Login Service") - $titleSuffix

- #end +
+ #springMessageText( +
-
+
+ +
+ #if ($titleSuffix) +

#springMessageText("idp.title", "Web Login Service") - $titleSuffix

+ #end $!bodyContent
-
diff --git a/idp/templates/views/login.vm b/idp/templates/views/login.vm index b4f02d0..b813dc0 100644 --- a/idp/templates/views/login.vm +++ b/idp/templates/views/login.vm @@ -59,11 +59,6 @@
#end -
- - -
- #if ($passwordEnabled)
+
#* // // SP Description & Logo (optional) @@ -94,6 +92,10 @@ // added SP information. // *# +

$encoder.encodeForHTML($serviceName)

+

+ #springMessageText("idp.login.sploginTo", "You have asked to login to") $encoder.encodeForHTML($serviceName) +

#set ($logo = $rpUIContext.getLogo()) #if ($logo) - #end -- cgit v1.1