1414 < div class ="d-flex justify-content-center flex-md-row flex-column mdc-card mdc-card-content w-lg-30 ">
1515 < section class ="login-section login-form login-instn-card ">
1616
17- < section class ="mb-4 service-ui text-center ">
18- < table class ="osf-shield-with-name ">
19- < tbody >
20- < tr >
21- < td >
22- < img class ="service-ui-logo " src ="/images/osf-logo.png " alt ="OSF logo ">
23- </ td >
24- < td >
25- < span class ="service-ui-name hidden-narrow "> OSF </ span >
26- < span class ="service-ui-name "> INSTITUTIONS</ span >
27- </ td >
28- </ tr >
29- </ tbody >
30- </ table >
31- </ section >
32-
33- < section class ="card-message ">
17+ < section class ="card-message full-width center-align-text ">
3418 < h1 th:utext ="#{screen.institutionlogin.heading} "> </ h1 >
3519 < p th:unless =${osfCasLoginContext.institutionId} th:utext ="#{screen.institutionlogin.message.select} "> </ p >
3620 < p th:if =${osfCasLoginContext.institutionId} th:utext ="#{screen.institutionlogin.message.auto} "> </ p >
@@ -51,31 +35,35 @@ <h1 th:utext="#{screen.institutionlogin.heading}"></h1>
5135 < span th:if ="${osfCasLoginContext.institutionId} ">
5236 < a th:href ="@{/login(campaign=institution, institutionId=${institutionId ?: ''}, service=${service?.originalUrl ?: ''})} " th:utext ="#{screen.institutionlogin.link.select} "> </ a >
5337 </ span >
54- < span th:unless ="${osfCasLoginContext.institutionId} ">
38+ < span class =" full-width center-align-text text-bold " th:unless ="${osfCasLoginContext.institutionId} ">
5539 < a th:href ="@{/login(campaign=unsupportedinstitution, institutionId=${institutionId ?: ''}, service=${service?.originalUrl ?: ''})} " th:utext ="#{screen.institutionlogin.link.unsupported} "> </ a >
5640 </ span >
5741 </ section >
5842
5943 < section class ="form-button ">
60- < button type ="button " id ="institutionSubmit " class ="mdc-button mdc-button--raised " name ="submit " onclick ="institutionLogin() "
61- th:classappend ="${osfCasLoginContext.institutionId == null ? 'button-osf-disabled' : 'button-osf-blue'} "
44+ < button type ="button " id ="institutionSubmit " class ="mdc-button mdc-button--raised button-osf-blue " name ="submit " onclick ="institutionLogin() "
6245 th:disabled ="${osfCasLoginContext.institutionId == null} " >
6346 < span class ="mdc-button__label " th:text ="#{screen.institutionlogin.button.submit} "> </ span >
6447 </ button >
6548 </ section >
6649
67- < hr class ="my-4 " />
68-
6950 < section class ="text-with-mdi ">
70- < span >
51+ < span class =" full-width center-align-text text-bold " >
7152 < a href ="https://help.osf.io/article/272-sign-in-to-osf " th:utext ="#{screen.generic.link.support} "> </ a >
7253 </ span >
7354 </ section >
7455
75- < section class ="text-with-mdi ">
76- < span >
77- < a th:href ="@{/login(service=${service?.originalUrl ?: ''})} " th:utext ="#{screen.institutionlogin.osf} "> </ a >
78- </ span >
56+ < hr class ="my-4 " />
57+
58+ < section class ="form-button " th:if ="${osfCasLoginContext.orcidLoginUrl} ">
59+ < a class ="mdc-button mdc-button--raised button-osf-grey " id ="orcidlogin " th:href ="@{${osfCasLoginContext.orcidLoginUrl}} ">
60+ < img class ="delegation-button-logo " src ="/images/orcid-logo.png " alt ="ORCiD logo ">
61+ < span class ="delegation-button-label " th:utext ="#{screen.welcome.button.orcidlogin} "> </ span >
62+ </ a >
63+ < a class ="mdc-button mdc-button--raised button-osf-grey margin-large-vertical " id ="emailLogin " th:href ="@{/login(service=${service?.originalUrl ?: ''})} ">
64+ < img class ="delegation-button-logo " src ="/images/email.svg " alt ="Email icon ">
65+ < span class ="delegation-button-label " th:utext ="#{screen.institutionlogin.osf} "> </ span >
66+ </ a >
7967 </ section >
8068
8169 </ section >
@@ -118,10 +106,8 @@ <h1 th:utext="#{screen.institutionlogin.heading}"></h1>
118106 let institutionLoginUrl = selectDropdownList . options [ selectDropdownList . selectedIndex ] . value ;
119107 if ( institutionLoginUrl == null || institutionLoginUrl === "" ) {
120108 submitButton . disabled = true ;
121- submitButton . style . backgroundColor = "#efefef" ;
122109 } else {
123110 submitButton . disabled = false ;
124- submitButton . style . backgroundColor = "#1b6d85" ;
125111 }
126112 }
127113 </ script >
0 commit comments