@* /admin/scheduled-jobs This view is the application fallback of the scheduler page, rendered only when the theme page of the scheduler cannot be loaded. It is intentionally plain and unstyled: on a healthy site the page comes from the theme's scheduler template, styled by the theme. It keeps the DOM contract the client script binds to, without any images or colors, so that the active theme cannot leak into the fallback. *@ @using Lumina.Presentation.Web.Common.DTO.Configuration @using Lumina.Presentation.Web.Common.DTO.Scheduling @using Lumina.Presentation.Web.Common.Routes @using Lumina.Presentation.Web.Common.Services @using Microsoft.AspNetCore.Mvc.Localization @using Microsoft.Extensions.Options @using System.Linq @inject IViewLocalizer _localizer @inject IUrlService _urlService @inject IOptionsSnapshot _serverConfigurationOptions @{ // Generate a unique id for the scripts section of this view, so it can be dynamically loaded/unloaded by the global AJAX navigator handler. var scriptId = ScriptIdentifierHelper.GenerateScriptId(); var serverConfiguration = _serverConfigurationOptions.Value; string scheduledJobsHubUrl = $"{serverConfiguration.BaseAddress}:{serverConfiguration.Port}/scheduledJobsHub"; } @Html.AntiForgeryToken()

@_localizer["ScheduledJobs"]

@_localizer["All"]
@_localizer["TaskType.ScanMediaLibraries"]
@_localizer["TaskType.CleanTemporaryFiles"]
@_localizer["TaskType.RepairThemes"]
@_localizer["TaskType.CleanScheduledJobExecutionHistory"]
@_localizer["Minutes"]
@_localizer["Hours"]
@_localizer["Days"]

@_localizer["CurrentJobs"]

@_localizer["Id"] @_localizer["Name"] @_localizer["JobType"] @_localizer["ScheduleType"] @_localizer["Interval"] @_localizer["Time"] @_localizer["Status"] @_localizer["Started"] @_localizer["Completed"] @_localizer["Actions"]

@_localizer["AddNewJob"]

@_localizer["TaskType.ScanMediaLibraries"]
@_localizer["TaskType.CleanTemporaryFiles"]
@_localizer["TaskType.RepairThemes"]
@_localizer["TaskType.CleanScheduledJobExecutionHistory"]
@_localizer["IntervalSchedule"]
@_localizer["DailySchedule"]
@_localizer["StartupSchedule"]
@section Scripts { }