Update manage_user.php

This commit is contained in:
Janis Steiner
2024-06-27 12:59:08 +00:00
committed by GitHub
parent e2e1507802
commit 4bdd833e14

View File

@@ -1,5 +1,6 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<title>Manage user</title>
<?php <?php
// Initialize the session // Initialize the session
session_start(); session_start();
@@ -26,7 +27,7 @@ function load_user()
} }
</script> </script>
<?php $color=$_SESSION["color"]; ?> <?php $color=$_SESSION["color"]; ?>
<?php echo(" <body style='background-color:$color'> ");?> <?php echo("<body style='background-color:$color'> ");?>
<div id="content"></div> <div id="content"></div>
<?php <?php
function get_perm_string(){ function get_perm_string(){
@@ -171,12 +172,13 @@ function load_user()
<div class="container" style="min-height:95vh"> <div class="container" style="min-height:95vh">
<div class="row"> <div class="row">
<div class="col-mt-12"> <div class="col-mt-12">
<h4>Nach Benutzer suchen, um zu verwalten</h4> <div style="display:flex">
<form action="manage_user.php" method="GET"> <h4>Nach Benutzer suchen, um zu verwalten</h4>
<input type="text" class="form-control" name="username"> <form action="manage_user.php" method="GET">
<button type="submit" class="btn btn-primary">Search</button> <input type="text" class="form-control" name="username" style="width:70%">
</form> <button type="submit" class="btn btn-primary" style="width:25%">Search</button>
</form>
</div>
<!-- list users and their permissions --> <!-- list users and their permissions -->
<?php <?php
echo("<table class='table'>"); echo("<table class='table'>");