93 lines
4.0 KiB
PHP
Executable File
93 lines
4.0 KiB
PHP
Executable File
<div class="card border-0 shadow-sm border-start border-4 border-primary">
|
|
<div class="card-header bg-white py-3 border-bottom">
|
|
<h6 class="mb-0 fw-bold text-uppercase text-warning small" id="titre_formData">
|
|
<i class="fas fa-edit me-2"></i><?= _("Modification des données de l'activité de soins") ?>
|
|
</h6>
|
|
</div>
|
|
|
|
<div class="card-body p-4">
|
|
<form id="formData" class="container-fluid p-0">
|
|
<input type="hidden" id="id" name="id" value="<?= $this->nettoyer($activite['id']) ?>">
|
|
|
|
<div class="row g-4 align-items-end">
|
|
<div class="col-md-2">
|
|
<label class="form-label fw-bold text-muted small">Code</label>
|
|
<div class="input-group shadow-xs">
|
|
<span class="input-group-text bg-light border-2 border-end-0">
|
|
<i class="fas fa-lock text-muted"></i>
|
|
</span>
|
|
<input type="text"
|
|
class="form-control border-2 border-start-0 majuscule fw-bold bg-light"
|
|
id="codeActivite"
|
|
name="codeActivite"
|
|
value="<?= $this->nettoyer($activite['codeActivite']); ?>"
|
|
disabled>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="col-md-5">
|
|
<label class="form-label fw-bold text-muted small required"><?= _("Libellé (Fr)") ?></label>
|
|
<div class="input-group shadow-xs">
|
|
<span class="input-group-text bg-white border-2 border-end-0">
|
|
<img src="../Bootstrap_new/images/france.png" width="16" alt="FR">
|
|
</span>
|
|
<input type="text"
|
|
class="form-control border-2 border-start-0 majuscule fw-bold"
|
|
id="libelle"
|
|
name="libelle"
|
|
required
|
|
autocomplete="OFF"
|
|
value="<?= $this->nettoyer($activite['libelle']); ?>">
|
|
</div>
|
|
</div>
|
|
|
|
<div class="col-md-5">
|
|
<label class="form-label fw-bold text-muted small text-uppercase"><?= _("Libellé (Eng)") ?></label>
|
|
<div class="input-group shadow-xs">
|
|
<span class="input-group-text bg-white border-2 border-end-0">
|
|
<img src="../Bootstrap_new/images/england.png" width="16" alt="EN">
|
|
</span>
|
|
<input type="text"
|
|
class="form-control border-2 border-start-0 majuscule"
|
|
id="libelleEng"
|
|
name="libelleEng"
|
|
value="<?= $this->nettoyer($activite['libelleEng']); ?>">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
|
|
<script>
|
|
$(document).ready(function() {
|
|
// Règle d'Or Neutral Pro : Focus différé de 200ms pour garantir l'interactivité
|
|
setTimeout(function() {
|
|
$('#libelle').focus();
|
|
}, 200);
|
|
});
|
|
</script>
|
|
|
|
<style>
|
|
/* Intégration identité Neutral Pro */
|
|
.border-primary { border-color: #212e53 !important; }
|
|
.shadow-xs { box-shadow: 0 2px 4px rgba(0,0,0,0.05); }
|
|
|
|
.form-control.border-2, .input-group-text.border-2 {
|
|
border-width: 2px !important;
|
|
border-color: #dee2e6;
|
|
}
|
|
|
|
.form-control:focus {
|
|
border-color: #212e53;
|
|
box-shadow: 0 0 0 0.25rem rgba(33, 46, 83, 0.1);
|
|
}
|
|
|
|
.majuscule { text-transform: uppercase; }
|
|
|
|
.required:after {
|
|
content: " *";
|
|
color: #dc3545;
|
|
font-weight: bold;
|
|
}
|
|
</style>
|