47 lines
2.5 KiB
Plaintext
47 lines
2.5 KiB
Plaintext
[% BLOCK role %]
|
|
<a class="nav-link dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
[% label %]
|
|
</a>
|
|
[% END %]
|
|
<nav class="navbar navbar-expand-md bg-light mb-3">
|
|
<div class="container-fluid">
|
|
<a class="navbar-brand" href="[% request.uri_base %]/dashboard">Démo SPF/DKIM/DMARC</a>
|
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Afficher ou cacher la navigation">
|
|
<span class="navbar-toggler-icon"></span>
|
|
</button>
|
|
<div class="collapse navbar-collapse" id="navbarSupportedContent">
|
|
<ul class="navbar-nav me-auto mb-2 mb-md-0">
|
|
<li class="nav-item">
|
|
<a class="nav-link" href="[% request.uri_base %]/dashboard">Tableau de bord</a>
|
|
</li>
|
|
<li class="nav-item dropdown">
|
|
[% PROCESS role id="attacker" label="Attaquant" %]
|
|
<ul class="dropdown-menu">
|
|
<li><a class="dropdown-item" href="[% request.uri_base %]/attacker/spoof">Envoyer des messages frauduleux</a></li>
|
|
<li><a class="dropdown-item" href="[% request.uri_base %]/dns/zone-edit/attaquant.example">Éditer la zone DNS</a></li>
|
|
</ul>
|
|
</li>
|
|
<li class="nav-item dropdown">
|
|
[% PROCESS role id="sender" label="Expéditeur" %]
|
|
<ul class="dropdown-menu">
|
|
<li><a class="dropdown-item" href="[% request.uri_base %]/sender/send-email">Envoyer un message légitime</a></li>
|
|
<li><a class="dropdown-item" href="[% request.uri_base %]/sender/dkim-keys">Afficher des clefs DKIM</a></li>
|
|
<li><a class="dropdown-item" href="[% request.uri_base %]/dkim-generator/sender">Générer des clefs DKIM</a></li>
|
|
<li><a class="dropdown-item" href="[% request.uri_base %]/dns/zone-edit/expediteur.example">Éditer la zone DNS</a></li>
|
|
</ul>
|
|
</li>
|
|
<li class="nav-item dropdown">
|
|
[% PROCESS role id="recipient" label="Destinataire" %]
|
|
<ul class="dropdown-menu">
|
|
<li><a class="dropdown-item" href="[% request.uri_base %]/recipient/settings">Paramétrer le système</a></li>
|
|
<li><a class="dropdown-item" href="[% request.uri_base %]/dns/zone-edit/destinataire.example">Éditer la zone DNS</a></li>
|
|
<li><a class="dropdown-item" href="[% request.uri_base %]/recipient/webmail">Relever les courriels</a></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
|
|
|