diff --git a/html/users.php b/html/users.php index de1fb5aa..3dc1a9fa 100644 --- a/html/users.php +++ b/html/users.php @@ -41,6 +41,44 @@ if(isset($_POST['userid']) && isset($_POST['role']) && isset($_POST['accreditati } } + + + .user { + background-color: var(--banner-background); + display: flex; + padding: 0.5em 1em 0.5em 0.5em; + border-radius: 10em; + width: 15em; + } + + .user-username { + + } + + .user-display-name { + font-weight: bold; + display: flex; + } + + .user-display-name .certification { + transform: translate(0, -15%); + width: 1.5em; + margin-left: 0.5em; + } + + .user-names { + margin: auto; + } + + .user-pp { + height: 4em; + } + + .user-pp-image { + width: 4em; + height: 4em; + border-radius: 4em; + } <?=$title?> @@ -81,13 +119,13 @@ if(isset($_POST['userid']) && isset($_POST['role']) && isset($_POST['accreditati if ($resultat) { foreach($resultat as $row) { - $auteur_pp = $row['profile_picture'] == NULL ? "https://abs.twimg.com/sticky/default_profile_images/default_profile_400x400.png" : $row['profile_picture']; + $user_pp = $row['profile_picture'] == NULL ? "https://abs.twimg.com/sticky/default_profile_images/default_profile_400x400.png" : $row['profile_picture']; echo ""; - echo "
"; - echo "
"; - echo "
"; - echo "
" . $resultat[0]['display_name']; - echo "
"; + echo "
"; + echo "
"; + echo "
" . $resultat[0]['display_name']; + echo "
"; foreach($classifications as $id => $nom) { if($row['accreditation'] == $id) { @@ -108,7 +146,7 @@ if(isset($_POST['userid']) && isset($_POST['role']) && isset($_POST['accreditati echo ""; echo "
"; echo "
"; - echo "
@" . $resultat[0]['username'] . "
"; + echo "
@" . $resultat[0]['username'] . "
"; echo "
"; } }