Use complete HTML documents in popups

This commit is contained in:
Larry Meaney
2019-09-28 17:19:53 -07:00
parent 1fd376e365
commit ff713722e4
4 changed files with 28 additions and 0 deletions
+7
View File
@@ -26,6 +26,11 @@ if (array_key_exists('getdiagnostics', $_GET)) {
exit;
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="robots" content="noindex, nofollow">
<meta http-equiv="Content-Security-Policy" content="block-all-mixed-content">
<link type="text/css" rel="stylesheet" href="<?autov("/webGui/styles/default-fonts.css")?>">
<link type="text/css" rel="stylesheet" href="<?autov("/webGui/styles/default-popup.css")?>">
<style>
@@ -40,6 +45,7 @@ textarea{width:100%;height:250px;margin:10px 0}
input[type=button]{margin-right:0;float:right}
input[type=email]{margin-top:8px;float:left}
</style>
</head>
<body>
<div style="margin-top:0;line-height:30px;margin-left:5px;margin-right:5px">
<div id="control_panel" class="four">
@@ -198,3 +204,4 @@ $(function() {
});
</script>
</body>
</html>
+7
View File
@@ -16,6 +16,11 @@ require_once "$docroot/webGui/include/Helpers.php";
$var = parse_ini_file('state/var.ini');
$keyfile = base64_encode(file_get_contents($var['regFILE']));
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="robots" content="noindex, nofollow">
<meta http-equiv="Content-Security-Policy" content="block-all-mixed-content">
<link type="text/css" rel="stylesheet" href="<?autov("/webGui/styles/default-fonts.css")?>">
<link type="text/css" rel="stylesheet" href="<?autov("/webGui/styles/default-popup.css")?>">
<script src="<?autov('/webGui/javascript/dynamix.js')?>"></script>
@@ -51,6 +56,7 @@ function replaceKey(email, guid, keyfile) {
}
}
</script>
</head>
<body>
<div style="margin-top:20px;line-height:30px;margin-left:40px">
<div id="status_panel"></div>
@@ -67,3 +73,4 @@ Once a replacement key is generated, your old USB Flash device will be <b>blackl
</form>
</div>
</body>
</html>
@@ -31,6 +31,11 @@ function dmidecode($key,$n,$all=true) {
return $all ? $properties : $properties[0];
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="robots" content="noindex, nofollow">
<meta http-equiv="Content-Security-Policy" content="block-all-mixed-content">
<link type="text/css" rel="stylesheet" href="<?autov("/webGui/styles/default-fonts.css")?>">
<link type="text/css" rel="stylesheet" href="<?autov("/webGui/styles/default-popup.css")?>">
<style>
@@ -56,6 +61,7 @@ function updateTime() {
setTimeout(updateTime, 1000);
}
</script>
</head>
<body onLoad="updateTime()">
<div class="box">
<div><span class="key">Model:</span>
@@ -226,3 +232,4 @@ foreach ($sPorts as $port) {
<?endif;?>
</div></div>
</body>
</html>
+7
View File
@@ -20,9 +20,15 @@ if (!empty($_POST['trial'])) {
exit;
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="robots" content="noindex, nofollow">
<meta http-equiv="Content-Security-Policy" content="block-all-mixed-content">
<link type="text/css" rel="stylesheet" href="<?autov("/webGui/styles/default-fonts.css")?>">
<link type="text/css" rel="stylesheet" href="<?autov("/webGui/styles/default-popup.css")?>">
<script src="<?autov('/webGui/javascript/dynamix.js')?>"></script>
</head>
<body>
<div style="margin:20px;">
<div id="status_panel"></div>
@@ -65,3 +71,4 @@ $('#eula').change(function() {
});
</script>
</body>
</html>