Rattrapage pb de gitea
Signed-off-by: Gato <cedric@goutailler-olivier.fr>
This commit is contained in:
@@ -0,0 +1,105 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="${(locale.currentLanguageTag)!'fr'}">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>Bonsai — Connexion</title>
|
||||
<link rel="stylesheet" href="${url.resourcesPath}/css/login.css">
|
||||
</head>
|
||||
<body>
|
||||
<div class="page">
|
||||
<div class="card">
|
||||
|
||||
<div class="logo">
|
||||
<svg viewBox="0 0 48 56" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true">
|
||||
<path d="M14 56 L16 49 L32 49 L34 56 Z" fill="#C05621"/>
|
||||
<rect x="12" y="45" width="24" height="5" rx="2" fill="#9C4221"/>
|
||||
<path d="M24 45 C24 39 22 33 20 27 C18 22 19 17 22 13" stroke="#744210" stroke-width="4" stroke-linecap="round"/>
|
||||
<path d="M21 28 C26 25 31 22 33 18" stroke="#744210" stroke-width="2.5" stroke-linecap="round"/>
|
||||
<path d="M20 35 C15 32 11 28 10 24" stroke="#744210" stroke-width="2" stroke-linecap="round"/>
|
||||
<circle cx="10" cy="21" r="9" fill="#276749"/>
|
||||
<circle cx="34" cy="16" r="10" fill="#276749"/>
|
||||
<circle cx="22" cy="11" r="11" fill="#2F855A"/>
|
||||
<circle cx="26" cy="17" r="8" fill="#38A169"/>
|
||||
<circle cx="18" cy="16" r="6" fill="#48BB78"/>
|
||||
</svg>
|
||||
<span class="logo-name">Bonsai</span>
|
||||
</div>
|
||||
|
||||
<h1 class="title">Connexion</h1>
|
||||
|
||||
<#if message?has_content>
|
||||
<div class="alert alert--${message.type}">
|
||||
${message.summary}
|
||||
</div>
|
||||
</#if>
|
||||
|
||||
<#if realm.password>
|
||||
<form action="${url.loginAction}" method="post" novalidate>
|
||||
<input type="hidden" id="id-hidden-input" name="credentialId"
|
||||
<#if auth.selectedCredential?has_content>value="${auth.selectedCredential}"</#if>/>
|
||||
|
||||
<div class="field">
|
||||
<label for="username">Email ou nom d'utilisateur</label>
|
||||
<input
|
||||
type="text"
|
||||
id="username"
|
||||
name="username"
|
||||
value="${(login.username!'')}"
|
||||
autocomplete="username"
|
||||
<#if usernameEditDisabled??>disabled</#if>
|
||||
autofocus
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div class="field">
|
||||
<div class="field-label-row">
|
||||
<label for="password">Mot de passe</label>
|
||||
<#if realm.resetPasswordAllowed>
|
||||
<a href="${url.loginResetCredentialsUrl}" class="forgot-link" tabindex="5">
|
||||
Mot de passe oublié ?
|
||||
</a>
|
||||
</#if>
|
||||
</div>
|
||||
<input
|
||||
type="password"
|
||||
id="password"
|
||||
name="password"
|
||||
autocomplete="current-password"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<#if realm.rememberMe && !usernameEditDisabled??>
|
||||
<div class="remember">
|
||||
<input type="checkbox" id="rememberMe" name="rememberMe"
|
||||
<#if login.rememberMe??>checked</#if>>
|
||||
<label for="rememberMe">Se souvenir de moi</label>
|
||||
</div>
|
||||
</#if>
|
||||
|
||||
<button type="submit" class="btn-primary">Se connecter</button>
|
||||
</form>
|
||||
</#if>
|
||||
|
||||
<#if social.providers?has_content>
|
||||
<div class="divider"><span>ou</span></div>
|
||||
<div class="socials">
|
||||
<#list social.providers as p>
|
||||
<a href="${p.loginUrl}" class="btn-social">
|
||||
Continuer avec ${p.displayName!''}
|
||||
</a>
|
||||
</#list>
|
||||
</div>
|
||||
</#if>
|
||||
|
||||
<#if realm.password && realm.registrationAllowed && !registrationDisabled??>
|
||||
<p class="register-link">
|
||||
Pas encore de compte ?
|
||||
<a href="${url.registrationUrl}">Créer un compte</a>
|
||||
</p>
|
||||
</#if>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user