A Tweak to the Error-Page Layout
This commit is contained in:
parent
0c16ab4e6f
commit
14e3728183
1 changed files with 4 additions and 11 deletions
|
@ -8,8 +8,6 @@
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||||
<meta name="robots" content="<%= @robots_metatag_value %>" />
|
<meta name="robots" content="<%= @robots_metatag_value %>" />
|
||||||
|
|
||||||
<%= javascript_include_tag 'page_helper' %>
|
|
||||||
|
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
h1#pageName, .newWikiWord a, a.existingWikiWord, .newWikiWord a:hover, #TextileHelp h3 {
|
h1#pageName, .newWikiWord a, a.existingWikiWord, .newWikiWord a:hover, #TextileHelp h3 {
|
||||||
color: #<%= @web ? @web.color : "393" %>;
|
color: #<%= @web ? @web.color : "393" %>;
|
||||||
|
@ -23,26 +21,21 @@
|
||||||
<%= @style_additions %>
|
<%= @style_additions %>
|
||||||
<%= @web ? @web.additional_style : '' %>
|
<%= @web ? @web.additional_style : '' %>
|
||||||
</style>
|
</style>
|
||||||
<%= javascript_include_tag :defaults %>
|
|
||||||
<% if @web %>
|
|
||||||
<%= auto_discovery_link_tag(:atom, :controller => 'wiki', :web => @web.address, :action => 'atom_with_headlines') %>
|
|
||||||
<%= auto_discovery_link_tag(:atom, :controller => 'wiki', :web => @web.address, :action => 'atom_with_content') %>
|
|
||||||
<% end %>
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<div id="Container">
|
<div id="Error-Container">
|
||||||
<div id="Content">
|
|
||||||
<h1>
|
<h1>
|
||||||
<%= h headers['Status'] %>
|
<%= h headers['Status'] %>
|
||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
|
<div id="Error-Content">
|
||||||
<%= h @content_for_layout %>
|
<%= h @content_for_layout %>
|
||||||
|
|
||||||
</div> <!-- Content -->
|
</div> <!-- Error-Content -->
|
||||||
|
|
||||||
</div> <!-- Container -->
|
</div> <!-- Error-Container -->
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in a new issue