mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-21 13:53:19 -07:00
few small changes, added plex settings
This commit is contained in:
parent
f2399d6407
commit
b9dd08a8bc
8 changed files with 146 additions and 13 deletions
42
PlexRequests.UI/Views/Admin/Plex.cshtml
Normal file
42
PlexRequests.UI/Views/Admin/Plex.cshtml
Normal file
|
@ -0,0 +1,42 @@
|
|||
@Html.Partial("/Admin/_Sidebar")
|
||||
@{
|
||||
int port;
|
||||
if (Model.Port == 0)
|
||||
{
|
||||
port = 32400;
|
||||
}
|
||||
else
|
||||
{
|
||||
port = Model.Port;
|
||||
}
|
||||
}
|
||||
<div class="col-sm-8">
|
||||
<form class="form-horizontal" method="POST" id="mainForm">
|
||||
<fieldset>
|
||||
<legend>Plex Settings</legend>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="Ip" class="col-lg-2 control-label">Plex Hostname or IP</label>
|
||||
<div class="col-lg-10">
|
||||
<input type="text" class="form-control form-control-custom " id="Ip" name="Ip" placeholder="localhost" value="@Model.Ip">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="portNumber" class="col-lg-2 control-label">Port</label>
|
||||
|
||||
<div class="col-lg-10">
|
||||
<input type="text" class="form-control form-control-custom " id="portNumber" name="Port" placeholder="Port Number" value="@port">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<div class="col-lg-10 col-lg-offset-2">
|
||||
<button type="submit" class="btn btn-primary">Submit</button>
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
|
|
@ -2,6 +2,7 @@
|
|||
<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>
|
||||
<a class="list-group-item" href="/admin/sickbeard">Sickbeard Settings</a>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue