trans 0.5.2 → 0.5.5

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.
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
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ccb379eeb412cf8733829bbc0f09e3ec43edc44a
4
- data.tar.gz: b0d195f28e7edd7ee020b446eeb3e69e56654cdc
3
+ metadata.gz: a451d0fcd300749ed2a53480e27cd2ae52ef034c
4
+ data.tar.gz: 48ba0ac068085c4ccc794fe47262b5222fddad60
5
5
  SHA512:
6
- metadata.gz: c71d62398c1ba493ba069fee6271bc16754aa4a0482f07dbc1639df40c2ff8a396a7567d721de3ac7d86dad08a0f53b9d28a99f4a94472d9f0886f1c5633bb85
7
- data.tar.gz: 60221b5451f42db17e2468617fbcb90fe60eb21ab878134558459b03eb0112f237f739e73852c01297eaa0e9aff36b694c94c46169cfee0d271aa047f10bacff
6
+ metadata.gz: 0aba5019d7c71ced3e8090ba8e28257e7de35e6fbfeeba44aecdefaf61ad2aaad4832262dfbb7b9ef751cb1c0de78183aca3004831fd2a4c830246bdc3156377
7
+ data.tar.gz: 371cbdece57456153312f8c61ab49dc8e53da63a1d65b4e93143d31cd37c8d0bcaabef01890ff5fb603c5b685fd1807ff2c1de15481e8620bacf4d1bff8d8e97
@@ -29,7 +29,13 @@ class Tocmd::TranslatorTrans
29
29
  puts "desc path = #{ar.join('/').to_s}"
30
30
 
31
31
  # copy vendor/toc to dest directory
32
- `cp -rf #{@editor_path}/ #{dest_dir}`
32
+ `cp -rf #{@editor_path}/toc #{dest_dir}/toc`
33
+
34
+ if File.exist?("#{dest_dir}/toc_conf.js")
35
+ puts 'toc_conf file exist'
36
+ else
37
+ `cp -rf #{@editor_path}/toc/toc_conf.js #{dest_dir}/`
38
+ end
33
39
 
34
40
  # _toc_config(dest_dir)
35
41
 
@@ -56,8 +62,13 @@ class Tocmd::TranslatorTrans
56
62
  puts "hi_dir desc path = #{ar.join('/').to_s}"
57
63
 
58
64
  # copy vendor/toc to dest directory
59
- `cp -rf #{@editor_path}/toc #{dest_dir}/toc`
60
-
65
+ `cp -rf #{@editor_path}/ #{dest_dir}`
66
+
67
+ if File.exist?("#{dest_dir}/toc_conf.js")
68
+ puts 'toc_conf file exist'
69
+ else
70
+ `cp -rf #{@editor_path}/toc/toc_conf.js #{dest_dir}/`
71
+ end
61
72
  # _toc_config(dest_dir)
62
73
 
63
74
  build_with_dir(src_path ,dest_dir)
@@ -200,7 +211,7 @@ class Tocmd::TranslatorTrans
200
211
  <!-- mp-menu -->
201
212
  <nav id="mp-menu" class="mp-menu">
202
213
  <div class="mp-level">
203
- <h2 class="icon icon-world" style='font-size: 34;color:white;'>泰然译品</h2>
214
+ <h2 class="icon icon-world" id='mp_title' style='font-size: 34;color:white;'>泰然译品</h2>
204
215
  <ul>
205
216
  </ul>
206
217
 
@@ -241,7 +252,7 @@ class Tocmd::TranslatorTrans
241
252
  <script type="text/javascript" src="toc/js/jquery.js"></script>
242
253
  <script type="text/javascript" src="toc/js/jquery.ztree.all-3.5.min.js"></script>
243
254
  <script type="text/javascript" src="toc/js/ztree_toc.js"></script>
244
- <script type="text/javascript" src="toc/toc_conf.js"></script>
255
+ <script type="text/javascript" src="./toc_conf.js"></script>
245
256
  <script src="toc/js/classie.js"></script>
246
257
  <script src="toc/js/mlpushmenu.js"></script>
247
258
  <script src="toc/js/modernizr.custom.js"></script>
data/lib/tocmd/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Tocmd
2
- VERSION = "0.5.2"
2
+ VERSION = "0.5.5"
3
3
  end
