2012-05-18 19:56:57 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta charset="utf8" />
|
|
|
|
<link rel="Stylesheet" href="style.css" />
|
|
|
|
<title>Every Questions</title>
|
2012-05-21 22:42:27 +00:00
|
|
|
|
|
|
|
<script laguage="javascript">
|
|
|
|
function add()
|
|
|
|
{
|
|
|
|
var element = document.createElement("input");
|
|
|
|
|
|
|
|
element.setAttribute("type", "text");
|
|
|
|
element.setAttribute("name", "answer");
|
|
|
|
|
|
|
|
var foo = document.getElementById("formulaire");
|
|
|
|
foo.appendChild(element);
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
2012-05-18 20:50:06 +00:00
|
|
|
</head>
|
2012-05-18 19:56:57 +00:00
|
|
|
|
2012-05-18 20:50:06 +00:00
|
|
|
<body>
|
|
|
|
<header>
|
|
|
|
<div id="main_title">
|
|
|
|
<h1>Nemubot Questions</h1>
|
|
|
|
</div>
|
|
|
|
</header>
|
2012-05-21 22:42:27 +00:00
|
|
|
|
2012-05-18 20:50:06 +00:00
|
|
|
<form id="formulaire" method="post" action="questions.php">
|
2012-05-21 22:42:27 +00:00
|
|
|
<p>
|
|
|
|
<label for="course">De quelle matière s'agit-il ?</label>
|
|
|
|
<section name="course" id="course">
|
|
|
|
<optgroup label="Cours communs">
|
|
|
|
<option value="SGBD">SGBD</option>
|
|
|
|
<option value="CompressionDeDonnées">
|
|
|
|
Compression de données</option>
|
|
|
|
<option value="TYLA">TYLA</option>
|
|
|
|
</optgroup>
|
|
|
|
|
|
|
|
<optgroup label="TDA">
|
|
|
|
<option value="RXAN">RXAN</option>
|
|
|
|
</optgroup>
|
|
|
|
|
|
|
|
<optgroup label="MTM">
|
|
|
|
<option value="ITIL">ITIL</option>
|
|
|
|
</optgroup>
|
|
|
|
|
|
|
|
<optgroup label="Autre">
|
|
|
|
<option value="Autre" selected>Autre</option>
|
|
|
|
</optgroup>
|
|
|
|
</section>
|
|
|
|
</p>
|
|
|
|
|
2012-05-18 20:50:06 +00:00
|
|
|
<p>
|
|
|
|
<label for="question">Quelle est votre question ? </label>
|
|
|
|
<textarea id="question" name="question"
|
|
|
|
rows="10" cols="50"></textarea>
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
<label for="answer">Quelle est la réponse ? </label>
|
|
|
|
<input id="answer" name="answer" type="text" />
|
|
|
|
</p>
|
2012-05-21 22:42:27 +00:00
|
|
|
|
|
|
|
<p>
|
|
|
|
<input type="button" value=
|
|
|
|
"Ajouter une réponse supplémentaire" onclick="add()"/>
|
2012-05-21 22:43:39 +00:00
|
|
|
|
2012-05-21 22:42:27 +00:00
|
|
|
</p>
|
|
|
|
|
2012-05-18 20:50:06 +00:00
|
|
|
<p>
|
|
|
|
<input type="submit" name="send" value="Envoyer" />
|
|
|
|
</p>
|
|
|
|
</form>
|
2012-05-18 19:56:57 +00:00
|
|
|
|
2012-05-18 20:50:06 +00:00
|
|
|
</body>
|
|
|
|
</html>
|