forked from radcortez/javaee7-angular
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
52 lines (42 loc) · 1.69 KB
/
Copy pathindex.html
File metadata and controls
52 lines (42 loc) · 1.69 KB
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
<!DOCTYPE html>
<!-- Declares the root element that allows behaviour to be modified through Angular custom HTML tags. -->
<html ng-app="persons">
<head>
<title>javaee7-angular</title>
<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css">
<!-- build:css css/third-party.css -->
<!-- bower:css -->
<link rel="stylesheet" href="lib/bower/angular-grid/ng-grid.css" />
<!-- endbower -->
<!-- endbuild -->
<!-- build:css css/application.css -->
<link rel="stylesheet" type="text/css" href="css/style.css"/>
<!-- endbuild -->
<!-- build:js lib/third-party.js -->
<!-- bower:js -->
<script src="lib/bower/jquery/jquery.js"></script>
<script src="lib/bower/angular/angular.js"></script>
<script src="lib/bower/angular-bootstrap/ui-bootstrap-tpls.js"></script>
<script src="lib/bower/angular-grid/build/ng-grid.js"></script>
<!-- endbower -->
<!-- endbuild -->
<!-- build:js script/all.js -->
<script src="script/person.js"></script>
<!-- endbuild -->
</head>
<body>
<br>
<div class="grid">
<!-- Specify a JavaScript controller script that binds Javascript variables to the HTML.-->
<div ng-controller="personsList">
<!-- Binds the grid component to be displayed. -->
<div class="gridStyle" ng-grid="gridOptions"></div>
<!-- Bind the pagination component to be displayed. -->
<pagination direction-links="true" boundary-links="true"
total-items="persons.totalResults" page="persons.currentPage" items-per-page="persons.pageSize"
on-select-page="refreshGrid(page)">
</pagination>
</div>
</div>
</body>
</html>