forked from thomaseichhorn/bacdevice
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Separate web pages for each device...
- Loading branch information
1 parent
87188b8
commit 8ef292b
Showing
10 changed files
with
1,914 additions
and
655 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,112 @@ | ||
<html> | ||
<head> | ||
<script type="text/javascript" src="dygraph.js"></script> | ||
<script type="text/javascript" src="synchronizer.js"></script> | ||
<link rel="stylesheet" href="dygraph.css" /> | ||
<title> | ||
DAF Status | ||
</title> | ||
</head> | ||
|
||
<style type="text/css"> | ||
.Table | ||
{ | ||
display: table; | ||
} | ||
.Title | ||
{ | ||
display: table-caption; | ||
text-align: center; | ||
font-weight: bold; | ||
font-size: larger; | ||
} | ||
.Heading | ||
{ | ||
display: table-row; | ||
font-weight: bold; | ||
text-align: center; | ||
} | ||
.Row | ||
{ | ||
display: table-row; | ||
} | ||
.Cell | ||
{ | ||
display: table-cell; | ||
border: solid; | ||
border-width: thin; | ||
padding-left: 5px; | ||
padding-right: 5px; | ||
} | ||
</style> | ||
<body> | ||
<h1><center> DAF CMS Status </center></h1> | ||
|
||
<p> </p> | ||
<p> </p> | ||
<p> <a href="index.html">Back to main page</a> </p> | ||
<p> </p> | ||
|
||
<div class="Table" style="width: 90%; border: 1px; solid #000;"> | ||
<div class="Title"> | ||
<p>Dust 1</p> | ||
</div> | ||
<div class="Heading"> | ||
<div class="Cell"> | ||
<p>Small</p> | ||
</div> | ||
<div class="Cell"> | ||
<p>Large</p> | ||
</div> | ||
</div> | ||
<div class="Row"> | ||
<div class="Cell" id="graphdiv_dust1s" style="width:30%; height:300px;"> | ||
</div> | ||
<div class="Cell" id="graphdiv_dust1l" style="width:30%; height:300px;"> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<p> </p> | ||
<p> </p> | ||
<p> </p> | ||
|
||
<script type="text/javascript"> | ||
|
||
gdust1s = new Dygraph ( | ||
document.getElementById ( "graphdiv_dust1s" ), | ||
"dustmeter_a49_dust_small.csv", | ||
{ | ||
labels: ["Date", "Counts / m3"], | ||
legend : 'always', | ||
visibility : [true], | ||
ylabel : 'Counts / m3', | ||
color : 'brown', | ||
rollPeriod: 10, | ||
showRoller: true | ||
} | ||
); | ||
|
||
gdust1l = new Dygraph ( | ||
document.getElementById ( "graphdiv_dust1l" ), | ||
"dustmeter_a49_dust_large.csv", | ||
{ | ||
labels: ["Date", "Counts / m3"], | ||
legend : 'always', | ||
visibility : [true], | ||
ylabel : 'Counts / m3', | ||
color : 'magenta', | ||
rollPeriod: 10, | ||
showRoller: true | ||
} | ||
); | ||
|
||
sync_dust1 = Dygraph.synchronize ( gdust1s, gdust1l, | ||
{ | ||
zoom : true, selection : true, range : false | ||
} ); | ||
|
||
</script> | ||
|
||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,112 @@ | ||
<html> | ||
<head> | ||
<script type="text/javascript" src="dygraph.js"></script> | ||
<script type="text/javascript" src="synchronizer.js"></script> | ||
<link rel="stylesheet" href="dygraph.css" /> | ||
<title> | ||
DAF Status | ||
</title> | ||
</head> | ||
|
||
<style type="text/css"> | ||
.Table | ||
{ | ||
display: table; | ||
} | ||
.Title | ||
{ | ||
display: table-caption; | ||
text-align: center; | ||
font-weight: bold; | ||
font-size: larger; | ||
} | ||
.Heading | ||
{ | ||
display: table-row; | ||
font-weight: bold; | ||
text-align: center; | ||
} | ||
.Row | ||
{ | ||
display: table-row; | ||
} | ||
.Cell | ||
{ | ||
display: table-cell; | ||
border: solid; | ||
border-width: thin; | ||
padding-left: 5px; | ||
padding-right: 5px; | ||
} | ||
</style> | ||
<body> | ||
<h1><center> DAF CMS Status </center></h1> | ||
|
||
<p> </p> | ||
<p> </p> | ||
<p> <a href="index.html">Back to main page</a> </p> | ||
<p> </p> | ||
|
||
<div class="Table" style="width: 90%; border: 1px; solid #000;"> | ||
<div class="Title"> | ||
<p>Dust 2</p> | ||
</div> | ||
<div class="Heading"> | ||
<div class="Cell"> | ||
<p>Small</p> | ||
</div> | ||
<div class="Cell"> | ||
<p>Large</p> | ||
</div> | ||
</div> | ||
<div class="Row"> | ||
<div class="Cell" id="graphdiv_dust2s" style="width:30%; height:300px;"> | ||
</div> | ||
<div class="Cell" id="graphdiv_dust2l" style="width:30%; height:300px;"> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<p> </p> | ||
<p> </p> | ||
<p> </p> | ||
|
||
<script type="text/javascript"> | ||
|
||
gdust2s = new Dygraph ( | ||
document.getElementById ( "graphdiv_dust2s" ), | ||
"dustmeter_a57_dust_small.csv", | ||
{ | ||
labels: ["Date", "Counts / m3"], | ||
legend : 'always', | ||
visibility : [true], | ||
ylabel : 'Counts / m3', | ||
color : 'brown', | ||
rollPeriod: 10, | ||
showRoller: true | ||
} | ||
); | ||
|
||
gdust2l = new Dygraph ( | ||
document.getElementById ( "graphdiv_dust2l" ), | ||
"dustmeter_a57_dust_large.csv", | ||
{ | ||
labels: ["Date", "Counts / m3"], | ||
legend : 'always', | ||
visibility : [true], | ||
ylabel : 'Counts / m3', | ||
color : 'magenta', | ||
rollPeriod: 10, | ||
showRoller: true | ||
} | ||
); | ||
|
||
sync_dust2 = Dygraph.synchronize ( gdust2s, gdust2l, | ||
{ | ||
zoom : true, selection : true, range : false | ||
} ); | ||
|
||
</script> | ||
|
||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,112 @@ | ||
<html> | ||
<head> | ||
<script type="text/javascript" src="dygraph.js"></script> | ||
<script type="text/javascript" src="synchronizer.js"></script> | ||
<link rel="stylesheet" href="dygraph.css" /> | ||
<title> | ||
DAF Status | ||
</title> | ||
</head> | ||
|
||
<style type="text/css"> | ||
.Table | ||
{ | ||
display: table; | ||
} | ||
.Title | ||
{ | ||
display: table-caption; | ||
text-align: center; | ||
font-weight: bold; | ||
font-size: larger; | ||
} | ||
.Heading | ||
{ | ||
display: table-row; | ||
font-weight: bold; | ||
text-align: center; | ||
} | ||
.Row | ||
{ | ||
display: table-row; | ||
} | ||
.Cell | ||
{ | ||
display: table-cell; | ||
border: solid; | ||
border-width: thin; | ||
padding-left: 5px; | ||
padding-right: 5px; | ||
} | ||
</style> | ||
<body> | ||
<h1><center> DAF CMS Status </center></h1> | ||
|
||
<p> </p> | ||
<p> </p> | ||
<p> <a href="index.html">Back to main page</a> </p> | ||
<p> </p> | ||
|
||
<div class="Table" style="width: 90%; border: 1px; solid #000;"> | ||
<div class="Title"> | ||
<p>Dust 3 via Raspberry4</p> | ||
</div> | ||
<div class="Heading"> | ||
<div class="Cell"> | ||
<p>Small</p> | ||
</div> | ||
<div class="Cell"> | ||
<p>Large</p> | ||
</div> | ||
</div> | ||
<div class="Row"> | ||
<div class="Cell" id="graphdiv_dust3s" style="width:30%; height:300px;"> | ||
</div> | ||
<div class="Cell" id="graphdiv_dust3l" style="width:30%; height:300px;"> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<p> </p> | ||
<p> </p> | ||
<p> </p> | ||
|
||
<script type="text/javascript"> | ||
|
||
gdust3s = new Dygraph ( | ||
document.getElementById ( "graphdiv_dust3s" ), | ||
"raspberry4_DustSensor_1_smalldust.csv", | ||
{ | ||
labels: ["Date", "Counts / m3"], | ||
legend : 'always', | ||
visibility : [true], | ||
ylabel : 'Counts / m3', | ||
color : 'brown', | ||
rollPeriod: 10, | ||
showRoller: true | ||
} | ||
); | ||
|
||
gdust3l = new Dygraph ( | ||
document.getElementById ( "graphdiv_dust3l" ), | ||
"raspberry4_DustSensor_1_largedust.csv", | ||
{ | ||
labels: ["Date", "Counts / m3"], | ||
legend : 'always', | ||
visibility : [true], | ||
ylabel : 'Counts / m3', | ||
color : 'magenta', | ||
rollPeriod: 10, | ||
showRoller: true | ||
} | ||
); | ||
|
||
sync_dust3 = Dygraph.synchronize ( gdust3s, gdust3l, | ||
{ | ||
zoom : true, selection : true, range : false | ||
} ); | ||
|
||
</script> | ||
|
||
</body> | ||
</html> |
Oops, something went wrong.