1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2024-12-27 01:57:21 +00:00

added footer to bootstrap layout.

This commit is contained in:
kay.one 2013-01-16 21:35:20 -08:00
parent 622fa5ea2d
commit 60923201bd
3 changed files with 19 additions and 14 deletions

View file

@ -2,6 +2,7 @@
{ {
height: 60px; height: 60px;
display: inline-block; display: inline-block;
margin-bottom: 10px;
} }
#menu ul #menu ul

View file

@ -7,8 +7,7 @@
font-size: 13px; font-size: 13px;
} }
body body {
{
background: #191919 url(images/background.jpg) no-repeat right top; background: #191919 url(images/background.jpg) no-repeat right top;
font-size: 13px; font-size: 13px;
color: #3C3C3C; color: #3C3C3C;
@ -34,6 +33,14 @@ body
} }
body { #footer {
text-align: center;
font-size: 16px;
text-decoration: none;
font-weight: lighter;
margin: 20px 0 30px 0;
} }
#footer a:hover {
text-decoration: underline;
}

View file

@ -10,15 +10,7 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"> <html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server"> <head runat="server">
@if (string.IsNullOrWhiteSpace(ViewBag.Title) || String.Equals(ViewBag.Title, "NzbDrone", StringComparison.InvariantCultureIgnoreCase)) <title>@ViewBag.Title - NzbDrone</title>
{
ViewBag.Title = "NzbDrone";
}
else
{
ViewBag.Title = String.Format("{0} - NzbDrone", ViewBag.Title);
}
<title>@ViewBag.Title</title>
<link rel="SHORTCUT ICON" href="../../favicon.ico" /> <link rel="SHORTCUT ICON" href="../../favicon.ico" />
<!-- Standard iPhone --> <!-- Standard iPhone -->
<link rel="apple-touch-icon" sizes="57x57" href="../../Content/Images/apple-touch-icon-114.png" /> <link rel="apple-touch-icon" sizes="57x57" href="../../Content/Images/apple-touch-icon-114.png" />
@ -54,7 +46,7 @@
</div> </div>
<div id="logo" class="row"> <div id="logo" class="row">
<div class="span12"> <div class="span12">
Hello bootstrap @ViewBag.Title
</div> </div>
</div> </div>
<div id="content" class="row"> <div id="content" class="row">
@ -65,6 +57,11 @@
@RenderBody() @RenderBody()
</div> </div>
</div> </div>
<div id="footer" class="row">
<div class="span12">
@{Html.RenderAction("Footer", "Shared");}
</div>
</div>
</div> </div>
@Bundles.RenderScripts() @Bundles.RenderScripts()