~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to ivle/webapp/base/xhtmlerror.html

Add support for custom error views. Plugins can now declare that errors
occuring in a view class or its subclasses should be passed into another view.

We start with an XHTMLErrorView used to render errors in XHTMLViews.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<html xmlns="http://www.w3.org/1999/xhtml"
 
2
      xmlns:py="http://genshi.edgewall.org/">
 
3
  <head>
 
4
    <title>${exception.codename}</title>
 
5
  </head>
 
6
  <body>
 
7
    <div id="ivle_padding">
 
8
      <h1>Error ${exception.code}: ${exception.codename}</h1>
 
9
      <p py:if="exception.message">${exception.message}</p>
 
10
    </div>
 
11
  </body>
 
12
</html>