de.oddb 2.0.0 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. data/.gemtest +0 -0
  2. data/Guide.txt +16 -0
  3. data/Manifest.txt +31 -0
  4. data/Rakefile +3 -0
  5. data/doc/index.rbx +16 -0
  6. data/doc/resources/downloads/datadesc/chde.xls.txt +39 -0
  7. data/doc/resources/downloads/datadesc/de.oddb.csv.txt +43 -0
  8. data/doc/resources/downloads/datadesc/de.oddb.yaml.txt +160 -0
  9. data/doc/resources/downloads/datadesc/fachinfos.de.oddb.yaml.txt +65 -0
  10. data/doc/resources/downloads/examples/chde.xls +0 -0
  11. data/doc/resources/downloads/examples/compendium_de.oddb.org.firefox.epub +0 -0
  12. data/doc/resources/downloads/examples/compendium_de.oddb.org.htc.prc +0 -0
  13. data/doc/resources/downloads/examples/compendium_de.oddb.org.kindle.mobi +0 -0
  14. data/doc/resources/downloads/examples/compendium_de.oddb.org.stanza.epub +0 -0
  15. data/doc/resources/downloads/examples/de.oddb.csv +84 -0
  16. data/doc/resources/downloads/examples/de.oddb.yaml +15999 -0
  17. data/doc/resources/downloads/examples/fachinfos.de.oddb.yaml +56925 -0
  18. data/doc/resources/downloads/examples/patinfos.de.oddb.yaml +37265 -0
  19. data/doc/resources/downloads/examples/patinfos_de.oddb.org.firefox.epub +0 -0
  20. data/doc/resources/downloads/examples/patinfos_de.oddb.org.htc.prc +0 -0
  21. data/doc/resources/downloads/examples/patinfos_de.oddb.org.kindle.mobi +0 -0
  22. data/doc/resources/downloads/examples/patinfos_de.oddb.org.stanza.epub +0 -0
  23. data/doc/resources/errors/appdown.html +14 -0
  24. data/doc/resources/images/delicious.gif +0 -0
  25. data/doc/resources/images/digg.gif +0 -0
  26. data/doc/resources/images/simpy.gif +0 -0
  27. data/doc/resources/images/stumble.gif +0 -0
  28. data/doc/resources/javascript/admin.js +15 -0
  29. data/doc/resources/javascript/autofill.js +21 -0
  30. data/doc/resources/javascript/opener.js +29 -0
  31. data/doc/resources/livemarks16.png +0 -0
  32. data/doc/resources/mm/logo.png +0 -0
  33. data/doc/resources/mm/oddb.css +481 -0
  34. data/doc/resources/oddb/logo.png +0 -0
  35. data/doc/resources/oddb/oddb.css +534 -0
  36. data/lib/oddb.rb +1 -1
  37. data/lib/oddb/import/gkv.rb +1 -1
  38. metadata +46 -10
