generated from apereo/cas-overlay-template
-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add login template, remove flex-grow-1 and upd java's docker ve…
…rsion Magical div comes from apereo's thymeleaf templates !
- Loading branch information
Showing
4 changed files
with
55 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
47 changes: 47 additions & 0 deletions
47
src/main/resources/templates/georchestra/login/casLoginView.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
<!DOCTYPE html> | ||
<html xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout" layout:decorate="~{layout}"> | ||
|
||
<head> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"/> | ||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"/> | ||
|
||
<title th:text="#{cas.login.pagetitle}">CAS Login View</title> | ||
<link href="../../static/css/cas.css" rel="stylesheet" th:remove="tag"/> | ||
|
||
</head> | ||
|
||
<body class="login mdc-typography"> | ||
<div layout:fragment="content" class="d-flex justify-content-center"> | ||
<div class="d-flex justify-content-center flex-md-row flex-column mdc-card mdc-card-content card" | ||
th:with="loginFormEnabled=${#strings.defaultString(#themes.code('cas.login-form.enabled'), 'true') == 'true'}, | ||
loginFormViewable=${@casThymeleafLoginFormDirector.isLoginFormViewable(#vars)}"> | ||
<section id="loginForm" | ||
th:if="${loginFormViewable and loginFormEnabled}" | ||
class="login-section login-form card-body"> | ||
<div th:replace="fragments/loginform :: loginform"> | ||
<a href="../fragments/loginform.html">Login Form goes here</a> | ||
</div> | ||
</section> | ||
<span th:if="${#bools.isFalse(delegatedAuthenticationDynamicProviderSelection) && #bools.isFalse(delegatedAuthenticationDisabled)}"> | ||
<section id="loginProviders" class="login-section login-providers card-body" | ||
th:if="${delegatedAuthenticationProviderConfigurations} OR ${wsfedUrls}"> | ||
<div th:replace="fragments/loginProviders :: loginProviders"> | ||
<a href="fragments/loginProviders.html">loginProviders</a> | ||
</div> | ||
</section> | ||
</span> | ||
<section id="acceptto" class="login-section login-qr d-xs-none d-md-block" th:if="${accepttoApplicationId}"> | ||
<div th:replace="fragments/accepttoQRCode :: accepttoQRCode"> | ||
<a href="fragments/accepttoQRCode.html">accepttoQRCode</a> | ||
</div> | ||
</section> | ||
<section id="qrlogin" class="login-section login-qr d-xs-none d-md-block card-body" th:if="${qrAuthenticationEnabled}"> | ||
<div th:replace="fragments/qrAuthentication :: qrAuthentication"> | ||
<a href="fragments/qrAuthentication.html">qrAuthentication</a> | ||
</div> | ||
</section> | ||
</div> | ||
</div> | ||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters