Compare commits
11 Commits
Author | SHA1 | Date |
---|---|---|
BARRAUX Arthur | 67f2972ba1 | 3 years ago |
BARRAUX Arthur | 7125845f9a | 3 years ago |
BARRAUX Arthur | 6813009d7a | 3 years ago |
BARRAUX Arthur | 9629f6514c | 3 years ago |
BARRAUX Arthur | 354a5eee3f | 3 years ago |
BARRAUX Arthur | e18eb42cdd | 3 years ago |
BARRAUX Arthur | 24543c0b5b | 3 years ago |
BARRAUX Arthur | efa1c54864 | 3 years ago |
BARRAUX Arthur | 786f74aab4 | 3 years ago |
BARRAUX Arthur | e40884b85b | 3 years ago |
BARRAUX Arthur | d151335931 | 3 years ago |
23 changed files with 342 additions and 120 deletions
@ -0,0 +1,21 @@ |
|||||
|
# Site de tiquet de panne |
||||
|
|
||||
|
Le mdp référant est: **3.1415926535** |
||||
|
Le mdp prof est: **1NSI** |
||||
|
|
||||
|
C'est un site permettant de créer et gérer des tiquets de panne. Il est composé de **deux parties**: |
||||
|
- Une partie *formulaire*, accessible à **tous**. |
||||
|
- Une partie *gestion*, accessible seulement des référants. |
||||
|
|
||||
|
## Partie formulaire |
||||
|
|
||||
|
Il s'agit d'un simple formulaire demandant des informations précises à propos de la panne et du matériel défécteux |
||||
|
|
||||
|
## Partie gestion |
||||
|
|
||||
|
Cette partie est composée de 5 onglets: |
||||
|
- accueil |
||||
|
- recherche |
||||
|
- liste |
||||
|
- admin |
||||
|
- export |
@ -1 +1 @@ |
|||||
{"version":3,"sourceRoot":"","sources":["../sass/main.scss"],"names":[],"mappings":"AAMA;EACI;EACA;;AAGJ;EACI;EACA;EACA,kBAbS;EAcT;EACA;;AACA;EACI;;AAEJ;EACI;EACA;EACA;;AAEJ;EACI;EACA,OAxBE;EAyBF;EACA;;;AAOR;EACI;EACA;EACA;EACA,kBAxCQ;EAyCR;;AACA;EACI;EACA;EACA;;AACA;EACI;EACA;EACA;;AAGR;EACI;EACA;EACA;EACA;EACA;EACA;;AACA;EACI,kBA1DG;EA2DH;EACA;;AAEJ;EACI;EACA;EACA;EACA;EACA;EACA;;AACA;EACI;;;AAUhB;EACI;EACA;EAEA;EACA;EAEA;EACA;EACA;EACA;;;AAGJ;EACI;;AACA;EACI;EACA;;AAEJ;EACI;EACA;EACA;EACA;EACA;EACA;;AAEJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AACA;EACI;EACA,cA7HF;EA8HE;;AAEJ;EACI;EACA;EACA;;;AASZ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,kBAzJS;EA0JT;;AACA;EACI;EACA;;AAEJ;EACI;EACA;;AAEJ;EACI;EACA;EACA;EACA;EACA;;;AAQR;EACI;EACA;EACA;EACA;EACA,kBAtLQ;EAuLR;EACA;;AACA;EACI;;AAEJ;EACI,kBA5LK;EA8LL;EACA;EACA;EAEA;EACA;EACA,OArMI;;AAsMJ;EACI;EACA;;AAEJ;EACI;EACA;EACA;EACA;EACA,OA/MA;EAgNA;;AACA;EACI;;AAEJ;EACI;EACA;;AAIZ;EACI,OAxNE;EAyNF;EACA;;AAEJ;EACI;EACA;EACA;EACA;;AACA;EACI;EACA;EACA;;AACA;EACI;;AAEJ;EACI;;AAEJ;EACI;EACA;EACA;;AAGR;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AACA;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAOhB;EACI;EACA,kBAjRS;EAkRT,OAhRM;EAiRN;EACA;EACA;;AACA;EACI,OAvRK;EAwRL,kBAtRE;;AAwRN;EACI;EACA;EACA;;AAEJ;EACI;EACA;EACA;EACA;EACA","file":"style.css"} |
{"version":3,"sourceRoot":"","sources":["../sass/main.scss"],"names":[],"mappings":"AAMA;EACI;EACA;;AAGJ;EACI;EACA;EACA,kBAbS;EAcT;EACA;;AACA;EACI;EACA;EACA;EACA;;AAEJ;EACI;;AAEJ;EACI;EACA;EACA;;AAEJ;EACI;EACA,OA9BE;EA+BF;EACA;;;AAOR;EACI;EACA;EACA;EACA,kBA9CQ;EA+CR;;AACA;EACI;EACA;EACA;;AACA;EACI;EACA;EACA;;AAGR;EACI;EACA;EACA;EACA;EACA;EACA;;AACA;EACI,kBAhEG;EAiEH;EACA;;AAEJ;EACI;EACA;EACA;EACA;EACA;EACA;;AACA;EACI;;;AAUhB;EACI;EACA;EAEA;EACA;EAEA;EACA;EACA;EACA;;;AAGJ;EACI;;AACA;EACI;EACA;;AAEJ;EACI;EACA;EACA;EACA;EACA;;AAEJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AACA;EACI;EACA,cAlIF;EAmIE;;AAEJ;EACI;EACA;EACA;;;AASZ;EACI;EACA;EACA;;AACA;EACI;EACA;;AAEJ;EAII;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,kBAxKK;EAyKL;;AAbA;EACI;;AAaJ;EACI;EACA;;AAEJ;EACI;EACA;;AAEJ;EACI;EACA;EACA;EACA;EACA;;;AAWZ;EACI;EACA;EACA;EACA;EACA,kBAxMQ;EAyMR;EACA;;AACA;EACI;;AAEJ;EACI,kBA9MK;EAgNL;EACA;EACA;EACA;EAEA;EACA;EACA,OAxNI;;AAyNJ;EACI;EACA;;AAEJ;EACI;EACA;EACA;EACA;EACA,OAlOA;EAmOA;;AACA;EACI;;AAEJ;EACI;EACA;;AAIZ;EACI,OA3OE;EA4OF;EACA;;AAEJ;EACI;EACA;EACA;EACA;;AACA;EACI;EACA;EACA;;AACA;EACI;;AAEJ;EACI;;AAEJ;EACI;;AAGR;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AACA;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAOhB;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AACA;EACI;EACA;;AAEJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AACA;EACI;EACA;;AAEJ;EACI;EACA;;AAEJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AACA;EACI;;;AAOhB;EACI;EACA,kBArVS;EAsVT;EACA;EACA;;AACA;EACI,OA1VK;EA2VL,kBAzVE;;AA2VN;EACI;EACA;EACA;EACA;EACA,OAnWI;;AAqWR;EACI,OAnWE;EAoWF;EACA;EACA;EACA","file":"style.css"} |
Binary file not shown.
Before Width: | Height: | Size: 51 KiB After Width: | Height: | Size: 25 KiB |
Before Width: | Height: | Size: 87 KiB After Width: | Height: | Size: 87 KiB |
@ -1,11 +1,7 @@ |
|||||
<?php |
<?php |
||||
echo '<p> ',$titre,' : '; |
echo '<p> ',$titre,' : </p> |
||||
if ($help) { |
|
||||
echo '<a class="int" href="#" onmouseover=displayHelp(',$sql_name,') onmouseout=hideHelp(',$sql_name,') ><img src="../img/int.png" alt="point_int" width=20px ></a>'; |
|
||||
} |
|
||||
echo '</p> |
|
||||
<input class="container-field__field" type=',$type,' name=',$sql_name,'><br> |
|
||||
<img class="container-field__img container-field__img--check" src="../img/check.png" alt="check"> |
<img class="container-field__img container-field__img--check" src="../img/check.png" alt="check"> |
||||
<img class="container-field__img container-field__img--excla" src="../img/excla.png" alt="exclamation"> |
<img class="container-field__img container-field__img--excla" src="../img/excla.png" alt="exclamation"> |
||||
|
<input class="container-field__field" type=',$type,' name=',$sql_name,'><br> |
||||
<small>',$error,'</small>'; |
<small>',$error,'</small>'; |
||||
?> |
?> |
||||
|
@ -0,0 +1,7 @@ |
|||||
|
<?php |
||||
|
$bdd = new SQLite3('../../database/ticket_panne.db', SQLITE3_OPEN_READWRITE); |
||||
|
|
||||
|
$request = $bdd->prepare('DELETE FROM pannes WHERE ID=:id'); |
||||
|
$request->bindValue(':id', $_POST['id']); |
||||
|
$request->execute(); |
||||
|
?> |
@ -1,4 +1,4 @@ |
|||||
<meta charset="utf-8"> |
<meta charset="utf-8"> |
||||
<title>Admin ticket</title> |
<title>Admin ticket</title> |
||||
<link href="../css/style.css" rel="stylesheet"> |
<link href="../css/style.css" rel="stylesheet"> |
||||
<a href="index.php"><img class="logo" src="../img/logo_PC.png" alt="logo_PC" width="200px"></a> |
<a href="index.php"><img class="logo" src="../img/logo_PC.png" alt="logo_PC"></a> |
||||
|
@ -0,0 +1,8 @@ |
|||||
|
<div id="popup" class="container-popup"> |
||||
|
<div class="container-popup__popup"> |
||||
|
<h2>Attention!</h2> |
||||
|
<a class="container-popup__popup__close" href="#">X</a> |
||||
|
<p>Voulez-vous vraiment supprimer ce ticket?</p> |
||||
|
<a href="#"><input class="button button--large" type="button" value="supprimer"></a> |
||||
|
</div> |
||||
|
</div> |
Loading…
Reference in new issue