Skip to content

Commit d1a0850

Browse files
committed
Remove branded login from a few pages
* OSF login * 2FA login * Institution login * Unsupported institution login * Terms of Service page
1 parent b336981 commit d1a0850

File tree

5 files changed

+0
-50
lines changed

5 files changed

+0
-50
lines changed

src/main/resources/templates/casInstitutionLoginView.html

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -14,22 +14,6 @@
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-
3317
<section class="card-message">
3418
<h1 th:utext="#{screen.institutionlogin.heading}"></h1>
3519
<p th:unless=${osfCasLoginContext.institutionId} th:utext="#{screen.institutionlogin.message.select}"></p>

src/main/resources/templates/casUnsupportedInstitutionLoginView.html

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -14,22 +14,6 @@
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-
3317
<section class="card-message">
3418
<h1 th:utext="#{screen.unsupp-instn.heading}"></h1>
3519
<p th:utext="#{screen.unsupp-instn.message(${osfUrl.institutionsHome})}"></p>

src/main/resources/templates/fragments/loginform.html

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,6 @@
1616
<!-- Login form template begins here -->
1717
<div th:fragment="loginform" class="d-flex flex-column justify-content-between m-auto">
1818

19-
<section th:if="${delegatedAuthenticationProviderPrimary == null}">
20-
<div class="service-ui" th:replace="fragments/serviceui :: serviceUI">
21-
<a href="fragments/serviceui.html"></a>
22-
</div>
23-
</section>
24-
2519
<section class="text-without-mdi text-center text-bold text-large margin-large-vertical">
2620
<span th:utext="#{screen.welcome.tips}"></span>
2721
</section>

src/main/resources/templates/fragments/tosloginform.html

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,6 @@
1616
<!-- Terms of service consent check login form template begins here -->
1717
<div th:fragment="tosloginform" class="d-flex flex-column justify-content-between m-auto">
1818

19-
<section>
20-
<div class="service-ui" th:replace="fragments/osfbannerui :: osfBannerUI">
21-
<a href="fragments/osfbannerui.html"></a>
22-
</div>
23-
</section>
24-
2519
<section class="text-without-mdi text-center text-bold text-large margin-large-vertical">
2620
<span th:utext="#{screen.tosconsent.tips}"></span>
2721
</section>

src/main/resources/templates/fragments/totploginform.html

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,6 @@
1616
<!-- Two-factor authentication login form template begins here -->
1717
<div th:fragment="totploginform" class="d-flex flex-column justify-content-between m-auto">
1818

19-
<section>
20-
<div class="service-ui" th:replace="fragments/osfbannerui :: osfBannerUI">
21-
<a href="fragments/osfbannerui.html"></a>
22-
</div>
23-
</section>
24-
2519
<section class="text-without-mdi text-center text-bold text-large margin-large-vertical">
2620
<span th:utext="#{screen.twofactor.tips.top}"></span>
2721
</section>

0 commit comments

Comments
 (0)