-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
57 additions
and
11 deletions.
There are no files selected for viewing
24 changes: 24 additions & 0 deletions
24
StpFoodBlazor/StpFoodBlazor/Components/Layout/DealTableBodyPlaceholder.razor
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
@inherits LayoutComponentBase | ||
@using StpFoodBlazor.Models | ||
|
||
<span id="deals_table_body_placeholder" class="placeholder-glow" aria-hidden="true"> | ||
@{var rowCounter = 0;} | ||
@foreach (var deal in Enumerable.Range(1, 30)) | ||
{ | ||
<div class="row rounded@(rowCounter % 2 == 0 ? " bg-secondary opacity-25" : "")"> | ||
@if (string.IsNullOrEmpty(selectedDayOfWeek)) | ||
{ | ||
<span class="col-1 placeholder"></span> | ||
} | ||
<span class="col-3 placeholder"></span> | ||
<span class="col placeholder"></span> | ||
</div> | ||
rowCounter++; | ||
} | ||
</span> | ||
|
||
@code | ||
{ | ||
[Parameter] | ||
public string selectedDayOfWeek { get; set; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters