timetrack-pro/html_forms/05_frm_Historique.html
StillHammer 7c3dd3fb31 Add VBS scripts, documentation, and HTML form templates
- Test and helper VBS scripts for VBA MCP development
- Technical reference documentation and PDFs
- HTML form templates for all 5 forms
- PowerShell and Python scripts for PDF/documentation generation

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-01-21 11:53:09 +07:00

284 lines
7.6 KiB
HTML

<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>TimeTrack Pro - Historique</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
min-height: 100vh;
padding: 40px 20px;
}
.form-section {
background: white;
border-radius: 20px;
padding: 35px;
margin-bottom: 25px;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
animation: slideRight 0.6s ease-out;
}
@keyframes slideRight {
from {
opacity: 0;
transform: translateX(50px);
}
to {
opacity: 1;
transform: translateX(0);
}
}
.section-title {
color: #667eea;
font-size: 1.6em;
font-weight: bold;
margin-bottom: 25px;
padding-bottom: 12px;
border-bottom: 3px solid #667eea;
}
.form-group {
margin-bottom: 20px;
}
label {
display: block;
color: #444;
font-weight: 600;
margin-bottom: 8px;
font-size: 0.95em;
}
input[type="date"],
input[type="text"],
select {
width: 100%;
padding: 14px 18px;
border: 2px solid #e0e0e0;
border-radius: 12px;
font-size: 1em;
transition: all 0.3s ease;
font-family: inherit;
background: #f8f9fa;
}
input:focus,
select:focus {
outline: none;
border-color: #667eea;
background: white;
box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}
input[readonly] {
background: #e9ecef;
cursor: not-allowed;
}
button {
width: 100%;
padding: 14px 20px;
border: none;
border-radius: 12px;
font-size: 0.95em;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
margin-bottom: 12px;
}
button:hover {
transform: translateY(-3px);
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}
#btnFiltrer {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
}
#btnExportPDF {
background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
color: white;
}
#btnExportExcel {
background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
color: white;
}
#btnRetour,
.preset-btn {
background: linear-gradient(135deg, #757f9a 0%, #d7dde8 100%);
color: #333;
}
h1 {
text-align: center;
color: white;
font-size: 2.8em;
margin-bottom: 35px;
text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
.quick-filters-section {
background: linear-gradient(135deg, #e0c3fc 0%, #8ec5fc 100%);
}
.quick-filters-section .section-title {
color: #5e3da8;
border-bottom-color: #5e3da8;
}
.quick-filters-section .preset-btn {
background: white;
border: 2px solid #5e3da8;
color: #5e3da8;
}
.quick-filters-section .preset-btn:hover {
background: #5e3da8;
color: white;
}
.stats-section {
background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}
.stats-section .section-title {
color: #333;
}
.stats-section label {
color: #333;
font-size: 0.8em;
text-transform: uppercase;
letter-spacing: 1px;
}
.stats-section input {
background: rgba(255, 255, 255, 0.6);
border-color: rgba(255, 255, 255, 0.8);
font-size: 1.8em;
font-weight: bold;
color: #667eea;
text-align: center;
}
</style>
</head>
<body>
<h1>📊 Historique et Rapports</h1>
<div class='form-section'>
<div class='section-title'>Filtres</div>
<div class='form-group'>
<label>Date Début</label>
<input type="date" id="txtDateDebut" name="DateDebut">
</div>
<div class='form-group'>
<label>Date Fin</label>
<input type="date" id="txtDateFin" name="DateFin">
</div>
<div class='form-group'>
<label>Client</label>
<select id="cboClient" name="ClientID">
<option value="">Tous les clients</option>
</select>
</div>
<div class='form-group'>
<label>Projet</label>
<select id="cboProjet" name="ProjetID">
<option value="">Tous les projets</option>
</select>
</div>
</div>
<div class='form-section'>
<div class='section-title'>Actions</div>
<div class='form-group'>
<button id="btnFiltrer">🔍 Filtrer</button>
</div>
<div class='form-group'>
<button id="btnExportPDF">📄 Export PDF</button>
</div>
<div class='form-group'>
<button id="btnExportExcel">📊 Export Excel</button>
</div>
<div class='form-group'>
<button id="btnRetour">↩️ Retour</button>
</div>
</div>
<div class='form-section quick-filters-section'>
<div class='section-title'>Filtres Rapides</div>
<div class='form-group'>
<button class="preset-btn" id="btnAujourdhui">📅 Aujourd'hui</button>
</div>
<div class='form-group'>
<button class="preset-btn" id="btnSemaine">📆 Cette Semaine</button>
</div>
<div class='form-group'>
<button class="preset-btn" id="btnMois">🗓️ Ce Mois</button>
</div>
<div class='form-group'>
<button class="preset-btn" id="btnMoisDernier">⬅️ Mois Dernier</button>
</div>
<div class='form-group'>
<button class="preset-btn" id="btnAnnee">📊 Cette Année</button>
</div>
<div class='form-group'>
<button class="preset-btn" id="btnTout">🌍 Tout</button>
</div>
</div>
<div class='form-section stats-section'>
<div class='section-title'>Statistiques</div>
<div class='form-group'>
<label>Entrées</label>
<input type="text" id="txtNbEntrees" name="NbEntrees" readonly value="0">
</div>
<div class='form-group'>
<label>Total Heures</label>
<input type="text" id="txtTotalHeures" name="TotalHeures" readonly value="0h">
</div>
<div class='form-group'>
<label>Montant Total</label>
<input type="text" id="txtMontantTotal" name="MontantTotal" readonly value="0.00 €">
</div>
<div class='form-group'>
<label>Moyenne / Jour</label>
<input type="text" id="txtMoyenne" name="Moyenne" readonly value="0h">
</div>
</div>
</body>
</html>