Files
drill-keycloak/keycloak/themes/drill-luxe/login/error.ftl

52 lines
2.0 KiB
Plaintext

<!DOCTYPE html>
<html class="${properties.kcHtmlClass!}" lang="${(locale.currentLanguageTag)!'ru'}">
<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>