123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- <html>
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0 user-scalable=no">
- <link rel="stylesheet" href="{{root_escape}}script/semantic/semantic.min.css">
- <script type="text/javascript" src="{{root_escape}}script/jquery.min.js"></script>
- <script type="text/javascript" src="{{root_escape}}script/semantic/semantic.min.js"></script>
- <title>Internal Server Error</title>
- <style>
- #msg{
- position: absolute;
- top: calc(50% - 150px);
- left: calc(50% - 250px);
- width: 500px;
- height: 300px;
- text-align: center;
- }
- #footer{
- position: fixed;
- padding: 2em;
- padding-left: 5em;
- padding-right: 5em;
- bottom: 0px;
- left: 0px;
- width: 100%;
- }
- small{
- word-break: break-word;
- }
- </style>
- </head>
- <body>
- <div id="msg">
- <h1 style="font-size: 6em; margin-bottom: 0px;">500</h1>
- <div>
- <h3 class="">Internal Server Error</h3>
- <div class="ui divider"></div>
- <p>Unable to serve the requested page due to some unknown backend error. <br><a style="cursor: pointer;" onclick="back();">Back</a></p>
- <div class="ui divider"></div>
- <div style="text-align: left;">
- <small>Request time: <span id="reqtime"></span></small><br>
- <small id="reqURLDisplay">Request URI: {{request_url}}</small>
- </div>
- </div>
- </div>
- <script>
- var ao_module_virtualDesktop = false;
- try{
- ao_module_virtualDesktop = !(!parent.isDesktopMode);
- }catch(ex){
-
- }
- function back(){
- if (ao_module_virtualDesktop){
- history.back();
- }else{
- window.location.href = "{{root_escape}}";
- }
- }
- $("#reqtime").text(new Date().toLocaleString(undefined, {year: 'numeric', month: '2-digit', day: '2-digit', weekday:"long", hour: '2-digit', hour12: false, minute:'2-digit', second:'2-digit'}));
- </script>
- </body>
- </html>
|