mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-11 15:56:05 -07:00
Small changes
This commit is contained in:
parent
58c9cc6776
commit
cc3d41aa9a
4 changed files with 60 additions and 6 deletions
|
@ -67,6 +67,7 @@
|
|||
<Compile Include="IRequestService.cs" />
|
||||
<Compile Include="ISettingsService.cs" />
|
||||
<Compile Include="SettingModels\AuthenticationSettings.cs" />
|
||||
<Compile Include="SettingModels\EmailNotificationSettings.cs" />
|
||||
<Compile Include="SettingModels\PlexSettings.cs" />
|
||||
<Compile Include="SettingModels\SonarrSettings.cs" />
|
||||
<Compile Include="SettingModels\SickRageSettings.cs" />
|
||||
|
|
13
PlexRequests.Core/SettingModels/EmailNotificationSettings.cs
Normal file
13
PlexRequests.Core/SettingModels/EmailNotificationSettings.cs
Normal file
|
@ -0,0 +1,13 @@
|
|||
namespace PlexRequests.Core.SettingModels
|
||||
{
|
||||
public class EmailNotificationSettings : Settings
|
||||
{
|
||||
public string EmailHost { get; set; }
|
||||
public int EmailPort { get; set; }
|
||||
public bool EmailAuthentication { get; set; }
|
||||
public string RecipientEmail { get; set; }
|
||||
public string EmailUsername { get; set; }
|
||||
public string EmailPassword { get; set; }
|
||||
public bool Enabled { get; set; }
|
||||
}
|
||||
}
|
|
@ -1,10 +1,50 @@
|
|||
<div class="col-lg-3 col-md-3 col-sm-4">
|
||||
<div class="list-group table-of-contents">
|
||||
<a class="list-group-item" href="/admin">Plex Request Settings</a>
|
||||
<a class="list-group-item" href="/admin/authentication">Authentication</a>
|
||||
<a class="list-group-item" href="/admin/plex">Plex Settings</a>
|
||||
<a class="list-group-item" href="/admin/couchpotato">CouchPotato Settings</a>
|
||||
<a class="list-group-item" href="/admin/sonarr">Sonarr Settings</a>
|
||||
@if (Context.Request.Path == "/admin")
|
||||
{
|
||||
<a class="list-group-item active" href="/admin">Plex Request Settings</a>
|
||||
}
|
||||
else
|
||||
{
|
||||
<a class="list-group-item" href="/admin">Plex Request Settings</a>
|
||||
}
|
||||
@if (Context.Request.Path == "/admin/authentication")
|
||||
{
|
||||
|
||||
<a class="list-group-item active" href="/admin/authentication">Authentication</a>
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
<a class="list-group-item" href="/admin/authentication">Authentication</a>
|
||||
}
|
||||
|
||||
@if (Context.Request.Path == "/admin/plex")
|
||||
{
|
||||
<a class="list-group-item active" href="/admin/plex">Plex Settings</a>
|
||||
}
|
||||
else
|
||||
{
|
||||
<a class="list-group-item" href="/admin/plex">Plex Settings</a>
|
||||
}
|
||||
@if (Context.Request.Path == "/admin/couchpotato")
|
||||
{
|
||||
<a class="list-group-item active" href="/admin/couchpotato">CouchPotato Settings</a>
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
<a class="list-group-item" href="/admin/couchpotato">CouchPotato Settings</a>
|
||||
}
|
||||
@if (Context.Request.Path == "/admin/sonarr")
|
||||
{
|
||||
<a class="list-group-item active" href="/admin/sonarr">Sonarr Settings</a>
|
||||
}
|
||||
else
|
||||
{
|
||||
<a class="list-group-item" href="/admin/sonarr">Sonarr Settings</a>
|
||||
|
||||
}
|
||||
@*<a class="list-group-item" href="/admin/sickbeard">Sickbeard Settings</a>*@
|
||||
</div>
|
||||
</div>
|
|
@ -1,4 +1,4 @@
|
|||
version: 1.0.{build}
|
||||
version: 1.1.{build}
|
||||
configuration: Release
|
||||
assembly_info:
|
||||
patch: true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue