2020-09-27 01:32:38 +02:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<link rel="stylesheet" href="/static/styles/base.css">
|
|
|
|
<link rel="stylesheet" href="/static/styles/ajout.css">
|
|
|
|
<title>Ajout</title>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div id="menu">
|
|
|
|
<h1><a href="/" id="lienAccueil">Liens</a></h1>
|
|
|
|
<header>
|
|
|
|
<a id="select">Ajout</a>
|
|
|
|
<a href="apropos">A propos</a>
|
|
|
|
</header>
|
|
|
|
</div>
|
|
|
|
<hr>
|
|
|
|
|
|
|
|
<form action="bizutage" method="post">
|
|
|
|
<input type="text" name="titre" id="titre" placeholder="Titre" required>
|
|
|
|
<input type="url" name="lien" placeholder="Liens" required>
|
|
|
|
<textarea name="desc" id="desc" cols="30" rows="10"></textarea>
|
2020-10-01 01:14:50 +02:00
|
|
|
<select id="categories" name="categories">
|
|
|
|
<option value="informatique">Informatique</option>
|
|
|
|
<option value="jv">Jeux Vidéos</option>
|
|
|
|
<option value="musique">Musique</option>
|
|
|
|
<option value="autres" selected>Autre</option>
|
|
|
|
</select>
|
2020-09-27 01:32:38 +02:00
|
|
|
<input type="submit" value="Envoyer">
|
|
|
|
</form>
|
|
|
|
|
2020-09-27 12:44:59 +02:00
|
|
|
{% if erreur %}
|
|
|
|
<p id="erreur">{{ erreur }}</p>
|
|
|
|
{% elif reussi %}
|
|
|
|
<p id="reussi">{{ reussi }}</p>
|
|
|
|
{% endif %}
|
2020-09-27 01:32:38 +02:00
|
|
|
</body>
|
|
|
|
</html>
|