Skip to content

Commit

Permalink
favicon updated, product upsert page updated, order list page updated
Browse files Browse the repository at this point in the history
  • Loading branch information
imadrig committed Nov 30, 2023
1 parent 9a0d888 commit b4d8e0b
Show file tree
Hide file tree
Showing 24 changed files with 14 additions and 40 deletions.
Binary file modified .vs/PiecesCandyCo/DesignTimeBuild/.dtbcache.v2
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified .vs/PiecesCandyCo/v17/.suo
Binary file not shown.
27 changes: 0 additions & 27 deletions PiecesCandyCo/Areas/Admin/Views/Order/Index.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -32,34 +32,7 @@
<th></th>
</tr>
</thead>
<!--<tbody>-->
<!-- use at symbol to use again -- foreach(var product in Model)
{
<tr>
<td>product.Name</td>
<td>product.Price</td>
<td>product.Price10</td>
<td>product.Category.Name</td>
<td>product.Description</td>

<td>
<div col-6>
<a asp-controller="Product" asp-action="Upsert" asp-route-id="product.Id" class="btn btn-outline-primary btn-sm">
<i class="bi bi-pencil-square"></i> Edit
</a>
</div>
</td>
<td>
<div col-6>
<a asp-controller="Product" asp-action="Delete" asp-route-id="product.Id" class="btn btn-outline-danger btn-sm">
<i class="bi bi-trash3-fill"></i> Delete
</a>
</div>
</td>
</tr>
} -->
<!--</tbody>-->
</table>
</div>

Expand Down
2 changes: 1 addition & 1 deletion PiecesCandyCo/Areas/Admin/Views/Product/Upsert.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<div class="col-10">
<div class="border p-3 mt-4">
<div class="row pb-2">
<h2 class="text-primary">@(Model.Product.Id != 0 ? "Update " : "Create ") New Product</h2>
<h2 class="text-primary">@(Model.Product.Id != 0 ? "Update " : "Create ") Product</h2>
<hr />

</div>
Expand Down
1 change: 1 addition & 0 deletions PiecesCandyCo/Views/Shared/_Layout.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" href="/favicon-32x32_1.png" type="image/x-icon">
<title>@ViewData["Title"] Pieces Candy Co.</title>
<link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.css" />
<link rel="stylesheet" href="~/PiecesCandyCo.styles.css" asp-append-version="true" />
Expand Down
Binary file modified PiecesCandyCo/bin/Debug/net7.0/PiecesCandyCo.dll
Binary file not shown.
Binary file modified PiecesCandyCo/bin/Debug/net7.0/PiecesCandyCo.pdb
Binary file not shown.

Large diffs are not rendered by default.

