@page "/admin/sites" @using ScadaLink.Security @using ScadaLink.Commons.Entities.Sites @using ScadaLink.Commons.Interfaces.Repositories @using ScadaLink.Communication @using ScadaLink.DeploymentManager @attribute [Authorize(Policy = AuthorizationPolicies.RequireAdmin)] @inject ISiteRepository SiteRepository @inject ArtifactDeploymentService ArtifactDeploymentService @inject CommunicationService CommunicationService @inject AuthenticationStateProvider AuthStateProvider @inject NavigationManager NavigationManager @inject IJSRuntime JS
No sites configured.
No sites match the filter.
}@site.SiteIdentifier
@(string.IsNullOrWhiteSpace(site.Description) ? "—" : site.Description)
No connections.
}
@(string.IsNullOrWhiteSpace(address) ? "—" : address)