instiki/app/views/layouts/error.html.erb

42 lines
1.1 KiB
Plaintext
Raw Normal View History

2007-12-30 10:58:57 +01:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0 plus SVG 1.1//EN" "http://www.w3.org/2002/04/xhtml-math-svg/xhtml-math-svg-flat.dtd" >
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>
<%= h("#{@status} #{@status_message}") %>
2007-12-30 10:58:57 +01:00
</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="robots" content="<%= @robots_metatag_value %>" />
<style type="text/css">
h1#pageName, .newWikiWord a, a.existingWikiWord, .newWikiWord a:hover, #TextileHelp h3 {
color: #<%= @web ? @web.color : "393" %>;
}
2009-11-22 08:32:58 +01:00
<%= Rails.root.join('public', 'stylesheets', 'instiki.css').read if @inline_style %>
2007-12-30 10:58:57 +01:00
</style>
2009-11-22 08:32:58 +01:00
<%= stylesheet_link_tag 'instiki', :media => 'all' unless @inline_style %>
2007-12-30 10:58:57 +01:00
<style type="text/css"><!--/*--><![CDATA[/*><!--*/
2007-12-30 10:58:57 +01:00
<%= @style_additions %>
<%= @web ? @web.additional_style : '' %>
/*]]>*/--></style>
2007-12-30 10:58:57 +01:00
</head>
<body>
2007-12-31 03:34:08 +01:00
<div id="Error-Container">
2007-12-30 10:58:57 +01:00
<h1>
<%= h("#{@status} #{@status_message}") %>
2007-12-30 10:58:57 +01:00
</h1>
2007-12-31 03:34:08 +01:00
<div id="Error-Content">
2007-12-30 10:58:57 +01:00
<%= h @content_for_layout %>
2007-12-31 03:34:08 +01:00
</div> <!-- Error-Content -->
2007-12-30 10:58:57 +01:00
2007-12-31 03:34:08 +01:00
</div> <!-- Error-Container -->
2007-12-30 10:58:57 +01:00
</body>
</html>