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
+7 -10
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">
<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()