You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Lidarr/NzbDrone.Web/Views/Settings/RootDir.cshtml

35 lines
1006 B

@model NzbDrone.Core.Repository.RootDir
@using NzbDrone.Web.Helpers;
@{
Layout = null;
}
<style type="text/css">
.root_dir_text
{
width: 300px;
}
</style>
@using (Html.BeginCollectionItem("Directories"))
{
var idClean = ViewData.TemplateInfo.HtmlFieldPrefix.Replace('[', '_').Replace(']', '_');
<div class="rootDirSection" id="div_@(ViewData["RootDirId"])">
<fieldset>
<div class="ui-widget">
@Html.TextBoxFor(m => m.Path, new { @class = "root_dir_text" })
<a href="#" class="deleteRow" onclick="deleteRootDir('@ViewData["RootDirId"]')">
<img src="../../Content/Images/X.png" alt="Delete" /></a>
</div>
<div>
@Html.ValidationMessageFor(m => m.Path)
</div>
<div class="hiddenProfileDetails">
@Html.TextBoxFor(x => x.Id, new { @style = "display:none" })
</div>
</fieldset>
</div>
}