2011-04-21 03:43:09 +02:00
|
|
|
@model NzbDrone.Core.Repository.RootDir
|
|
|
|
@using NzbDrone.Web.Helpers;
|
2011-04-22 02:30:19 +02:00
|
|
|
|
|
|
|
@{
|
|
|
|
Layout = null;
|
|
|
|
}
|
2011-04-21 03:43:09 +02:00
|
|
|
|
|
|
|
<style type="text/css">
|
|
|
|
.root_dir_text
|
|
|
|
{
|
|
|
|
width: 300px;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
|
|
|
|
@using (Html.BeginCollectionItem("Directories"))
|
|
|
|
{
|
|
|
|
var idClean = ViewData.TemplateInfo.HtmlFieldPrefix.Replace('[', '_').Replace(']', '_');
|
|
|
|
|
2011-04-27 17:34:53 +02:00
|
|
|
|
|
|
|
<div class="rootDirSection" id="div_@(ViewData["RootDirId"])">
|
2011-04-21 03:43:09 +02:00
|
|
|
<fieldset>
|
2011-05-14 09:49:57 +02:00
|
|
|
<div class="ui-widget">
|
2011-04-21 03:43:09 +02:00
|
|
|
@Html.TextBoxFor(m => m.Path, new { @class = "root_dir_text" })
|
2011-04-27 17:34:53 +02:00
|
|
|
<a href="#" class="deleteRow" onclick="deleteRootDir('@ViewData["RootDirId"]')">
|
2011-04-21 03:43:09 +02:00
|
|
|
<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>
|
|
|
|
}
|