-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
76 lines (68 loc) · 1.85 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
<!doctype html>
<html ng-app="app">
<head>
<title>Bootstrap Grid</title>
<link href="http://netdna.bootstrapcdn.com/twitter-bootstrap/2.2.1/css/bootstrap-combined.min.css" rel="stylesheet">
<style type="text/css">
body {
padding: 40px;
}
.grid-item-1 {
background-color: #f0f;
}
.grid-item-2 {
background-color: #0f0;
}
</style>
</head>
<body ng-controller="appCtrl">
<div class="container">
<div class="row">
<div class="span4">
<div bootstrap-grid items="myTestItems" span-width="2" parent-span-width="4">
<div class="well grid-item-1">
2-4-{{item}}
</div>
</div>
</div>
<div class="span8">
<div bootstrap-grid items="myTestItems" span-width="4" parent-span-width="8">
<div class="well grid-item-2">
4-8-{{item}}
</div>
</div>
</div>
</div>
<div class="row">
<div class="span12">
<div bootstrap-grid items="myTestItems" span-width="1" parent-span-width="-2">
<div class="well">
3-12-{{item}}
</div>
</div>
</div>
</div>
<div class="row">
<div class="span12">
<div bootstrap-grid items="myTestItems">
<div class="well">
none-{{item}}
</div>
</div>
</div>
</div>
<div class="row">
<div class="span12">
<div bootstrap-grid items="myTestItems" span-width="4">
<div class="well">
none-{{item}}
</div>
</div>
</div>
</div>
</div>
<script src="lib/angular.js"></script>
<script src="js/bootstrap-grid.js"></script>
<script src="js/app.js"></script>
</body>
</html>