vrowser 0.0.6 → 0.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/README.rdoc CHANGED
@@ -1,7 +1,31 @@
1
1
  = vrowser
2
- Server browser for many games (left4Dead2, TeamFortress2, etc)
2
+ erver browser for many games (left4Dead2, TeamFortress2, etc)
3
+
4
+ = Setup & Install
5
+ Install QStat
6
+ QStat Real-time game server stats - http://qstat.sourceforge.net/
7
+ ./configure
8
+ make
9
+ make install
10
+
11
+ Install Gems
12
+ gem install vrowser
13
+
14
+ = Usage
15
+ Generate sample config file
16
+ $ vrowser sample
17
+ $ ls
18
+ config.yml
19
+
20
+ Fetch server list
21
+ $ vrowser -f ./config.yml fetch
22
+
23
+ Update already registered servers
24
+ $ vrowser -f ./config.yml update
25
+
26
+ Boot WEB Daemon (default is http://localhost:3000/)
27
+ $ vrowser -f ./config.yml daemon
3
28
 
4
29
  == Copyright
5
30
  Copyright (c) 2012 kimoto. See LICENSE.txt for
6
31
  further details.
7
-
data/Rakefile CHANGED
@@ -1,5 +1,6 @@
1
1
  require 'rubygems'
2
2
  require 'rake'
3
+ require 'find'
3
4
 
4
5
  begin
5
6
  require 'jeweler'
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.6
1
+ 0.0.7
@@ -0,0 +1,93 @@
1
+
2
+ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
3
+ * General page setup
4
+ */
5
+ #dt_example {
6
+ font: 80%/1.45em "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
7
+ margin: 0;
8
+ padding: 0;
9
+ color: #333;
10
+ background-color: #fff;
11
+ }
12
+
13
+
14
+ #dt_example #container {
15
+ width: 800px;
16
+ margin: 30px auto;
17
+ padding: 0;
18
+ }
19
+
20
+
21
+ #dt_example #footer {
22
+ margin: 50px auto 0 auto;
23
+ padding: 0;
24
+ }
25
+
26
+ #dt_example #demo {
27
+ margin: 30px auto 0 auto;
28
+ }
29
+
30
+ #dt_example .demo_jui {
31
+ margin: 30px auto 0 auto;
32
+ }
33
+
34
+ #dt_example .big {
35
+ font-size: 1.3em;
36
+ font-weight: bold;
37
+ line-height: 1.6em;
38
+ color: #4E6CA3;
39
+ }
40
+
41
+ #dt_example .spacer {
42
+ height: 20px;
43
+ clear: both;
44
+ }
45
+
46
+ #dt_example .clear {
47
+ clear: both;
48
+ }
49
+
50
+ #dt_example pre {
51
+ padding: 15px;
52
+ background-color: #F5F5F5;
53
+ border: 1px solid #CCCCCC;
54
+ }
55
+
56
+ #dt_example h1 {
57
+ margin-top: 2em;
58
+ font-size: 1.3em;
59
+ font-weight: normal;
60
+ line-height: 1.6em;
61
+ color: #4E6CA3;
62
+ border-bottom: 1px solid #B0BED9;
63
+ clear: both;
64
+ }
65
+
66
+ #dt_example h2 {
67
+ font-size: 1.2em;
68
+ font-weight: normal;
69
+ line-height: 1.6em;
70
+ color: #4E6CA3;
71
+ clear: both;
72
+ }
73
+
74
+ #dt_example a {
75
+ color: #0063DC;
76
+ text-decoration: none;
77
+ }
78
+
79
+ #dt_example a:hover {
80
+ text-decoration: underline;
81
+ }
82
+
83
+ #dt_example ul {
84
+ color: #4E6CA3;
85
+ }
86
+
87
+ .css_right {
88
+ float: right;
89
+ }
90
+
91
+ .css_left {
92
+ float: left;
93
+ }
@@ -0,0 +1,559 @@
1
+ /*
2
+ * File: demo_table.css
3
+ * CVS: $Id$
4
+ * Description: CSS descriptions for DataTables demo pages
5
+ * Author: Allan Jardine
6
+ * Created: Tue May 12 06:47:22 BST 2009
7
+ * Modified: $Date$ by $Author$
8
+ * Language: CSS
9
+ * Project: DataTables
10
+ *
11
+ * Copyright 2009 Allan Jardine. All Rights Reserved.
12
+ *
13
+ * ***************************************************************************
14
+ * DESCRIPTION
15
+ *
16
+ * The styles given here are suitable for the demos that are used with the standard DataTables
17
+ * distribution (see www.datatables.net). You will most likely wish to modify these styles to
18
+ * meet the layout requirements of your site.
19
+ *
20
+ * Common issues:
21
+ * 'full_numbers' pagination - I use an extra selector on the body tag to ensure that there is
22
+ * no conflict between the two pagination types. If you want to use full_numbers pagination
23
+ * ensure that you either have "example_alt_pagination" as a body class name, or better yet,
24
+ * modify that selector.
25
+ * Note that the path used for Images is relative. All images are by default located in
26
+ * ../images/ - relative to this CSS file.
27
+ */
28
+
29
+ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
30
+ * DataTables features
31
+ */
32
+
33
+ .dataTables_wrapper {
34
+ position: relative;
35
+ min-height: 302px;
36
+ clear: both;
37
+ _height: 302px;
38
+ zoom: 1; /* Feeling sorry for IE */
39
+ }
40
+
41
+ .dataTables_processing {
42
+ position: absolute;
43
+ top: 50%;
44
+ left: 50%;
45
+ width: 250px;
46
+ height: 30px;
47
+ margin-left: -125px;
48
+ margin-top: -15px;
49
+ padding: 14px 0 2px 0;
50
+ border: 1px solid #ddd;
51
+ text-align: center;
52
+ color: #999;
53
+ font-size: 14px;
54
+ background-color: white;
55
+ }
56
+
57
+ .dataTables_length {
58
+ width: 40%;
59
+ float: left;
60
+ }
61
+
62
+ .dataTables_filter {
63
+ width: 50%;
64
+ float: right;
65
+ text-align: right;
66
+ }
67
+
68
+ .dataTables_info {
69
+ width: 60%;
70
+ float: left;
71
+ }
72
+
73
+ .dataTables_paginate {
74
+ width: 44px;
75
+ * width: 50px;
76
+ float: right;
77
+ text-align: right;
78
+ }
79
+
80
+ /* Pagination nested */
81
+ .paginate_disabled_previous, .paginate_enabled_previous, .paginate_disabled_next, .paginate_enabled_next {
82
+ height: 19px;
83
+ width: 19px;
84
+ margin-left: 3px;
85
+ float: left;
86
+ }
87
+
88
+ .paginate_disabled_previous {
89
+ background-image: url('../images/back_disabled.jpg');
90
+ }
91
+
92
+ .paginate_enabled_previous {
93
+ background-image: url('../images/back_enabled.jpg');
94
+ }
95
+
96
+ .paginate_disabled_next {
97
+ background-image: url('../images/forward_disabled.jpg');
98
+ }
99
+
100
+ .paginate_enabled_next {
101
+ background-image: url('../images/forward_enabled.jpg');
102
+ }
103
+
104
+
105
+
106
+ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
107
+ * DataTables display
108
+ */
109
+ table.display {
110
+ margin: 0 auto;
111
+ clear: both;
112
+ width: 100%;
113
+
114
+ /* Note Firefox 3.5 and before have a bug with border-collapse
115
+ * ( https://bugzilla.mozilla.org/show%5Fbug.cgi?id=155955 )
116
+ * border-spacing: 0; is one possible option. Conditional-css.com is
117
+ * useful for this kind of thing
118
+ *
119
+ * Further note IE 6/7 has problems when calculating widths with border width.
120
+ * It subtracts one px relative to the other browsers from the first column, and
121
+ * adds one to the end...
122
+ *
123
+ * If you want that effect I'd suggest setting a border-top/left on th/td's and
124
+ * then filling in the gaps with other borders.
125
+ */
126
+ }
127
+
128
+ table.display thead th {
129
+ padding: 3px 18px 3px 10px;
130
+ border-bottom: 1px solid black;
131
+ font-weight: bold;
132
+ cursor: pointer;
133
+ * cursor: hand;
134
+ }
135
+
136
+ table.display tfoot th {
137
+ padding: 3px 18px 3px 10px;
138
+ border-top: 1px solid black;
139
+ font-weight: bold;
140
+ }
141
+
142
+ table.display tr.heading2 td {
143
+ border-bottom: 1px solid #aaa;
144
+ }
145
+
146
+ table.display td {
147
+ padding: 3px 10px;
148
+ }
149
+
150
+ table.display td.center {
151
+ text-align: center;
152
+ }
153
+
154
+
155
+
156
+ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
157
+ * DataTables sorting
158
+ */
159
+
160
+ .sorting_asc {
161
+ background: url('../images/sort_asc.png') no-repeat center right;
162
+ }
163
+
164
+ .sorting_desc {
165
+ background: url('../images/sort_desc.png') no-repeat center right;
166
+ }
167
+
168
+ .sorting {
169
+ background: url('../images/sort_both.png') no-repeat center right;
170
+ }
171
+
172
+ .sorting_asc_disabled {
173
+ background: url('../images/sort_asc_disabled.png') no-repeat center right;
174
+ }
175
+
176
+ .sorting_desc_disabled {
177
+ background: url('../images/sort_desc_disabled.png') no-repeat center right;
178
+ }
179
+
180
+
181
+
182
+
183
+
184
+ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
185
+ * DataTables row classes
186
+ */
187
+ table.display tr.odd.gradeA {
188
+ background-color: #ddffdd;
189
+ }
190
+
191
+ table.display tr.even.gradeA {
192
+ background-color: #eeffee;
193
+ }
194
+
195
+ table.display tr.odd.gradeC {
196
+ background-color: #ddddff;
197
+ }
198
+
199
+ table.display tr.even.gradeC {
200
+ background-color: #eeeeff;
201
+ }
202
+
203
+ table.display tr.odd.gradeX {
204
+ background-color: #ffdddd;
205
+ }
206
+
207
+ table.display tr.even.gradeX {
208
+ background-color: #ffeeee;
209
+ }
210
+
211
+ table.display tr.odd.gradeU {
212
+ background-color: #ddd;
213
+ }
214
+
215
+ table.display tr.even.gradeU {
216
+ background-color: #eee;
217
+ }
218
+
219
+
220
+ tr.odd {
221
+ background-color: #E2E4FF;
222
+ }
223
+
224
+ tr.even {
225
+ background-color: white;
226
+ }
227
+
228
+
229
+
230
+
231
+
232
+ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
233
+ * Misc
234
+ */
235
+ .dataTables_scroll {
236
+ clear: both;
237
+ }
238
+
239
+ .dataTables_scrollBody {
240
+ *margin-top: -1px;
241
+ }
242
+
243
+ .top, .bottom {
244
+ padding: 15px;
245
+ background-color: #F5F5F5;
246
+ border: 1px solid #CCCCCC;
247
+ }
248
+
249
+ .top .dataTables_info {
250
+ float: none;
251
+ }
252
+
253
+ .clear {
254
+ clear: both;
255
+ }
256
+
257
+ .dataTables_empty {
258
+ text-align: center;
259
+ }
260
+ span.filterColumn
261
+ {
262
+ display:block;
263
+ width:200px;
264
+ }
265
+ tfoot input, tfoot select {
266
+ margin: 0.5em 0;
267
+ width: 100%;
268
+ color: #444;
269
+ }
270
+
271
+ thead input, thead select {
272
+ margin: 0px;
273
+ padding: 0px;
274
+ width: 100%;
275
+ color: #444;
276
+ }
277
+
278
+ .number_range_filter
279
+ {
280
+ width:20px
281
+ }
282
+
283
+ .date_range_filter
284
+ {
285
+ width:5.5em
286
+ }
287
+
288
+ .search_init {
289
+ color: #999;
290
+ }
291
+
292
+ td.group {
293
+ background-color: #d1cfd0;
294
+ border-bottom: 2px solid #A19B9E;
295
+ border-top: 2px solid #A19B9E;
296
+ }
297
+
298
+ td.details {
299
+ background-color: #d1cfd0;
300
+ border: 2px solid #A19B9E;
301
+ }
302
+
303
+
304
+ .example_alt_pagination div.dataTables_info {
305
+ width: 40%;
306
+ }
307
+
308
+ .paging_full_numbers {
309
+ width: 400px;
310
+ height: 22px;
311
+ line-height: 22px;
312
+ }
313
+
314
+ .paging_full_numbers span.paginate_button,
315
+ .paging_full_numbers span.paginate_active {
316
+ border: 1px solid #aaa;
317
+ -webkit-border-radius: 5px;
318
+ -moz-border-radius: 5px;
319
+ padding: 2px 5px;
320
+ margin: 0 3px;
321
+ cursor: pointer;
322
+ *cursor: hand;
323
+ }
324
+
325
+ .paging_full_numbers span.paginate_button {
326
+ background-color: #ddd;
327
+ }
328
+
329
+ .paging_full_numbers span.paginate_button:hover {
330
+ background-color: #ccc;
331
+ }
332
+
333
+ .paging_full_numbers span.paginate_active {
334
+ background-color: #99B3FF;
335
+ }
336
+
337
+ table.display tr.even.row_selected td {
338
+ background-color: #B0BED9;
339
+ }
340
+
341
+ table.display tr.odd.row_selected td {
342
+ background-color: #9FAFD1;
343
+ }
344
+
345
+
346
+ /*
347
+ * Sorting classes for columns
348
+ */
349
+ /* For the standard odd/even */
350
+ tr.odd td.sorting_1 {
351
+ background-color: #D3D6FF;
352
+ }
353
+
354
+ tr.odd td.sorting_2 {
355
+ background-color: #DADCFF;
356
+ }
357
+
358
+ tr.odd td.sorting_3 {
359
+ background-color: #E0E2FF;
360
+ }
361
+
362
+ tr.even td.sorting_1 {
363
+ background-color: #EAEBFF;
364
+ }
365
+
366
+ tr.even td.sorting_2 {
367
+ background-color: #F2F3FF;
368
+ }
369
+
370
+ tr.even td.sorting_3 {
371
+ background-color: #F9F9FF;
372
+ }
373
+
374
+
375
+ /* For the Conditional-CSS grading rows */
376
+ /*
377
+ Colour calculations (based off the main row colours)
378
+ Level 1:
379
+ dd > c4
380
+ ee > d5
381
+ Level 2:
382
+ dd > d1
383
+ ee > e2
384
+ */
385
+ tr.odd.gradeA td.sorting_1 {
386
+ background-color: #c4ffc4;
387
+ }
388
+
389
+ tr.odd.gradeA td.sorting_2 {
390
+ background-color: #d1ffd1;
391
+ }
392
+
393
+ tr.odd.gradeA td.sorting_3 {
394
+ background-color: #d1ffd1;
395
+ }
396
+
397
+ tr.even.gradeA td.sorting_1 {
398
+ background-color: #d5ffd5;
399
+ }
400
+
401
+ tr.even.gradeA td.sorting_2 {
402
+ background-color: #e2ffe2;
403
+ }
404
+
405
+ tr.even.gradeA td.sorting_3 {
406
+ background-color: #e2ffe2;
407
+ }
408
+
409
+ tr.odd.gradeC td.sorting_1 {
410
+ background-color: #c4c4ff;
411
+ }
412
+
413
+ tr.odd.gradeC td.sorting_2 {
414
+ background-color: #d1d1ff;
415
+ }
416
+
417
+ tr.odd.gradeC td.sorting_3 {
418
+ background-color: #d1d1ff;
419
+ }
420
+
421
+ tr.even.gradeC td.sorting_1 {
422
+ background-color: #d5d5ff;
423
+ }
424
+
425
+ tr.even.gradeC td.sorting_2 {
426
+ background-color: #e2e2ff;
427
+ }
428
+
429
+ tr.even.gradeC td.sorting_3 {
430
+ background-color: #e2e2ff;
431
+ }
432
+
433
+ tr.odd.gradeX td.sorting_1 {
434
+ background-color: #ffc4c4;
435
+ }
436
+
437
+ tr.odd.gradeX td.sorting_2 {
438
+ background-color: #ffd1d1;
439
+ }
440
+
441
+ tr.odd.gradeX td.sorting_3 {
442
+ background-color: #ffd1d1;
443
+ }
444
+
445
+ tr.even.gradeX td.sorting_1 {
446
+ background-color: #ffd5d5;
447
+ }
448
+
449
+ tr.even.gradeX td.sorting_2 {
450
+ background-color: #ffe2e2;
451
+ }
452
+
453
+ tr.even.gradeX td.sorting_3 {
454
+ background-color: #ffe2e2;
455
+ }
456
+
457
+ tr.odd.gradeU td.sorting_1 {
458
+ background-color: #c4c4c4;
459
+ }
460
+
461
+ tr.odd.gradeU td.sorting_2 {
462
+ background-color: #d1d1d1;
463
+ }
464
+
465
+ tr.odd.gradeU td.sorting_3 {
466
+ background-color: #d1d1d1;
467
+ }
468
+
469
+ tr.even.gradeU td.sorting_1 {
470
+ background-color: #d5d5d5;
471
+ }
472
+
473
+ tr.even.gradeU td.sorting_2 {
474
+ background-color: #e2e2e2;
475
+ }
476
+
477
+ tr.even.gradeU td.sorting_3 {
478
+ background-color: #e2e2e2;
479
+ }
480
+
481
+
482
+ /*
483
+ * Row highlighting example
484
+ */
485
+ .ex_highlight #example tbody tr.even:hover, #example tbody tr.even td.highlighted {
486
+ background-color: #ECFFB3;
487
+ }
488
+
489
+ .ex_highlight #example tbody tr.odd:hover, #example tbody tr.odd td.highlighted {
490
+ background-color: #E6FF99;
491
+ }
492
+
493
+ .ex_highlight_row #example tr.even:hover {
494
+ background-color: #ECFFB3;
495
+ }
496
+
497
+ .ex_highlight_row #example tr.even:hover td.sorting_1 {
498
+ background-color: #DDFF75;
499
+ }
500
+
501
+ .ex_highlight_row #example tr.even:hover td.sorting_2 {
502
+ background-color: #E7FF9E;
503
+ }
504
+
505
+ .ex_highlight_row #example tr.even:hover td.sorting_3 {
506
+ background-color: #E2FF89;
507
+ }
508
+
509
+ .ex_highlight_row #example tr.odd:hover {
510
+ background-color: #E6FF99;
511
+ }
512
+
513
+ .ex_highlight_row #example tr.odd:hover td.sorting_1 {
514
+ background-color: #D6FF5C;
515
+ }
516
+
517
+ .ex_highlight_row #example tr.odd:hover td.sorting_2 {
518
+ background-color: #E0FF84;
519
+ }
520
+
521
+ .ex_highlight_row #example tr.odd:hover td.sorting_3 {
522
+ background-color: #DBFF70;
523
+ }
524
+
525
+
526
+ /*
527
+ * KeyTable
528
+ */
529
+ table.KeyTable td {
530
+ border: 3px solid transparent;
531
+ }
532
+
533
+ table.KeyTable td.focus {
534
+ border: 3px solid #3366FF;
535
+ }
536
+
537
+ table.display tr.gradeA {
538
+ background-color: #eeffee;
539
+ }
540
+
541
+ table.display tr.gradeC {
542
+ background-color: #ddddff;
543
+ }
544
+
545
+ table.display tr.gradeX {
546
+ background-color: #ffdddd;
547
+ }
548
+
549
+ table.display tr.gradeU {
550
+ background-color: #ddd;
551
+ }
552
+
553
+ div.box {
554
+ height: 100px;
555
+ padding: 10px;
556
+ overflow: auto;
557
+ border: 1px solid #8080FF;
558
+ background-color: #E5E5FF;
559
+ }