forked from visjs/angular-visjs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
86 lines (71 loc) · 1.88 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
<!doctype html>
<html class="no-js" lang="en" ng-app="ngVisApp">
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>AngularVis</title>
<link rel="stylesheet" href="bower_components/vis/dist/vis.min.css"/>
<style>
#showcase {
padding: 30px;
background-color: #fbfbfb;
}
.fluid {
width: 100%;
max-width: 100%;
}
.vis.timeline {
background-color: #ffffff;
}
.vis.timeline .item {
/*background-color: #008CBA;*/
/*border-color: #008CBA;*/
/*color: #ffffff;*/
/*font-family: 'Helvetica Neue', Helvetica, Helvetica, Arial, sans-serif;*/
/*font-kerning: auto;*/
/*font-size: 13px;*/
/*font-style: normal;*/
/*font-variant: normal;*/
/*font-variant-ligatures: normal;*/
/*font-weight: normal;*/
}
.vis.timeline .item.green {
background-color: green;
border-color: green;
color: #ffffff;
}
.vis.timeline .item.red {
background-color: red;
border-color: red;
color: #ffffff;
}
.vis.timeline .item.orange {
background-color: orange;
border-color: orange;
}
.vis.timeline .item.magenta {
background-color: magenta;
border-color: magenta;
color: #ffffff;
}
.vis.timeline .item.past {
filter: alpha(opacity=50);
opacity: 0.5;
}
h6 {
font-size: 0.75rem;
}
pre {
font-size: 0.9rem;
}
</style>
</head>
<body ng-controller="appController">
<vis-timeline data="data" options="options" events="events"></vis-timeline>
<script src="bower_components/moment/min/moment.min.js"></script>
<script src="bower_components/vis/dist/vis.min.js"></script>
<script src="bower_components/angular/angular.min.js"></script>
<script src="angular-vis.js"></script>
<script src="app.js"></script>
</body>
</html>