-
Notifications
You must be signed in to change notification settings - Fork 1
/
main.html
44 lines (31 loc) · 1.04 KB
/
main.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
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>D3 Liquid Fill Gauge and AngularJS</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
<link rel="stylesheet" href="main.css">
<script src="http://d3js.org/d3.v3.min.js" language="JavaScript"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular.min.js"></script>
<script src="app.js"></script>
</head>
<body ng-app="app">
<div class="container" ng-controller="testCtrl" ng-init="init(78)">
<div class="row">
<form role="form" novalidate>
<div class="form-group">
<div class="col-xs-6">
<div class="range range-info">
<input type="range" ng-model="completionPercent" name="range" min="1" max="100" onchange="percentage.value=value">
<output id="percentage">78</output>
</div>
</div>
</div>
</form>
<br/>
</div>
<br/><br/><br/><br/>
<burble percentage='completionPercent'></burble>
</div>
</body>
</html>