Text copy
This commit is contained in:
60
Vue/Textecp/index.php
Normal file
60
Vue/Textecp/index.php
Normal file
@@ -0,0 +1,60 @@
|
||||
<?php
|
||||
/**
|
||||
* Vue : Texte libre sur CP
|
||||
* Thème : Office/Document Editor
|
||||
*/
|
||||
$this->titre = "Tâches - Texte libre sur CP";
|
||||
$numeroPolice = $this->nettoyer($_SESSION['numeroPolice_C']);
|
||||
?>
|
||||
|
||||
<div id="div_texte_cp" class="container-fluid py-4">
|
||||
<div class="card shadow-sm border-0">
|
||||
<div class="card-header d-flex justify-content-between align-items-center py-3">
|
||||
<h5 class="mb-0 fw-bold text-uppercase">
|
||||
<i class="fas fa-edit me-2"></i>
|
||||
<?= _("Conditions Particulières") ?>
|
||||
</h5>
|
||||
<span class="badge bg-white text-dark shadow-sm">
|
||||
<?= _("Police No") ?> : <?= $numeroPolice ?>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<div class="card-body p-4 bg-light">
|
||||
<div class="mb-3">
|
||||
<label for="texteCp" class="form-label fw-bold text-primary small">
|
||||
<?= _("SAISIE DU TEXTE LIBRE") ?>
|
||||
</label>
|
||||
<p class="text-muted small mb-3">
|
||||
<i class="fas fa-info-circle me-1"></i>
|
||||
<?= _("Ce texte apparaîtra sur les documents officiels de la police.") ?>
|
||||
</p>
|
||||
|
||||
<form method="POST" action="Textecp/enregistrer/">
|
||||
<div class="editor-container shadow-sm mb-4">
|
||||
<textarea
|
||||
class="form-control editor-paper"
|
||||
id="texteCp"
|
||||
name="texteCp"
|
||||
rows="18"
|
||||
placeholder="<?= _("Saisissez votre texte ici...") ?>"
|
||||
><?= $this->nettoyer($textecp['texteCp']) ?></textarea>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-4 ms-auto">
|
||||
<button type="submit" class="btn btn-secondary w-100 fw-bold py-2 shadow-sm">
|
||||
<i class="fas fa-save me-2"></i> <?= _("Enregistrer les modifications") ?>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card-footer bg-white text-end py-2">
|
||||
<small class="text-muted fst-italic">
|
||||
<?= _("Dernière mise à jour : ") . date('d/m/Y H:i') ?>
|
||||
</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -119,7 +119,7 @@ $activeChildId = $menuData['child'];
|
||||
<link rel="manifest" href="<?= $racineWeb ?>manifest.json">
|
||||
|
||||
<!-- 4. VOS STYLES PERSONNALISÉS (en dernier pour qu'ils dominent) -->
|
||||
<link href="<?= $racineWeb ?>Bootstrap_new/css/style_office.css?ver=2025.12.27.10" rel="stylesheet">
|
||||
<link href="<?= $racineWeb ?>Bootstrap_new/css/style_office.css?ver=2025.12.27.11" rel="stylesheet">
|
||||
<link href="<?= $racineWeb ?>Bootstrap_new/css/ux_enhancements.css?ver=2025.12.21.02" rel="stylesheet">
|
||||
|
||||
<!-- ============================================
|
||||
@@ -600,7 +600,7 @@ $activeChildId = $menuData['child'];
|
||||
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
|
||||
|
||||
<!-- Application Scripts -->
|
||||
<script src="/Js/fonctions.js?ver=2025.12.27.01"></script>
|
||||
<script src="/Js/fonctions.js?ver=2025.12.27.02"></script>
|
||||
|
||||
<?php if (est_anglophone()): ?>
|
||||
<script src="/Js/datepicker-eng.js"></script>
|
||||
|
||||
Reference in New Issue
Block a user