ordersprinter/spider/infopage.html

66 lines
1.5 KiB
HTML

<html>
<head>
<head>
<title>OrderSprinter Spider Startseite</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="styles/spider.css">
<script src="3rdparty/jquery-2.0.3.min.js"></script>
<script src="utils.js"></script>
</head>
<body>
<script>
var nexturl = "";
$( document ).ready(function() {
var urlsuffix = location.search;
if (urlsuffix.length!=0) {
var urlstr=urlsuffix.slice(1);
var parts = urlstr.split("=");
var infotype = parts[0];
nexturl = parts[1];
var msg = parts[2].replace(/_/g," ");
if (infotype == "e") {
$("#head").html("Fehler/Error");
} else {
$("#head").html("Information");
}
$("#infotextarea").html(msg);
}
$("#confirmbutton").off("click").on("click", function (e) {
e.stopImmediatePropagation();
e.preventDefault();
setTimeout(function(){document.location.href = nexturl},500);
});
});
</script>
<div data-role="page" id="index-page">
<div data-role="panel" id="modulepanel" data-position="right" data-display="overlay">
</div><!-- /panel -->
<div data-role="header" data-theme="b" data-position="fixed" id="theheader">
<h1>Info</h1>
</div>
<table class=genTable>
<tr><th colspan=2 id="head">Information</tr>
<tr><td>Meldung<td id=infotextarea></tr>
<tr><td colspan=2><input type="submit" id="confirmbutton" value="Bestätigen" /></tr>
</table>
</div>
</body>
</html>