small ui fixes

This commit is contained in:
Janis Steiner
2024-11-28 14:42:45 +00:00
parent d9a8c83ad9
commit cc280021ed
2 changed files with 5 additions and 1 deletions

View File

@@ -29,6 +29,8 @@ while ($row = $result->fetch_assoc()) {
} }
if($row["class_id"]==0){ if($row["class_id"]==0){
echo "<option value='0' selected>Lehrperson</option>"; echo "<option value='0' selected>Lehrperson</option>";
}else{
echo "<option value='0'>Lehrperson</option>";
} }
echo "</select> echo "</select>
</td>"; </td>";

View File

@@ -36,7 +36,8 @@ function load_user()
<input type="text" class="form-control" name="username" placeholder="Benutzername eingeben"> <input type="text" class="form-control" name="username" placeholder="Benutzername eingeben">
<button type="submit" class="btn btn-primary">Suchen</button> <button type="submit" class="btn btn-primary">Suchen</button>
</form> </form>
<table class="table mt-5" id="userTable"> <div style="overflow-x: auto;">
<table class="table mt-5" id="userTable" >
<thead> <thead>
<tr> <tr>
<th>Nutzer</th> <th>Nutzer</th>
@@ -58,6 +59,7 @@ function load_user()
</thead> </thead>
<tbody></tbody> <tbody></tbody>
</table> </table>
</div>
</div> </div>
<div id="footer"> <div id="footer">