Skip to content

Commit

Permalink
Fix #1648 - error page looking wrong with no background image.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Lovell-Smith committed Oct 11, 2013
1 parent 74dcbb5 commit 4da78f3
Showing 1 changed file with 56 additions and 54 deletions.
110 changes: 56 additions & 54 deletions src/NuGetGallery/Errors/ErrorLayout.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -11,62 +11,64 @@
@Scripts.Render("~/Scripts/modernizr")
</head>
<body>
<div id="content-wrapper">
<header class="main">
<div id="logo"><a href="@Href("~/")">NuGet Gallery</a></div>
</header>
<nav class="main">
<ul id="menu">
<li><a href="@Href("~/")">Home</a></li>
<li><a href="@Href("~/Packages")">Packages</a></li>
<div id="outer-wrapper">
<div id="content-wrapper">
<header class="main">
<div id="logo"><a href="@Href("~/")">NuGet Gallery</a></div>
</header>
<nav class="main">
<ul id="menu">
<li><a href="@Href("~/")">Home</a></li>
<li><a href="@Href("~/Packages")">Packages</a></li>

<li><a href="@Href("~/packages/upload")" class="upload">Upload Package</a></li>
<li><a href="@Href("~/stats")">Statistics</a></li>
<li><a href="http://docs.nuget.org">Documentation</a></li>
<li><a href="http://blog.nuget.org">Blog</a></li>
</ul>
</nav>
<div id="body">
<div class="error-show-code"></div>
@RenderBody()
</div>
</div>
<div id="layout-footer" class="group">
<footer id="footer">
<ul class="recommended">
<li>
<a href="@Href("~/policies/Contact")">Contact Us</a>
<p>Got questions about NuGet or the NuGet Gallery?</p>
</li>
<li>
<a href="http://docs.nuget.org/docs/start-here/overview">Overview</a>
<p>NuGet is a Visual Studio extension that makes it easy to add, remove, and update libraries and...</p>
</li>
<li>
<a href="http://docs.nuget.org/docs/start-here/installing-nuget">Install</a>
<p>NuGet can be installed and updated using the Visual Studio Extension Manager. To check if your copy...</p>
</li>
<li>
<a href="http://docs.nuget.org/docs/start-here/videos">Videos</a>
<p>Watch screencasts and presentations about anything and everything NuGet.</p>
</li>
<li>
<a href="http://docs.nuget.org/docs/start-here/nuget-faq">FAQ</a>
<p>Read the Frequently Asked Questions about NuGet and see if your question made the list.</p>
</li>
</ul>
<div class="license">
<a href="http://outercurve.org"><img src="@Links.Content.Images.outercurve_png" alt="Outercurve Foundation" /></a>
<p>
&copy; @DateTime.UtcNow.Year Outercurve Foundation -
<a href="~/policies/Terms">Terms of Use</a> -
<a href="~/policies/Privacy">Privacy Policy</a>
</p>
<p>
Uses <a href="http://fontawesome.io">Font Awesome</a> by Dave Gandy
</p>
<li><a href="@Href("~/packages/upload")" class="upload">Upload Package</a></li>
<li><a href="@Href("~/stats")">Statistics</a></li>
<li><a href="http://docs.nuget.org">Documentation</a></li>
<li><a href="http://blog.nuget.org">Blog</a></li>
</ul>
</nav>
<div id="body">
<div class="error-show-code"></div>
@RenderBody()
</div>
</footer>
</div>
<div id="layout-footer" class="group">
<footer id="footer">
<ul class="recommended">
<li>
<a href="@Href("~/policies/Contact")">Contact Us</a>
<p>Got questions about NuGet or the NuGet Gallery?</p>
</li>
<li>
<a href="http://docs.nuget.org/docs/start-here/overview">Overview</a>
<p>NuGet is a Visual Studio extension that makes it easy to add, remove, and update libraries and...</p>
</li>
<li>
<a href="http://docs.nuget.org/docs/start-here/installing-nuget">Install</a>
<p>NuGet can be installed and updated using the Visual Studio Extension Manager. To check if your copy...</p>
</li>
<li>
<a href="http://docs.nuget.org/docs/start-here/videos">Videos</a>
<p>Watch screencasts and presentations about anything and everything NuGet.</p>
</li>
<li>
<a href="http://docs.nuget.org/docs/start-here/nuget-faq">FAQ</a>
<p>Read the Frequently Asked Questions about NuGet and see if your question made the list.</p>
</li>
</ul>
<div class="license">
<a href="http://outercurve.org"><img src="@Links.Content.Images.outercurve_png" alt="Outercurve Foundation" /></a>
<p>
&copy; @DateTime.UtcNow.Year Outercurve Foundation -
<a href="~/policies/Terms">Terms of Use</a> -
<a href="~/policies/Privacy">Privacy Policy</a>
</p>
<p>
Uses <a href="http://fontawesome.io">Font Awesome</a> by Dave Gandy
</p>
</div>
</footer>
</div>
</div>
@Scripts.Render("~/Scripts/all")
@RenderSection("BottomScripts", required: false)
Expand Down

0 comments on commit 4da78f3

Please sign in to comment.