mirror of https://github.com/Sonarr/Sonarr
Added support for pinned messaged.
This commit is contained in:
parent
deecc08982
commit
482c591716
Before Width: | Height: | Size: 198 B After Width: | Height: | Size: 198 B |
Binary file not shown.
After Width: | Height: | Size: 1.2 KiB |
Binary file not shown.
After Width: | Height: | Size: 1.2 KiB |
Binary file not shown.
After Width: | Height: | Size: 1.2 KiB |
Binary file not shown.
After Width: | Height: | Size: 1.2 KiB |
|
@ -0,0 +1,55 @@
|
||||||
|
/*Pinned messages*/
|
||||||
|
|
||||||
|
.infoBox, .successBox, .warningBox, .errorBox, .validationBox
|
||||||
|
{
|
||||||
|
border: 0px solid;
|
||||||
|
margin: 10px 0px;
|
||||||
|
padding: 10px 10px 10px 50px;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
background-position: 10px center;
|
||||||
|
}
|
||||||
|
.infoBox
|
||||||
|
{
|
||||||
|
color: #00529B;
|
||||||
|
background-color: #f4f7f9;
|
||||||
|
background-image: url(images/blue.png);
|
||||||
|
}
|
||||||
|
.successBox
|
||||||
|
{
|
||||||
|
color: #4F8A10;
|
||||||
|
background-color: #DFF2BF;
|
||||||
|
background-image: url(images/green.png);
|
||||||
|
}
|
||||||
|
.warningBox
|
||||||
|
{
|
||||||
|
color: #9F6000;
|
||||||
|
background-color: #FEEFB3;
|
||||||
|
background-image: url(images/yellow.png);
|
||||||
|
}
|
||||||
|
.errorBox
|
||||||
|
{
|
||||||
|
color: #D8000C;
|
||||||
|
background-color: #FFBABA;
|
||||||
|
background-image: url(images/red.png);
|
||||||
|
}
|
||||||
|
|
||||||
|
/*Progress Notification*/
|
||||||
|
#msgBox
|
||||||
|
{
|
||||||
|
display: none;
|
||||||
|
height: 30px;
|
||||||
|
background-color: #272525;
|
||||||
|
opacity: .9;
|
||||||
|
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=85)";
|
||||||
|
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=85);
|
||||||
|
padding: 10px;
|
||||||
|
text-align: left;
|
||||||
|
position: fixed;
|
||||||
|
z-index: 99;
|
||||||
|
bottom: 0;
|
||||||
|
right: 0;
|
||||||
|
font-size: 20px;
|
||||||
|
color: White;
|
||||||
|
text-align: center;
|
||||||
|
white-space:nowrap;
|
||||||
|
}
|
|
@ -16,8 +16,8 @@ p, h1, form, button{border:0; margin:0; padding:0;}
|
||||||
|
|
||||||
#stylized
|
#stylized
|
||||||
{
|
{
|
||||||
border:solid 2px #b7ddf2;
|
/*border:solid 2px #b7ddf2;
|
||||||
/*background:#ebf4fb;*/
|
background:#ebf4fb;*/
|
||||||
}
|
}
|
||||||
|
|
||||||
#stylized h1
|
#stylized h1
|
||||||
|
|
|
@ -1,23 +0,0 @@
|
||||||
#msgBox
|
|
||||||
{
|
|
||||||
display: none;
|
|
||||||
height: 30px;
|
|
||||||
background-color: #272525;
|
|
||||||
opacity: .9;
|
|
||||||
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=85)";
|
|
||||||
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=85);
|
|
||||||
padding: 10px;
|
|
||||||
text-align: left;
|
|
||||||
position: fixed;
|
|
||||||
z-index: 99;
|
|
||||||
bottom: 0;
|
|
||||||
right: 0;
|
|
||||||
font-size: 20px;
|
|
||||||
color: White;
|
|
||||||
text-align: center;
|
|
||||||
white-space:nowrap;
|
|
||||||
}
|
|
||||||
#msgCloseButton
|
|
||||||
{
|
|
||||||
float: right;
|
|
||||||
}
|
|
|
@ -140,7 +140,14 @@
|
||||||
<Content Include="Content\2011.3.1115\telerik.common.min.css" />
|
<Content Include="Content\2011.3.1115\telerik.common.min.css" />
|
||||||
<Content Include="Content\2011.3.1115\telerik.metro.min.css" />
|
<Content Include="Content\2011.3.1115\telerik.metro.min.css" />
|
||||||
<Content Include="Content\2011.3.1115\telerik.sitefinity.min.css" />
|
<Content Include="Content\2011.3.1115\telerik.sitefinity.min.css" />
|
||||||
|
<Content Include="Content\Images\blue.png" />
|
||||||
|
<Content Include="Content\Images\green.png" />
|
||||||
|
<Content Include="Content\Images\Indexers\Newznab.png" />
|
||||||
|
<Content Include="Content\Images\Indexers\Nzbsorg.png" />
|
||||||
|
<Content Include="Content\Images\red.png" />
|
||||||
|
<Content Include="Content\Images\yellow.png" />
|
||||||
<Content Include="Content\IndexerSettings.css" />
|
<Content Include="Content\IndexerSettings.css" />
|
||||||
|
<Content Include="Content\Messages.css" />
|
||||||
<Content Include="Content\Slider.css" />
|
<Content Include="Content\Slider.css" />
|
||||||
<Content Include="Content\Grid.css" />
|
<Content Include="Content\Grid.css" />
|
||||||
<Content Include="Content\Images\close.png" />
|
<Content Include="Content\Images\close.png" />
|
||||||
|
@ -263,9 +270,6 @@
|
||||||
<Content Include="Content\Images\Indexers\NzbMatrix.png">
|
<Content Include="Content\Images\Indexers\NzbMatrix.png">
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||||
</Content>
|
</Content>
|
||||||
<Content Include="Content\Images\Indexers\Nzbs.org.png">
|
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
||||||
</Content>
|
|
||||||
<Content Include="Content\Images\Indexers\NzbsRus.png">
|
<Content Include="Content\Images\Indexers\NzbsRus.png">
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||||
</Content>
|
</Content>
|
||||||
|
@ -293,7 +297,6 @@
|
||||||
<Content Include="Content\Images\ui-icons_ffffff_256x240.png" />
|
<Content Include="Content\Images\ui-icons_ffffff_256x240.png" />
|
||||||
<Content Include="Content\Images\VideoFolder.png" />
|
<Content Include="Content\Images\VideoFolder.png" />
|
||||||
<Content Include="Content\Images\X.png" />
|
<Content Include="Content\Images\X.png" />
|
||||||
<Content Include="Content\notibar.css" />
|
|
||||||
<Content Include="Content\Settings.css" />
|
<Content Include="Content\Settings.css" />
|
||||||
<Content Include="Content\NzbDrone.css" />
|
<Content Include="Content\NzbDrone.css" />
|
||||||
<Content Include="Content\Images\XbmcNotification.png" />
|
<Content Include="Content\Images\XbmcNotification.png" />
|
||||||
|
|
|
@ -31,6 +31,8 @@ Logs
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
@section MainContent{
|
@section MainContent{
|
||||||
|
<div class="infoBox">
|
||||||
|
Log entries older than 30 days are automatically deleted.</div>
|
||||||
@{Html.Telerik().Grid<Log>().Name("logsGrid")
|
@{Html.Telerik().Grid<Log>().Name("logsGrid")
|
||||||
.TableHtmlAttributes(new { @class = "Grid" })
|
.TableHtmlAttributes(new { @class = "Grid" })
|
||||||
.Columns(columns =>
|
.Columns(columns =>
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
@model NzbDrone.Web.Models.IndexerSettingsModel
|
@model NzbDrone.Web.Models.IndexerSettingsModel
|
||||||
@section HeaderContent{
|
@section HeaderContent{
|
||||||
<link rel="stylesheet" type="text/css" href="../../Content/Settings.css" />
|
<link rel="stylesheet" type="text/css" href="../../Content/Settings.css" />
|
||||||
<style>
|
<style>
|
||||||
.indexerPanel
|
.indexerPanel
|
||||||
{
|
{
|
||||||
padding-top: 20px;
|
padding-top: 20px;
|
||||||
|
@ -25,10 +25,9 @@ Settings
|
||||||
@{Html.RenderPartial("SubMenu");}
|
@{Html.RenderPartial("SubMenu");}
|
||||||
}
|
}
|
||||||
@section MainContent{
|
@section MainContent{
|
||||||
|
<div class="infoBox">
|
||||||
|
RSS feeds are checked every 15 minutes for new episodes.</div>
|
||||||
<div id="stylized">
|
<div id="stylized">
|
||||||
<div class="additionalInfo">
|
|
||||||
NzbDrone checks all Indexers every 15 minutes
|
|
||||||
</div>
|
|
||||||
@using (Html.BeginForm("SaveIndexers", "Settings", FormMethod.Post, new { id = "form", name = "form", @class = "settingsForm" }))
|
@using (Html.BeginForm("SaveIndexers", "Settings", FormMethod.Post, new { id = "form", name = "form", @class = "settingsForm" }))
|
||||||
{
|
{
|
||||||
<h1>
|
<h1>
|
||||||
|
@ -102,7 +101,8 @@ Settings
|
||||||
</label>
|
</label>
|
||||||
@Html.TextBoxFor(m => m.NewzbinPassword, new { @class = "inputClass" })
|
@Html.TextBoxFor(m => m.NewzbinPassword, new { @class = "inputClass" })
|
||||||
</div>
|
</div>
|
||||||
<h3><a href="#">First header</a></h3>
|
<h3>
|
||||||
|
<a href="#">First header</a></h3>
|
||||||
<div class="indexerPanel clearfix">
|
<div class="indexerPanel clearfix">
|
||||||
<label class="labelClass">
|
<label class="labelClass">
|
||||||
Enable <span class="small">@Html.DescriptionFor(m => m.NewznabEnabled)</span>
|
Enable <span class="small">@Html.DescriptionFor(m => m.NewznabEnabled)</span>
|
||||||
|
@ -144,7 +144,8 @@ Settings
|
||||||
|
|
||||||
$(function () {
|
$(function () {
|
||||||
$("#accordion").accordion({
|
$("#accordion").accordion({
|
||||||
autoHeight: false });
|
autoHeight: false
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -12,11 +12,11 @@
|
||||||
<link type="text/css" rel="stylesheet" href="../../Content/jQueryUI/jquery-ui-1.8.14.nzbdrone.css" />
|
<link type="text/css" rel="stylesheet" href="../../Content/jQueryUI/jquery-ui-1.8.14.nzbdrone.css" />
|
||||||
<link type="text/css" rel="stylesheet" href="../../Content/jquery.gritter.css" />
|
<link type="text/css" rel="stylesheet" href="../../Content/jquery.gritter.css" />
|
||||||
<link type="text/css" rel="stylesheet" href="../../Content/NzbDrone.css" />
|
<link type="text/css" rel="stylesheet" href="../../Content/NzbDrone.css" />
|
||||||
<link type="text/css" rel="stylesheet" href="../../Content/Notibar.css" />
|
|
||||||
<link type="text/css" rel="stylesheet" href="../../Content/ActionButton.css" />
|
<link type="text/css" rel="stylesheet" href="../../Content/ActionButton.css" />
|
||||||
<link type="text/css" rel="stylesheet" href="../../Content/overrides.css" />
|
<link type="text/css" rel="stylesheet" href="../../Content/overrides.css" />
|
||||||
<link type="text/css" rel="stylesheet" href="../../Content/Menu.css" />
|
<link type="text/css" rel="stylesheet" href="../../Content/Menu.css" />
|
||||||
<link type="text/css" rel="stylesheet" href="../../Content/Slider.css" />
|
<link type="text/css" rel="stylesheet" href="../../Content/Slider.css" />
|
||||||
|
<link type="text/css" rel="stylesheet" href="../../Content/Messages.css" />
|
||||||
<script type="text/javascript" src="../../Scripts/jquery-1.6.3.min.js"></script>
|
<script type="text/javascript" src="../../Scripts/jquery-1.6.3.min.js"></script>
|
||||||
<script type="text/javascript" src="../../Scripts/jquery-ui-1.8.16.min.js"></script>
|
<script type="text/javascript" src="../../Scripts/jquery-ui-1.8.16.min.js"></script>
|
||||||
<script type="text/javascript" src="../../Scripts/MicrosoftAjax.js"></script>
|
<script type="text/javascript" src="../../Scripts/MicrosoftAjax.js"></script>
|
||||||
|
|
Loading…
Reference in New Issue