timetrack-pro/html_forms/03_frm_Projets.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

261 lines
6.9 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>TimeTrack Pro - Gestion Projets</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: fadeIn 0.6s ease-out;
}
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
.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="text"],
input[type="number"],
select,
textarea {
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,
textarea: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;
}
textarea {
resize: vertical;
min-height: 100px;
}
input[type="checkbox"] {
width: 24px;
height: 24px;
cursor: pointer;
accent-color: #667eea;
}
button {
width: 100%;
padding: 14px 24px;
border: none;
border-radius: 12px;
font-size: 1em;
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);
}
#btnEnregistrer {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
}
#btnNouveau {
background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
color: white;
}
#btnSupprimer {
background: linear-gradient(135deg, #eb3349 0%, #f45c43 100%);
color: white;
}
#btnRetour,
#btnPremier,
#btnPrecedent,
#btnSuivant,
#btnDernier {
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);
}
.stats-section {
background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
border-radius: 15px;
padding: 20px;
color: white;
box-shadow: 0 8px 20px rgba(240, 147, 251, 0.3);
}
.stats-section .section-title {
color: white;
border-bottom-color: white;
}
.stats-section input {
background: rgba(255, 255, 255, 0.2);
border: 2px solid rgba(255, 255, 255, 0.3);
color: white;
font-weight: bold;
}
.stats-section label {
color: white;
opacity: 0.9;
}
</style>
</head>
<body>
<h1>📁 Gestion des Projets</h1>
<div class='form-section'>
<div class='section-title'>Informations Projet</div>
<div class='form-group'>
<label>Client</label>
<select id="cboClient" name="ClientID" required>
<option value="">-- Sélectionner un client --</option>
</select>
</div>
<div class='form-group'>
<label>Nom du Projet</label>
<input type="text" id="txtNom" name="Nom" required maxlength="100" placeholder="Ex: Refonte site web">
</div>
<div class='form-group'>
<label>Description</label>
<textarea id="txtDescription" name="Description" placeholder="Description détaillée du projet..."></textarea>
</div>
<div class='form-group'>
<label>Taux Horaire (EUR)</label>
<input type="number" id="txtTauxHoraire" name="TauxHoraire" step="0.01" min="0" value="0" placeholder="75.00">
</div>
<div class='form-group'>
<label>Projet Actif</label>
<input type="checkbox" id="chkActif" name="Actif" checked>
</div>
</div>
<div class='form-section stats-section'>
<div class='section-title'>Statistiques Projet</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 EUR">
</div>
</div>
<div class='form-section'>
<div class='section-title'>Actions</div>
<div class='form-group'>
<button id="btnEnregistrer">💾 Enregistrer</button>
</div>
<div class='form-group'>
<button id="btnNouveau"> Nouveau</button>
</div>
<div class='form-group'>
<button id="btnSupprimer">🗑️ Supprimer</button>
</div>
<div class='form-group'>
<button id="btnRetour">↩️ Retour</button>
</div>
</div>
<div class='form-section'>
<div class='section-title'>Navigation</div>
<div class='form-group'>
<button id="btnPremier">⏮️ Premier</button>
</div>
<div class='form-group'>
<button id="btnPrecedent">◀️ Précédent</button>
</div>
<div class='form-group'>
<button id="btnSuivant">▶️ Suivant</button>
</div>
<div class='form-group'>
<button id="btnDernier">⏭️ Dernier</button>
</div>
</div>
</body>
</html>