formulaire pour remplir des ticket de panne
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
1.4 KiB

3 years ago
<?php
3 years ago
include '../sessions/session_restraintes.php';
?>
3 years ago
<!DOCTYPE html>
<html lang="fr">
<head>
<?php include 'include/menu.html'; ?>
</head>
3 years ago
<body>
<?php include 'include/nav.php'?>
<form id='form' action="cible/export.php" method="post">
3 years ago
<div class="container-field">
<p>Type:</p>
3 years ago
<select class="container-field__field" name="type">
3 years ago
<option value="csv" onclick="document.getElementById('base-choice').style.display = 'block'; document.getElementById('form').setAttribute('action','cible/export.php');">CSV</option>
<option value="sqlite" onclick="document.getElementById('base-choice').style.display = 'none'; document.getElementById('form').setAttribute('action','../database/ticket_panne.db');">SQLite</option>
3 years ago
</select>
</div>
3 years ago
<div id="base-choice" class="container-field">
<p>Base:</p>
3 years ago
<select class="container-field__field" name="bdd">
<option value="pannes">pannes</option>
<option value="logins">logins</option>
</select>
</div>
3 years ago
<div class="container-field">
<input class="container-field__field container-field__field--submit" type="submit" value="Download">
</div>
</form>
</body>
</html>