Binary file modified PiecesCandyCo/obj/Debug/net7.0/PiecesCandyCo.dll
Binary file not shown.
Binary file modified PiecesCandyCo/obj/Debug/net7.0/PiecesCandyCo.pdb
Binary file not shown.
8 changes: 4 additions & 4 deletions PiecesCandyCo/obj/Debug/net7.0/staticwebassets.build.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"Version": 1,
"Hash": "FIxzsJ9bwW2e88esODFUhsxZHoaEaesblL/owtrWlnE=",
"Hash": "S2vSvWn8vW2AQNMMSR6dUMDFjjRQO0+yAZNdXZsTDa4=",
"Source": "PiecesCandyCo",
"BasePath": "_content/PiecesCandyCo",
"Mode": "Default",
Expand Down Expand Up @@ -1088,12 +1088,12 @@
"OriginalItemSpec": "wwwroot\\css\\site.css"
},
{
"Identity": "C:\\Users\\PC-IM\\repos\\PiecesCandyCo\\PiecesCandyCo\\wwwroot\\favicon.ico",
"Identity": "C:\\Users\\PC-IM\\repos\\PiecesCandyCo\\PiecesCandyCo\\wwwroot\\favicon-32x32_1.png",
"SourceId": "PiecesCandyCo",
"SourceType": "Discovered",
"ContentRoot": "C:\\Users\\PC-IM\\repos\\PiecesCandyCo\\PiecesCandyCo\\wwwroot\\",
"BasePath": "_content/PiecesCandyCo",
"RelativePath": "favicon.ico",
"RelativePath": "favicon-32x32_1.png",
"AssetKind": "All",
"AssetMode": "All",
"AssetRole": "Primary",
Expand All @@ -1102,7 +1102,7 @@
"AssetTraitValue": "",
"CopyToOutputDirectory": "Never",
"CopyToPublishDirectory": "PreserveNewest",
"OriginalItemSpec": "wwwroot\\favicon.ico"
"OriginalItemSpec": "wwwroot\\favicon-32x32_1.png"
},
{
"Identity": "C:\\Users\\PC-IM\\repos\\PiecesCandyCo\\PiecesCandyCo\\wwwroot\\images\\logos\\Pieces.png",
Expand Down

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions PiecesCandyCo/obj/Debug/net7.0/staticwebassets.pack.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"PackagePath": "staticwebassets\\css\\site.css"
},
{
"Id": "C:\\Users\\PC-IM\\repos\\PiecesCandyCo\\PiecesCandyCo\\wwwroot\\favicon.ico",
"PackagePath": "staticwebassets\\favicon.ico"
"Id": "C:\\Users\\PC-IM\\repos\\PiecesCandyCo\\PiecesCandyCo\\wwwroot\\favicon-32x32_1.png",
"PackagePath": "staticwebassets\\favicon-32x32_1.png"
},
{
"Id": "C:\\Users\\PC-IM\\repos\\PiecesCandyCo\\PiecesCandyCo\\wwwroot\\images\\logos\\Pieces.png",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
<OriginalItemSpec>$([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\staticwebassets\css\site.css))</OriginalItemSpec>
</StaticWebAsset>
<StaticWebAsset Include="$([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\staticwebassets\favicon.ico))">
<StaticWebAsset Include="$([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\staticwebassets\favicon-32x32_1.png))">
<SourceType>Package</SourceType>
<SourceId>PiecesCandyCo</SourceId>
<ContentRoot>$(MSBuildThisFileDirectory)..\staticwebassets\</ContentRoot>
<BasePath>_content/PiecesCandyCo</BasePath>
<RelativePath>favicon.ico</RelativePath>
<RelativePath>favicon-32x32_1.png</RelativePath>
<AssetKind>All</AssetKind>
<AssetMode>All</AssetMode>
<AssetRole>Primary</AssetRole>
Expand All @@ -30,7 +30,7 @@
<AssetTraitValue></AssetTraitValue>
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
<OriginalItemSpec>$([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\staticwebassets\favicon.ico))</OriginalItemSpec>
<OriginalItemSpec>$([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\staticwebassets\favicon-32x32_1.png))</OriginalItemSpec>
</StaticWebAsset>
<StaticWebAsset Include="$([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\staticwebassets\images\logos\Pieces.png))">
<SourceType>Package</SourceType>
Expand Down
Binary file added PiecesCandyCo/wwwroot/favicon-32x32_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed PiecesCandyCo/wwwroot/favicon.ico
Binary file not shown.
2 changes: 1 addition & 1 deletion PiecesCandyCo/wwwroot/js/order.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function loadDataTable() {
data: 'id',
"render": function (data) {
return `<div class="w-75" role="group">
<a href="/admin/order/details?orderId=${data}" class="btn btn-outline-primary btn-sm mx-2"> <i class="bi bi-pencil-square"></i></a>
<a href="/admin/order/details?orderId=${data}" class="btn btn-outline-primary btn-sm mx-2"> <i class="bi bi-binoculars-fill"></i></a>
</div>`


Expand Down

0 comments on commit b4d8e0b

Please sign in to comment.