This commit is contained in:
Николай 2023-05-19 14:39:35 +04:00
parent b426a6373d
commit 1258a43786
8 changed files with 2683 additions and 8 deletions

View File

@ -49,14 +49,14 @@
@Html.DisplayFor(modelItem => item.BuildName)
</td>
<td>
<button onclick="getBuild(@item.Id)" type="button" class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#updateModal">
Обновить
</button>
<a class="btn btn-primary" asp-controller="Home" asp-action="LinkPurchase" asp-route-buildId="@item.Id">
Привязать
<a class="btn btn-success" asp-controller="Home" asp-action="LinkPurchase" asp-route-buildId="@item.Id">
<i class="fa fa-paperclip fa-rotate-90" aria-hidden="true"></i>
</a>
<button onclick="getBuild(@item.Id)" type="button" class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#updateModal">
<i class="fa fa-pencil" aria-hidden="true"></i>
</button>
<button onclick="getBuild(@item.Id)" type="button" class="btn btn-danger" data-bs-toggle="modal" data-bs-target="#deleteModal">
Удалить
<i class="fa fa-trash" aria-hidden="true"></i>
</button>
</td>
</tr>

View File

@ -51,8 +51,12 @@
@Html.DisplayFor(modelItem => item.BuildName)
</td>
<td>
<button onclick="getComment(@item.Id)" type="button" class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#updateModal">Изменить</button>
<button onclick="getComment(@item.Id)" type="button" class="btn btn-danger" data-bs-toggle="modal" data-bs-target="#deleteModal">Удалить</button>
<button onclick="getComment(@item.Id)" type="button" class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#updateModal">
<i class="fa fa-pencil" aria-hidden="true"></i>
</button>
<button onclick="getComment(@item.Id)" type="button" class="btn btn-danger" data-bs-toggle="modal" data-bs-target="#deleteModal">
<i class="fa fa-trash" aria-hidden="true"></i>
</button>
</td>
</tr>
}

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 434 KiB