ajout dropdown de deconnection
This commit is contained in:
parent
c14507a716
commit
9d1b28a523
1 changed files with 6 additions and 6 deletions
|
|
@ -3,14 +3,14 @@
|
||||||
Bouton + dropdown formulaire de connexion
|
Bouton + dropdown formulaire de connexion
|
||||||
══════════════════════════════════════════════════════════════ #}
|
══════════════════════════════════════════════════════════════ #}
|
||||||
|
|
||||||
<div class="login-wrapper" id="loginWrapper"
|
<div class="header-wrapper" id="headerWrapper"
|
||||||
data-controller="login-dropdown"
|
data-controller="header-dropdown"
|
||||||
data-login-dropdown-target="wrapper">
|
data-header-dropdown-target="wrapper">
|
||||||
|
|
||||||
{# Bouton déclencheur #}
|
{# Bouton déclencheur #}
|
||||||
<button class="login-btn" id="loginToggle"
|
<button class="login-btn" id="loginToggle"
|
||||||
aria-haspopup="true" aria-expanded="false"
|
aria-haspopup="true" aria-expanded="false"
|
||||||
data-login-dropdown-target="toggle">
|
data-header-dropdown-target="toggle">
|
||||||
<svg width="15" height="15" viewBox="0 0 24 24"
|
<svg width="15" height="15" viewBox="0 0 24 24"
|
||||||
fill="none" stroke="currentColor" stroke-width="2"
|
fill="none" stroke="currentColor" stroke-width="2"
|
||||||
stroke-linecap="round" stroke-linejoin="round">
|
stroke-linecap="round" stroke-linejoin="round">
|
||||||
|
|
@ -21,9 +21,9 @@
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
{# Dropdown #}
|
{# Dropdown #}
|
||||||
<div class="login-dropdown" id="loginDropdown"
|
<div class="header-dropdown" id="headerDropdown"
|
||||||
role="dialog" aria-label="Formulaire de connexion"
|
role="dialog" aria-label="Formulaire de connexion"
|
||||||
data-login-dropdown-target="dropdown">
|
data-header-dropdown-target="dropdown">
|
||||||
|
|
||||||
<span class="dropdown-title">Connexion</span>
|
<span class="dropdown-title">Connexion</span>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue