Moved root dir config to add series.

Cleaned up Indexers.cshtml.
Indexers is the new default Settings page.
This commit is contained in:
Mark McDowall 2011-05-30 23:13:46 -07:00
commit f27c1d89f6
12 changed files with 355 additions and 357 deletions

View file

@ -0,0 +1,16 @@
@model NzbDrone.Core.Repository.RootDir
@{
Layout = null;
}
<div class="rootDirSection" id="rootDir_@(Model.Id)" style="padding: 7px; padding-left: 3px;">
<fieldset style="padding: 5px; height: 40px;">
@Html.TextBoxFor(m => m.Path, new { @class = "root_dir_text", id = "path_" + Model.Id })
<a href="#" class="deleteRow" onclick="deleteRootDir('@ViewData["RootDirId"]')">
<img src="../../Content/Images/X.png" alt="Delete" width="20px" height="20px" style="vertical-align: middle; margin-top: 7px;"/></a>
<input type="button" value="Save" style="padding: 2px 10px 2px 10px; vertical-align: middle; margin: 0px; margin-top: 7px;" onclick="saveRootDir(@Model.Id)"/>
@Html.HiddenFor(x => x.Id, new { id = "id_" + Model.Id })
</fieldset>
</div>