Skip to content
Snippets Groups Projects
Commit 83dce9cb authored by Christian Elberfeld's avatar Christian Elberfeld
Browse files

statische ausweichseite für status

parent d14794e1
No related branches found
No related tags found
No related merge requests found
<!DOCTYPE html>
<!--[if IE 7 | IE 8]>
<html class="ie" lang="en-US">
<![endif]-->
<!--[if !(IE 7) | !(IE 8) ]><!-->
<html lang="en-US">
<!--<![endif]-->
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
<title> Warpzone Status </title>
<link rel='stylesheet' id='frank_stylesheet-css' href='http://warpzone.ms/wp-content/themes/frank/style.css' type='text/css' media='all' />
<!--[if IE]>
<link rel='stylesheet' id='frank_stylesheet_ie-css' href='http://warpzone.ms/wp-content/themes/frank/ie.css' type='text/css' media='all' />
<![endif]-->
<link rel='stylesheet' id='emoticons-css' href='http://warpzone.ms/wp-content/plugins/font-emoticons/emoticons.css' type='text/css' media='all' />
<!--[if lt IE 9]><script src="http://warpzone.ms/wp-content/themes/frank/javascripts/html5.js"></script><![endif]--><!--[if lt IE 7]><script src="http://warpzone.ms/wp-content/themes/frank/javascripts/ie7.js"></script><![endif]--> <style type="text/css">
#site-title-description {
position: absolute !important;
clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
clip: rect(1px, 1px, 1px, 1px);
}
</style>
<style type="text/css" id="custom-background-css">
body.custom-background { background-color: #fffefe; }
</style>
<link rel='stylesheet' id='frank_stylesheet-css' href='http://warpzone.ms/wp-content/themes/frank/style.css' type='text/css' media='all' />
<!--[if IE]>
<link rel='stylesheet' id='frank_stylesheet_ie-css' href='http://warpzone.ms/wp-content/themes/frank/ie.css' type='text/css' media='all' />
<![endif]-->
</head>
<body id="page" class="home blog custom-background">
<!--[if lt IE 9]>
<div class="chromeframe">Your browser is out of date. Please <a href="http://browsehappy.com/">upgrade your browser </a> or <a href="http://www.google.com/chromeframe/?redirect=true">install Google Chrome Frame</a>.</div>
<![endif]-->
<div class="container">
<a href="http://warpzone.ms/">
<img src="http://warpzone.ms/wp-content/uploads/2013/11/cropped-warpzone_schriftzug.png" width="980" height="122" alt="" />
</a>
<style type="text/css" media="screen">
#site-nav h3{
display: none;
}
#site-nav{
border: 0px;
}
.zonenstatus {
padding: 15px 10px;
display: block;
color: #050000;
font: 700 11px Sans-Serif;
}
</style>
<script type="text/javascript">
function queryWankerStatus() {
jQuery.getJSON("/api/status",function(result) {
if (result != null && result.tuerOffen != null)
{
if (result.tuerOffen == 1)
{
jQuery("#wankerTuerOffen").html("<font color=\"00cc00\">Offen</font>");
}
else
{
jQuery("#wankerTuerOffen").html("<font color=\"cc0000\">Geschlossen</font>");
}
}
if (result != null && result.tempLounge != null && result.tempLounge)
{
var tempLounge = (result.tempLounge / 10) + "&deg;C";
jQuery("#wankerTempLounge").html(tempLounge);
}
if (result != null && result.tempWerkstatt != null && result.tempWerkstatt)
{
var tempWerkstatt = (result.tempWerkstatt / 10) + "&deg;C";
jQuery("#wankerTempWerkstatt").html(tempWerkstatt);
}
});
setTimeout(queryWankerStatus, 30000);
}
jQuery(document).ready(function() {
queryWankerStatus();
});
</script>
<br/>
<span class="zonenstatus">Status: <span id="wankerTuerOffen" class="wankerClosed">Unbekannt</span></span>
<br/>
<span class="zonenstatus">Lounge: <span id="wankerTempLounge">--</span></span>
<br/>
<span class="zonenstatus">Werkstatt: <span id="wankerTempWerkstatt">--</span></span>
</div>
</body>
</html>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment