-
Notifications
You must be signed in to change notification settings - Fork 4
/
DelightMeter.html
29 lines (24 loc) · 1015 Bytes
/
DelightMeter.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
<!DOCTYPE html>
<html ng-app="delightMeterApp">
<head>
<title>CherryCloud app</title>
<!--link the stylesheet-->
<link rel="stylesheet" href="DelightMeterStyle.css" />
<!--include jquery and angularJS from CDN-->
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.3.min.js"></script>
<script src="https://code.angularjs.org/1.3.15/angular.js"></script>
<!--link the javascript file-->
<script src="DelightMeter.js"></script>
</head>
<body>
<div id="DelightMeterContainer" ng-controller="delightMeterController">
<!--custom tag to invoke the delight meter-->
<delight-meter ng-model="delightScore"></delight-meter>
<!--input to change the delight score value for testing-->
<div id="scoreReader">
How Delighted are you?<br />
0<input id="txtScore" type="range" min="0" max="100" ng-model="delightScore" placeholder="enter the delight score" />100
</div>
</div>
</body>
</html>