117 lines
No EOL
3.5 KiB
HTML
117 lines
No EOL
3.5 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="fr">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Rapport de Bug</title>
|
|
<style>
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
|
|
line-height: 1.6;
|
|
color: #374151;
|
|
max-width: 600px;
|
|
margin: 0 auto;
|
|
padding: 20px;
|
|
}
|
|
.header {
|
|
background: linear-gradient(135deg, #ef4444 0%, #ec4899 100%);
|
|
color: white;
|
|
padding: 20px;
|
|
border-radius: 8px 8px 0 0;
|
|
text-align: center;
|
|
}
|
|
.content {
|
|
background: #ffffff;
|
|
border: 1px solid #e5e7eb;
|
|
border-radius: 0 0 8px 8px;
|
|
padding: 30px;
|
|
}
|
|
.bug-icon {
|
|
font-size: 48px;
|
|
margin-bottom: 10px;
|
|
}
|
|
.field {
|
|
margin-bottom: 20px;
|
|
}
|
|
.field-label {
|
|
font-weight: 600;
|
|
color: #1f2937;
|
|
margin-bottom: 5px;
|
|
display: block;
|
|
}
|
|
.field-value {
|
|
background: #f9fafb;
|
|
padding: 12px;
|
|
border-radius: 6px;
|
|
border: 1px solid #e5e7eb;
|
|
word-wrap: break-word;
|
|
}
|
|
.description {
|
|
white-space: pre-wrap;
|
|
}
|
|
.tech-info {
|
|
background: #f3f4f6;
|
|
padding: 15px;
|
|
border-radius: 6px;
|
|
margin-top: 20px;
|
|
}
|
|
.tech-info h3 {
|
|
margin: 0 0 10px 0;
|
|
color: #374151;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
}
|
|
.tech-info div {
|
|
font-size: 12px;
|
|
color: #6b7280;
|
|
margin-bottom: 5px;
|
|
}
|
|
.priority {
|
|
display: inline-block;
|
|
background: #fef2f2;
|
|
color: #dc2626;
|
|
padding: 4px 12px;
|
|
border-radius: 20px;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
border: 1px solid #fecaca;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="header">
|
|
<div class="bug-icon">🐛</div>
|
|
<h1>Nouveau Rapport de Bug</h1>
|
|
<div class="priority">URGENT</div>
|
|
</div>
|
|
|
|
<div class="content">
|
|
<div class="field">
|
|
<span class="field-label">📋 Sujet</span>
|
|
<div class="field-value">{{subject}}</div>
|
|
</div>
|
|
|
|
<div class="field">
|
|
<span class="field-label">📝 Description détaillée</span>
|
|
<div class="field-value description">{{description}}</div>
|
|
</div>
|
|
|
|
<div class="field">
|
|
<span class="field-label">📸 Capture d'écran</span>
|
|
<div class="field-value">{{hasScreenshot}}</div>
|
|
</div>
|
|
|
|
<div class="tech-info">
|
|
<h3>🔧 Informations techniques</h3>
|
|
<div><strong>URL:</strong> {{url}}</div>
|
|
<div><strong>Navigateur:</strong> {{userAgent}}</div>
|
|
<div><strong>Horodatage:</strong> {{timestamp}}</div>
|
|
</div>
|
|
|
|
<div style="margin-top: 30px; padding-top: 20px; border-top: 1px solid #e5e7eb; font-size: 12px; color: #6b7280; text-align: center;">
|
|
<p>Ce rapport a été généré automatiquement par le système de rapport de bugs de l'Espace Paie.</p>
|
|
<p>Veuillez traiter ce problème dans les meilleurs délais.</p>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |