trans 0.5.2 → 0.5.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (70) hide show
  1. checksums.yaml +4 -4
  2. data/lib/tocmd/translator_trans.rb +16 -5
  3. data/lib/tocmd/version.rb +1 -1
  4. data/template/README.md +16 -0
  5. data/template/demo.html +344 -0
  6. data/{vendor → template}/meta.js +0 -0
  7. data/{vendor → template}/toc/css/component.css +4 -1
  8. data/template/toc/css/demo.css +330 -0
  9. data/{vendor → template}/toc/css/glyphicons-halflings-white.png +0 -0
  10. data/{vendor → template}/toc/css/glyphicons-halflings.png +0 -0
  11. data/{vendor → template}/toc/css/icons.css +0 -0
  12. data/template/toc/css/normalize.css +1 -0
  13. data/{vendor → template}/toc/css/zTreeStyle/img/diy/1_close.png +0 -0
  14. data/{vendor → template}/toc/css/zTreeStyle/img/diy/1_open.png +0 -0
  15. data/{vendor → template}/toc/css/zTreeStyle/img/diy/2.png +0 -0
  16. data/{vendor → template}/toc/css/zTreeStyle/img/diy/3.png +0 -0
  17. data/{vendor → template}/toc/css/zTreeStyle/img/diy/4.png +0 -0
  18. data/{vendor → template}/toc/css/zTreeStyle/img/diy/5.png +0 -0
  19. data/{vendor → template}/toc/css/zTreeStyle/img/diy/6.png +0 -0
  20. data/{vendor → template}/toc/css/zTreeStyle/img/diy/7.png +0 -0
  21. data/{vendor → template}/toc/css/zTreeStyle/img/diy/8.png +0 -0
  22. data/{vendor → template}/toc/css/zTreeStyle/img/diy/9.png +0 -0
  23. data/{vendor → template}/toc/css/zTreeStyle/img/line_conn.gif +0 -0
  24. data/{vendor → template}/toc/css/zTreeStyle/img/loading.gif +0 -0
  25. data/{vendor → template}/toc/css/zTreeStyle/img/zTreeStandard.gif +0 -0
  26. data/{vendor → template}/toc/css/zTreeStyle/img/zTreeStandard.png +0 -0
  27. data/{vendor → template}/toc/css/zTreeStyle/zTreeStyle.css +0 -0
  28. data/{vendor → template}/toc/fonts/codropsicons/codropsicons.eot +0 -0
  29. data/{vendor → template}/toc/fonts/codropsicons/codropsicons.svg +0 -0
  30. data/{vendor → template}/toc/fonts/codropsicons/codropsicons.ttf +0 -0
  31. data/{vendor → template}/toc/fonts/codropsicons/codropsicons.woff +0 -0
  32. data/{vendor → template}/toc/fonts/codropsicons/license.txt +0 -0
  33. data/vendor/toc/fonts/linecons/Read Me.txt b/data/template/toc/fonts/linecons/Read → Me.txt +0 -0
  34. data/{vendor → template}/toc/fonts/linecons/license.txt +0 -0
  35. data/{vendor → template}/toc/fonts/linecons/linecons.dev.svg +0 -0
  36. data/{vendor → template}/toc/fonts/linecons/linecons.eot +0 -0
  37. data/{vendor → template}/toc/fonts/linecons/linecons.svg +0 -0
  38. data/{vendor → template}/toc/fonts/linecons/linecons.ttf +0 -0
  39. data/{vendor → template}/toc/fonts/linecons/linecons.woff +0 -0
  40. data/{vendor → template}/toc/fonts/linecons/lte-ie7.js +0 -0
  41. data/{vendor → template}/toc/img/glyphicons-halflings-white.png +0 -0
  42. data/{vendor → template}/toc/img/glyphicons-halflings.png +0 -0
  43. data/{vendor → template}/toc/img/icon-cog-shadow.png +0 -0
  44. data/{vendor → template}/toc/img/icon-cog-small.png +0 -0
  45. data/{vendor → template}/toc/img/icon-cog.png +0 -0
  46. data/{vendor → template}/toc/img/pattern-2.png +0 -0
  47. data/{vendor → template}/toc/js/classie.js +0 -0
  48. data/{vendor → template}/toc/js/jquery-1.4.4.min.js +0 -0
  49. data/{vendor → template}/toc/js/jquery.js +0 -0
  50. data/template/toc/js/jquery.transtool.js +159 -0
  51. data/{vendor → template}/toc/js/jquery.ztree.all-3.5.min.js +0 -0
  52. data/{vendor → template}/toc/js/mlpushmenu.js +0 -0
  53. data/{vendor → template}/toc/js/modernizr.custom.js +0 -0
  54. data/{vendor → template}/toc/js/ztree_toc.js +74 -58
  55. data/template/toc/js/ztree_toc.min.js +4 -0
  56. data/vendor/toc/style/Clearness Dark.css b/data/template/toc/style/Clearness → Dark.css +0 -0
  57. data/{vendor → template}/toc/style/Clearness.css +0 -0
  58. data/{vendor → template}/toc/style/GitHub.css +0 -0
  59. data/{vendor → template}/toc/style/GitHub2.css +0 -0
  60. data/{vendor → template}/toc/style/github-bf51422f4bb36427d391e4b75a1daa083c2d840e.css +0 -0
  61. data/{vendor → template}/toc/style/github2-d731afd4f624c99a4b19ad69f3083cd6d02b81d5.css +0 -0
  62. data/{vendor → template}/toc/style/makedownpad.css +0 -0
  63. data/template/toc/toc_conf.js +54 -0
  64. metadata +62 -61
  65. data/vendor/template.html +0 -0
  66. data/vendor/toc/css/bootstrap.icons.css +0 -487
  67. data/vendor/toc/css/demo.css +0 -33
  68. data/vendor/toc/css/normalize.css +0 -1
  69. data/vendor/toc/js/ztree_toc.min.js +0 -4
  70. data/vendor/toc/toc_conf.js +0 -20
