Files
mapo-core/MP-TAB2/MP-TAB/Components/Pages/StatusMap.razor
T
2023-12-18 11:36:24 +01:00

26 lines
813 B
Plaintext

@page "/"
@page "/home"
@page "/status-map"
@attribute [StreamRendering(false)]
<!-- Temporary workaround until MapRazorComponents supports AddAdditionalAssemblies -->
<!-- Once that is implemented, the main project won't need to include this file -->
@if (CurrListMSE == null || CurrListMSE.Count == 0)
{
<div class="row">
<div class="col-12 my-2 alert alert-warning fs-3">
executing on server
</div>
@for (int i = 0; i < 10; i++)
{
<div class="col-6 col-sm-6 col-md-4 col-lg-3 col-xl-2 mb-2 px-1 bloccoMacc">
<MP_TAB.Client.Components.MachineBlock></MP_TAB.Client.Components.MachineBlock>
</div>
}
</div>
}
else
{
<MP_TAB.Client.Pages.StatusMap ListMSE="@CurrListMSE"></MP_TAB.Client.Pages.StatusMap>
}