-
Notifications
You must be signed in to change notification settings - Fork 7
/
annotest.php
108 lines (87 loc) · 1.8 KB
/
annotest.php
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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Mova: Movement Analytics Platform</title>
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
<link href="http://vjs.zencdn.net/4.12/video-js.css" rel="stylesheet">
<link href="jq/css/smoothness/jquery-ui-1.10.3.custom.css" rel="stylesheet"/>
<link rel="stylesheet" type="text/css" href="jq/css/jquery-ui-slider-pips.css">
<link rel="stylesheet" type="text/css" href="styles/jqx.base.css">
<link href="css/style.css" rel="stylesheet"/>
<script src="jq/jquery-2.0.3.min.js"></script>
<script>
</script>
<style>
.track{
opacity: .5;
}
.segment{
cursor: move;
opacity: .3
}
.resize-left{
cursor: w-resize;
}
.resize-right{
cursor: e-resize;
}
rect.selected{
fill: red;
}
.background{
fill: yellow;
opacity: .7;
}
.brush{
opacity: .5;
}
.slider .handle {
fill: #fff;
stroke: #000;
stroke-opacity: .5;
stroke-width: 1.25px;
cursor: crosshair;
}
rect.selected-ex{
fill: orange;
}
.axis path,
.axis line {
fill: none;
stroke: black;
shape-rendering: crispEdges;
}
.axis path {
stroke-width: 3px;
}
.axis text {
font-family: sans-serif;
font-size: 11px;
}
</style>
</head>
<body>
<script type="text/javascript">
$.ajax({
url: "http://moda.movingstories.ca/movement_annotations/",
contentType: "multipart/form-data",
dataType: "json",
type: "POST",
data: {
"movement_annotation": {
"asset_file" : {
"original_filename":"foo1.json",
"file":"e3ZhbHVlOidmb28nfQ==",
"content_type":"application/json"
},
"attached_id":"368",
"attached_type":"Take",
"description":"barbarbar",
"name":"foofoofoo"
}
}
});
</script>
</body>
</html>