data/vendor/template.html DELETED
File without changes
@@ -1,487 +0,0 @@
1
- /*!
2
- * Bootstrap v2.2.2
3
- *
4
- * Copyright 2012 Twitter, Inc
5
- * Licensed under the Apache License v2.0
6
- * http://www.apache.org/licenses/LICENSE-2.0
7
- *
8
- * Designed and built with all the love in the world @twitter by @mdo and @fat.
9
- */
10
- .clearfix {
11
- *zoom: 1;
12
- }
13
- .clearfix:before,
14
- .clearfix:after {
15
- display: table;
16
- content: "";
17
- line-height: 0;
18
- }
19
- .clearfix:after {
20
- clear: both;
21
- }
22
- .hide-text {
23
- font: 0/0 a;
24
- color: transparent;
25
- text-shadow: none;
26
- background-color: transparent;
27
- border: 0;
28
- }
29
- .input-block-level {
30
- display: block;
31
- width: 100%;
32
- min-height: 30px;
33
- -webkit-box-sizing: border-box;
34
- -moz-box-sizing: border-box;
35
- box-sizing: border-box;
36
- }
37
- [class^="icon-"],
38
- [class*=" icon-"] {
39
- display: inline-block;
40
- width: 14px;
41
- height: 14px;
42
- *margin-right: .3em;
43
- line-height: 14px;
44
- vertical-align: text-top;
45
- background-image: url("glyphicons-halflings.png");
46
- background-position: 14px 14px;
47
- background-repeat: no-repeat;
48
- margin-top: 9px;
49
- }
50
- /* White icons with optional class, or on hover/active states of certain elements */
51
- .icon-white,
52
- .nav-pills > .active > a > [class^="icon-"],
53
- .nav-pills > .active > a > [class*=" icon-"],
54
- .nav-list > .active > a > [class^="icon-"],
55
- .nav-list > .active > a > [class*=" icon-"],
56
- .navbar-inverse .nav > .active > a > [class^="icon-"],
57
- .navbar-inverse .nav > .active > a > [class*=" icon-"],
58
- .dropdown-menu > li > a:hover > [class^="icon-"],
59
- .dropdown-menu > li > a:hover > [class*=" icon-"],
60
- .dropdown-menu > .active > a > [class^="icon-"],
61
- .dropdown-menu > .active > a > [class*=" icon-"],
62
- .dropdown-submenu:hover > a > [class^="icon-"],
63
- .dropdown-submenu:hover > a > [class*=" icon-"] {
64
- background-image: url("../img/glyphicons-halflings-white.png");
65
- }
66
- .icon-glass {
67
- background-position: 0 0;
68
- }
69
- .icon-music {
70
- background-position: -24px 0;
71
- }
72
- .icon-search {
73
- background-position: -48px 0;
74
- }
75
- .icon-envelope {
76
- background-position: -72px 0;
77
- }
78
- .icon-heart {
79
- background-position: -96px 0;
80
- }
81
- .icon-star {
82
- background-position: -120px 0;
83
- }
84
- .icon-star-empty {
85
- background-position: -144px 0;
86
- }
87
- .icon-user {
88
- background-position: -168px 0;
89
- }
90
- .icon-film {
91
- background-position: -192px 0;
92
- }
93
- .icon-th-large {
94
- background-position: -216px 0;
95
- }
96
- .icon-th {
97
- background-position: -240px 0;
98
- }
99
- .icon-th-list {
100
- background-position: -264px 0;
101
- }
102
- .icon-ok {
103
- background-position: -288px 0;
104
- }
105
- .icon-remove {
106
- background-position: -312px 0;
107
- }
108
- .icon-zoom-in {
109
- background-position: -336px 0;
110
- }
111
- .icon-zoom-out {
112
- background-position: -360px 0;
113
- }
114
- .icon-off {
115
- background-position: -384px 0;
116
- }
117
- .icon-signal {
118
- background-position: -408px 0;
119
- }
120
- .icon-cog {
121
- background-position: -432px 0;
122
- }
123
- .icon-trash {
124
- background-position: -456px 0;
125
- }
126
- .icon-home {
127
- background-position: 0 -24px;
128
- }
129
- .icon-file {
130
- background-position: -24px -24px;
131
- }
132
- .icon-time {
133
- background-position: -48px -24px;
134
- }
135
- .icon-road {
136
- background-position: -72px -24px;
137
- }
138
- .icon-download-alt {
139
- background-position: -96px -24px;
140
- }
141
- .icon-download {
142
- background-position: -120px -24px;
143
- }
144
- .icon-upload {
145
- background-position: -144px -24px;
146
- }
147
- .icon-inbox {
148
- background-position: -168px -24px;
149
- }
150
- .icon-play-circle {
151
- background-position: -192px -24px;
152
- }
153
- .icon-repeat {
154
- background-position: -216px -24px;
155
- }
156
- .icon-refresh {
157
- background-position: -240px -24px;
158
- }
159
- .icon-list-alt {
160
- background-position: -264px -24px;
161
- }
162
- .icon-lock {
163
- background-position: -287px -24px;
164
- }
165
- .icon-flag {
166
- background-position: -312px -24px;
167
- }
168
- .icon-headphones {
169
- background-position: -336px -24px;
170
- }
171
- .icon-volume-off {
172
- background-position: -360px -24px;
173
- }
174
- .icon-volume-down {
175
- background-position: -384px -24px;
176
- }
177
- .icon-volume-up {
178
- background-position: -408px -24px;
179
- }
180
- .icon-qrcode {
181
- background-position: -432px -24px;
182
- }
183
- .icon-barcode {
184
- background-position: -456px -24px;
185
- }
186
- .icon-tag {
187
- background-position: 0 -48px;
188
- }
189
- .icon-tags {
190
- background-position: -25px -48px;
191
- }
192
- .icon-book {
193
- background-position: -48px -48px;
194
- }
195
- .icon-bookmark {
196
- background-position: -72px -48px;
197
- }
198
- .icon-print {
199
- background-position: -96px -48px;
200
- }
201
- .icon-camera {
202
- background-position: -120px -48px;
203
- }
204
- .icon-font {
205
- background-position: -144px -48px;
206
- }
207
- .icon-bold {
208
- background-position: -167px -48px;
209
- }
210
- .icon-italic {
211
- background-position: -192px -48px;
212
- }
213
- .icon-text-height {
214
- background-position: -216px -48px;
215
- }
216
- .icon-text-width {
217
- background-position: -240px -48px;
218
- }
219
- .icon-align-left {
220
- background-position: -264px -48px;
221
- }
222
- .icon-align-center {
223
- background-position: -288px -48px;
224
- }
225
- .icon-align-right {
226
- background-position: -312px -48px;
227
- }
228
- .icon-align-justify {
229
- background-position: -336px -48px;
230
- }
231
- .icon-list {
232
- background-position: -360px -48px;
233
- }
234
- .icon-indent-left {
235
- background-position: -384px -48px;
236
- }
237
- .icon-indent-right {
238
- background-position: -408px -48px;
239
- }
240
- .icon-facetime-video {
241
- background-position: -432px -48px;
242
- }
243
- .icon-picture {
244
- background-position: -456px -48px;
245
- }
246
- .icon-pencil {
247
- background-position: 0 -72px;
248
- }
249
- .icon-map-marker {
250
- background-position: -24px -72px;
251
- }
252
- .icon-adjust {
253
- background-position: -48px -72px;
254
- }
255
- .icon-tint {
256
- background-position: -72px -72px;
257
- }
258
- .icon-edit {
259
- background-position: -96px -72px;
260
- }
261
- .icon-share {
262
- background-position: -120px -72px;
263
- }
264
- .icon-check {
265
- background-position: -144px -72px;
266
- }
267
- .icon-move {
268
- background-position: -168px -72px;
269
- }
270
- .icon-step-backward {
271
- background-position: -192px -72px;
272
- }
273
- .icon-fast-backward {
274
- background-position: -216px -72px;
275
- }
276
- .icon-backward {
277
- background-position: -240px -72px;
278
- }
279
- .icon-play {
280
- background-position: -264px -72px;
281
- }
282
- .icon-pause {
283
- background-position: -288px -72px;
284
- }
285
- .icon-stop {
286
- background-position: -312px -72px;
287
- }
288
- .icon-forward {
289
- background-position: -336px -72px;
290
- }
291
- .icon-fast-forward {
292
- background-position: -360px -72px;
293
- }
294
- .icon-step-forward {
295
- background-position: -384px -72px;
296
- }
297
- .icon-eject {
298
- background-position: -408px -72px;
299
- }
300
- .icon-chevron-left {
301
- background-position: -432px -72px;
302
- }
303
- .icon-chevron-right {
304
- background-position: -456px -72px;
305
- }
306
- .icon-plus-sign {
307
- background-position: 0 -96px;
308
- }
309
- .icon-minus-sign {
310
- background-position: -24px -96px;
311
- }
312
- .icon-remove-sign {
313
- background-position: -48px -96px;
314
- }
315
- .icon-ok-sign {
316
- background-position: -72px -96px;
317
- }
318
- .icon-question-sign {
319
- background-position: -96px -96px;
320
- }
321
- .icon-info-sign {
322
- background-position: -120px -96px;
323
- }
324
- .icon-screenshot {
325
- background-position: -144px -96px;
326
- }
327
- .icon-remove-circle {
328
- background-position: -168px -96px;
329
- }
330
- .icon-ok-circle {
331
- background-position: -192px -96px;
332
- }
333
- .icon-ban-circle {
334
- background-position: -216px -96px;
335
- }
336
- .icon-arrow-left {
337
- background-position: -240px -96px;
338
- }
339
- .icon-arrow-right {
340
- background-position: -264px -96px;
341
- }
342
- .icon-arrow-up {
343
- background-position: -289px -96px;
344
- }
345
- .icon-arrow-down {
346
- background-position: -312px -96px;
347
- }
348
- .icon-share-alt {
349
- background-position: -336px -96px;
350
- }
351
- .icon-resize-full {
352
- background-position: -360px -96px;
353
- }
354
- .icon-resize-small {
355
- background-position: -384px -96px;
356
- }
357
- .icon-plus {
358
- background-position: -408px -96px;
359
- }
360
- .icon-minus {
361
- background-position: -433px -96px;
362
- }
363
- .icon-asterisk {
364
- background-position: -456px -96px;
365
- }
366
- .icon-exclamation-sign {
367
- background-position: 0 -120px;
368
- }
369
- .icon-gift {
370
- background-position: -24px -120px;
371
- }
372
- .icon-leaf {
373
- background-position: -48px -120px;
374
- }
375
- .icon-fire {
376
- background-position: -72px -120px;
377
- }
378
- .icon-eye-open {
379
- background-position: -96px -120px;
380
- }
381
- .icon-eye-close {
382
- background-position: -120px -120px;
383
- }
384
- .icon-warning-sign {
385
- background-position: -144px -120px;
386
- }
387
- .icon-plane {
388
- background-position: -168px -120px;
389
- }
390
- .icon-calendar {
391
- background-position: -192px -120px;
392
- }
393
- .icon-random {
394
- background-position: -216px -120px;
395
- width: 16px;
396
- }
397
- .icon-comment {
398
- background-position: -240px -120px;
399
- }
400
- .icon-magnet {
401
- background-position: -264px -120px;
402
- }
403
- .icon-chevron-up {
404
- background-position: -288px -120px;
405
- }
406
- .icon-chevron-down {
407
- background-position: -313px -119px;
408
- }
409
- .icon-retweet {
410
- background-position: -336px -120px;
411
- }
412
- .icon-shopping-cart {
413
- background-position: -360px -120px;
414
- }
415
- .icon-folder-close {
416
- background-position: -384px -120px;
417
- }
418
- .icon-folder-open {
419
- background-position: -408px -120px;
420
- width: 16px;
421
- }
422
- .icon-resize-vertical {
423
- background-position: -432px -119px;
424
- }
425
- .icon-resize-horizontal {
426
- background-position: -456px -118px;
427
- }
428
- .icon-hdd {
429
- background-position: 0 -144px;
430
- }
431
- .icon-bullhorn {
432
- background-position: -24px -144px;
433
- }
434
- .icon-bell {
435
- background-position: -48px -144px;
436
- }
437
- .icon-certificate {
438
- background-position: -72px -144px;
439
- }
440
- .icon-thumbs-up {
441
- background-position: -96px -144px;
442
- }
443
- .icon-thumbs-down {
444
- background-position: -120px -144px;
445
- }
446
- .icon-hand-right {
447
- background-position: -144px -144px;
448
- }
449
- .icon-hand-left {
450
- background-position: -168px -144px;
451
- }
452
- .icon-hand-up {
453
- background-position: -192px -144px;
454
- }
455
- .icon-hand-down {
456
- background-position: -216px -144px;
457
- }
458
- .icon-circle-arrow-right {
459
- background-position: -240px -144px;
460
- }
461
- .icon-circle-arrow-left {
462
- background-position: -264px -144px;
463
- }
464
- .icon-circle-arrow-up {
465
- background-position: -288px -144px;
466
- }
467
- .icon-circle-arrow-down {
468
- background-position: -312px -144px;
469
- }
470
- .icon-globe {
471
- background-position: -336px -144px;
472
- }
473
- .icon-wrench {
474
- background-position: -360px -144px;
475
- }
476
- .icon-tasks {
477
- background-position: -384px -144px;
478
- }
479
- .icon-filter {
480
- background-position: -408px -144px;
481
- }
482
- .icon-briefcase {
483
- background-position: -432px -144px;
484
- }
485
- .icon-fullscreen {
486
- background-position: -456px -144px;
487
- }