forked from IgniteUI/igniteui-angularjs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
191 lines (174 loc) · 9.28 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
<!DOCTYPE html>
<html data- ng-app="app">
<head>
<title>Ignite UI directives for AngularJS</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link type="text/css" rel="stylesheet" href="//cdn-na.infragistics.com/jquery/20132/latest/css/themes/infragistics/infragistics.theme.css" />
<link type="text/css" rel="stylesheet" href="//cdn-na.infragistics.com/jquery/20132/latest/css/structure/modules/infragistics.ui.shared.css" />
<link type="text/css" rel="stylesheet" href="//cdn-na.infragistics.com/jquery/20132/latest/css/structure/modules/infragistics.ui.grid.css" />
<link type="text/css" rel="stylesheet" href="//cdn-na.infragistics.com/jquery/20132/latest/css/structure/modules/infragistics.ui.editors.css" />
<link type="text/css" rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" />
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.min.css" type="text/css" />
<link rel="stylesheet" href="samples/sample.css" />
<script src="//modernizr.com/downloads/modernizr-latest.js"></script>
<style>
.links a, .links button {
font-size: 1.75em;
color:#999;
margin:.75em .75em 0 0;
}
.billboard {
background: url(images/home-background.jpg) no-repeat center center;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
color:#fff;
background-color: #aa8c68;
border-bottom: 10px solid #d16717;
}
.billboard .row {
margin: 1em;
}
.lead {
margin-top:1em;
}
@media only screen and (min-width:641px){
.lead {
margin-top:0;
}
.billboard {
min-height: 600px;
}
.billboard .lead {
font-size: 1.2em;
text-transform: uppercase;
}
.billboard .row {
margin:0;
margin-top: 4em;
}
.billboard h1 {
font-size: 6em;
margin-bottom:0;
}
.billboard h2 {
font-size: 2.5em;
margin-top: 0;
}
}
</style>
</head>
<body data-ng-controller="indexController">
<!--[if lt IE 8]>
<p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
<![endif]-->
<div class="billboard">
<div class="container">
<div class="row">
<div class="col-sm-12"><a href="http://igniteui.com" target="_blank"><img src="images/igniteui-logo.png" /></a></div>
</div>
<div class="row">
<h1>Ignite UI</h1>
<h2>AngularJS Directives</h2>
</div>
</div>
</div>
<div class="container">
<h2>Try it out...</h2>
<div class="row">
<div class="col-sm-8">
<ig-grid id="employees-grid"
data-source="employees"
primary-key="ProductID"
auto-generate-columns="false">
<columns>
<column key="EmployeeID" header-text="ID" data-type="number"></column>
<column key="LastName" header-text="Last Name" data-type="string"></column>
<column key="FirstName" header-text="First Name" data-type="string"></column>
<column key="Title" header-text="Title" data-type="string"></column>
</columns>
</ig-grid>
<div class="hidden-xs hidden-sm">
<h4>Code</h4>
<pre><ig-grid id="employees-grid"
data-source="employees"
primary-key="productID"
auto-generate-columns="false">
<columns>
<column key="employeeID" header-text="ID" width="65px" data-type="number"></column>
<column key="lastName" header-text="Last Name" width="250px" data-type="string"></column>
<column key="firstName" header-text="First Name" width="200px" data-type="string"></column>
<column key="title" header-text="Title" data-type="string"></column>
</columns>
</ig-grid></pre>
<p>Ignite UI controls are instantiated using AngularJS directives. This example uses markup, but
you have the ability to use <a href="samples/igGrid-controller.html">controller options</a> as well.</p>
</div>
</div>
<div class="col-sm-4">
<p class="lead">The Ignite UI AngularJS directives offer full
two-way databinding into the controls.</p>
<input type="text" data-ng-model="firstEmployee.LastName" class="form-control" />
<p class="text-muted push-down-xs">This text box is bound to the value of the last name column
of the first record in the grid. Edit the name in the box to see how the changes
are immediately reflected in the grid. This is but a taste as to what's possible
with the AngularJS directives. For full-fledged samples take a look at the
<a href="samples/igGrid.html">basic</a>, <a href="samples/igGrid-controller.html">controller options</a> and <a href="samples/grid/master-detail/index.html">master/detail</a> samples.</p>
</div>
</div>
<hr />
<h2>Samples</h2>
<div class="links">
<div class="btn-group">
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
igGrid <span class="caret"></span>
</button>
<ul class="dropdown-menu" role="menu">
<li><a href="samples/igGrid.html">Markup</a></li>
<li><a href="samples/igGrid-controller.html">Controller Options</a></li>
<li><a href="samples/grid/master-detail/index.html">Master/Detail</a></li>
</ul>
</div>
<a class="btn btn-default" href="samples/igHierarchicalGrid.html">igHierarchicalGrid</a>
<a class="btn btn-default" href="samples/igTreeGrid.html">igTreeGrid</a>
<a class="btn btn-default" href="samples/igCombo.html">igCombo</a>
<a class="btn btn-default" href="samples/igDataChart.html">igDataChart</a>
<a class="btn btn-default" href="samples/igDialog.html">igDialog</a>
<a class="btn btn-default" href="samples/igEditors.html">igEditors</a>
<a class="btn btn-default" href="samples/igHtmlEditor.html">igHtmlEditor</a>
<a class="btn btn-default" href="samples/igLayoutManager.html">igLayoutManager</a>
<a class="btn btn-default" href="samples/igTileManager.html">igTileManager</a>
<a class="btn btn-default" href="samples/igMap.html">igMap</a>
<a class="btn btn-default" href="samples/igTree.html">igTree</a>
<a class="btn btn-default" href="samples/igUpload.html">igUpload</a>
<a class="btn btn-default" href="samples/igVideoPlayer.html">igVideoPlayer</a>
</div>
<div class="push-down-md">
<a href="https://github.com/IgniteUI/igniteui-angular" class="btn btn-default btn-primary btn-lg"><i class="fa fa-github"></i> View source on GitHub</a>
</div>
</div>
<footer>
<div class="container">
<div class="row">
<div class="col-sm-12">
<p><a href="https://github.com/IgniteUI/igniteui-angular/issues">Feedback & Questions</a></p>
<p class="small">For more information or to download a trial of Ignite UI, please visit: <a href="http://igniteui.com">http://igniteui.com</a></p>
</div>
</div>
</div>
</footer>
<script src="//code.jquery.com/jquery-1.10.2.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.4/jquery-ui.min.js"></script>
<script src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.2.3/angular.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.2.3/angular-route.min.js"></script>
<script src="http://cdn-na.infragistics.com/jquery/20141/latest/js/infragistics.core.js"></script>
<script src="http://cdn-na.infragistics.com/jquery/20141/latest/js/infragistics.lob.js"></script>
<script src="src/igniteui-angular.js"></script>
<script>var app = angular.module('app', ['ngRoute','igniteui-directives']);</script>
<script src="samples/js/data/northwind-employees.js"></script>
<script src="indexController.js"></script>
</body>
</html>