Skip to content

Commit 826aa2a

Browse files
committed
[ENG-8789] [ENG-8790] [ENG-8791] Exception Page rework (#95)
* Remove OSF banner UI from exception pages * Remove auth error tips from exception pages * Tweak login-error-card and card-message
1 parent bfd81ed commit 826aa2a

24 files changed

Lines changed: 5 additions & 211 deletions

src/main/resources/static/css/cas.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -880,6 +880,10 @@ body {
880880
flex: 1;
881881
}
882882

883+
.login-error-card .card-message h1 {
884+
text-align: center;
885+
}
886+
883887
#serviceui {
884888
background-color: transparent;
885889
}
@@ -1027,6 +1031,7 @@ body {
10271031
.login-instn-card .card-message,
10281032
.login-error-card .card-message {
10291033
padding: 0;
1034+
margin-top: 0.5rem
10301035
}
10311036

10321037
.login-error-card #errorInfo,

src/main/resources/templates/casAccountDisabledView.html

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,6 @@
1414

1515
<div class="d-flex justify-content-center flex-md-row flex-column mdc-card mdc-card-content w-lg-30">
1616
<section class="login-error-card">
17-
<section>
18-
<div th:replace="fragments/osfbannerui :: osfBannerUI">
19-
<a href="fragments/osfbannerui.html"></a>
20-
</div>
21-
</section>
22-
<section class="text-without-mdi text-center text-bold text-large margin-large-vertical title-danger">
23-
<span th:utext="#{screen.authnerror.tips}"></span>
24-
</section>
25-
<hr class="my-4" />
2617
<section class="card-message">
2718
<h1 th:utext="#{screen.accountdisabled.heading}"></h1>
2819
<p th:utext="#{screen.accountdisabled.message}"></p>

src/main/resources/templates/casAccountNotConfirmedIdPView.html

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,6 @@
1414

1515
<div class="d-flex justify-content-center flex-md-row flex-column mdc-card mdc-card-content w-lg-30">
1616
<section class="login-error-card">
17-
<section>
18-
<div th:replace="fragments/osfbannerui :: osfBannerUI">
19-
<a href="fragments/osfbannerui.html"></a>
20-
</div>
21-
</section>
22-
<section class="text-without-mdi text-center text-bold text-large margin-large-vertical title-danger">
23-
<span th:utext="#{screen.authnerror.tips}"></span>
24-
</section>
25-
<hr class="my-4" />
2617
<section class="card-message">
2718
<h1 th:utext="#{screen.accountnotconfirmedidp.heading}"></h1>
2819
<p th:utext="#{screen.accountnotconfirmedidp.message}"></p>

src/main/resources/templates/casAccountNotConfirmedOsfView.html

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,6 @@
1414

1515
<div class="d-flex justify-content-center flex-md-row flex-column mdc-card mdc-card-content w-lg-30">
1616
<section class="login-error-card">
17-
<section>
18-
<div th:replace="fragments/osfbannerui :: osfBannerUI">
19-
<a href="fragments/osfbannerui.html"></a>
20-
</div>
21-
</section>
22-
<section class="text-without-mdi text-center text-bold text-large margin-large-vertical title-danger">
23-
<span th:utext="#{screen.authnerror.tips}"></span>
24-
</section>
25-
<hr class="my-4" />
2617
<section class="card-message">
2718
<h1 th:utext="#{screen.accountnotconfirmedosf.heading}"></h1>
2819
<p th:utext="#{screen.accountnotconfirmedosf.message}"></p>

src/main/resources/templates/casGenericSuccessView.html

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,6 @@
1414

1515
<div class="d-flex justify-content-center flex-md-row flex-column mdc-card mdc-card-content w-lg-30">
1616
<section class="login-error-card">
17-
<section>
18-
<div th:replace="fragments/osfbannerui :: osfBannerUI">
19-
<a href="fragments/osfbannerui.html"></a>
20-
</div>
21-
</section>
2217
<section class="text-without-mdi text-center text-bold text-large margin-large-vertical title">
2318
<span th:utext="#{screen.generic.loginsuccess.tips}"></span>
2419
</section>

src/main/resources/templates/casInstitutionSsoAccountInactiveView.html

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,6 @@
1414

1515
<div class="d-flex justify-content-center flex-md-row flex-column mdc-card mdc-card-content w-lg-30">
1616
<section class="login-error-card">
17-
<section>
18-
<div th:replace="fragments/osfbannerui :: osfBannerUI">
19-
<a href="fragments/osfbannerui.html"></a>
20-
</div>
21-
</section>
22-
<section class="text-without-mdi text-center text-bold text-large margin-large-vertical title-danger">
23-
<span th:utext="#{screen.authnerror.tips}"></span>
24-
</section>
2517
<hr class="my-4" />
2618
<section class="card-message">
2719
<h1 th:utext="#{screen.institutionssofailed.heading}"></h1>

src/main/resources/templates/casInstitutionSsoAttributeMissingView.html

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,6 @@
1414

1515
<div class="d-flex justify-content-center flex-md-row flex-column mdc-card mdc-card-content w-lg-30">
1616
<section class="login-error-card">
17-
<section>
18-
<div th:replace="fragments/osfbannerui :: osfBannerUI">
19-
<a href="fragments/osfbannerui.html"></a>
20-
</div>
21-
</section>
22-
<section class="text-without-mdi text-center text-bold text-large margin-large-vertical title-danger">
23-
<span th:utext="#{screen.authnerror.tips}"></span>
24-
</section>
25-
<hr class="my-4" />
2617
<section class="card-message">
2718
<h1 th:utext="#{screen.institutionssofailed.heading}"></h1>
2819
<p th:utext="#{screen.institutionssoattributemissing.message}"></p>

src/main/resources/templates/casInstitutionSsoAttributeParsingFailedView.html

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,6 @@
1414

1515
<div class="d-flex justify-content-center flex-md-row flex-column mdc-card mdc-card-content w-lg-30">
1616
<section class="login-error-card">
17-
<section>
18-
<div th:replace="fragments/osfbannerui :: osfBannerUI">
19-
<a href="fragments/osfbannerui.html"></a>
20-
</div>
21-
</section>
22-
<section class="text-without-mdi text-center text-bold text-large margin-large-vertical title-danger">
23-
<span th:utext="#{screen.authnerror.tips}"></span>
24-
</section>
25-
<hr class="my-4" />
2617
<section class="card-message">
2718
<h1 th:utext="#{screen.institutionssofailed.heading}"></h1>
2819
<p th:utext="#{screen.institutionssoattributeparsingfailed.message}"></p>

src/main/resources/templates/casInstitutionSsoDuplicateIdentityView.html

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,6 @@
1414

1515
<div class="d-flex justify-content-center flex-md-row flex-column mdc-card mdc-card-content w-lg-30">
1616
<section class="login-error-card">
17-
<section>
18-
<div th:replace="fragments/osfbannerui :: osfBannerUI">
19-
<a href="fragments/osfbannerui.html"></a>
20-
</div>
21-
</section>
22-
<section class="text-without-mdi text-center text-bold text-large margin-large-vertical title-danger">
23-
<span th:utext="#{screen.authnerror.tips}"></span>
24-
</section>
25-
<hr class="my-4" />
2617
<section class="card-message">
2718
<h1 th:utext="#{screen.institutionssofailed.heading}"></h1>
2819
<p th:utext="#{screen.institutionssoduplicateidentity.message}"></p>

src/main/resources/templates/casInstitutionSsoFailedView.html

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,6 @@
1414

1515
<div class="d-flex justify-content-center flex-md-row flex-column mdc-card mdc-card-content w-lg-30">
1616
<section class="login-error-card">
17-
<section>
18-
<div th:replace="fragments/osfbannerui :: osfBannerUI">
19-
<a href="fragments/osfbannerui.html"></a>
20-
</div>
21-
</section>
22-
<section class="text-without-mdi text-center text-bold text-large margin-large-vertical title-danger">
23-
<span th:utext="#{screen.authnerror.tips}"></span>
24-
</section>
25-
<hr class="my-4" />
2617
<section class="card-message">
2718
<h1 th:utext="#{screen.institutionssofailed.heading}"></h1>
2819
<p th:utext="#{screen.institutionssofailed.message}"></p>

0 commit comments

Comments
 (0)