<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>Suivi Réparation Smartphone</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="container">
<h1>Fiche de Réparation</h1>
<form id="clientForm">
<div class="form-group">
<label for="nom">Nom :</label>
<input type="text" id="nom" required>
</div>
<div class="form-group">
<label for="prenom">Prénom :</label>
<input type="text" id="prenom" required>
</div>
<div class="form-group">
<label for="telephone">N° Tél :</label>
<input type="tel" id="telephone" required>
</div>
<div class="form-group">
<label for="marque">Marque :</label>
<input type="text" id="marque" required>
</div>
<div class="form-group">
<label for="modele">Modèle :</label>
<input type="text" id="modele" required>
</div>
</form>
<div class="test-section">
<h2>Test :</h2>
<div class="test-item">
<label>Power</label>
<button class="test-btn" data-test="power" touch-action="manipulation">👍</button>
<button class="test-btn" data-test="power" touch-action="manipulation">👎</button>
</div>
<div class="test-item">
<label>Volume +</label>
<button class="test-btn" data-test="volume+" touch-action="manipulation">👍</button>
<button class="test-btn" data-test="volume+" touch-action="manipulation">👎</button>
</div>
<div class="test-item">
<label>Volume -</label>
<button class="test-btn" data-test="volume-" touch-action="manipulation">👍</button>
<button class="test-btn" data-test="volume-" touch-action="manipulation">👎</button>
</div>
<div class="test-item">
<label>Silence</label>
<button class="test-btn" data-test="silence" touch-action="manipulation">👍</button>
<button class="test-btn" data-test="silence" touch-action="manipulation">👎</button>
</div>
<div class="test-item">
<label>Charge</label>
<button class="test-btn" data-test="charge" touch-action="manipulation">👍</button>
<button class="test-btn" data-test="charge" touch-action="manipulation">👎</button>
</div>
</div>
<div class="etat-section">
<h2>État :</h2>
<div id="etatDisplay"></div>
</div>
<div class="signature-section">
<h2>Signature Client</h2>
<canvas id="signatureCanvas"></canvas>
<button id="clearSignature">Effacer</button>
</div>
</div>
<script src="script.js"></script>
</body>
</html>