mirror of
https://github.com/LD-Reborn/Berufsschule_HAM.git
synced 2025-12-20 06:51:55 +00:00
add initial dummy overview layout with placeholder buttons and table
This commit is contained in:
@@ -4,6 +4,73 @@
|
||||
ViewData["Title"] = T["Home Page"];
|
||||
}
|
||||
|
||||
|
||||
<div class="container py-4">
|
||||
<h2 class="mb-3">Overview</h2>
|
||||
|
||||
|
||||
<div class="mb-4 d-flex flex-wrap gap-2">
|
||||
<button class="btn btn-outline-primary">Create user</button>
|
||||
<button class="btn btn-outline-secondary">Update user</button>
|
||||
<button class="btn btn-outline-danger">Delete user</button>
|
||||
<button class="btn btn-outline-primary">Create asset</button>
|
||||
<button class="btn btn-outline-primary">Create location</button>
|
||||
<button class="btn btn-outline-secondary">Update location</button>
|
||||
<button class="btn btn-outline-danger">Delete location</button>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="table-responsive">
|
||||
<table class="table table-striped align-middle">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>User</th>
|
||||
<th>Asset ID</th>
|
||||
<th>Asset Name</th>
|
||||
<th>Location</th>
|
||||
<th>Action</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>John Doe</td>
|
||||
<td>4827391</td>
|
||||
<td>Lorem Ipsum dolor sit amet</td>
|
||||
<td>BTG Raum 317</td>
|
||||
<td class="d-flex gap-2">
|
||||
<button class="btn btn-sm btn-primary">Update</button>
|
||||
<button class="btn btn-sm btn-danger">🗑️ Delete</button>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Max Mustermann</td>
|
||||
<td>9150732</td>
|
||||
<td>Lorem Ipsum dolor sit amet</td>
|
||||
<td>BTG Raum 317</td>
|
||||
<td class="d-flex gap-2">
|
||||
<button class="btn btn-sm btn-primary">Update</button>
|
||||
<button class="btn btn-sm btn-danger">🗑️ Delete</button>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Otto Normalverbraucher</td>
|
||||
<td>1642235</td>
|
||||
<td>Lorem Ipsum dolor sit amet</td>
|
||||
<td>BTG Raum 317</td>
|
||||
<td class="d-flex gap-2">
|
||||
<button class="btn btn-sm btn-primary">Update</button>
|
||||
<button class="btn btn-sm btn-danger">🗑️ Delete</button>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--
|
||||
|
||||
In case someone wants to reread this:
|
||||
|
||||
<div class="text-center">
|
||||
<h1 class="display-4">Crashcourse zu "MVC"</h1>
|
||||
<p>Die HTML, die grad gerendert wird, liegt in /Views/Home/ - dort sollte auch das Login später rein (bspw. als Login.cshtml)</p>
|
||||
@@ -20,3 +87,4 @@
|
||||
<p>Ein Model ist ganz einfach eine Klasse, wie man sie kennt.</p>
|
||||
<p>Logik kommt in den Controller und das HTML kommt in das View (... in der Praxis kommt ins View öfters mal auch bissl mehr Logik rein. Lässt sich nicht verhindern.)</p>
|
||||
</div>
|
||||
-->
|
||||
|
||||
Reference in New Issue
Block a user