поломанный fontawesome

This commit is contained in:
Николай 2023-05-16 18:11:20 +04:00
parent a2b22658c3
commit 8cc02e4532
5 changed files with 13 additions and 2 deletions

View File

@ -12,6 +12,7 @@
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="FontAwesome" Version="4.7.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="7.0.4"> <PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="7.0.4">
<PrivateAssets>all</PrivateAssets> <PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>

View File

@ -49,8 +49,15 @@
</td> </td>
<td> <td>
<div> <div>
<button onclick="getBuild(@item.Id)" type="button" class="btn btn-primary btn-lg mb-5" data-bs-toggle="modal" data-bs-target="#updateModal">Изменить</button> <button onclick="getBuild(@item.Id)" type="button" class="btn btn-primary btn-lg mb-5" data-bs-toggle="modal" data-bs-target="#updateModal">
<button onclick="getBuild(@item.Id)" type="button" class="btn btn-primary btn-lg mb-5" data-bs-toggle="modal" data-bs-target="#deleteModal">Удалить</button> <i class="fa fa-pencil" aria-hidden="true"></i>
</button>
<button onclick="getBuild(@item.Id)" type="button" class="btn btn-primary btn-lg mb-5" data-bs-toggle="modal" data-bs-target="#deleteModal">
<i class="fa fa-trash" aria-hidden="true"></i>
</button>
<button onclick="deleteComponent(@item.Id)" type="button" class="btn btn-danger">
<i class="fa fa-trash" aria-hidden="true"></i>
</button>
</div> </div>
</td> </td>
</tr> </tr>

View File

@ -77,6 +77,7 @@
</div> </div>
} }
</div> </div>
@section Styles @section Styles
{ {
<style> <style>

View File

@ -7,6 +7,7 @@
<link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.min.css" /> <link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.min.css" />
<link rel="stylesheet" href="~/css/site.css" asp-append-version="true" /> <link rel="stylesheet" href="~/css/site.css" asp-append-version="true" />
<link rel="stylesheet" href="~/HardwareShopWorkerApp.styles.css" asp-append-version="true" /> <link rel="stylesheet" href="~/HardwareShopWorkerApp.styles.css" asp-append-version="true" />
<link rel="stylesheet" href="~/lib/font-awesome-4.7.0/css/font-awesome.min.css">
</head> </head>
<body> <body>
@RenderSection("Header") @RenderSection("Header")

View File

@ -8,6 +8,7 @@
<link rel="stylesheet" href="~/css/site.css" asp-append-version="true" /> <link rel="stylesheet" href="~/css/site.css" asp-append-version="true" />
<link rel="stylesheet" href="~/HardwareShopWorkerApp.styles.css" asp-append-version="true" /> <link rel="stylesheet" href="~/HardwareShopWorkerApp.styles.css" asp-append-version="true" />
<link rel="stylesheet" href="~/lib/font-awesome-4.7.0/css/font-awesome.min.css"> <link rel="stylesheet" href="~/lib/font-awesome-4.7.0/css/font-awesome.min.css">
@await RenderSectionAsync("Styles", required: false)
</head> </head>
<body> <body>
<header> <header>