Skip to content

Commit 3699fed

Browse files
futa-ikedacslzchen
andauthored
[ANG-1046] Enable CAS to use custom CSS and rename cas.css to break cache (#101)
* Rename cas.css to break cache * Enable CAS to use customized CSS --------- Co-authored-by: Longze Chen <cslzchen@gmail.com>
1 parent f694cbd commit 3699fed

42 files changed

Lines changed: 44 additions & 40 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Use customized CSS file. For documentation, refer to Apereo CAS 6.2.8 documentation:
2+
# https://github.com/apereo/cas/blob/v6.2.8/docs/cas-server-documentation/ux/User-Interface-Customization-CSSJS.md
3+
cas.standard.css.file=/css/cas-redesigned.css
4+
cas.standard.js.file=/js/cas.js
File renamed without changes.

src/main/resources/templates/casAccountDisabledView.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
77

88
<title th:text="#{screen.authnerror.title}"></title>
9-
<link href="../../static/css/cas.css" rel="stylesheet" th:remove="tag" />
9+
<link href="../../static/css/cas-redesigned.css" rel="stylesheet" th:remove="tag" />
1010
</head>
1111

1212
<body class="mdc-typography">

src/main/resources/templates/casAccountNotConfirmedIdPView.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
77

88
<title th:text="#{screen.authnerror.title}"></title>
9-
<link href="../../static/css/cas.css" rel="stylesheet" th:remove="tag" />
9+
<link href="../../static/css/cas-redesigned.css" rel="stylesheet" th:remove="tag" />
1010
</head>
1111

1212
<body class="mdc-typography">

src/main/resources/templates/casAccountNotConfirmedOsfView.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
77

88
<title th:text="#{screen.authnerror.title}"></title>
9-
<link href="../../static/css/cas.css" rel="stylesheet" th:remove="tag" />
9+
<link href="../../static/css/cas-redesigned.css" rel="stylesheet" th:remove="tag" />
1010
</head>
1111

1212
<body class="mdc-typography">

src/main/resources/templates/casGenericSuccessView.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
77

88
<title th:text="#{screen.generic.loginsuccess.title}"></title>
9-
<link href="../../static/css/cas.css" rel="stylesheet" th:remove="tag" />
9+
<link href="../../static/css/cas-redesigned.css" rel="stylesheet" th:remove="tag" />
1010
</head>
1111

1212
<body class="mdc-typography">

src/main/resources/templates/casInstitutionLoginView.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"/>
77

88
<title th:text="#{screen.institutionlogin.title}"></title>
9-
<link href="../../static/css/cas.css" rel="stylesheet" th:remove="tag"/>
9+
<link href="../../static/css/cas-redesigned.css" rel="stylesheet" th:remove="tag"/>
1010
</head>
1111

1212
<body class="login mdc-typography">

src/main/resources/templates/casInstitutionSsoAccountInactiveView.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
77

88
<title th:text="#{screen.institutionssofailed.title}"></title>
9-
<link href="../../static/css/cas.css" rel="stylesheet" th:remove="tag" />
9+
<link href="../../static/css/cas-redesigned.css" rel="stylesheet" th:remove="tag" />
1010
</head>
1111

1212
<body class="mdc-typography">

src/main/resources/templates/casInstitutionSsoAttributeMissingView.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
77

88
<title th:text="#{screen.institutionssofailed.title}"></title>
9-
<link href="../../static/css/cas.css" rel="stylesheet" th:remove="tag" />
9+
<link href="../../static/css/cas-redesigned.css" rel="stylesheet" th:remove="tag" />
1010
</head>
1111

1212
<body class="mdc-typography">

src/main/resources/templates/casInstitutionSsoAttributeParsingFailedView.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
77

88
<title th:text="#{screen.institutionssofailed.title}"></title>
9-
<link href="../../static/css/cas.css" rel="stylesheet" th:remove="tag" />
9+
<link href="../../static/css/cas-redesigned.css" rel="stylesheet" th:remove="tag" />
1010
</head>
1111

1212
<body class="mdc-typography">

0 commit comments

Comments
 (0)