Files
wayback-classic/templates/error.html.erb
2021-08-01 18:23:21 -07:00

32 lines
1.2 KiB
Plaintext

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<title>Wayback Classic - Error</title>
<link rel="stylesheet" type="text/css" href="/styles/style.css">
<script type="text/javascript" src="/scripts/html5in4.js"></script>
</head>
<body background="/images/background@0.5x.gif">
<center>
<h1>Error</h1>
<% if error.class <= WaybackClassic::ErrorReporting::ReportableError %>
<p><%= error %></p>
<p>Want to try again?</p>
<% else %>
<p>An unexpected error occurred while processing your request.</p>
<p>Start from scratch?</p>
<% end %>
<form action="/cgi-bin/lookup.cgi" method="get">
<label>URL or keywords: <input type="text" name="q"></label>
<input type="hidden" name="utf8" value="✓">
<input type="submit" value="Look Up">
<a href="/search-help.html">Search Help</a>
</form>
<hr>
<a href="/">wayback-classic</a>
</center>
</body>
</html>