added footer to bootstrap layout.

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

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

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

@ -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()

Loading…
Cancel
Save