Suppression des events JavaScript OnClick
This commit is contained in:
parent
c4f69f9f5e
commit
ac5cda63e0
@ -175,7 +175,7 @@ dt .details {
|
||||
font-size: 80%;
|
||||
}
|
||||
|
||||
input[type="submit"], button{
|
||||
input[type="submit"], button, .button{
|
||||
background: var(--bg-light);
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
@ -184,9 +184,10 @@ input[type="submit"], button{
|
||||
border-radius: 10px;
|
||||
transition: background 0.1s;
|
||||
color: var(--fg);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
input[type="submit"]:hover, button:hover {
|
||||
input[type="submit"]:hover, button:hover, .button:hover {
|
||||
background: var(--bg-dark);
|
||||
color: var(--fg);
|
||||
}
|
||||
|
@ -15,7 +15,7 @@
|
||||
<b>Le {{ date_str }}</b>
|
||||
{% endif %}
|
||||
<div class="flex">
|
||||
<button onClick="location.href='/app/date-select{{change_date_str}}'">Choisir une date</button>
|
||||
<a class="button" href='/app/date-select{{change_date_str}}'>Choisir une date</a>
|
||||
</div>
|
||||
<h1>Disponibles maintenant</h1>
|
||||
<div class="flex-container">
|
||||
|
@ -11,7 +11,7 @@
|
||||
<main>
|
||||
<p id="greet">Bienvenue sur UniSquat !</p>
|
||||
<div class="flex">
|
||||
<button onClick="location.href='/app'">Démarrer</button>
|
||||
<a href='/app' class="button">Démarrer</a>
|
||||
</div>
|
||||
<h2>Qu'est ce que c'est ?</h2>
|
||||
<p>
|
||||
|
Loading…
x
Reference in New Issue
Block a user