Update 2 files
- /html/src/css/style.css - /html/users.php
This commit is contained in:
parent
3e5713e2a4
commit
513587d721
@ -122,7 +122,7 @@ a {
|
||||
}
|
||||
|
||||
.row {
|
||||
display: flex;
|
||||
background-color: var(--dark-background);
|
||||
}
|
||||
|
||||
@media(max-width: 750px) {
|
||||
|
@ -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>';
|
||||
|
Loading…
x
Reference in New Issue
Block a user