@@ -0,0 +1,14 @@
1
+ <html>
2
+ <head>
3
+ <title>www.oddb.org - We are sorry</title>
4
+ <link href="/resources/oddb/oddb.css" rel="stylesheet" type="text/css">
5
+ <meta HTTP-EQUIV=Refresh CONTENT="60; URL=/">
6
+ </head>
7
+ <body class="appdown">
8
+ <img src="/resources/oddb/logo.png"><br><br>
9
+ <h1>Es tut uns leid</h1>
10
+ <p>Wegen eines Software-Updates ist de.oddb.org in den n&auml;chsten Minuten nicht erreichbar.<br>
11
+ Wir bitten Sie um Ihr Verst&auml;ndnis.<br>
12
+ </p>
13
+ </body>
14
+ </html>
@@ -0,0 +1,15 @@
1
+ function replace_element(id, url) {
2
+ document.body.style.cursor = 'wait';
3
+ dojo.io.bind({
4
+ url: url,
5
+ load: function(type, data, evt) {
6
+ var container;
7
+ if(container = document.getElementById(id))
8
+ {
9
+ container.parentNode.innerHTML = data;
10
+ }
11
+ document.body.style.cursor = 'auto';
12
+ }
13
+ });
14
+
15
+ }
@@ -0,0 +1,21 @@
1
+ function autofill(form, key, url)
2
+ {
3
+ document.body.style.cursor = 'wait';
4
+ form.confirm_pass.disabled = false;
5
+ var val = form[key].value;
6
+ dojo.io.bind({
7
+ url: url + val,
8
+ load: function(type, data, evt) {
9
+ var retkey;
10
+ var retval;
11
+ for(retkey in data) {
12
+ if(retval = data[retkey])
13
+ form[retkey].value = retval;
14
+ }
15
+ if(data['email'])
16
+ form.confirm_pass.disabled = true;
17
+ document.body.style.cursor = 'auto';
18
+ },
19
+ mimetype: "text/json"
20
+ });
21
+ }
@@ -0,0 +1,29 @@
1
+ function open_explanation(widget_id, hidden_id, opener) {
2
+ var callback = function() {
3
+ var widget = dojo.widget.byId(widget_id);
4
+ var node = widget.domNode;
5
+ var pos = dojo.html.getAbsolutePosition(node, true);
6
+ var viewport = dojo.html.getViewport();
7
+ var box = dojo.html.getMarginBox(node);
8
+ var scroll = dojo.html.getScroll();
9
+ var x = pos.x;
10
+ var y = pos.y;
11
+
12
+ var diff = x + box.width - viewport.width;
13
+ if(diff > 0)
14
+ x -= diff;
15
+
16
+ diff = y + box.height - viewport.height;
17
+ if(diff > 0)
18
+ y -= diff;
19
+
20
+ x += scroll.left;
21
+ y += scroll.top;
22
+
23
+ dojo.lfx.html.slideTo(node, {left:x, top:y}, 500).play();
24
+ }
25
+ var show = dojo.lfx.toggle.fade.show(hidden_id, 500,
26
+ dojo.lfx.easeDefault, callback);
27
+ var hide = dojo.lfx.toggle.fade.hide(opener, 500);
28
+ dojo.lfx.chain(show, hide).play();
29
+ }
Binary file
@@ -0,0 +1,481 @@
1
+ body, input, div.dojoTooltip, select {
2
+ font-family: Arial, Helvetica, Verdana, sans-serif;
3
+ font-size: 12px
4
+ }
5
+ a {
6
+ text-decoration: none;
7
+ color: blue;
8
+ }
9
+ a:hover {
10
+ color: black;
11
+ }
12
+ a.fachinfo, a.patinfo {
13
+ color: black;
14
+ background-color: #FFF455;
15
+ }
16
+ a.google {
17
+ color: white;
18
+ background-color: #184FCA;
19
+ float: right;
20
+ }
21
+ a.square {
22
+ padding: 1px 4px;
23
+ font-weight: bold;
24
+ font-size: 11px;
25
+ margin: 0px 1px;
26
+ }
27
+ a.who-ddd {
28
+ margin-left: 4px;
29
+ background-color: yellow;
30
+ color: black;
31
+ }
32
+ div.before-searchbar, div.lefthand {
33
+ float: left;
34
+ clear: left;
35
+ }
36
+ div.atc, div.explain {
37
+ padding: 4px;
38
+ }
39
+ div.chapter {
40
+ padding-left: 4px;
41
+ }
42
+ div.chapter table {
43
+ border-collapse: collapse;
44
+ }
45
+ div.chapter td {
46
+ border: 1px solid #666;
47
+ }
48
+ div#chapters {
49
+ background-color: #cf9;
50
+ overflow: auto;
51
+ border-bottom: 1px solid #2ba476;
52
+ }
53
+ div#chapters a, div#chapters a:hover {
54
+ color: black;
55
+ }
56
+ div#chapters a:link, div#chapters a:visited {
57
+ color: blue;
58
+ }
59
+ div#chapters div {
60
+ float: left;
61
+ height: auto;
62
+ width: 145px;
63
+ padding: 4px;
64
+ }
65
+ div#chapters div#chapter_ {
66
+ float: none;
67
+ width: 300px;
68
+ }
69
+ div#composition-list div {
70
+ padding: 4px;
71
+ float: left;
72
+ }
73
+ div#composition-list label {
74
+ padding-right: 4px;
75
+ }
76
+ div#composition-list input.right {
77
+ float: right;
78
+ }
79
+ div#compositions {
80
+ overflow: auto;
81
+ }
82
+ div#compositions td {
83
+ padding: 0px;
84
+ }
85
+ div#content {
86
+ overflow: auto;
87
+ width: 100%;
88
+ }
89
+ div.ddd {
90
+ background-color: #dcefd6;
91
+ }
92
+ div#explain-compare {
93
+ padding: 2px 4px;
94
+ font-weight: bold;
95
+ font-style: italic;
96
+ }
97
+ div#foot {
98
+ background-color: #cf9;
99
+ padding: 4px 0px 4px 4px;
100
+ }
101
+ div#foot a:link,
102
+ div#foot a:visited,
103
+ th a:link, th a:visited {
104
+ color: blue;
105
+ }
106
+ div#foot a,
107
+ div#foot a:visited:hover,
108
+ div#foot a:link:hover,
109
+ th a, th a:visited:hover, th a:link:hover {
110
+ color: black;
111
+ }
112
+ div#foot div.navigation a {
113
+ padding: 0px 4px;
114
+ border-left: 1px solid black;
115
+ }
116
+ div#foot div.navigation a:first-child {
117
+ border-left: 0px;
118
+ }
119
+ div#google-ads {
120
+ float: right;
121
+ text-align: right;
122
+ clear: right;
123
+ }
124
+ div#head {
125
+ margin-bottom: 30px;
126
+ }
127
+ div.hidden {
128
+ padding: 4px 0px;
129
+ }
130
+ div#home-search {
131
+ margin-top: 100px;
132
+ margin-bottom: 100px;
133
+ text-align: center;
134
+ }
135
+ div#home-search input[type=text] {
136
+ width: 200px;
137
+ }
138
+ div#legend, tr.groupheader, div.groupheader {
139
+ background-color: #cf9;
140
+ }
141
+ div#legend table {
142
+ margin: 2px;
143
+ }
144
+ div.explain.links a {
145
+ padding-right: 4px;
146
+ padding-left: 6px;
147
+ border-left: 1px solid black;
148
+ }
149
+ div.explain.links a:first-child {
150
+ border-left: 0px;
151
+ padding-left: 4px;
152
+ }
153
+ div.navigation, div.righthand {
154
+ float: right;
155
+ clear: right;
156
+ }
157
+ div.navigation a {
158
+ padding: 0px 4px;
159
+ }
160
+ div#navigation {
161
+ background-color: #2ba476;
162
+ color: white;
163
+ padding: 4px 0px;
164
+ }
165
+ div#navigation a {
166
+ padding: 0px 4px 0px 6px;
167
+ border-left: 1px solid white;
168
+ }
169
+ div#navigation a:first-child {
170
+ border-left: 0px;
171
+ }
172
+ div#navigation a:link,
173
+ div#navigation a:visited,
174
+ th a:link, th a:visited {
175
+ color: white;
176
+ }
177
+ div#navigation a,
178
+ div#navigation a:visited:hover,
179
+ div#navigation a:link:hover,
180
+ th a, th a:visited:hover, th a:link:hover {
181
+ color: blue;
182
+ }
183
+ div.pager {
184
+ float: right;
185
+ }
186
+ div.pager a {
187
+ font-weight: bold;
188
+ padding: 4px;
189
+ }
190
+ div.pager a:first-child {
191
+ padding-left: 16px;
192
+ }
193
+ div.pager a.current_page {
194
+ color: black;
195
+ }
196
+ div.result table {
197
+ width: 100%;
198
+ }
199
+ div#result-found {
200
+ font-weight: bold;
201
+ font-size: 14px;
202
+ padding: 2px 4px;
203
+ }
204
+ div#result-search {
205
+ text-align: right;
206
+ }
207
+ div#result-search input[type=text] {
208
+ width: 200px;
209
+ }
210
+ div.sidebar {
211
+ width: 200px;
212
+ min-height: 300px;
213
+ }
214
+ div.sidebar div {
215
+ padding: 2px;
216
+ background-color: #dfd;
217
+ }
218
+ div#snapback {
219
+ padding: 3px 4px;
220
+ }
221
+ div.square {
222
+ max-width: 20px;
223
+ height: 20px;
224
+ text-align: center;
225
+ vertical-align: middle;
226
+ font-size : 16px;
227
+ }
228
+ div#title, th {
229
+ background-color: #2ba476;
230
+ color: white;
231
+ padding: 4px;
232
+ font-weight: bold;
233
+ }
234
+ div#user {
235
+ float: right;
236
+ text-align: right;
237
+ font-weight: bold;
238
+ }
239
+ div#welcome {
240
+ margin-top: 75px;
241
+ float: right;
242
+ text-align: right;
243
+ clear: right;
244
+ }
245
+ form {
246
+ margin: 0px;
247
+ }
248
+ form#atc-assign-form {
249
+ display: inline;
250
+ }
251
+ form#atc-assign-form div {
252
+ display: inline;
253
+ margin-left: 4px;
254
+ }
255
+ form#atc-assign-form a {
256
+ cursor: pointer;
257
+ }
258
+ img {
259
+ border: 0px;
260
+ }
261
+ input[type=text], input[type=password] {
262
+ width: 160px;
263
+ }
264
+ input.right {
265
+ text-align: right;
266
+ }
267
+ input.short {
268
+ width: 80px;
269
+ }
270
+ input.url {
271
+ width: 600px;
272
+ }
273
+ label {
274
+ font-weight: bold;
275
+ }
276
+ label.error {
277
+ color: red;
278
+ }
279
+ span#delicious {
280
+ background-image: url(/resources/images/delicious.gif);
281
+ }
282
+ span#digg {
283
+ background-image: url(/resources/images/digg.gif);
284
+ }
285
+ span.less, span.otc {
286
+ color: #2ba476;
287
+ font-weight: bold;
288
+ }
289
+ span.more, span.prescription {
290
+ color: red;
291
+ font-weight: bold;
292
+ }
293
+ span.opener {
294
+ cursor: pointer;
295
+ margin: 0px 4px;
296
+ }
297
+ span.same {
298
+ font-weight: bold;
299
+ }
300
+ span#simpy {
301
+ background-image: url(/resources/images/simpy.gif);
302
+ }
303
+ span#stumble {
304
+ background-image: url(/resources/images/stumble.gif);
305
+ }
306
+ span.social {
307
+ background-repeat: no-repeat;
308
+ background-attachment: scroll;
309
+ margin-left: 8px;
310
+ padding-left: 20px;
311
+ padding-top: 1px;
312
+ }
313
+ table.invoice {
314
+ float: left;
315
+ margin-right: 40px;
316
+ }
317
+ table.invoice.items {
318
+ border: 1px solid #ccff99;
319
+ }
320
+ td {
321
+ padding: 4px;
322
+ }
323
+ td#alphaheader, div.divider {
324
+ padding: 4px;
325
+ background-color: #cf9;
326
+ font-weight: bold;
327
+ }
328
+ td#alphaheader a {
329
+ padding: 0px 8px;
330
+ border-left: 1px solid black;
331
+ color: black;
332
+ }
333
+ td#alphaheader a:first-child {
334
+ border-left: 0px;
335
+ }
336
+ td#alphaheader a:link,
337
+ td#alphaheader a:visited {
338
+ color: blue;
339
+ }
340
+ td#alphaheader a:link:hover,
341
+ td#alphaheader a:visited:hover {
342
+ color: red;
343
+ }
344
+ td.atc {
345
+ padding: 4px;
346
+ }
347
+ td.atc a.search {
348
+ color: #2ba476;
349
+ }
350
+ td.atc.level1 {
351
+ font-weight: bold;
352
+ padding-top: 8px;
353
+ }
354
+ td.atc.level2 {
355
+ padding-top: 6px;
356
+ }
357
+ td.atc.level2.browser {
358
+ padding-left: 30px;
359
+ }
360
+ td.atc.level3 {
361
+ padding-top: 4px;
362
+ }
363
+ td.atc.level3.browser {
364
+ padding-left: 46px;
365
+ }
366
+ td.atc.level4 {
367
+ padding-top: 2px;
368
+ }
369
+ td.atc.level4.browser {
370
+ padding-left: 64px;
371
+ }
372
+ td.atc.level5 {
373
+ padding-top: 1px;
374
+ }
375
+ td.atc.level5.browser {
376
+ padding-left: 80px;
377
+ }
378
+ td.calculation {
379
+ white-space: nowrap;
380
+ }
381
+ td.company {
382
+ font-style: italic;
383
+ }
384
+ td.google {
385
+ padding: 2px 4px;
386
+ }
387
+ td.info {
388
+ padding: 8px;
389
+ font-weight: bold;
390
+ }
391
+ td#offsetheader {
392
+ padding: 4px 0px;
393
+ background-color: #cf9;
394
+ font-weight: bold;
395
+ border-top: 1px solid #7bcf88;
396
+ }
397
+ td#offsetheader a {
398
+ padding: 4px 8px;
399
+ color: black;
400
+ background-color: #7bcf88;
401
+ }
402
+ td#offsetheader a:link,
403
+ td#offsetheader a:visited {
404
+ background-color: #cf9;
405
+ color: blue;
406
+ }
407
+ td#offsetheader a:link:hover,
408
+ td#offsetheader a:visited:hover {
409
+ color: red;
410
+ }
411
+ td.company, th.company {
412
+ padding-left: 15px;
413
+ }
414
+ td.processingerror, div.processingerror {
415
+ color: red;
416
+ padding: 4px;
417
+ }
418
+ td.product {
419
+ font-size: 14px;
420
+ font-weight: bold;
421
+ }
422
+ td.radio {
423
+ max-width: 20px;
424
+ }
425
+ td.remote, td.zuzahlungsbefreit {
426
+ border: 2px solid #cf9;
427
+ padding: 2px;
428
+ font-weight: bold;
429
+ }
430
+ td.top {
431
+ vertical-align: top;
432
+ }
433
+ td.warn {
434
+ padding: 8px;
435
+ color: #F70;
436
+ font-weight: bold;
437
+ }
438
+ td.zuzahlungsbefreit {
439
+ border: 2px solid #cf9;
440
+ padding: 2px;
441
+ font-weight: bold;
442
+ }
443
+ th {
444
+ text-align: left;
445
+ }
446
+ tr.bg {
447
+ background-color: #dcefd6;
448
+ }
449
+ tr.origin td {
450
+ padding-bottom: 10px;
451
+ }
452
+ tr#display-switcher, tr#selected {
453
+ background-color: #7bcf88;
454
+ }
455
+ tr#display-switcher a {
456
+ float: right;
457
+ font-weight: bold;
458
+ }
459
+ tr#selected td {
460
+ border-top: 1px solid #2ba476;
461
+ }
462
+ tr.remote {
463
+ background-color: #fee;
464
+ }
465
+ tr.remote.bg, td.remote {
466
+ background-color: #fdd;
467
+ }
468
+ tr.zuzahlungsbefreit {
469
+ background-color: #fbfd98;
470
+ }
471
+ tr.zuzahlungsbefreit.bg, td.zuzahlungsbefreit {
472
+ background-color: #fafc6d;
473
+ }
474
+ .difference, .doses, .price_festbetrag, .price_difference,
475
+ .price_exfactory, .price_public, .package_infos, .ddd_prices {
476
+ text-align: right;
477
+ }
478
+ .code_festbetragsstufe, td.code_zuzahlungsbefreit,
479
+ th.code_zuzahlungsbefreit {
480
+ text-align: center;
481
+ }