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