[성현모] TestList 조회 페이지 개선
This commit is contained in:
@ -90,16 +90,11 @@
|
||||
<ChildContent>
|
||||
<RadzenStack Orientation="Orientation.Vertical">
|
||||
<RadzenStack Style="height: 5.6rem; font-size: 1.5rem;">
|
||||
<RadzenCard class="rz-mb-3 rz-p-0">
|
||||
<RadzenStack Style="width:100%; height:2.7rem; background-color:var(--rz-primary-lighter);" class="rz-pl-3">
|
||||
<RadzenLabel class="rz-p-1" Text="Summary">
|
||||
</RadzenLabel>
|
||||
</RadzenStack>
|
||||
<RadzenStack Style="height: 2.9rem;" Orientation="Orientation.Horizontal" AlignItems="AlignItems.Center" JustifyContent="JustifyContent.Start">
|
||||
<RadzenLabel class="rz-ml-10" Text=""></RadzenLabel>
|
||||
<RadzenLabel class="rz-ml-10" Text=""></RadzenLabel>
|
||||
</RadzenStack>
|
||||
</RadzenCard>
|
||||
<TitleCard HeaderText="Summary" ContentsHeight="2.9rem;">
|
||||
@* <RadzenLabel class="rz-ml-10" Text="123"></RadzenLabel>
|
||||
<RadzenLabel class="rz-ml-10" Text="456"></RadzenLabel>
|
||||
<RadzenLabel class="rz-ml-10" Text="789"></RadzenLabel> *@
|
||||
</TitleCard>
|
||||
</RadzenStack>
|
||||
|
||||
<RadzenStack Style="height:calc(100vh - 29rem);">
|
||||
@ -138,27 +133,20 @@
|
||||
else
|
||||
{
|
||||
<RadzenLabel Style="width:inherit; height: 5rem; min-height:5rem; background:var(--rz-danger); border: solid 2px var(--rz-grid-hover-color); overflow:auto;" class="rz-shadow-1" />
|
||||
}
|
||||
}
|
||||
|
||||
<RadzenCard Style="height: calc(100% - 5rem); overflow:hidden;" class="rz-p-0 rz-pb-2">
|
||||
<RadzenStack Style="height:100%;">
|
||||
<!--header-->
|
||||
<RadzenStack Style="width:100%; height:2.7rem; background-color:var(--rz-primary-lighter);" class="rz-pl-3">
|
||||
<RadzenLabel class="rz-p-1" Text="Test Information">
|
||||
</RadzenLabel>
|
||||
</RadzenStack>
|
||||
<!--info with scroll-->
|
||||
<RadzenStack Style="padding:1rem; color: var(--rz-grid-hover-color); overflow-y:auto;">
|
||||
<TitleCard HeaderText="Test Information" ContentsHeight="calc(100% - 5rem);" CardStyle="overflow:auto;">
|
||||
<RadzenStack Style="padding:1rem; color: var(--rz-grid-hover-color); overflow-y:auto; align-items:flex-start;">
|
||||
@foreach (var prop in history.GetType().GetProperties())
|
||||
{
|
||||
<RadzenStack Style="width:100%; background-color:transparent;" class="rz-border-bottom rz-p-1 rz-pb-2" Orientation="Orientation.Horizontal">
|
||||
<span style="width:12rem; min-width:12rem; font-size: 1.3rem;">@prop.Name</span>
|
||||
<span style="font-size:1.3rem; width:20rem; max-width:20rem; display:inline-block;white-space:normal;word-wrap:break-word;">@prop.GetValue(history)</span>
|
||||
<BlockLabel Text="@prop.GetValue(history).ToString()" MaxWidth="20rem"></BlockLabel>
|
||||
</RadzenStack>
|
||||
}
|
||||
</RadzenStack>
|
||||
</RadzenStack>
|
||||
</RadzenCard>
|
||||
</TitleCard>
|
||||
|
||||
<!--display TestList-->
|
||||
<RadzenButton ButtonStyle="ButtonStyle.Warning" Text="Display TestList" Click="@(() => OnClickDisplayTestList(history))"></RadzenButton>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user