ui for fs acl by circle

This commit is contained in:
Paul Schneider 2019-08-05 06:18:38 +02:00
commit 6298aab179
11 changed files with 323 additions and 21 deletions

View file

@ -11,6 +11,8 @@
<h4>Circle</h4>
<hr />
<div asp-validation-summary="ValidationSummary.ModelOnly" class="text-danger"></div>
<span asp-validation-for="OwnerId" class="text-danger" ></span>
<input asp-for="OwnerId" type="hidden" />
<div class="form-group">
<label asp-for="Name" class="col-md-2 control-label"></label>
<div class="col-md-10">
@ -18,13 +20,6 @@
<span asp-validation-for="Name" class="text-danger" ></span>
</div>
</div>
<div class="form-group">
<label asp-for="OwnerId" class="col-md-2 control-label"></label>
<div class="col-md-10">
<input asp-for="OwnerId" class="form-control" />
<span asp-validation-for="OwnerId" class="text-danger" ></span>
</div>
</div>
<div class="form-group">
<div class="col-md-offset-2 col-md-10">
<input type="submit" value="Create" class="btn btn-default" />

View file

@ -14,9 +14,6 @@
<th>
@Html.DisplayNameFor(model => model.Name)
</th>
<th>
@Html.DisplayNameFor(model => model.OwnerId)
</th>
<th></th>
</tr>
@ -25,9 +22,6 @@
<td>
@Html.DisplayFor(modelItem => item.Name)
</td>
<td>
@Html.DisplayFor(modelItem => item.OwnerId)
</td>
<td>
<a asp-action="Edit" asp-route-id="@item.Id">Edit</a> |
<a asp-action="Details" asp-route-id="@item.Id">Details</a> |