-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathindex.html
67 lines (58 loc) · 2.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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<!DOCTYPE html>
<html>
<head>
<title>Angular Table</title>
<link rel="stylesheet" type="text/css" href="vendor/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="dist/mlhr-table.css">
</head>
<body ng-app="datatorrent.mlhrTable.ghPage">
<div class="container">
<header>
<h1>malhar-angular-table</h1>
<p>An angular table directive catered to displaying real-time data.</p>
<h2>Features</h2>
<ul>
<li>complex filters</li>
<li>column sorting</li>
<li>column resizing</li>
<li>stacked ordering</li>
<li>localStorage state persistance</li>
</ul>
</header>
</div>
<div class="container" ng-controller="MainCtrl">
Selected rows:
<mlhr-table
columns="my_table_columns"
rows="my_table_data"
selected="my_selected_rows"
class="col-sm-9"
options="my_table_options"
table-class="table">
</mlhr-table>
<pre class="col-sm-3">{{my_selected_rows | json}}</pre>
</div>
<!-- vendor dependencies -->
<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.4/jquery-ui.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.2.15/angular.min.js"></script>
<script src="vendor/bootstrap/js/bootstrap.min.js"></script>
<script src="vendor/angular-sanitize.min.js"></script>
<script src="vendor/ui-bootstrap.min.js"></script>
<script src="vendor/ui-bootstrap-tpls.min.js"></script>
<script src="vendor/hamster.js"></script>
<script src="vendor/mousewheel.js"></script>
<script src="vendor/sortable.min.js"></script>
<script src="vendor/hash-key-copier.js"></script>
<!-- malhar-angular-table -->
<script src="dist/mlhr-table.js"></script>
<!-- demo code -->
<script>
angular.module('datatorrent.mlhrTable.ghPage', [
'datatorrent.mlhrTable',
'bennadel.HashKeyCopier'
]);
</script>
<script src="app/scripts/controllers/main.js"></script>
</body>
</html>