From 0329dc7cc04d9d561a659b771281c9b4af67eb3c Mon Sep 17 00:00:00 2001 From: mb863 Date: Tue, 21 Dec 2010 15:11:50 +0000 Subject: [PATCH] NIHVIVO-1492: Style external authentication in the VITRO core when active --- webapp/web/css/login.css | 19 +++++++++++++++ webapp/web/images/login-or.png | Bin 0 -> 481 bytes webapp/web/js/login/loginUtils.js | 13 +++++----- .../freemarker/widgets/widget-login.ftl | 23 ++++++++++-------- 4 files changed, 38 insertions(+), 17 deletions(-) create mode 100644 webapp/web/images/login-or.png diff --git a/webapp/web/css/login.css b/webapp/web/css/login.css index 82fd3f8cd..de80284a0 100644 --- a/webapp/web/css/login.css +++ b/webapp/web/css/login.css @@ -42,6 +42,25 @@ p.request-account { } #login-form p.external-auth { margin-left: 36px; + margin-top: 1em; +} +.or-auth{ + margin-left: 135px; + width: 30px; + height: 30px; + background: #fff 0 0 url(../images/login-or.png) no-repeat; + margin-bottom: 0; + padding-left: 8px; + padding-top: 5px; + color: #fff; + font-size: .8em; +} +h3.internal-auth{ + margin-left: 38px; + color: #5F6464; + font-size: 1em; + margin-bottom: 0; + padding-bottom: 0; } #error-alert{ color: #900; diff --git a/webapp/web/images/login-or.png b/webapp/web/images/login-or.png new file mode 100644 index 0000000000000000000000000000000000000000..45a3317d3ca4f94ee3909543654108f6ca966666 GIT binary patch literal 481 zcmV<70UrK|P)ShQM zjiJdzZ3W4YmHP+%1ru`<6O+xVMENKmH36k&wx(ZbP0DHgegIqT5VC~)YOP(gA z$M@to4qgUTRb5@8uIcA}wdxu-0uvB|0C>RV{|=x48A!nv997Nk;`m3bCl1}_yEQl?jfIh zQ7u(7rpvp~B&}=AJ*P6U!)xjr*gZb?cG|?rnQPi-&6D5a5pNmO6|<`mPZax9XGQF4 z#G%EfWhjaRi{d~Odlto>D0VH1UDYGgcnyVDo2@#C;=-c15XG5AaVCmWi{exiZ#g-b zt{uA?@sZ<-=~~r!Ox#YCk=6#KYj*s3EtZ^-as$$wdzZ2VLc#12>@`aF+;h{Fx$11R z(2z!QmM;6oTN?OvV!RdCR2pwpxtdP+1RouNzHQ5#73k|5?isx5{Dh$zT <#if errorMessage??> -
+
+
+ <#if externalAuthUrl??> +

+ ${externalAuthName} +

+ + +

or

+ +

Login using a different account

+ @@ -47,14 +57,7 @@ --> <#-- mb863: forgot password and request an account won't be part of VIVO r1.2

Forgot your password?

- --> - - <#if externalAuthUrl??> -

- ${externalAuthName} -

- - + -->