added syling for desktop

This commit is contained in:
2022-06-19 15:05:47 +02:00
parent 7fcd483592
commit 9ddc2616de
10 changed files with 342 additions and 175 deletions

View File

@@ -8,41 +8,50 @@
?>
<body>
<div class="headline">
<h2>Benutzerverwaltung</h2>
</div>
<div>
<form action="add_user.php" method="get">
<input type="submit" value="Benutzer hinzufügen"/>
</form>
</div>
<div>
<form action="edit_user.php" method="get">
<input id="edit_user" type="button" value="Eintrag bearbeiten" class="edit" disabled="true"/>
<input id="user_id_val" type="hidden" name="id"/>
</form>
</div>
<div>
<form action="delete_user.php" method="post">
<input type="button" id="delete_user" value="Löschen" class="edit" disabled="true"/>
<input type="hidden" id="id_delete" name="id"/>
</form>
</div>
<div class="table-div">
<table id="table">
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Benutzergruppe</th>
<th scope="col">Gebunden an Station</th>
</tr>
</thead>
<tbody>
<?php
load_users($con);
?>
</tbody>
</table>
<div class=" center">
<div class="headline">
<h2>Benutzerverwaltung</h2>
</div>
<div class="input-table">
<div class="input">
<div class="btn-div">
<form action="delete_user.php" method="post">
<span class="gg-trash icon edit disabled" id="icon-delete" disabled="true"></span>
<input type="button" id="delete_user" value="" class="edit" disabled="true"/>
<input type="hidden" id="id_delete" name="id"/>
</form>
</div>
<div class="btn-div">
<form action="edit_user.php" method="get">
<span class="gg-pen icon edit disabled" id="icon-edit" disabled="true"></span>
<input id="edit_user" type="button" value="" class="edit" disabled="true"/>
<input id="user_id_val" type="hidden" name="id"/>
</form>
</div>
<div class="btn-div">
<form action="add_user.php" method="get">
<span class="gg-add-r icon" id="icon-add"></span>
<input type="submit" value=""/>
</form>
</div>
</div>
<div class="table-div">
<table id="table">
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Benutzergruppe</th>
<th scope="col">Gebunden an Station</th>
</tr>
</thead>
<tbody>
<?php
load_users($con);
?>
</tbody>
</table>
</div>
</div>
</div>
</body>