mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-07 13:41:13 -07:00
Added latest version code and view. Need to finish the view #11
This commit is contained in:
parent
67ecbbf178
commit
33130589ae
20 changed files with 297 additions and 16 deletions
|
@ -100,6 +100,7 @@ namespace PlexRequests.UI.Modules
|
|||
|
||||
Get["/emailnotification"] = _ => EmailNotifications();
|
||||
Post["/emailnotification"] = _ => SaveEmailNotifications();
|
||||
Get["/status"] = _ => Status();
|
||||
}
|
||||
|
||||
private Negotiator Authentication()
|
||||
|
@ -272,5 +273,12 @@ namespace PlexRequests.UI.Modules
|
|||
Log.Info("Saved email settings, result: {0}", result);
|
||||
return Context.GetRedirect("~/admin/emailnotification");
|
||||
}
|
||||
|
||||
private Negotiator Status()
|
||||
{
|
||||
var checker = new StatusChecker();
|
||||
var status = checker.GetStatus();
|
||||
return View["Status", status];
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue