Imrpove style

This commit is contained in:
julien committed 2026-11-03 14:34:14 +01:00
1 parent 5cf45c2084
commit a57fa574eb
6 files changed
+298 -117

No files matched your search

+1 -1
View File
@@ -46,7 +46,7 @@
Déconnexion
</button>
</form>
<% else %>
<% elsif request.path != rodauth.login_path %>
<a class="topbar__account" href="<%= rodauth.login_path %>">
Connexion ➜
</a>
+22
View File
@@ -0,0 +1,22 @@
<section class="page-section">
<div class="content page-panel auth-panel">
<h1>Connexion</h1>
<%== rodauth.login_form_header %>
<%== rodauth.render("login-form") %>
<% links = rodauth.login_form_footer_links %>
<% unless links.empty? %>
<nav class="auth-links" aria-label="Autres possibilités">
<h2>Autres possibilités</h2>
<ul>
<% links.each do |_, url, text| %>
<li><a href="<%= url %>"><%= text %></a></li>
<% end %>
</ul>
</nav>
<% end %>
</div>
</section>
+34
View File
@@ -0,0 +1,34 @@
<section class="page-section">
<div class="content page-panel auth-panel">
<h1>Renvoyer le courriel de vérification</h1>
<form
action="<%= rodauth.verify_account_resend_path %>"
method="post"
class="rodauth"
role="form"
id="verify-account-resend-form"
>
<%== rodauth.verify_account_resend_additional_form_tags %>
<%== rodauth.csrf_tag(rodauth.verify_account_resend_path) %>
<p><%= rodauth.verify_account_resend_explanatory_text %></p>
<%== rodauth.param_or_nil(rodauth.login_param) ?
rodauth.login_hidden_field :
rodauth.render("login-field") %>
<%== rodauth.button(rodauth.verify_account_resend_button) %>
</form>
<nav class="auth-links" aria-label="Autres possibilités">
<ul>
<li>
<a href="<%= rodauth.login_path %>">
Retour à la connexion
</a>
</li>
</ul>
</nav>
</div>
</section>