@@ -0,0 +1,16 @@
1
+ # Demo
2
+
3
+
4
+ ## run example
5
+
6
+ open demo.html
7
+
8
+ ## historys
9
+
10
+
11
+ - v0.1.1
12
+ - add opts.menu_trigger_selector option
13
+ - v0.1.0
14
+ - 增加default state = all的选项。
15
+
16
+
@@ -0,0 +1,344 @@
1
+
2
+ <html>
3
+ <head>
4
+ <meta http-equiv="content-type" content="text/html; charset=utf-8" />
5
+ <title>sample2</title>
6
+
7
+ <link href="toc/style/github-bf51422f4bb36427d391e4b75a1daa083c2d840e.css" media="all" rel="stylesheet" type="text/css"/>
8
+ <link href="toc/style/github2-d731afd4f624c99a4b19ad69f3083cd6d02b81d5.css" media="all" rel="stylesheet" type="text/css"/>
9
+ <link href="toc/css/zTreeStyle/zTreeStyle.css" media="all" rel="stylesheet" type="text/css"/>
10
+ <link rel="stylesheet" type="text/css" href="toc/css/normalize.css" />
11
+ <link rel="stylesheet" type="text/css" href="toc/css/demo.css" />
12
+ <link rel="stylesheet" type="text/css" href="toc/css/icons.css" />
13
+ <link rel="stylesheet" type="text/css" href="toc/css/component.css" />
14
+ </head>
15
+ <body>
16
+ <div class="container">
17
+ <!-- Push Wrapper -->
18
+ <div class="mp-pusher" id="mp-pusher">
19
+
20
+ <!-- mp-menu -->
21
+ <nav id="mp-menu" class="mp-menu">
22
+ <div class="mp-level">
23
+ <h2 class="icon icon-world" id='mp_title' style='font-size: 34;color:white;'>泰然译品</h2>
24
+ <ul>
25
+ </ul>
26
+
27
+ </div>
28
+ </nav>
29
+ <!-- /mp-menu -->
30
+
31
+ <div class="scroller"><!-- this is for emulating position fixed of the nav -->
32
+ <div class="scroller-inner">
33
+ <!-- Top Navigation -->
34
+
35
+ <div>
36
+ <div style='width:25%;'>
37
+ <ul id="tree" class="ztree" style='width:100%'>
38
+
39
+ </ul>
40
+ </div>
41
+ <div id='readme' style='width:70%;margin-left:20%;'>
42
+ <article class='markdown-body'>
43
+ <style>.highlight .hll { background-color: #ffffcc }
44
+ .highlight { background: #f0f0f0; }
45
+ .highlight .c { color: #60a0b0; font-style: italic } /* Comment */
46
+ .highlight .err { border: 1px solid #FF0000 } /* Error */
47
+ .highlight .k { color: #007020; font-weight: bold } /* Keyword */
48
+ .highlight .o { color: #666666 } /* Operator */
49
+ .highlight .cm { color: #60a0b0; font-style: italic } /* Comment.Multiline */
50
+ .highlight .cp { color: #007020 } /* Comment.Preproc */
51
+ .highlight .c1 { color: #60a0b0; font-style: italic } /* Comment.Single */
52
+ .highlight .cs { color: #60a0b0; background-color: #fff0f0 } /* Comment.Special */
53
+ .highlight .gd { color: #A00000 } /* Generic.Deleted */
54
+ .highlight .ge { font-style: italic } /* Generic.Emph */
55
+ .highlight .gr { color: #FF0000 } /* Generic.Error */
56
+ .highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */
57
+ .highlight .gi { color: #00A000 } /* Generic.Inserted */
58
+ .highlight .go { color: #888888 } /* Generic.Output */
59
+ .highlight .gp { color: #c65d09; font-weight: bold } /* Generic.Prompt */
60
+ .highlight .gs { font-weight: bold } /* Generic.Strong */
61
+ .highlight .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
62
+ .highlight .gt { color: #0044DD } /* Generic.Traceback */
63
+ .highlight .kc { color: #007020; font-weight: bold } /* Keyword.Constant */
64
+ .highlight .kd { color: #007020; font-weight: bold } /* Keyword.Declaration */
65
+ .highlight .kn { color: #007020; font-weight: bold } /* Keyword.Namespace */
66
+ .highlight .kp { color: #007020 } /* Keyword.Pseudo */
67
+ .highlight .kr { color: #007020; font-weight: bold } /* Keyword.Reserved */
68
+ .highlight .kt { color: #902000 } /* Keyword.Type */
69
+ .highlight .m { color: #40a070 } /* Literal.Number */
70
+ .highlight .s { color: #4070a0 } /* Literal.String */
71
+ .highlight .na { color: #4070a0 } /* Name.Attribute */
72
+ .highlight .nb { color: #007020 } /* Name.Builtin */
73
+ .highlight .nc { color: #0e84b5; font-weight: bold } /* Name.Class */
74
+ .highlight .no { color: #60add5 } /* Name.Constant */
75
+ .highlight .nd { color: #555555; font-weight: bold } /* Name.Decorator */
76
+ .highlight .ni { color: #d55537; font-weight: bold } /* Name.Entity */
77
+ .highlight .ne { color: #007020 } /* Name.Exception */
78
+ .highlight .nf { color: #06287e } /* Name.Function */
79
+ .highlight .nl { color: #002070; font-weight: bold } /* Name.Label */
80
+ .highlight .nn { color: #0e84b5; font-weight: bold } /* Name.Namespace */
81
+ .highlight .nt { color: #062873; font-weight: bold } /* Name.Tag */
82
+ .highlight .nv { color: #bb60d5 } /* Name.Variable */
83
+ .highlight .ow { color: #007020; font-weight: bold } /* Operator.Word */
84
+ .highlight .w { color: #bbbbbb } /* Text.Whitespace */
85
+ .highlight .mb { color: #40a070 } /* Literal.Number.Bin */
86
+ .highlight .mf { color: #40a070 } /* Literal.Number.Float */
87
+ .highlight .mh { color: #40a070 } /* Literal.Number.Hex */
88
+ .highlight .mi { color: #40a070 } /* Literal.Number.Integer */
89
+ .highlight .mo { color: #40a070 } /* Literal.Number.Oct */
90
+ .highlight .sb { color: #4070a0 } /* Literal.String.Backtick */
91
+ .highlight .sc { color: #4070a0 } /* Literal.String.Char */
92
+ .highlight .sd { color: #4070a0; font-style: italic } /* Literal.String.Doc */
93
+ .highlight .s2 { color: #4070a0 } /* Literal.String.Double */
94
+ .highlight .se { color: #4070a0; font-weight: bold } /* Literal.String.Escape */
95
+ .highlight .sh { color: #4070a0 } /* Literal.String.Heredoc */
96
+ .highlight .si { color: #70a0d0; font-style: italic } /* Literal.String.Interpol */
97
+ .highlight .sx { color: #c65d09 } /* Literal.String.Other */
98
+ .highlight .sr { color: #235388 } /* Literal.String.Regex */
99
+ .highlight .s1 { color: #4070a0 } /* Literal.String.Single */
100
+ .highlight .ss { color: #517918 } /* Literal.String.Symbol */
101
+ .highlight .bp { color: #007020 } /* Name.Builtin.Pseudo */
102
+ .highlight .vc { color: #bb60d5 } /* Name.Variable.Class */
103
+ .highlight .vg { color: #bb60d5 } /* Name.Variable.Global */
104
+ .highlight .vi { color: #bb60d5 } /* Name.Variable.Instance */
105
+ .highlight .il { color: #40a070 } /* Literal.Number.Integer.Long */</style>
106
+ <style>
107
+ .source{
108
+ display:none;
109
+ }
110
+ </style>
111
+
112
+ <h1>This is an H1</h1>
113
+
114
+ <p><button>dddd</button></p>
115
+
116
+ <div class='zh'>
117
+ display:zh china
118
+ </div>
119
+
120
+ <hr>
121
+
122
+ <div class='en '>
123
+ display:english
124
+ </div>
125
+
126
+ <h2>This is an H2</h2>
127
+
128
+ <h3>This is an H3</h3>
129
+
130
+ <h4>This is an H4</h4>
131
+
132
+ <h5>This is an H5</h5>
133
+
134
+ <h6>This is an H6</h6>
135
+
136
+ <blockquote>
137
+ <p>This is the first level of quoting.</p>
138
+
139
+ <blockquote>
140
+ <p>This is nested blockquote.</p>
141
+ </blockquote>
142
+
143
+ <p>Back to the first level.</p>
144
+ </blockquote>
145
+
146
+ <h3>Unordered List</h3>
147
+
148
+ <ul>
149
+ <li>Red</li>
150
+ <li>Green</li>
151
+ <li>Blue</li>
152
+ </ul>
153
+
154
+ <h3>Ordered List</h3>
155
+
156
+ <ol>
157
+ <li>Red</li>
158
+ <li>Green</li>
159
+ <li>Blue</li>
160
+ <li> Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
161
+ Aliquam hendrerit mi posuere lectus. Vestibulum enim wisi,
162
+ viverra nec, fringilla in, laoreet vitae, risus.</li>
163
+ <li> Donec sit amet nisl. Aliquam semper ipsum sit amet velit.
164
+ Suspendisse id sem consectetuer libero luctus adipiscing.</li>
165
+ </ol>
166
+
167
+ <p>A sample text here. And some code below:</p>
168
+ <div class="highlight"><pre><span class="kn">import</span> <span class="nn">sys</span>
169
+ <span class="kn">import</span> <span class="nn">gobject</span>
170
+ <span class="k">def</span> <span class="nf">init</span><span class="p">():</span>
171
+ <span class="k">for</span> <span class="n">i</span> <span class="ow">in</span> <span class="nb">range</span><span class="p">(</span><span class="mi">0</span><span class="p">,</span> <span class="mi">10</span><span class="p">):</span>
172
+ <span class="k">print</span> <span class="s">&#39;task </span><span class="si">%d</span><span class="s">, done&#39;</span> <span class="o">%</span> <span class="n">i</span>
173
+
174
+ <span class="k">if</span> <span class="n">__name__</span> <span class="o">==</span> <span class="s">&#39;__main__&#39;</span><span class="p">:</span>
175
+ <span class="n">init</span><span class="p">()</span>
176
+ </pre></div>
177
+ <p>Inline code <code>printf()</code> here.</p>
178
+
179
+ <p>This is a link to <a href="http://google.com">Google</a>.</p>
180
+
181
+ <p><em>single asterisks</em></p>
182
+
183
+ <p><strong>double asterisks</strong></p>
184
+
185
+ <p>Create fake iPhone text conversations. Enter a conversation: Example: Dad: Your mom and I are going to divorce next month. Son: Why ? Call me please. </p>
186
+
187
+ <p>Create fake iPhone text conversations. Enter a conversation: Example: Dad: Your mom and I are going to divorce next month. Son: Why ? Call me please. </p>
188
+
189
+ <h1>This is an H1</h1>
190
+
191
+ <h2>This is an H2</h2>
192
+
193
+ <h3>This is an H3</h3>
194
+
195
+ <h3>This is an H3</h3>
196
+
197
+ <h3>This is an H3</h3>
198
+
199
+ <h4>This is an H4</h4>
200
+
201
+ <h4>This is an H4</h4>
202
+
203
+ <h2>This is an H2</h2>
204
+
205
+ <h3>This is an H3</h3>
206
+
207
+ <h4>This is an H4</h4>
208
+
209
+ <h5>This is an H5</h5>
210
+
211
+ <h6>This is an H6</h6>
212
+
213
+ <blockquote>
214
+ <p>This is the first level of quoting.</p>
215
+
216
+ <blockquote>
217
+ <p>This is nested blockquote.</p>
218
+ </blockquote>
219
+
220
+ <p>Back to the first level.</p>
221
+ </blockquote>
222
+
223
+ <h3>Unordered List</h3>
224
+
225
+ <ul>
226
+ <li>Red</li>
227
+ <li>Green</li>
228
+ <li>Blue</li>
229
+ </ul>
230
+
231
+ <h3>Ordered List</h3>
232
+
233
+ <ol>
234
+ <li>Red</li>
235
+ <li>Green</li>
236
+ <li>Blue</li>
237
+ <li> Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
238
+ Aliquam hendrerit mi posuere lectus. Vestibulum enim wisi,
239
+ viverra nec, fringilla in, laoreet vitae, risus.</li>
240
+ <li> Donec sit amet nisl. Aliquam semper ipsum sit amet velit.
241
+ Suspendisse id sem consectetuer libero luctus adipiscing.</li>
242
+ </ol>
243
+
244
+ <p>A sample text here. And some code below:</p>
245
+ <div class="highlight"><pre><span class="kn">import</span> <span class="nn">sys</span>
246
+ <span class="kn">import</span> <span class="nn">gobject</span>
247
+ <span class="k">def</span> <span class="nf">init</span><span class="p">():</span>
248
+ <span class="k">for</span> <span class="n">i</span> <span class="ow">in</span> <span class="nb">range</span><span class="p">(</span><span class="mi">0</span><span class="p">,</span> <span class="mi">10</span><span class="p">):</span>
249
+ <span class="k">print</span> <span class="s">&#39;task </span><span class="si">%d</span><span class="s">, done&#39;</span> <span class="o">%</span> <span class="n">i</span>
250
+
251
+ <span class="k">if</span> <span class="n">__name__</span> <span class="o">==</span> <span class="s">&#39;__main__&#39;</span><span class="p">:</span>
252
+ <span class="n">init</span><span class="p">()</span>
253
+ </pre></div>
254
+ <p>Inline code <code>printf()</code> here.</p>
255
+
256
+ <p>This is a link to <a href="http://google.com">Google</a>.</p>
257
+
258
+ <p><em>single asterisks</em></p>
259
+
260
+ <p><strong>double asterisks</strong></p>
261
+
262
+ <p>Create fake iPhone text conversations. Enter a conversation: Example: Dad: Your mom and I are going to divorce next month. Son: Why ? Call me please. </p>
263
+
264
+ <p>Create fake iPhone text conversations. Enter a conversation: Example: Dad: Your mom and I are going to divorce next month. Son: Why ? Call me please. </p>
265
+
266
+ <h2>Table test</h2>
267
+
268
+ <p>v0.1.4</p>
269
+
270
+ <table><thead>
271
+ <tr>
272
+ <th>Keys</th>
273
+ <th>Value</th>
274
+ </tr>
275
+ </thead><tbody>
276
+ <tr>
277
+ <td>说明</td>
278
+ <td>检查用户是否已经登录</td>
279
+ </tr>
280
+ <tr>
281
+ <td>网址</td>
282
+ <td>index.php?c=mobile&amp;a=checklogin</td>
283
+ </tr>
284
+ <tr>
285
+ <td>登录</td>
286
+ <td>FALSE</td>
287
+ </tr>
288
+ <tr>
289
+ <td>参数</td>
290
+ <td>NULL</td>
291
+ </tr>
292
+ <tr>
293
+ <td>返回</td>
294
+ <td>↓↓↓↓↓↓↓↓↓↓</td>
295
+ </tr>
296
+ </tbody></table>
297
+
298
+ </article>
299
+ </div>
300
+ </div>
301
+ <div id="normal-button" class="settings-button">
302
+ <img src="toc/img/icon-cog-small.png" />
303
+ </div>
304
+
305
+
306
+ </div><!-- /scroller-inner -->
307
+ </div><!-- /scroller -->
308
+
309
+ </div><!-- /pusher -->
310
+ </div><!-- /container -->
311
+
312
+
313
+ </body>
314
+ </html>
315
+ <script type="text/javascript" src="toc/js/jquery.js"></script>
316
+ <script type="text/javascript" src="toc/js/jquery.ztree.all-3.5.min.js"></script>
317
+ <script type="text/javascript" src="toc/js/ztree_toc.js"></script>
318
+ <script type="text/javascript" src="toc/toc_conf.js"></script>
319
+ <script src="toc/js/classie.js"></script>
320
+ <script src="toc/js/mlpushmenu.js"></script>
321
+ <script src="toc/js/modernizr.custom.js"></script>
322
+ <script src="toc/js/jquery.transtool.js"></script>
323
+
324
+ <SCRIPT type="text/javascript" >
325
+ <!--
326
+ $(document).ready(function(){
327
+ var css_conf = eval(markdown_panel_style);
328
+ $('#readme').css(css_conf)
329
+
330
+ var conf = eval(jquery_ztree_toc_opts);
331
+ $('#tree').ztree_toc(conf);
332
+
333
+ new mlPushMenu( document.getElementById( 'mp-menu' ), document.getElementById( 'normal-button' ), {
334
+ type : 'cover'
335
+ } );
336
+
337
+ var transtool_opts_conf = eval(transtool_opts);
338
+ $.transtool(transtool_opts_conf);
339
+
340
+ // $('#tree').hide()
341
+ });
342
+ //-->
343
+ </SCRIPT>
344
+
File without changes
@@ -8,6 +8,7 @@
8
8
 
9
9
  html, body, .container, .scroller {
10
10
  height: 100%;
11
+ width: 100%;
11
12
  }
12
13
 
13
14
  .scroller {
@@ -17,12 +18,13 @@ html, body, .container, .scroller {
17
18
  .scroller,
18
19
  .scroller-inner {
19
20
  position: relative;
21
+ width: 100%;
20
22
  }
21
23
 
22
24
  .container {
23
25
  position: relative;
24
26
  overflow: hidden;
25
- background: #34495e;
27
+ /* background: #34495e;*/
26
28
  }
27
29
 
28
30
  .menu-trigger {
@@ -105,6 +107,7 @@ html, body, .container, .scroller {
105
107
  -webkit-transition: opacity 0.3s;
106
108
  -moz-transition: opacity 0.3s;
107
109
  transition: opacity 0.3s;
110
+ /* z-index:100000;*/
108
111
  }
109
112
 
110
113
  .mp-level.mp-level-overlay {