Skip to content

Instantly share code, notes, and snippets.

@craftzdog
Created September 10, 2018 06:29
Show Gist options
  • Save craftzdog/e33165a344f71890ad10f2265d083e44 to your computer and use it in GitHub Desktop.
Save craftzdog/e33165a344f71890ad10f2265d083e44 to your computer and use it in GitHub Desktop.
<!doctype html>
<html>
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
<title>Craftzdog&apos;s Room Conditions</title>
<script src="lib/highcharts.js"></script>
<script src="lib/dark-unica.js"></script>
<script src="lib/moment.min.js"></script>
<script src="lib/moment-timezone-with-data-2012-2022.min.js"></script>
<script src="lib/firebase-app.js"></script>
<script src="lib/firebase-auth.js"></script>
<script src="lib/firebase-firestore.js"></script>
<link rel="stylesheet" href="lib/semantic.min.css" />
<link rel="stylesheet" href="lib/semantic-icon.css" />
<link rel="stylesheet" href="./app.css" />
</head>
<body>
<div class="ui container">
<h1 class="align center">My Room Conditions <i class="home icon"></i></h1>
<div class="ui stackable grid">
<div id="temperature" class="eight wide column" style="width:100%; height:400px;"></div>
<div id="humidity" class="eight wide column" style="width:100%; height:400px;"></div>
<div id="pressure" class="eight wide column" style="width:100%; height:400px;"></div>
<div id="light" class="eight wide column" style="width:100%; height:400px;"></div>
</div>
</div>
<script src="./app.js"></script>
<script>
retrieveData().then(data => {
renderChart(data)
})
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment