Update 2 files

- /html/src/css/style.css
- /html/users.php
This commit is contained in:
Jan BELLON 2024-03-07 21:15:42 +00:00
parent 3e5713e2a4
commit 513587d721
2 changed files with 2 additions and 2 deletions

View File

@ -122,7 +122,7 @@ a {
}
.row {
display: flex;
background-color: var(--dark-background);
}
@media(max-width: 750px) {

View File

@ -53,7 +53,7 @@ if($_SESSION['role'] < 4) {
if ($resultat) {
foreach($resultat as $row) {
echo "<div class='row'><form action='' method='post'><div>" . $row['display_name'] . "</div><div>" . $row['username'] . "</div><div>" . $row['email'] . "</div><div><select name='role' required>";
echo "<div class='row'><form action='' method='post'><div>Nom : " . $row['display_name'] . "</div><div>login : " . $row['username'] . "</div><div>Email : " . $row['email'] . "</div><div><select name='role' required>";
foreach($classifications as $id => $nom) {
if($row['role'] == $id) {
echo '<option value="' . $id .'" selected>' . $nom . '</option>';