yavsc/Yavsc/Views/Git/Index.cshtml

31 lines
624 B
Plaintext

@model IEnumerable<Yavsc.Server.Models.IT.SourceCode.GitRepositoryReference>
@{
ViewData["Title"] = "Index";
}
<h2>Index</h2>
<p>
<a asp-action="Create">Create New</a>
</p>
<table class="table">
<tr>
<th>Chemin</th>
<th/>
</tr>
@foreach (var item in Model) {
<tr>
<td>
@item.Path
</td>
<td>
@Html.ActionLink("Edit", "Edit", new { id=item.Path }) |
@Html.ActionLink("Details", "Details", new { id=item.Path }) |
@Html.ActionLink("Delete", "Delete", new { id=item.Path })
</td>
</tr>
}
</table>