80 lines
2.1 KiB
Text
80 lines
2.1 KiB
Text
@model IEnumerable<Yavsc.Models.YavscApiScope>
|
|
|
|
@{
|
|
ViewBag.Title = Localizer["ApiScope"];
|
|
Layout = null;
|
|
}
|
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
<head>
|
|
<meta name="viewport" content="width=device-width" />
|
|
<title>Index</title>
|
|
</head>
|
|
<body>
|
|
<p>
|
|
<a asp-action="Create">Create New</a>
|
|
</p>
|
|
<table class="table">
|
|
<thead>
|
|
<tr>
|
|
<th>
|
|
@Html.DisplayNameFor(model => model.Enabled)
|
|
</th>
|
|
<th>
|
|
@Html.DisplayNameFor(model => model.Name)
|
|
</th>
|
|
<th>
|
|
@Html.DisplayNameFor(model => model.DisplayName)
|
|
</th>
|
|
<th>
|
|
@Html.DisplayNameFor(model => model.Description)
|
|
</th>
|
|
<th>
|
|
@Html.DisplayNameFor(model => model.Required)
|
|
</th>
|
|
<th>
|
|
@Html.DisplayNameFor(model => model.Emphasize)
|
|
</th>
|
|
<th>
|
|
@Html.DisplayNameFor(model => model.ShowInDiscoveryDocument)
|
|
</th>
|
|
<th></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
@foreach (var item in Model) {
|
|
<tr>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.Enabled)
|
|
</td>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.Name)
|
|
</td>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.DisplayName)
|
|
</td>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.Description)
|
|
</td>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.Required)
|
|
</td>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.Emphasize)
|
|
</td>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.ShowInDiscoveryDocument)
|
|
</td>
|
|
<td>
|
|
<a asp-action="Edit" asp-route-id="@item.Id">Edit</a> |
|
|
<a asp-action="Details" asp-route-id="@item.Id">Details</a> |
|
|
<a asp-action="Delete" asp-route-id="@item.Id">Delete</a>
|
|
</td>
|
|
</tr>
|
|
}
|
|
</tbody>
|
|
</table>
|
|
</body>
|
|
</html>
|