20-12-2022
This commit is contained in:
parent
1e925242bc
commit
6bca1f53f4
@ -8,6 +8,8 @@ namespace ECM.JobRunner.Web.Data
|
|||||||
private readonly Logger logger;
|
private readonly Logger logger;
|
||||||
private readonly IEDMIServiceChannel channel;
|
private readonly IEDMIServiceChannel channel;
|
||||||
|
|
||||||
|
public string Title = "No Title";
|
||||||
|
|
||||||
public HelperService(LoggingService Logging, WcfService Wcf)
|
public HelperService(LoggingService Logging, WcfService Wcf)
|
||||||
{
|
{
|
||||||
logger = Logging.LogConfig.GetLogger();
|
logger = Logging.LogConfig.GetLogger();
|
||||||
|
|||||||
@ -27,7 +27,11 @@
|
|||||||
@if (filteredEntries == null)
|
@if (filteredEntries == null)
|
||||||
{
|
{
|
||||||
<ul class="list-group">
|
<ul class="list-group">
|
||||||
<li class="list-group-item">Loading Job History..</li>
|
<li class="list-group-item">
|
||||||
|
<div class="spinner-border spinner-border-sm text-primary" role="status">
|
||||||
|
<span class="visually-hidden">Loading...</span>
|
||||||
|
</div> Loading Job History..
|
||||||
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
}
|
}
|
||||||
else if (filteredEntries.Count == 0)
|
else if (filteredEntries.Count == 0)
|
||||||
|
|||||||
@ -1,6 +1,14 @@
|
|||||||
@page "/"
|
@using ECM.JobRunner.Web.Data;
|
||||||
|
@inject HelperService Helper;
|
||||||
|
@page "/"
|
||||||
|
|
||||||
<PageTitle>Index</PageTitle>
|
<PageTitle>Index</PageTitle>
|
||||||
|
|
||||||
<h3>ECM Job Runner</h3>
|
<h3>ECM Job Runner</h3>
|
||||||
|
|
||||||
|
@code {
|
||||||
|
protected override void OnInitialized()
|
||||||
|
{
|
||||||
|
Helper.Title = "Start";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
@using ECM.JobRunner.Web.Data;
|
@using ECM.JobRunner.Web.Data;
|
||||||
@inherits LayoutComponentBase
|
@inherits LayoutComponentBase
|
||||||
@inject WcfService Wcf
|
@inject WcfService Wcf
|
||||||
|
@inject HelperService Helper;
|
||||||
|
|
||||||
<PageTitle>ECM.JobRunner.Web</PageTitle>
|
<PageTitle>ECM.JobRunner.Web</PageTitle>
|
||||||
|
|
||||||
@ -11,7 +12,7 @@
|
|||||||
|
|
||||||
<main>
|
<main>
|
||||||
<div class="top-row px-4 d-flex align-content-between justify-content-between">
|
<div class="top-row px-4 d-flex align-content-between justify-content-between">
|
||||||
<strong>Page Title</strong>
|
<strong>@Helper.Title</strong>
|
||||||
<a href="https://docs.microsoft.com/aspnet/" target="_blank">About</a>
|
<a href="https://docs.microsoft.com/aspnet/" target="_blank">About</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user