parent
0155de4d92
commit
9e4bb278ef
Binary file not shown.
@ -0,0 +1,31 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<Eloquera xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||||
|
<Cache IndexCacheSize="10000"
|
||||||
|
WriteThru="false"
|
||||||
|
IndexCleanerPeriod="100"
|
||||||
|
IndexCleanerBatchSize="100"
|
||||||
|
CleanerPeriod="100"
|
||||||
|
CleanerBatchSize="2000"
|
||||||
|
CommitSequenceMaxLength="2000"
|
||||||
|
ShallowReadThreshold="1000"
|
||||||
|
ShallowReadAhead="1000"
|
||||||
|
ReadAhead="20"
|
||||||
|
SaturationThreshold="10000"
|
||||||
|
MemoryFootPrint="60"/>
|
||||||
|
<MemoryManager Mode="1" />
|
||||||
|
<Server ServerPort="43962"
|
||||||
|
Trace="true"
|
||||||
|
InMemoryAllowed="true"
|
||||||
|
Secure="false"
|
||||||
|
AllowUsers=""
|
||||||
|
AllowGroups="Everyone"
|
||||||
|
SNMPAddress="net.tcp://localhost:8523/SNMP"
|
||||||
|
AutoRecovery="false"
|
||||||
|
NotificationsEnabled="false"
|
||||||
|
VarSectorSize="40"
|
||||||
|
IndexNodeSize="512"/>
|
||||||
|
<SmartRuntime Smart="true"
|
||||||
|
TypeUpdateAllowed="true"/>
|
||||||
|
<UserLogin Enabled="false"
|
||||||
|
PasswordHash="l+on1aCwDrcZ5bGlv+fyyIlYkbuFIOxZFlFwIGKlms0CCwoGn9TZvM0E3Uksjwx64+/yv8nsaUajWLz1kyKG7A==" />
|
||||||
|
</Eloquera>
|
@ -1,13 +0,0 @@
|
|||||||
@using System.Collections
|
|
||||||
@{ Layout = null; }
|
|
||||||
<div>
|
|
||||||
<div>
|
|
||||||
<input id="newSeriesLookup" class="seriesLookup" type="text" style="width: 400px" />
|
|
||||||
@Html.Hidden("newSeriesId", 0, new { @class = "seriesId" })
|
|
||||||
</div>
|
|
||||||
@Html.DropDownList("newSeriesPath", new SelectList((IList)ViewData["RootDirs"]), new { style = "width: 406px; margin-left: 0px;" })
|
|
||||||
@Html.DropDownList("qualityList", (SelectList)ViewData["QualityProfiles"], new { @class = "qualitySelector" })
|
|
||||||
@Html.TextBox("newStartDate", "", new { type = "date", @class = "jQuery-datepicker start-date", placeholder = "Custom Start Date", title = "Only download episodes that aired after the specified date" })
|
|
||||||
<button id="saveNewSeries">
|
|
||||||
Add</button>
|
|
||||||
</div>
|
|
@ -1,44 +0,0 @@
|
|||||||
@using System.Collections
|
|
||||||
@using NzbDrone.Web.Models
|
|
||||||
@using System.Web.Mvc.Html
|
|
||||||
@model ExistingSeriesModel
|
|
||||||
@{
|
|
||||||
Layout = null;
|
|
||||||
}
|
|
||||||
|
|
||||||
@if (Model == null)
|
|
||||||
{
|
|
||||||
<h2 style="color: tomato">
|
|
||||||
Error searching TheTVDB, please try again later.
|
|
||||||
</h2>
|
|
||||||
}
|
|
||||||
|
|
||||||
else if (!Model.ExistingSeries.Any())
|
|
||||||
{
|
|
||||||
<h2 style="color: tomato">
|
|
||||||
No series available. Try adding a new Root Folder.
|
|
||||||
</h2>
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
@Html.DropDownList(Guid.NewGuid().ToString(), Model.Quality, new { @class = "qualitySelector masterQualitySelector" })
|
|
||||||
|
|
||||||
@Html.TextBox(Guid.NewGuid().ToString(), "", new { type="date", @class = "jQuery-datepicker start-date-master", placeholder = "Custom Start Date", title = "Only download episodes that aired after the specified date" })
|
|
||||||
|
|
||||||
foreach (var series in Model.ExistingSeries)
|
|
||||||
{
|
|
||||||
<div class="existingSeries">
|
|
||||||
<span class="seriesPathValue">
|
|
||||||
<label>@series.Item1</label>
|
|
||||||
</span>
|
|
||||||
<div class="existingSeriesContainer">
|
|
||||||
<input class="seriesLookup" type="text" style="width: 400px;" value="@series.Item2" placeholder="Series Title" />
|
|
||||||
@Html.Hidden("seriesId", series.Item3, new { @class = "seriesId" })
|
|
||||||
@Html.DropDownList(Guid.NewGuid().ToString(), Model.Quality, new { @class = "qualitySelector" })
|
|
||||||
@Html.TextBox(Guid.NewGuid().ToString(), "", new { type="date", @class = "jQuery-datepicker start-date", placeholder = "Custom Start Date", title = "Only download episodes that aired after the specified date" })
|
|
||||||
<button class="addExistingButton">
|
|
||||||
Add</button>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,92 +0,0 @@
|
|||||||
@using NzbDrone.Web.Helpers
|
|
||||||
@{ViewBag.Title = "Add Series";}
|
|
||||||
|
|
||||||
@section HeaderContent
|
|
||||||
{
|
|
||||||
<style>
|
|
||||||
.existingSeries
|
|
||||||
{
|
|
||||||
border-color: #f2f2f2;
|
|
||||||
border-width: 1px;
|
|
||||||
border-style: solid;
|
|
||||||
background-color: #f2f2f2;
|
|
||||||
margin: 0px 10px 10px 0px;
|
|
||||||
padding: 5px;
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
.masterQualitySelector
|
|
||||||
{
|
|
||||||
left: 415px;
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
|
|
||||||
.start-date-master {
|
|
||||||
left: 430px;
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
|
|
||||||
.seriesPathValue
|
|
||||||
{
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
.existingSeriesContainer
|
|
||||||
{
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
|
|
||||||
.ui-autocomplete.seriesLookupResults {
|
|
||||||
max-height: 180px;
|
|
||||||
overflow-y: auto;
|
|
||||||
/* prevent horizontal scrollbar */
|
|
||||||
overflow-x: hidden;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tvDbLink {
|
|
||||||
float: right;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tvDbLink:hover {
|
|
||||||
cursor: pointer;
|
|
||||||
text-decoration: underline;
|
|
||||||
}
|
|
||||||
|
|
||||||
input[type=date].start-date {
|
|
||||||
margin-left: 10px;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
}
|
|
||||||
|
|
||||||
@{Html.RenderAction("RootDir");}
|
|
||||||
<div class="jquery-accordion jquery-accordion-collapse-all" id="addSeriesAccordion">
|
|
||||||
<h3>
|
|
||||||
<a href="#">Add New Series</a></h3>
|
|
||||||
<div id="addNewSeries">
|
|
||||||
@{ Html.RenderAction("AddNew", "AddSeries"); }
|
|
||||||
</div>
|
|
||||||
<h3>
|
|
||||||
<a href="#">Add Series Already on Disk</a></h3>
|
|
||||||
<div id="existingSeries">
|
|
||||||
<img src="../../Content/Images/ajax-loader.gif" />
|
|
||||||
|
|
||||||
@Ajax.RenderAction(
|
|
||||||
"ExistingSeries",
|
|
||||||
"AddSeries",
|
|
||||||
null,
|
|
||||||
new AjaxOptions { UpdateTargetId = "existingSeries", InsertionMode = InsertionMode.Replace }
|
|
||||||
)
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
@section Scripts
|
|
||||||
{
|
|
||||||
@Html.IncludeScript("NzbDrone/addSeries.js")
|
|
||||||
|
|
||||||
<script type="text/javascript">
|
|
||||||
$(document).on('click', '.tvDbLink', function (event) {
|
|
||||||
var url = $(this).attr('rel');
|
|
||||||
window.open(url, 'thetvdb');
|
|
||||||
event.preventDefault();
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
}
|
|
@ -1,10 +0,0 @@
|
|||||||
<h2>
|
|
||||||
Manage Root Folders
|
|
||||||
</h2>
|
|
||||||
<span>
|
|
||||||
<input id="rootDirInput" class="folderLookup" type="text" style="width: 400px" />
|
|
||||||
<button id="saveDir">
|
|
||||||
Add</button>
|
|
||||||
</span><span id="rootDirs">
|
|
||||||
@{Html.RenderAction("RootList");}
|
|
||||||
</span>
|
|
@ -1,16 +0,0 @@
|
|||||||
@model IEnumerable<String>
|
|
||||||
@if (!Model.Any())
|
|
||||||
{
|
|
||||||
<div class="actionButton delete">
|
|
||||||
<span>You have no root folders added.</span>
|
|
||||||
</div>
|
|
||||||
}
|
|
||||||
@foreach (var root in Model)
|
|
||||||
{
|
|
||||||
<div class="actionButton delete">
|
|
||||||
<div class="delete-root" data-path="@root">
|
|
||||||
<i class="icon-remove icon-large"></i>
|
|
||||||
</div>
|
|
||||||
<span>@root</span>
|
|
||||||
</div>
|
|
||||||
}
|
|
Loading…
Reference in new issue