Updated CSS for Advisory on Dashboard and added icon.

--HG--
branch : 1.x
This commit is contained in:
jowall 2011-04-07 16:45:07 -07:00
parent 2c0a725bf2
commit d2bc28df48
5 changed files with 21 additions and 9 deletions

View File

@ -24,9 +24,13 @@
<h2 class="contribute">Contribute back.</h2>
<p>Help grow Orchard. We encourage contributions of all sorts, including code submissions, documentation, translations, feature recommendations, and more.Here are some ways to <a href="http://orchardproject.net/contribution" target="_blank">give back to the project</a>.</p>
</div>
</section>
<h2 class="advisory">@T("Advisory from <a href=\"{0}\">{0}</a>", "http://www.orchardproject.net/advisory")</h2>
<iframe id="advisory" src="http://www.orchardproject.net/advisory" frameborder="0" height="40" width="100%" scrolling="no">
<div class="help-item">
<h2 class="advisory">@T("Stay up to date.")</h2>
<iframe id="advisory" src="http://www.orchardproject.net/advisory" frameborder="0" height="100%" width="100%" scrolling="no">
<p>@T("Your browser does not support iframes. You can't see advisory messages.")</p>
</iframe>
</div>
</section>

View File

@ -18,6 +18,7 @@
ViewData.TemplateInfo.GetFullHtmlFieldId(fieldNameStart + "IsSelected"),
partSelection.PartDisplayName,
Html.Hidden(fieldNameStart + "PartName", partSelection.PartName)));
},
"available-parts")
</fieldset>

Binary file not shown.

After

Width:  |  Height:  |  Size: 764 B

View File

@ -119,7 +119,8 @@ body {
padding:0;
}
iframe {border:1px solid #eee;}
/*Hide shape tracing*/
#shape-tracing-container {display:none;}
/* Headings */
h1,h2,h3,h4,h5,h6 { font-weight: normal;}
@ -1085,14 +1086,9 @@ fieldset.delete-button {
.dashboard .help-item h2
{
background-color: #dee0e1;
padding: 6px;
font-size: 16px;
}
.dashboard h2.advisory
{
font-size: 16px;
}
.dashboard .help-item h2.gallery
{
background: #f1f1f2 url('images/icon-gallery.png') no-repeat 5px 50%;
@ -1123,6 +1119,11 @@ fieldset.delete-button {
padding-left: 40px;
}
.dashboard .help-item h2.advisory
{
background: #f1f1f2 url('images/icon-advisory.png') no-repeat 5px 50%;
padding-left: 40px;
}

View File

@ -55,6 +55,12 @@
<Content Include="TheAdmin\Styles\ie7.css" />
<Content Include="TheAdmin\Styles\ie8.css" />
<Content Include="TheAdmin\Styles\images\adminNavBackground.gif" />
<Content Include="TheAdmin\Styles\images\icon-advisory.png" />
<Content Include="TheAdmin\Styles\images\icon-contribute.png" />
<Content Include="TheAdmin\Styles\images\icon-docs.png" />
<Content Include="TheAdmin\Styles\images\icon-friends.png" />
<Content Include="TheAdmin\Styles\images\icon-gallery.png" />
<Content Include="TheAdmin\Styles\images\icon-settings.png" />
<Content Include="TheAdmin\Styles\images\info.gif" />
<Content Include="TheAdmin\Styles\images\menu-default.png" />
<Content Include="TheAdmin\Styles\images\menu-glyph.png" />