added footer to bootstrap layout.

pull/3113/head
kay.one 12 years ago
parent 622fa5ea2d
commit 60923201bd

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

@ -7,8 +7,7 @@
font-size: 13px;
}
body
{
body {
background: #191919 url(images/background.jpg) no-repeat right top;
font-size: 13px;
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;
}

@ -10,15 +10,7 @@
<!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">
<head runat="server">
@if (string.IsNullOrWhiteSpace(ViewBag.Title) || String.Equals(ViewBag.Title, "NzbDrone", StringComparison.InvariantCultureIgnoreCase))
{
ViewBag.Title = "NzbDrone";
}
else
{
ViewBag.Title = String.Format("{0} - NzbDrone", ViewBag.Title);
}
<title>@ViewBag.Title</title>
<title>@ViewBag.Title - NzbDrone</title>
<link rel="SHORTCUT ICON" href="../../favicon.ico" />
<!-- Standard iPhone -->
<link rel="apple-touch-icon" sizes="57x57" href="../../Content/Images/apple-touch-icon-114.png" />
@ -54,7 +46,7 @@
</div>
<div id="logo" class="row">
<div class="span12">
Hello bootstrap
@ViewBag.Title
</div>
</div>
<div id="content" class="row">
@ -65,6 +57,11 @@
@RenderBody()
</div>
</div>
<div id="footer" class="row">
<div class="span12">
@{Html.RenderAction("Footer", "Shared");}
</div>
</div>
</div>
@Bundles.RenderScripts()

Loading…
Cancel
Save