-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
51 lines (46 loc) · 3.15 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Origin Trial Token -->
<meta http-equiv="origin-trial" content="AtgOYVRO5xlsm/3qCzZ701Hx8qTUrCUbFVML9Z8E9vELP5w9K9E73YWGBQc4Ivy0hGd+++sh7JUtKx+3EuV3ngkAAABeeyJvcmlnaW4iOiAiaHR0cHM6Ly9ibHVlYXBwaW8uZ2l0aHViLmlvOjQ0MyIsICJmZWF0dXJlIjogIldlYkJsdWV0b290aCIsICJleHBpcnkiOiAxNDc2ODE1NjAyfQ==" />
<title>Cypress WSN</title>
<link rel='stylesheet prefetch' href='https://cdnjs.cloudflare.com/ajax/libs/angular-material/0.9.7/angular-material.min.css'>
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/nvd3/1.8.1/nv.d3.min.css"/>
</head>
<script src='https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.3.15/angular.min.js'></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.3.15/angular-animate.min.js'></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.3.15/angular-aria.min.js'></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/angular-material/0.8.2/angular-material.min.js'></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.6/d3.min.js" charset="utf-8"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/nvd3/1.8.1/nv.d3.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/angular-nvd3/1.0.5/angular-nvd3.min.js"></script>
<script src="https://blueappio.github.io/blueapp.io/blueapp.io.min.js"></script>
<script src="cypressWSN.js"></script>
<script src="app.js"></script>
<body ng-app="cypressWSN" class="cypress thing">
<div ng-controller="mainController as main" md-theme-watch="true">
<div ng-repeat="peripheral in cypressWSN.peripherals">
<h3>{{peripheral.name}}</h3>
<div class="layout-wrap layout-row flex-100" layout="row" flex="100" layout-wrap="">
<div layout="column" flex="100" flex-gt-sm="50" class="layout-column flex-gt-sm-50 flex-100">
<md-input-container>
<label>Temperature</label>
<input type="text" ng-model="peripheral.temperature" ng-disabled="true" style="color:black;">
</md-input-container>
<nvd3 options="tempOptions" data="peripheral.tempGraphData" style="margin-left: -30px;" ng-show="peripheral.tempData"></nvd3>
</div>
<div layout="column" flex="100" flex-gt-sm="50" class="layout-column flex-gt-sm-50 flex-100">
<md-input-container>
<label>Humidity</label>
<input type="text" ng-model="peripheral.humidity" ng-disabled="true" style="color:black;">
</md-input-container>
<nvd3 options="humidityOptions" data="peripheral.humidityGraphData" style="margin-left: -30px;" ng-show="peripheral.humidityData"></nvd3>
</div>
</div>
</div>
</div>
</body>
</html>