~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/templates/error.pt

  • Committer: John Arbash Meinel
  • Date: 2011-04-14 14:10:04 UTC
  • Revision ID: john@arbash-meinel.com-20110414141004-pzcx63izsdt3sqmc
under load, the test can take longer than 100ms accidentally.

It shouldn't ever take more than 2.0s, if it does, something is probably
wrong.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
2
<tal:block define="onload string:load()">
 
3
  <html xmlns="http://www.w3.org/1999/xhtml" metal:use-macro="macros/main">
 
4
    <head>
 
5
      <title metal:fill-slot="title"
 
6
             tal:content="string:${branch/friendly_name} : error"></title>
 
7
    </head>
 
8
    <body>
 
9
        <tal:block metal:fill-slot="heading">
 
10
        <h1>
 
11
           <tal:has-link condition="branch/branch_link">
 
12
            <a tal:attributes="href branch/branch_link"
 
13
               tal:content="branch/friendly_name">
 
14
               nice/branch/name
 
15
            </a>
 
16
           </tal:has-link>
 
17
            <tal:no-link condition="not: branch/branch_link">
 
18
                <span metal:use-macro="breadcrumbs/directory"></span>
 
19
            </tal:no-link>
 
20
           : error
 
21
        </h1>
 
22
        <pre>
 
23
            <p tal:content="error_title"/>
 
24
            <p tal:content="error_description"/>
 
25
        </pre>
 
26
        <br/><br/>
 
27
        </tal:block>
 
28
    </body>
 
29
  </html>
 
30
</tal:block>