liquid_feedback_frontend

diff app/main/_layout/system_error.html @ 7:3941792e8be6

Version beta3

Table allowed_policy is respected while creating new issues

Broken vote now/later link is not shown anymore (until it's implemented)

More user friendly error page

Minor spelling error corrected
author bsw
date Sat Jan 02 12:00:00 2010 +0100 (2010-01-02)
parents 3bfb2fcf7ab9
children 00d1004545f1
line diff
     1.1 --- a/app/main/_layout/system_error.html	Sat Jan 02 12:00:00 2010 +0100
     1.2 +++ b/app/main/_layout/system_error.html	Sat Jan 02 12:00:00 2010 +0100
     1.3 @@ -3,39 +3,73 @@
     1.4      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
     1.5      <title>Liquid Democracy System Error</title>
     1.6      <link rel="stylesheet" type="text/css" media="screen" href="__BASEURL__/static/trace.css" />
     1.7 -    <link rel="stylesheet" type="text/css" media="screen" href="__BASEURL__/static/style.css" />
     1.8 +    <style>
     1.9 +      body {
    1.10 +        font-family: sans-serif;
    1.11 +      }
    1.12 +      .title {
    1.13 +        font-size: 150%;
    1.14 +        font-weight: bold;
    1.15 +      }
    1.16 +      .layout_trace {
    1.17 +        left: 0;
    1.18 +      }
    1.19 +      a {
    1.20 +        background-color: #ddd;
    1.21 +        color: #000;
    1.22 +        padding: 1ex;
    1.23 +        margin: 1ex;
    1.24 +        line-height: 300%;
    1.25 +        border: 1px solid #777;
    1.26 +      }
    1.27 +      hr {
    1.28 +        margin-top: 2ex;
    1.29 +        margin-bottom: 2ex;
    1.30 +      }
    1.31 +    </style>
    1.32    </head>
    1.33    <body class="system_error">
    1.34 -    <div class="layout_content">
    1.35 -      <div class="layout_title">
    1.36 -        <div class="title">
    1.37 -          <br />
    1.38 -          <br />
    1.39 -          System message
    1.40 -        </div>
    1.41 -      </div>
    1.42 -      <br style="clear: left;">
    1.43 -      <div class="layout_actions">
    1.44 -        &nbsp;
    1.45 -      </div>
    1.46 -      <div class="layout_main">
    1.47 -        <div class="main">
    1.48 -          <tt><!-- WEBMCP SLOT system_error --></tt>
    1.49 -          <br />
    1.50 -          <br />
    1.51 -          <br />
    1.52 -          <br />
    1.53 -          <button onclick="window.location.reload()">Retry request</button>
    1.54 -          <a href="__BASEURL__">index</a>
    1.55 -        </div>
    1.56 -      </div>
    1.57 +
    1.58 +    <div class="title">
    1.59 +      <img src="__BASEURL__/static/lang/en.png" />
    1.60 +      Ooops, a system error occured
    1.61 +    </div>
    1.62 +    <p>
    1.63 +      Most probably you found a software bug. Don't panic, you can now choose one of the following options:
    1.64 +    </p>
    1.65 +
    1.66 +    <nobr><a href="__BASEURL__">Go to start page</a></nobr>
    1.67 +    <nobr><a href="#" onclick="window.location.reload()">Retry request</a></nobr>
    1.68 +    <nobr><a href="http://trac.public-software-group.org/projects/lf" target="_blank">Create bug report</a></nobr>
    1.69 +
    1.70 +    <hr />
    1.71 +
    1.72 +    <div class="title">
    1.73 +      <img src="__BASEURL__/static/lang/de.png" />
    1.74 +      Leider ist ein Systemfehler aufgetreten
    1.75      </div>
    1.76 -      <div class="layout_trace" id="layout_trace" style="xdisplay: none">
    1.77 -	    <div id="trace_show" onclick="document.getElementById('trace_content').style.display='block';this.style.display='none';" style="display: none;">TRACE</div>
    1.78 -        <div id="trace_content">
    1.79 -	        <!-- WEBMCP SLOT trace -->
    1.80 -	        <div class="trace_close" onclick="document.getElementById('trace_show').style.display='block';document.getElementById('trace_content').style.display='none';">close</div>
    1.81 -	    </div>
    1.82 -      </div>
    1.83 +    <p>
    1.84 +      Du hast vermutlich gerade einen Fehler in der Software entdeckt. Das ist kein Grund zur Panik, dir bleiben die folgenden Optionen:
    1.85 +    </p>
    1.86 +
    1.87 +    <nobr><a href="__BASEURL__">Weiter zur Startseite</a></nobr>
    1.88 +    <nobr><a href="#" onclick="window.location.reload()">Anfrage wiederholen</a></nobr>
    1.89 +    <nobr><a href="http://trac.public-software-group.org/projects/lf" target="_blank">Fehlerbericht erstellen</a></nobr>
    1.90 +
    1.91 +    <hr />
    1.92 +    <p>
    1.93 +      If you write a bug report, please include the following output in your bug report.<br />
    1.94 +      Falls Du einen Fehlerbericht erstellst, füge bitte die folgenden Ausgaben mit ein.
    1.95 +    </p>
    1.96 +    <tt style="font-size: 75%;"><!-- WEBMCP SLOT system_error --></tt>
    1.97 +
    1.98 +
    1.99 +    <div class="layout_trace" id="layout_trace" style="xdisplay: none">
   1.100 +      <div id="trace_show" onclick="document.getElementById('trace_content').style.display='block';this.style.display='none';" style="display: none;">TRACE</div>
   1.101 +      <div id="trace_content">
   1.102 +        <!-- WEBMCP SLOT trace -->
   1.103 +      <div class="trace_close" onclick="document.getElementById('trace_show').style.display='block';document.getElementById('trace_content').style.display='none';">close</div>
   1.104 +    </div>
   1.105 +
   1.106    </body>
   1.107  </html>
   1.108 \ No newline at end of file

Impressum / About Us