mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-10 07:22:35 -07:00
More for #844
This commit is contained in:
parent
262a90e05c
commit
ad2169ca17
3 changed files with 6 additions and 3 deletions
|
@ -57,6 +57,7 @@ namespace Ombi.UI.Modules.Admin
|
||||||
|
|
||||||
WatcherSettings = watcher;
|
WatcherSettings = watcher;
|
||||||
Analytics = a;
|
Analytics = a;
|
||||||
|
CpSettings = cp;
|
||||||
|
|
||||||
Before += (ctx) => Security.AdminLoginRedirect(Permissions.Administrator, ctx);
|
Before += (ctx) => Security.AdminLoginRedirect(Permissions.Administrator, ctx);
|
||||||
|
|
||||||
|
|
|
@ -101,7 +101,8 @@ namespace Ombi.UI.Modules
|
||||||
|| x.Name.Equals(JobNames.PlexChecker)
|
|| x.Name.Equals(JobNames.PlexChecker)
|
||||||
|| x.Name.Equals(JobNames.SonarrCacher)
|
|| x.Name.Equals(JobNames.SonarrCacher)
|
||||||
|| x.Name.Equals(JobNames.SrCacher)
|
|| x.Name.Equals(JobNames.SrCacher)
|
||||||
|| x.Name.Equals(JobNames.PlexCacher));
|
|| x.Name.Equals(JobNames.PlexCacher)
|
||||||
|
|| x.Name.Equals(JobNames.WatcherCacher));
|
||||||
|
|
||||||
|
|
||||||
return Response.AsJson(cacherJobs.Any()
|
return Response.AsJson(cacherJobs.Any()
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
@using Ombi.UI.Resources
|
@using Ombi.UI.Helpers
|
||||||
|
@using Ombi.UI.Resources
|
||||||
@inherits Nancy.ViewEngines.Razor.NancyRazorViewBase<Ombi.Core.SettingModels.AuthenticationSettings>
|
@inherits Nancy.ViewEngines.Razor.NancyRazorViewBase<Ombi.Core.SettingModels.AuthenticationSettings>
|
||||||
|
|
||||||
<div class="home">
|
<div class="home">
|
||||||
|
@ -30,7 +31,7 @@
|
||||||
<script>
|
<script>
|
||||||
$(function () {
|
$(function () {
|
||||||
|
|
||||||
var base = $('#baseUrl').val();
|
var base = '@Html.GetBaseUrl()';
|
||||||
|
|
||||||
$('#contentBody').on('click', '#loginBtn', function (e) {
|
$('#contentBody').on('click', '#loginBtn', function (e) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue