unknown, notfound and forbidden images and views

This commit is contained in:
tmont 2011-02-28 01:37:52 +00:00
parent 7be30c7d0f
commit 9ad44f2ce3
10 changed files with 31 additions and 13 deletions

View File

@ -152,10 +152,13 @@
<Content Include="media\images\external.png" /> <Content Include="media\images\external.png" />
<Content Include="media\images\favicon.png" /> <Content Include="media\images\favicon.png" />
<Content Include="media\images\flag_red.png" /> <Content Include="media\images\flag_red.png" />
<Content Include="media\images\forbidden.png" />
<Content Include="media\images\link.png" /> <Content Include="media\images\link.png" />
<Content Include="media\images\loading.gif" /> <Content Include="media\images\loading.gif" />
<Content Include="media\images\notfound.png" />
<Content Include="media\images\pencil.png" /> <Content Include="media\images\pencil.png" />
<Content Include="media\images\search.png" /> <Content Include="media\images\search.png" />
<Content Include="media\images\unknown.png" />
<Content Include="media\images\vgquotes.png" /> <Content Include="media\images\vgquotes.png" />
<Content Include="media\js\jquery.cookie.js" /> <Content Include="media\js\jquery.cookie.js" />
<Content Include="media\js\quoteform.js" /> <Content Include="media\js\quoteform.js" />
@ -191,7 +194,6 @@
<Content Include="Views\Shared\Forbidden.aspx" /> <Content Include="Views\Shared\Forbidden.aspx" />
<Content Include="Views\Shared\MainMenu.ascx" /> <Content Include="Views\Shared\MainMenu.ascx" />
<Content Include="Views\Shared\NotFound.aspx" /> <Content Include="Views\Shared\NotFound.aspx" />
<Content Include="Views\Shared\NotFoundContent.ascx" />
<Content Include="Views\Shared\RecursiveExceptionView.ascx" /> <Content Include="Views\Shared\RecursiveExceptionView.ascx" />
<Content Include="Views\Shared\SingleQuote.ascx" /> <Content Include="Views\Shared\SingleQuote.ascx" />
<Content Include="Views\Shared\Unknown.aspx" /> <Content Include="Views\Shared\Unknown.aspx" />

View File

@ -1,6 +1,11 @@
<%@ Page Title="" Language="C#" Inherits="System.Web.Mvc.ViewPage" MasterPageFile="~/Views/Shared/Site.Master" %> <%@ Page Title="" Language="C#" Inherits="System.Web.Mvc.ViewPage" MasterPageFile="~/Views/Shared/Site.Master" %>
<asp:Content runat="server" ID="Title" ContentPlaceHolderID="TitleContent">Quote Not Found</asp:Content> <asp:Content runat="server" ID="Title" ContentPlaceHolderID="TitleContent">Quote Not Found</asp:Content>
<asp:Content runat="server" ID="Main" ContentPlaceHolderID="MainContent"> <asp:Content runat="server" ID="Main" ContentPlaceHolderID="MainContent">
<div class="error-image">
<img src="/media/images/notfound.png" alt="YOU ARE ERROR." title="YOU ARE ERROR."/>
</div>
<p> <p>
These are not the quotes you&rsquo;re looking for. Perhaps you found a dead link, These are not the quotes you&rsquo;re looking for. Perhaps you found a dead link,
or somebody was playing a prank on you. Either way, you are one pathetic loser, or somebody was playing a prank on you. Either way, you are one pathetic loser,

View File

@ -1,7 +1,10 @@
<%@ Page Title="" Language="C#" Inherits="System.Web.Mvc.ViewPage" MasterPageFile="~/Views/Shared/Site.Master" %> <%@ Page Title="" Language="C#" Inherits="System.Web.Mvc.ViewPage" MasterPageFile="~/Views/Shared/Site.Master" %>
<asp:Content runat="server" ID="Title" ContentPlaceHolderID="TitleContent">Invalid Paging Request</asp:Content> <asp:Content runat="server" ID="Title" ContentPlaceHolderID="TitleContent">Invalid Paging Request</asp:Content>
<asp:Content runat="server" ID="Main" ContentPlaceHolderID="MainContent"> <asp:Content runat="server" ID="Main" ContentPlaceHolderID="MainContent">
<h2>Invalid Paging Request</h2>
<div class="error-image">
<img src="/media/images/notfound.png" alt="YOU ARE ERROR." title="YOU ARE ERROR."/>
</div>
<p> <p>
Since you&rsquo;re here, you were probably mucking around with the query string. Since you&rsquo;re here, you were probably mucking around with the query string.

View File

@ -3,8 +3,14 @@
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">Forbidden</asp:Content> <asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">Forbidden</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server"> <asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<div class="error-image">
<img src="/media/images/forbidden.png" alt="PLEASE GO AWAY." title="PLEASE GO AWAY."/>
</div>
<p class="info"> <p class="info">
You are not allowed to be here. Error doesn&rsquo;t like you. Error doesn&rsquo;t like people who try to look
at things they are forbidden from looking at. Error says your mother resembles
a hoofed mammal.
</p> </p>
<% Html.RenderPartial("ExceptionView", Model); %> <% Html.RenderPartial("ExceptionView", Model); %>

View File

@ -3,10 +3,13 @@
<asp:Content ContentPlaceHolderID="TitleContent" runat="server">404</asp:Content> <asp:Content ContentPlaceHolderID="TitleContent" runat="server">404</asp:Content>
<asp:Content ContentPlaceHolderID="MainContent" runat="server"> <asp:Content ContentPlaceHolderID="MainContent" runat="server">
<% Html.RenderPartial("NotFoundContent"); %> <div class="error-image">
<img src="/media/images/notfound.png" alt="YOU ARE ERROR." title="YOU ARE ERROR."/>
</div>
<p class="info"> <p class="info">
Hey. Nice typing, dude. Why don&rsquo;t you spit out your sandwich and try it again? Error can&rsquo;t find the page you were looking for. Perhaps you are too
ugly to type correctly, hmm? Error thinks so.
</p> </p>
<% Html.RenderPartial("ExceptionView", Model); %> <% Html.RenderPartial("ExceptionView", Model); %>

View File

@ -1,7 +0,0 @@
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %>
<h2>Not Found</h2>
<div class="error-image">
<img src="/media/images/not-found.png" alt="looking for something?" title="can I help you find something?"/>
</div>

View File

@ -4,8 +4,14 @@
<asp:Content runat="server" ID="Main" ContentPlaceHolderID="MainContent"> <asp:Content runat="server" ID="Main" ContentPlaceHolderID="MainContent">
<h2>WTF&#x2048;</h2> <h2>WTF&#x2048;</h2>
<div class="error-image">
<img src="/media/images/unknown.png" alt="WE ARE ERROR." title="WE ARE ERROR."/>
</div>
<p class="info"> <p class="info">
WTF&#x2048; How did this even happen&#x2048; Error encountered an error and because of that error this Error needs to
prevent other errors so Error will show you this error and while you read
this error Error will try and fix the error that Error received in error.
</p> </p>
<% Html.RenderPartial("ExceptionView", Model); %> <% Html.RenderPartial("ExceptionView", Model); %>

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB