liquid_feedback_frontend
annotate app/main/_layout/system_error.html @ 157:24e47baf5f9b
strip html from fallback title
if the slot is used for title, make sure the html is stripped from it
if the slot is used for title, make sure the html is stripped from it
| author | Daniel Poelzleithner <poelzi@poelzi.org> |
|---|---|
| date | Fri Oct 08 20:31:09 2010 +0200 (2010-10-08) |
| parents | 00d1004545f1 |
| children | 701a5cf6b067 |
| rev | line source |
|---|---|
| bsw/jbe@0 | 1 <html> |
| bsw/jbe@0 | 2 <head> |
| bsw/jbe@0 | 3 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> |
| bsw/jbe@19 | 4 <title>LiquidFeedback Error</title> |
| bsw/jbe@0 | 5 <link rel="stylesheet" type="text/css" media="screen" href="__BASEURL__/static/trace.css" /> |
| bsw@7 | 6 <style> |
| bsw@7 | 7 body { |
| bsw@7 | 8 font-family: sans-serif; |
| bsw@7 | 9 } |
| bsw@7 | 10 .title { |
| bsw@7 | 11 font-size: 150%; |
| bsw@7 | 12 font-weight: bold; |
| bsw@7 | 13 } |
| bsw@7 | 14 .layout_trace { |
| bsw@7 | 15 left: 0; |
| bsw@7 | 16 } |
| bsw@7 | 17 a { |
| bsw@7 | 18 background-color: #ddd; |
| bsw@7 | 19 color: #000; |
| bsw@7 | 20 padding: 1ex; |
| bsw@7 | 21 margin: 1ex; |
| bsw@7 | 22 line-height: 300%; |
| bsw@7 | 23 border: 1px solid #777; |
| bsw@7 | 24 } |
| bsw@7 | 25 hr { |
| bsw@7 | 26 margin-top: 2ex; |
| bsw@7 | 27 margin-bottom: 2ex; |
| bsw@7 | 28 } |
| bsw@7 | 29 </style> |
| bsw/jbe@0 | 30 </head> |
| bsw/jbe@0 | 31 <body class="system_error"> |
| bsw@7 | 32 |
| bsw@7 | 33 <div class="title"> |
| bsw@7 | 34 <img src="__BASEURL__/static/lang/en.png" /> |
| bsw@7 | 35 Ooops, a system error occured |
| bsw@7 | 36 </div> |
| bsw@7 | 37 <p> |
| bsw@7 | 38 Most probably you found a software bug. Don't panic, you can now choose one of the following options: |
| bsw@7 | 39 </p> |
| bsw@7 | 40 |
| bsw@7 | 41 <nobr><a href="__BASEURL__">Go to start page</a></nobr> |
| bsw@7 | 42 <nobr><a href="#" onclick="window.location.reload()">Retry request</a></nobr> |
| bsw@7 | 43 <nobr><a href="http://trac.public-software-group.org/projects/lf" target="_blank">Create bug report</a></nobr> |
| bsw@7 | 44 |
| bsw@7 | 45 <hr /> |
| bsw@7 | 46 |
| bsw@7 | 47 <div class="title"> |
| bsw@7 | 48 <img src="__BASEURL__/static/lang/de.png" /> |
| bsw@7 | 49 Leider ist ein Systemfehler aufgetreten |
| bsw/jbe@0 | 50 </div> |
| bsw@7 | 51 <p> |
| bsw@7 | 52 Du hast vermutlich gerade einen Fehler in der Software entdeckt. Das ist kein Grund zur Panik, dir bleiben die folgenden Optionen: |
| bsw@7 | 53 </p> |
| bsw@7 | 54 |
| bsw@7 | 55 <nobr><a href="__BASEURL__">Weiter zur Startseite</a></nobr> |
| bsw@7 | 56 <nobr><a href="#" onclick="window.location.reload()">Anfrage wiederholen</a></nobr> |
| bsw@7 | 57 <nobr><a href="http://trac.public-software-group.org/projects/lf" target="_blank">Fehlerbericht erstellen</a></nobr> |
| bsw@7 | 58 |
| bsw@7 | 59 <hr /> |
| bsw@7 | 60 <p> |
| bsw@7 | 61 If you write a bug report, please include the following output in your bug report.<br /> |
| bsw@7 | 62 Falls Du einen Fehlerbericht erstellst, füge bitte die folgenden Ausgaben mit ein. |
| bsw@7 | 63 </p> |
| bsw@7 | 64 <tt style="font-size: 75%;"><!-- WEBMCP SLOT system_error --></tt> |
| bsw@7 | 65 |
| bsw@7 | 66 |
| bsw@7 | 67 <div class="layout_trace" id="layout_trace" style="xdisplay: none"> |
| bsw@7 | 68 <div id="trace_show" onclick="document.getElementById('trace_content').style.display='block';this.style.display='none';" style="display: none;">TRACE</div> |
| bsw@7 | 69 <div id="trace_content"> |
| bsw@7 | 70 <!-- WEBMCP SLOT trace --> |
| bsw@7 | 71 <div class="trace_close" onclick="document.getElementById('trace_show').style.display='block';document.getElementById('trace_content').style.display='none';">close</div> |
| bsw@7 | 72 </div> |
| bsw@7 | 73 |
| bsw/jbe@0 | 74 </body> |
| bsw/jbe@0 | 75 </html> |