Commit 598d24d1 authored by Romain Benit's avatar Romain Benit 🥇
Browse files

Commit pour les annimation JS de l'accés au topic

parent b044bd82
......@@ -25,18 +25,13 @@ session_start(); // Demmare la Session
<meta http-equiv="Content-Security-Policy" content="script-src 'self' 'sha256-FPaWafWn2vI/0jvphsdlS2z+cV8Xl/EPQh9hvQOSUV8='">
<script type="text/javascript">
function noBack(){window.history.forward()}
function bascule(id) {
if (document.getElementById(id).style.visibility == "hidden")
document.getElementById(id).style.visibility = "visible";
else document.getElementById(id).style.visibility = "hidden";
......@@ -177,11 +172,25 @@ session_start(); // Demmare la Session
<button class="btn btn-outline-secondary" type="submit">Écrire un message</button>
<!-- <button class="btn btn-outline-secondary" type="submit">Lire un message</button> -->
<button class="btn btn-outline-secondary" type="submit" onclick="bascule('header');">Lire un message</button>
<!-- <form action="deconnexion.php">
<button class="btn btn-outline-secondary" type="submit">Déconnexion</button>
</form> -->
<button class="btn btn-outline-secondary" onclick="bascule('form');">Lire un message</button>
<form METHOD="post" ACTION="consommateur.php" id="form" >
<p>Nom de topic</p>
<div class="form-group">
<input type="text" class="form-control" name="topic" value="" required/>
<p>Mot de passe : </p>
<div class="form-group">
<input type="password" class="form-control" name="password" value="" pattern=".{6,}" required/>
<div class="form-group">
<input class="btn btn-outline-secondary" type="submit" name="Valider" value="Valider">
} else {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment