-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathindex.html
More file actions
54 lines (47 loc) · 1.37 KB
/
Copy pathindex.html
File metadata and controls
54 lines (47 loc) · 1.37 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
53
54
<!DOCTYPE html>
<html lang="en" ng-app="app">
<head>
<meta charset="UTF-8">
<title>Advanced Directives with Angular JS</title>
<script src="/vendor/jquery.js"></script>
<script src="/vendor/angular.js"></script>
<script src="/app_module.js"></script>
<script src="/grid_directives.js"></script>
<style type="text/css">
td {
border: 1px solid #ccc;
padding: 5px;
}
a {
cursor: pointer;
}
a::before {
content: '\25B6';
}
.editing a::before {
content: '\25BC';
}
</style>
</head>
<body>
<h1>Advanced Directives with Angular JS</h1>
<pre>
<grid-screen resource="/api/data.js">
<grid-columns>
<grid-column title="Product" field="product" />
<grid-column title="Description" field="description" />
<grid-column title="Cost" field="cost" />
</grid-columns>
<grid with-inline-editor></grid>
</grid-screen>
</pre>
<grid-screen resource="/api/data.json">
<grid-columns>
<grid-column title="Product" field="product"></grid-column>
<grid-column title="Description" field="description"></grid-column>
<grid-column title="Cost" field="cost"></grid-column>
</grid-columns>
<grid with-inline-editor></grid>
</grid-screen>
</body>
</html>