|
|
@ -14,10 +14,11 @@ include '../sessions/session_restraintes.php'; |
|
|
|
<div class="container-field"> |
|
|
|
<p>Type:</p> |
|
|
|
<select class="container-field__field" name="type"> |
|
|
|
<option value="csv">CSV</option> |
|
|
|
<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> |
|
|
|
</select> |
|
|
|
</div> |
|
|
|
<div class="container-field"> |
|
|
|
<div id="base-choice" class="container-field"> |
|
|
|
<p>Base:</p> |
|
|
|
<select class="container-field__field" name="bdd"> |
|
|
|
<option value="pannes">pannes</option> |
|
|
|