Added support for pinned messaged.

This commit is contained in:
kay.one 2011-11-25 22:27:00 -08:00
parent deecc08982
commit 482c591716
12 changed files with 74 additions and 36 deletions

View File

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

View File

@ -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;
}

View File

@ -16,8 +16,8 @@ p, h1, form, button{border:0; margin:0; padding:0;}
#stylized
{
border:solid 2px #b7ddf2;
/*background:#ebf4fb;*/
/*border:solid 2px #b7ddf2;
background:#ebf4fb;*/
}
#stylized h1

View File

@ -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;
}

View File

@ -140,7 +140,14 @@
<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.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\Messages.css" />
<Content Include="Content\Slider.css" />
<Content Include="Content\Grid.css" />
<Content Include="Content\Images\close.png" />
@ -263,9 +270,6 @@
<Content Include="Content\Images\Indexers\NzbMatrix.png">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="Content\Images\Indexers\Nzbs.org.png">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="Content\Images\Indexers\NzbsRus.png">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
@ -293,7 +297,6 @@
<Content Include="Content\Images\ui-icons_ffffff_256x240.png" />
<Content Include="Content\Images\VideoFolder.png" />
<Content Include="Content\Images\X.png" />
<Content Include="Content\notibar.css" />
<Content Include="Content\Settings.css" />
<Content Include="Content\NzbDrone.css" />
<Content Include="Content\Images\XbmcNotification.png" />

View File

@ -31,6 +31,8 @@ Logs
</div>
}
@section MainContent{
<div class="infoBox">
Log entries older than 30 days are automatically deleted.</div>
@{Html.Telerik().Grid<Log>().Name("logsGrid")
.TableHtmlAttributes(new { @class = "Grid" })
.Columns(columns =>

View File

@ -25,10 +25,9 @@ Settings
@{Html.RenderPartial("SubMenu");}
}
@section MainContent{
<div class="infoBox">
RSS feeds are checked every 15 minutes for new episodes.</div>
<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" }))
{
<h1>
@ -102,7 +101,8 @@ Settings
</label>
@Html.TextBoxFor(m => m.NewzbinPassword, new { @class = "inputClass" })
</div>
<h3><a href="#">First header</a></h3>
<h3>
<a href="#">First header</a></h3>
<div class="indexerPanel clearfix">
<label class="labelClass">
Enable <span class="small">@Html.DescriptionFor(m => m.NewznabEnabled)</span>
@ -144,7 +144,8 @@ Settings
$(function () {
$("#accordion").accordion({
autoHeight: false });
autoHeight: false
});
});

View File

@ -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/jquery.gritter.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/overrides.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/Messages.css" />
<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/MicrosoftAjax.js"></script>