-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
234 lines (185 loc) · 9.11 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
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>COW - ruminator</title>
<script
src="https://code.jquery.com/jquery-3.1.1.min.js"
integrity="sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8="
crossorigin="anonymous"></script>
<!-- BOOTSTRAP Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"
integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous"/>
<link href='//fonts.googleapis.com/css?family=Lato:300' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="css/styles.css" type="text/css">
<script src="codemirror-5.32.0/lib/codemirror.js"></script>
<link rel="stylesheet" href="codemirror-5.32.0/lib/codemirror.css">
<script src="codemirror-5.32.0/mode/javascript/javascript.js"></script>
<script src="codemirror-5.32.0/addon/edit/matchbrackets.js"></script>
<script src="codemirror-5.32.0/addon/comment/continuecomment.js"></script>
<script src="codemirror-5.32.0/addon/comment/comment.js"></script>
<script type="text/javascript" src="js/ruminator.js"></script>
</head>
<body>
<div class="scontainer">
<div class="right">
<div id="ruminatorjson">
<textarea id="cowjson" name="cowjson" class="form-control"></textarea>
</div>
</div>
<div class="left">
<div id="ruminatorform">
<div class="tabcontent" id="dataset">dataset</div>
<div class="tabcontent" id="context">context</div>
<div class="tabcontent" id="columncontainer">
<div id="expandbuttons">
<a href="#" id="expand">expand all</a> |
<a href="#" id="collapse">collapse all</a>
</div>
<div id="columns">
</div>
</div>
<div class="tabcontent" id="help">
<h1>Ruminator, why?</h1>
<h1>How to ruminate</h1>
</div>
</div>
</div>
<div class="tabs">
<button class="btn" id="to-dataset">dataset</button>
<button class="btn" id="to-context">context</button>
<button class="btn" id="to-columns">columns</button>
<button class="btn" id="to-help">?</button>
</div>
<div id="ruminatorbuttons">
<a class="cowbutton" href="#" id="left" title="read json into form">
<img style="width:70px;" src="img/cow-left-light.png" />
</a>
<a class="cowbutton" href="#" id="right" title="create json from form">
<img style="width:70px;" src="img/cow-right-light.png" />
</a>
</div>
</div>
<div id="reg-col-template" class="copycontainer">
<div class="cc">
<h3>Name</h3>
<div class="columncontent">
<select class="form-control attribute" name="datatype">
<option value="">no datatype</option>
<option>xsd:anyURI</option>
<option>xsd:base64Binary</option>
<option>xsd:boolean</option>
<option>xsd:byte</option>
<option>xsd:date</option>
<option>xsd:dateTime</option>
<option>xsd:decimal</option>
<option>xsd:double</option>
<option>xsd:duration</option>
<option>xsd:float</option>
<option>xsd:gDay</option>
<option>xsd:gMonth</option>
<option>xsd:gMonthDay</option>
<option>xsd:gYear</option>
<option>xsd:gYearMonth</option>
<option>xsd:hexBinary</option>
<option>xsd:ID</option>
<option>xsd:IDREF</option>
<option>xsd:IDREFS</option>
<option>int</option>
<option>xsd:integer</option>
<option>xsd:language</option>
<option>xsd:long</option>
<option>xsd:Name</option>
<option>xsd:NCName</option>
<option>xsd:negativeInteger</option>
<option>xsd:NMTOKEN</option>
<option>xsd:NMTOKENS</option>
<option>xsd:nonNegativeInteger</option>
<option>xsd:nonPositiveInteger</option>
<option>xsd:normalizedString</option>
<option>xsd:positiveInteger</option>
<option>xsd:QName</option>
<option>xsd:short</option>
<option>string</option>
<option>xsd:time</option>
<option>xsd:token</option>
<option>xsd:unsignedByte</option>
<option>xsd:unsignedInt</option>
<option>xsd:unsignedLong</option>
<option>xsd:unsignedShort</option>
</select>
<input class="form-control attribute" type="text" name="lang" value="" placeholder="language, e.g. 'en', 'nl' - only needed when datatype is string" />
<textarea class="form-control attribute" name="dc:description" placeholder="description"></textarea>
<input class="form-control attribute" type="text" name="aboutUrl" value="" placeholder="aboutUrl" />
<input class="form-control attribute" type="text" name="valueUrl" value="" placeholder="valueUrl" />
<input class="form-control attribute" type="text" name="propertyUrl" value="" placeholder="propertyUrl" />
<input type="hidden" name="jsondata" value="" />
<a href="#" class="addvirtual">add virtual column</a>
</div>
</div>
</div>
<div id="vir-col-template" class="copycontainer">
<div class="cc">
<h3>Virtual Column</h3>
<div class="columncontent">
<select class="form-control attribute" name="datatype">
<option value="">no datatype</option>
<option>xsd:anyURI</option>
<option>xsd:base64Binary</option>
<option>xsd:boolean</option>
<option>xsd:byte</option>
<option>xsd:date</option>
<option>xsd:dateTime</option>
<option>xsd:decimal</option>
<option>xsd:double</option>
<option>xsd:duration</option>
<option>float</option>
<option>xsd:gDay</option>
<option>xsd:gMonth</option>
<option>xsd:gMonthDay</option>
<option>xsd:gYear</option>
<option>xsd:gYearMonth</option>
<option>xsd:hexBinary</option>
<option>xsd:ID</option>
<option>xsd:IDREF</option>
<option>xsd:IDREFS</option>
<option>int</option>
<option>xsd:integer</option>
<option>xsd:language</option>
<option>xsd:long</option>
<option>xsd:Name</option>
<option>xsd:NCName</option>
<option>xsd:negativeInteger</option>
<option>xsd:NMTOKEN</option>
<option>xsd:NMTOKENS</option>
<option>xsd:nonNegativeInteger</option>
<option>xsd:nonPositiveInteger</option>
<option>xsd:normalizedString</option>
<option>xsd:positiveInteger</option>
<option>xsd:QName</option>
<option>xsd:short</option>
<option>string</option>
<option>xsd:time</option>
<option>xsd:token</option>
<option>xsd:unsignedByte</option>
<option>xsd:unsignedInt</option>
<option>xsd:unsignedLong</option>
<option>xsd:unsignedShort</option>
</select>
<input class="form-control attribute" type="text" name="lang" value="" placeholder="language, e.g. 'en', 'nl' - only needed when datatype is string" />
<textarea class="form-control attribute" name="dc:description" placeholder="description"></textarea>
<input class="form-control attribute" type="text" name="aboutUrl" value="" placeholder="aboutUrl" />
<input class="form-control attribute" type="text" name="valueUrl" value="" placeholder="valueUrl" />
<input class="form-control attribute" type="text" name="propertyUrl" value="" placeholder="propertyUrl" />
<input class="form-control attribute" type="text" name="csvw:value" value="" placeholder="csvw:value" />
<input type="hidden" name="jsondata" value='{"virtual":true}' />
<a href="#" class="delvirtual">delete column</a>
</div>
</div>
</div>
<!-- BOOTSTRAP Latest compiled and minified JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"
integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa"
crossorigin="anonymous"></script>
</body>
</html>