Skip to content

Commit

Permalink
Separate web pages for each device...
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaseichhorn committed Jan 4, 2019
1 parent 87188b8 commit 8ef292b
Show file tree
Hide file tree
Showing 10 changed files with 1,914 additions and 655 deletions.
760 changes: 760 additions & 0 deletions var_www_html/all.html

Large diffs are not rendered by default.

112 changes: 112 additions & 0 deletions var_www_html/dust1.html
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> &nbsp; </p>
<p> &nbsp; </p>
<p> <a href="index.html">Back to main page</a> </p>
<p> &nbsp; </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> &nbsp; </p>
<p> &nbsp; </p>
<p> &nbsp; </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>
112 changes: 112 additions & 0 deletions var_www_html/dust2.html
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> &nbsp; </p>
<p> &nbsp; </p>
<p> <a href="index.html">Back to main page</a> </p>
<p> &nbsp; </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> &nbsp; </p>
<p> &nbsp; </p>
<p> &nbsp; </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>
112 changes: 112 additions & 0 deletions var_www_html/dust3.html
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> &nbsp; </p>
<p> &nbsp; </p>
<p> <a href="index.html">Back to main page</a> </p>
<p> &nbsp; </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> &nbsp; </p>
<p> &nbsp; </p>
<p> &nbsp; </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>
Loading

0 comments on commit 8ef292b

Please sign in to comment.