forked from jochasinga/firepot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
23 lines (23 loc) · 893 Bytes
/
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
<!DOCTYPE html>
<html ng-app="app">
<head>
<title>Finch's Color-O-Matic Gizmo</title>
<link href="style.css" rel="stylesheet">
</head>
<body ng-controller="Ctrl">
<div id="container" ng-style="{'background-color': 'rgb(' + data.r + ',' + data.g + ',' + data.b +')'}">
<div id="contents">
<div id="name">
Finch's Color-O-Matic Gizmo
</div>
<div id="rgb">
<div id="r">{{ data.r }}</div> : <div id="g">{{ data.g }}</div> : <div id="b">{{ data.b }}</div>
</div>
</div>
</div>
<script src="https://www.gstatic.com/firebasejs/3.7.2/firebase.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.0-beta.19/angular.min.js"></script>
<script src="https://cdn.firebase.com/libs/angularfire/2.3.0/angularfire.min.js"></script>
<script src="index.js"></script>
</body>
</html>