develop dans master - première version stable #9
@@ -62,3 +62,11 @@ body {
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
}
|
||||
|
||||
.bouton-ajout{
|
||||
padding: .375rem .475rem;
|
||||
}
|
||||
|
||||
.alert {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-corner-down-right"><polyline points="15 10 20 15 15 20"></polyline><path d="M4 4v7a4 4 0 0 0 4 4h12"></path></svg>
|
||||
|
After Width: | Height: | Size: 318 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-link"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path></svg>
|
||||
|
After Width: | Height: | Size: 371 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="#fff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-plus"><line x1="12" y1="5" x2="12" y2="19"></line><line x1="5" y1="12" x2="19" y2="12"></line></svg>
|
||||
|
After Width: | Height: | Size: 296 B |
@@ -32,7 +32,7 @@ require_once($_SERVER["DOCUMENT_ROOT"]."/services/fonctions/messages/messages.ph
|
||||
|
||||
?>
|
||||
<form method="post" action="/services/traitements/utilisateurs/identification.php">
|
||||
<div class="form-floating mb-3">
|
||||
<div class="form-floating mb-3 mt-3">
|
||||
<input type="email" name="identifiant" class="form-control" id="identifiant" placeholder="nom@example.fr" required/>
|
||||
<label for="identifiant">Votre nom d'utilisateur</label>
|
||||
</div>
|
||||
@@ -40,7 +40,7 @@ require_once($_SERVER["DOCUMENT_ROOT"]."/services/fonctions/messages/messages.ph
|
||||
<input type="password" name="mdp" class="form-control" id="mdp" placeholder="Mot de passe" required/>
|
||||
<label for="mdp">Votre mot de passe</label>
|
||||
</div>
|
||||
<button id="envoyer" type="submit" class="btn btn-outline-primary">envoyer</button>
|
||||
<button id="envoyer" type="submit" class="btn btn-primary">envoyer</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -17,11 +17,13 @@ $liste_alias_virtuels = listeAliasVirtuelsPostfix($pdo);
|
||||
*/
|
||||
if (testPrivileges()=="administrateur") {
|
||||
echo <<<_HEREDOC_
|
||||
<div>
|
||||
<div class="row">
|
||||
<div class="col-12 col-md-6">
|
||||
<div class="card mt-4">
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">Choix de l'adresse</h5>
|
||||
<form id="form_choix_utilisateur" action="/services/traitements/utilisateurs/changeUtilisateur.php" method="post">
|
||||
<div>
|
||||
<h2>Choix de l'adresse</h2>
|
||||
<select name="choix_utilisateur" onchange="autoSoumission(this);">
|
||||
<select class="form-select" name="choix_utilisateur" onchange="autoSoumission(this);">
|
||||
_HEREDOC_;
|
||||
|
||||
/**
|
||||
@@ -40,17 +42,21 @@ _HEREDOC_;
|
||||
|
||||
echo <<<_HEREDOC_
|
||||
</select>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
_HEREDOC_;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
||||
|
||||
<div>
|
||||
<h2>Ajouter un alias virtuel</h2>
|
||||
<div class="col-12 col-md-6">
|
||||
<div class="card mt-4">
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">Ajouter un alias virtuel</h5>
|
||||
<form action="/services/traitements/alias_virtuels/ajoutAliasVirtuels.php" method="post">
|
||||
<div class="input-group">
|
||||
<?php
|
||||
|
||||
/**
|
||||
@@ -58,13 +64,15 @@ _HEREDOC_;
|
||||
*/
|
||||
$prefixe_utilisateur=retournePrefixeUtilisateurPostfix($pdo);
|
||||
if (!empty($prefixe_utilisateur)) {
|
||||
echo "<span>$prefixe_utilisateur</span>";
|
||||
echo "<span class=\"input-group-text\">$prefixe_utilisateur</span>";
|
||||
}
|
||||
|
||||
?>
|
||||
<input type="text" id="nom_pour_filtre" name="nom_alias_virtuel" placeholder="alias*" onkeyup="filtreValeurs();" required>
|
||||
<span>@</span>
|
||||
<select name="choix_domaine_alias_virtuel">
|
||||
<input type="text" class="form-control" id="nom_pour_filtre" name="nom_alias_virtuel" placeholder="alias*" onkeyup="filtreValeurs();" required>
|
||||
<span class="input-group-text">@</span>
|
||||
<select class="form-select" name="choix_domaine_alias_virtuel">
|
||||
<?php
|
||||
|
||||
try {
|
||||
foreach ($liste_domaines as $domaine_bdd => $domaine) {
|
||||
echo "<option value=\"".$domaine['domaine']."\">".$domaine['domaine']."</option>\n";
|
||||
@@ -80,11 +88,17 @@ _HEREDOC_;
|
||||
<option value=\"".$domaine['domaine']."\">".$domaine['domaine']."</option>
|
||||
</select>
|
||||
<p id="domaine_alias"><?php //echo $liste_domaines[0]["domaine"]; ?></p>-->
|
||||
<p>vers <?php echo $_SESSION['pseudo_utilisateur'] ?></p>
|
||||
<input type="submit" value="Ajouter">
|
||||
<button class="btn btn-primary bouton-ajout" type="submit"><img src="/fichiers/svg/plus.svg"/></button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h2>Alias de <?php echo $_SESSION['pseudo_utilisateur']; ?></h2>
|
||||
<div class="card mt-4">
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">Alias de <?php echo $_SESSION['pseudo_utilisateur']; ?></h5>
|
||||
<form class="" action="/services/traitements/alias_virtuels/editEtatAliasVirtuels.php" method="post">
|
||||
<div class="row" id="liste_pour_filtre">
|
||||
<?php
|
||||
@@ -133,7 +147,7 @@ _HEREDOC_;
|
||||
</div>
|
||||
<button class="bouton-flotant" type="submit"><img src="/fichiers/svg/save.svg"/></button>
|
||||
</form>
|
||||
|
||||
<script src="/fichiers/js/filtre.js"></script>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script src="/fichiers/js/filtre.js"></script>
|
||||
|
||||
Reference in New Issue
Block a user