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:
51
keycloak/themes/drill-luxe/login/error.ftl
Normal file
51
keycloak/themes/drill-luxe/login/error.ftl
Normal file
@@ -0,0 +1,51 @@
|
||||
<!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 Error</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">Authorization Error</span>
|
||||
<h2>Ошибка авторизации</h2>
|
||||
</div>
|
||||
|
||||
<div class="drill-login__alert drill-login__alert--error">
|
||||
${message.summary!'Произошла ошибка авторизации.'}
|
||||
</div>
|
||||
|
||||
<#if client?? && client.baseUrl?has_content>
|
||||
<a class="drill-login__submit drill-login__submit-link" href="${client.baseUrl}">
|
||||
<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