Skip to content

Commit

Permalink
implement change requests
Browse files Browse the repository at this point in the history
  • Loading branch information
jotpehenn committed Jan 10, 2023
1 parent e07f5fe commit c1c1d97
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 21 deletions.
19 changes: 0 additions & 19 deletions web/display/minimal/gaugevalues.php

This file was deleted.

11 changes: 9 additions & 2 deletions web/display/minimal/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,20 @@
<body>

<!-- minimal.html -->
<?php include("gaugevalues.php"); ?>
<?php
$lines = file($_SERVER['DOCUMENT_ROOT'] . '/openWB/openwb.conf');
foreach($lines as $line) {
list($key, $value) = explode("=", $line, 2);
${$key."old"} = trim( $value, " '\t\n\r\0\x0B" ); // remove all garbage and single quotes
}
?>

<script src="display/minimal/gauge.js?ver=20230106"></script>
<link rel="stylesheet" href="display/minimal/minimal.css?ver=20220510">

<div id="main">
<!-- <div id="800x480_Frame" style="position: absolute; top: 0px; left: 0px; height: 480px; width: 800px; border:1px solid white;"> </div> -->
<?php if ($lastmanagementold == "1\n") { ?>
<?php if ($lastmanagementold == "1") { ?>
<div id="gaugedivlp1" style="position: absolute; top: 10px; left: 10px; height: 460px; width: 380px;">
<canvas id="lp1" style="height: 400px; top: 30px; left: 0px; position: absolute; width: 740px;"></canvas>
<canvas id="lp1s" style="height: 400px; top: 30px; left: 0px; position: absolute; width: 740px;"></canvas>
Expand Down

0 comments on commit c1c1d97

Please sign in to comment.