Optische Anpassungen
This commit is contained in:
parent
fb7f7e74ea
commit
9ba01ba2a3
@ -28,22 +28,18 @@
|
||||
}
|
||||
else
|
||||
{
|
||||
<div class="form-group row">
|
||||
<div class="offset-4 col-8">
|
||||
<button name="submit" type="submit" class="btn btn-primary" @onclick="ShowCreateForm">Flasche hinzufügen</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<button name="submit" type="submit" class="btn btn-primary" @onclick="ShowCreateForm">Flasche hinzufügen</button>
|
||||
}
|
||||
|
||||
@if (FlaschenListe != null && FlaschenListe.Count > 0)
|
||||
{
|
||||
<div class="table-responsive">
|
||||
<div class="table-responsive mt-3">
|
||||
<table class="table table-striped table-hover table-bordered table-dark border-dark">
|
||||
<thead>
|
||||
<tr>
|
||||
<!--<th scope="col">ID</th>-->
|
||||
<th scope="col">Name</th>
|
||||
<th scope="col">Action</th>
|
||||
<th style="text-align:right;" scope="col">Action</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@ -52,7 +48,6 @@ else
|
||||
@if (EditFormVisible && FlascheToUpdate != null && FlascheToUpdate.Id == flasche.Id)
|
||||
{
|
||||
<tr>
|
||||
<!-- <th scope="row">@FlascheToUpdate.Id</th>-->
|
||||
<td> <input id="Name" name="Name" type="text" class="form-control" @bind="@FlascheToUpdate.Name" /></td>
|
||||
<td><button name="submit" type="submit" class="btn btn-primary" @onclick="() => UpdateEmployee(FlascheToUpdate)">Speichern</button></td>
|
||||
</tr>
|
||||
@ -60,11 +55,10 @@ else
|
||||
else
|
||||
{
|
||||
<tr>
|
||||
<!-- <th scope="row">@flasche.Id</th> -->
|
||||
<td>@flasche.Name</td>
|
||||
<td>
|
||||
<td style="text-align:right;">
|
||||
<button name="submit" type="submit" class="btn btn-primary" @onclick="() => ShowEditForm(flasche)">Bearbeiten</button>
|
||||
<button name="submit" type="submit" class="btn btn-primary" @onclick="() => DeleteFlasche(flasche)">Löschen</button>
|
||||
<button name="submit" type="submit" class="btn btn-outline-danger" @onclick="() => DeleteFlasche(flasche)">Löschen</button>
|
||||
</td>
|
||||
</tr>
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user