34 lines
1.3 KiB
Plaintext
34 lines
1.3 KiB
Plaintext
|
<div class="container">
|
|||
|
<div class="row">
|
|||
|
<div class="col-sm-12">
|
|||
|
<h1>Paramètres du système destinataire</h1>
|
|||
|
<h2>Vérifications SPF, DKIM et DMARC</h2>
|
|||
|
<form method="POST" class="mt-3 container">
|
|||
|
[% FOR item IN ['spf', 'dkim', 'dmarc'] %]
|
|||
|
<div class="row mb-2 border-bottom">
|
|||
|
<div class="col-sm-7 form-check form-switch">
|
|||
|
<label class="form-check-label" for="[% item %]-status">Activer le contrôle [% item.upper %]</label>
|
|||
|
<input class="form-check-input" type="checkbox" role="switch" id="[% item %]-status"
|
|||
|
name="[% item %]-status"
|
|||
|
[%- IF system_status.item(item) == 'enabled' %] checked[% END -%]>
|
|||
|
</div>
|
|||
|
<div class="col-sm-5" for="[% item %]-status">
|
|||
|
État actuel :
|
|||
|
[% IF system_status.item(item) == 'enabled' %]
|
|||
|
<span class="text-success">activé</span>
|
|||
|
[% ELSE %]
|
|||
|
<span class="text-danger">inactif</span>
|
|||
|
[% END %]
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
[% END %]
|
|||
|
<div class="row mt-3">
|
|||
|
<div class="col">
|
|||
|
<button class="btn btn-primary" type="submit">Valider</button>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</form>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|