Add initial Keycloak setup with custom theme and Docker configuration
- Created .env.example for environment variable configuration. - Added .gitignore to exclude .env files. - Introduced docker-compose files for Keycloak and Postgres services. - Implemented custom Keycloak theme 'drill-luxe' with associated templates and styles. - Updated README with deployment instructions and repository details.
This commit is contained in:
55
keycloak/themes/drill-luxe/login/info.ftl
Normal file
55
keycloak/themes/drill-luxe/login/info.ftl
Normal file
@@ -0,0 +1,55 @@
|
||||
<!DOCTYPE html>
|
||||
<html class="${properties.kcHtmlClass!}" lang="${lang}">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<meta name="robots" content="noindex, nofollow" />
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1" />
|
||||
<title>Drill View Notice</title>
|
||||
<#if properties.styles?has_content>
|
||||
<#list properties.styles?split(' ') as style>
|
||||
<link href="${url.resourcesPath}/${style}" rel="stylesheet" />
|
||||
</#list>
|
||||
</#if>
|
||||
</head>
|
||||
<body class="drill-login">
|
||||
<main class="drill-login__shell">
|
||||
<section class="drill-login__brand">
|
||||
<div class="drill-login__brand-mark">D</div>
|
||||
<div class="drill-login__brand-copy">
|
||||
<span class="drill-login__eyebrow">Greact Drill</span>
|
||||
<h1>Состояние сессии обновлено</h1>
|
||||
<p>
|
||||
Этот экран используется для системных уведомлений Keycloak: завершение выхода,
|
||||
подтверждение действий пользователя и другие служебные сообщения.
|
||||
</p>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="drill-login__panel">
|
||||
<div class="drill-login__panel-head">
|
||||
<span class="drill-login__eyebrow">System Notice</span>
|
||||
<h2>Информация</h2>
|
||||
</div>
|
||||
|
||||
<div class="drill-login__alert drill-login__alert--info">
|
||||
${message.summary!'Операция выполнена.'}
|
||||
</div>
|
||||
|
||||
<#if pageRedirectUri?has_content>
|
||||
<a class="drill-login__submit drill-login__submit-link" href="${pageRedirectUri}">
|
||||
<span>Продолжить</span>
|
||||
</a>
|
||||
<#elseif actionUri?has_content>
|
||||
<a class="drill-login__submit drill-login__submit-link" href="${actionUri}">
|
||||
<span>Продолжить</span>
|
||||
</a>
|
||||
<#else>
|
||||
<a class="drill-login__submit drill-login__submit-link" href="${url.loginUrl}">
|
||||
<span>Ко входу</span>
|
||||
</a>
|
||||
</#if>
|
||||
</section>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user