| 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
|---|
| 2 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
|---|
| 3 | <head> |
|---|
| 4 | <title>Server Error</title> |
|---|
| 5 | |
|---|
| 6 | <script type="text/javascript"> |
|---|
| 7 | debug_base = {{repr(prefix)}}; |
|---|
| 8 | debug_count = {{counter}}; |
|---|
| 9 | </script> |
|---|
| 10 | |
|---|
| 11 | <!-- CSS Imports --> |
|---|
| 12 | <link rel="stylesheet" href="{{prefix}}/media/traceback.css" type="text/css" media="screen" /> |
|---|
| 13 | {{head_html|html}} |
|---|
| 14 | |
|---|
| 15 | </head> |
|---|
| 16 | |
|---|
| 17 | <body id="documentation" onload="switch_display('{{set_tab}}')"> |
|---|
| 18 | <!-- We are only using a table to ensure old browsers see the message correctly --> |
|---|
| 19 | |
|---|
| 20 | <noscript> |
|---|
| 21 | <div style="border-bottom: 1px solid #808080"> |
|---|
| 22 | <div style="border-bottom: 1px solid #404040"> |
|---|
| 23 | <table width="100%" border="0" cellpadding="0" bgcolor="#FFFFE1"><tr><td> </td><td><span style="padding: 0px; margin: 0px; font-family: Tahoma, sans-serif; font-size: 11px">Warning, your browser does not support JavaScript so you will not be able to use the interactive debugging on this page.</span></td></tr></table> |
|---|
| 24 | </div> |
|---|
| 25 | </div> |
|---|
| 26 | </noscript> |
|---|
| 27 | |
|---|
| 28 | <!-- Top anchor --> |
|---|
| 29 | <a name="top"></a> |
|---|
| 30 | |
|---|
| 31 | <!-- Main Content --> |
|---|
| 32 | <div id="nav-bar"> |
|---|
| 33 | |
|---|
| 34 | <!-- Section Navigation --> |
|---|
| 35 | <h4 class="invisible">Section Links</h4> |
|---|
| 36 | |
|---|
| 37 | <ul id="navlist"> |
|---|
| 38 | <!-- {{#links|html}} --> |
|---|
| 39 | <li id="source_data_tab"><a href="javascript:switch_display('source_data')" accesskey="4" id="source_data_link">Source</a></li> |
|---|
| 40 | <li id="template_data_tab"><a href="javascript:switch_display('template_data')" accesskey="3" id="template_data_link">Template</a></li> |
|---|
| 41 | <li id="extra_data_tab"><a href="javascript:switch_display('extra_data')" id="extra_data_link" accesskey="2" >Extra Data</a></li> |
|---|
| 42 | <li id="traceback_data_tab" class="active"><a href="javascript:switch_display('traceback_data')" id="traceback_data_link" class="active" accesskey="1">Traceback</a></li> |
|---|
| 43 | </ul> |
|---|
| 44 | </div> |
|---|
| 45 | <div id="main-content"> |
|---|
| 46 | <div class="hr"><hr class="hr" /></div> |
|---|
| 47 | <div class="content-padding"> |
|---|
| 48 | <div id="source_data" class="hidden-data"> |
|---|
| 49 | Hi, I'm source! |
|---|
| 50 | </div> |
|---|
| 51 | <div id="extra_data" class="hidden-data"> |
|---|
| 52 | {{for extra_data_item in extra_data:}} |
|---|
| 53 | <h1 class="first"><a name="content"></a>Extra Data</h1> |
|---|
| 54 | {{extra_data_item|html}} |
|---|
| 55 | {{endfor}} |
|---|
| 56 | </div> |
|---|
| 57 | <div id="template_data" class="hidden-data"> |
|---|
| 58 | {{template_data|html}} |
|---|
| 59 | </div> |
|---|
| 60 | <div id="traceback_data"> |
|---|
| 61 | <div style="float: left; width: 100%; padding-bottom: 20px;"> |
|---|
| 62 | <h1 class="first"><a name="content"></a>Error Traceback:</h1> |
|---|
| 63 | <div id="formats"> |
|---|
| 64 | <span class="title">View as: </span> <a id="view_short_html" class="active" href="#">Interactive</a> |
|---|
| 65 | <a id="view_long_html" href="#">(full)</a> | <a id="view_short_text" href="#">Text</a> |
|---|
| 66 | <a id="view_long_text" href="#">(full)</a> | <a id="view_short_xml" href="#">XML</a> |
|---|
| 67 | <a id="view_long_xml" href="#">(full)</a> |
|---|
| 68 | </div> |
|---|
| 69 | <div><span class="main-exception" style="color: #f00;">⇝</span> |
|---|
| 70 | <code class="main-exception">{{exc_name}}: {{exc_data.exception_value}}</code></div> |
|---|
| 71 | <div style="clear: both;"> |
|---|
| 72 | <div id="error-area" style="display: none; background-color: #600; color: #fff; border: 2px solid black"> |
|---|
| 73 | <button onclick="return clearError()">clear this</button> |
|---|
| 74 | <div id="error-container"></div> |
|---|
| 75 | <button onclick="return clearError()">clear this</button> |
|---|
| 76 | </div> |
|---|
| 77 | {{traceback_body|html}} |
|---|
| 78 | <br /><br /><br /> |
|---|
| 79 | <div class="feature-highlight"> |
|---|
| 80 | <b>Extra Features</b> |
|---|
| 81 | <table border="0"> |
|---|
| 82 | <tr><td><a href="#" onclick="return false" class="switch_source" style="cursor: default">>></a></td><td>Display the lines of code near each part of the traceback</td></tr> |
|---|
| 83 | <tr><td><img src="{{prefix}}/media/plus.jpg" /></td><td>Show a debug prompt to allow you to directly debug the code at the traceback</td></tr> |
|---|
| 84 | </table> |
|---|
| 85 | </div>{{repost_button|html}} |
|---|
| 86 | |
|---|
| 87 | </div> |
|---|
| 88 | </div> |
|---|
| 89 | <br class="clear" /> |
|---|
| 90 | <div class="hr"><hr class="clear" /></div> |
|---|
| 91 | </div> |
|---|
| 92 | <!-- Footer --> |
|---|
| 93 | <div id="footer">{{footer_html|html}}</div> |
|---|
| 94 | <script type="text/javascript" src="{{prefix}}/media/jquery-1.2.1.min.js"></script> |
|---|
| 95 | <script type="text/javascript" src="{{prefix}}/media/debug.js"></script> |
|---|
| 96 | </body> |
|---|
| 97 | </html> |
|---|