Skip to content

Commit d1ff160

Browse files
authored
Merge pull request #669 from GregFinzer/feature/teamSheet
Feature/team sheet
2 parents 3b55537 + 2fbf3b5 commit d1ff160

File tree

5 files changed

+354
-164
lines changed

5 files changed

+354
-164
lines changed

BedBrigade.Client/Components/BedRequestGrid.razor

Lines changed: 23 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ else
1616
<UserInfo />
1717
</div>
1818
</div>
19-
<div class="col-md-12 control-sec">
19+
<div class="col-md-12 control-sec position-relative">
2020
<div class="content-wrapper">
2121
<div class="row">
2222

@@ -40,12 +40,12 @@ else
4040
ClipMode="ClipMode.EllipsisWithTooltip">
4141
<GridPageSettings PageSizes="@(new int[] { 5, 10, 15, 20, 25 })" PageSize="15" />
4242
<GridEditSettings ShowDeleteConfirmDialog="true"></GridEditSettings>
43-
<GridEvents DataBound=@DataBound
43+
<GridEvents TValue="BedRequest"
44+
DataBound=@DataBound
4445
Destroyed=@OnDestroyed
4546
OnLoad=@OnLoad
4647
OnToolbarClick=@OnToolBarClick
47-
OnActionBegin=@OnActionBegin
48-
TValue="BedRequest" />
48+
OnActionBegin=@OnActionBegin />
4949
<GridTemplates>
5050
<EmptyRecordTemplate>
5151
<span>@RecordText</span>
@@ -85,6 +85,12 @@ else
8585
</SfGrid>
8686
</div>
8787
</div>
88+
@if (IsGeneratingFile)
89+
{
90+
<div class="loading-overlay">
91+
<Spinner />
92+
</div>
93+
}
8894
</div>
8995
}
9096

@@ -146,4 +152,17 @@ else
146152
text-align: center;
147153
}
148154
155+
.loading-overlay {
156+
position: absolute;
157+
top: 0;
158+
left: 0;
159+
width: 100%;
160+
height: 100%;
161+
background: rgba(255,255,255,0.6);
162+
display: flex;
163+
align-items: center;
164+
justify-content: center;
165+
z-index: 1000;
166+
}
167+
149168
</style>

0 commit comments

Comments
 (0)