mirror of
https://github.com/Sonarr/Sonarr
synced 2024-12-30 19:56:54 +00:00
ec8c83760b
RootDir and UserProfileSection do not inherit the master layout automatically.
34 lines
No EOL
903 B
Text
34 lines
No EOL
903 B
Text
@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">
|
|
<fieldset>
|
|
<div>
|
|
@Html.TextBoxFor(m => m.Path, new { @class = "root_dir_text" })
|
|
<a href="#" class="deleteRow">
|
|
<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>
|
|
} |