w2tags 0.9.58 → 0.9.59
Sign up to get free protection for your applications and to get access to all the features.
- data/Manifest.txt +80 -90
- data/hot/demo.hot +21 -7
- data/hot/html.hot +8 -0
- data/lib/w2tags/block/block_hot.rb +1 -1
- data/lib/w2tags/block/sass.rb +1 -1
- data/lib/{w2tags/try/public/css → /w2tags//try//public//css/}/csscolors.css +0 -0
- data/lib/{w2tags/try/public/css → /w2tags//try//public//css/}/jscolors.css +0 -0
- data/lib/{w2tags/try/public/css → /w2tags//try//public//css/}/rubycolors.css +5 -3
- data/lib/{w2tags/try/public/css → /w2tags//try//public//css/}/xmlcolors.css +0 -0
- data/lib/{w2tags/try/public/img → /w2tags//try//public//img/}/loading.gif +0 -0
- data/lib/{w2tags/try/public/javascripts → /w2tags//try//public//javascripts/}/jquery.cluetip.js +0 -0
- data/lib/{w2tags/try/public/javascripts → /w2tags//try//public//javascripts/}/jquery.js +0 -0
- data/lib/{w2tags/try/public/javascripts → /w2tags//try//public//javascripts/}/jquery.live.accordion.js +0 -0
- data/lib/{w2tags/try/public/js → /w2tags//try//public//js/}/codemirror.js +0 -0
- data/lib/{w2tags/try/public/js → /w2tags//try//public//js/}/editor.js +0 -0
- data/lib/{w2tags/try/public/js → /w2tags//try//public//js/}/highlight.js +0 -0
- data/lib/{w2tags/try/public/js → /w2tags//try//public//js/}/mirrorframe.js +0 -0
- data/lib/{w2tags/try/public/js → /w2tags//try//public//js/}/parsecss.js +0 -0
- data/lib/{w2tags/try/public/js → /w2tags//try//public//js/}/parsehtmlmixed.js +0 -0
- data/lib/{w2tags/try/public/js → /w2tags//try//public//js/}/parsejavascript.js +0 -0
- data/lib/{w2tags/try/public/js → /w2tags//try//public//js/}/parsew2tags.js +25 -9
- data/lib/{w2tags/try/public/js → /w2tags//try//public//js/}/parsexml.js +0 -0
- data/lib/{w2tags/try/public/js → /w2tags//try//public//js/}/select.js +0 -0
- data/lib/{w2tags/try/public/js → /w2tags//try//public//js/}/stringstream.js +0 -0
- data/lib/{w2tags/try/public/js → /w2tags//try//public//js/}/tokenize.js +0 -0
- data/lib/{w2tags/try/public/js → /w2tags//try//public//js/}/tokenizejavascript.js +0 -0
- data/lib/{w2tags/try/public/js → /w2tags//try//public//js/}/undo.js +0 -0
- data/lib/{w2tags/try/public/js → /w2tags//try//public//js/}/util.js +0 -0
- data/lib/{w2tags/try/public → /w2tags//try//public/}/skyeight.jpeg +0 -0
- data/lib/{w2tags/try/public/stylesheets/back → /w2tags//try//public//stylesheets//back/}/back_menu.gif +0 -0
- data/lib/{w2tags/try/public/stylesheets/icons → /w2tags//try//public//stylesheets//icons/}/folder-closed.gif +0 -0
- data/lib/{w2tags/try/public/stylesheets/icons → /w2tags//try//public//stylesheets//icons/}/folder-open.gif +0 -0
- data/lib/{w2tags/try/public/stylesheets/icons → /w2tags//try//public//stylesheets//icons/}/leaf.gif +0 -0
- data/lib/{w2tags/try/public/stylesheets → /w2tags//try//public//stylesheets/}/jquery.cluetip.css +0 -0
- data/lib/{w2tags/try/public/stylesheets → /w2tags//try//public//stylesheets/}/jquery.live.accordion.css +0 -0
- data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/basic.w2erb +0 -0
- data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/basic1.w2erb +0 -0
- data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/basic2.w2erb +0 -0
- data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/basic3.w2erb +0 -0
- data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/basic4.w2erb +0 -0
- data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/check_onhot.w2erb +0 -0
- data/lib//w2tags//try//public//w2//checkbox.w2erb +16 -0
- data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/combo_onhot.w2erb +0 -0
- data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/combobox.w2erb +0 -0
- data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/demo.hot.html +0 -0
- data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/diet.w2erb +0 -0
- data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/diet1.w2erb +0 -0
- data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/each.w2erb +0 -0
- data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/each2.w2erb +0 -0
- data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/erb_base.hot.html +0 -0
- data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/erb_rails.hot.html +0 -0
- data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/html.hot.html +0 -0
- data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/if.w2erb +0 -0
- data/lib//w2tags//try//public//w2//input.w2erb +18 -0
- data/lib//w2tags//try//public//w2//input_inhot.w2erb +10 -0
- data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/layout.w2erb +0 -0
- data/lib//w2tags//try//public//w2//layout1.w2erb +7 -0
- data/lib//w2tags//try//public//w2//layout2.w2erb +20 -0
- data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/navigation.w2erb +0 -0
- data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/nestli.w2erb +0 -0
- data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/params.erb +0 -0
- data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/params.w2erb +0 -0
- data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/popup.w2erb +0 -0
- data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/popup2.w2erb +0 -0
- data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/rails.hot.html +0 -0
- data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/table_each2.w2erb +0 -0
- data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/table_onhot.w2erb +0 -0
- data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/table_simple.w2erb +0 -0
- data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/try.rb.hot.html +0 -0
- data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/upload.w2erb +0 -0
- data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/vcard.w2erb +0 -0
- data/lib/{w2tags/try → /w2tags//try/}/try.rb +0 -0
- data/lib/{w2tags/try/views → /w2tags//try//views/}/index.erb +22 -9
- data/lib/{w2tags/try/views → /w2tags//try//views/}/layout.erb +0 -0
- data/lib/{w2tags/try/views → /w2tags//try//views/}/parse.erb +0 -0
- data/tasks/setup.rb +1 -1
- metadata +72 -149
- data/hot/erb_form.hot +0 -42
- data/hot/erb_head.hot +0 -15
- data/hot/erb_jquery.hot +0 -8
- data/hot/erb_merb.hot +0 -12
- data/hot/erb_table.hot +0 -43
- data/hot/jquery.hot +0 -88
- data/hot/nvelocity.hot +0 -23
- data/hot/vm.hot +0 -9
- data/hot/vm2.hot +0 -34
- data/hot/vm_crud.hot +0 -34
- data/hot/vm_popup.hot +0 -74
- data/hot/xul.hot +0 -114
- data/lib/w2tags/try/public/w2/checkbox.w2erb +0 -22
- data/lib/w2tags/try/public/w2/layout1.w2erb +0 -20
- data/lib/w2tags/try/public/w2/layout2.w2erb +0 -17
@@ -30,10 +30,14 @@ td.i2{
|
|
30
30
|
border:2px inset;}
|
31
31
|
|
32
32
|
.CodeMirror-line-numbers div{
|
33
|
+
line-height:1.362em;
|
34
|
+
margin: 0;
|
33
35
|
width:20px;
|
34
36
|
text-align:right;
|
35
37
|
padding-right:1px;
|
36
|
-
background:#EE00FF;
|
38
|
+
background:#EE00FF;
|
39
|
+
}
|
40
|
+
|
37
41
|
</style>
|
38
42
|
<div id="content">
|
39
43
|
<table id="tryit">
|
@@ -70,6 +74,15 @@ td.i2{
|
|
70
74
|
<a href="#" class="load2" loc="erb_rails">erb_rails.hot</a>
|
71
75
|
<a href="#" class="load2" loc="demo">demo.hot</a>
|
72
76
|
</div>
|
77
|
+
<div class="accordionButton" >Demo Layout</div>
|
78
|
+
<div class="accordionContent">
|
79
|
+
<div class="accordionButton" >Layout</div>
|
80
|
+
<div class="accordionContent">
|
81
|
+
<a href="#" class="load" loc="layout">Simple</a>
|
82
|
+
<a href="#" class="load" loc="layout1">Table</a>
|
83
|
+
<a href="#" class="load" loc="layout2">Div</a>
|
84
|
+
</div>
|
85
|
+
</div>
|
73
86
|
<div class="accordionButton" >Demo Index Html</div>
|
74
87
|
<div class="accordionContent">
|
75
88
|
<div class="accordionButton" >Table</div>
|
@@ -78,12 +91,6 @@ td.i2{
|
|
78
91
|
<a href="#" class="load" loc="table_onhot" title="Using hot for snippet">Table using hot</a>
|
79
92
|
<a href="#" class="load" loc="table_each2" title="Table each with index">Table each index</a>
|
80
93
|
</div>
|
81
|
-
<div class="accordionButton" >Layout</div>
|
82
|
-
<div class="accordionContent">
|
83
|
-
<a href="#" class="load" loc="layout">Layout:</a>
|
84
|
-
<a href="#" class="load" loc="layout1">Table</a>
|
85
|
-
<a href="#" class="load" loc="layout2">Div</a>
|
86
|
-
</div>
|
87
94
|
<div class="accordionButton" >Navigation</div>
|
88
95
|
<div class="accordionContent">
|
89
96
|
<a href="#" class="load" loc="navigation">Navigation</a>
|
@@ -91,6 +98,11 @@ td.i2{
|
|
91
98
|
</div>
|
92
99
|
<div class="accordionButton" >Demo Form Component</div>
|
93
100
|
<div class="accordionContent">
|
101
|
+
<div class="accordionButton" >Input</div>
|
102
|
+
<div class="accordionContent">
|
103
|
+
<a href="#" class="load" loc="input">Input ( verbose )</a>
|
104
|
+
<a href="#" class="load" loc="input_inhot">Input ( D R Y )</a>
|
105
|
+
</div>
|
94
106
|
<div class="accordionButton" >Checkbox</div>
|
95
107
|
<div class="accordionContent">
|
96
108
|
<a href="#" class="load" loc="checkbox">Checkbox ( verbose )</a>
|
@@ -135,7 +147,8 @@ td.i2{
|
|
135
147
|
%title Myspace
|
136
148
|
%body
|
137
149
|
%h1 I am the international space station
|
138
|
-
%p Sign my guestbook<% end
|
150
|
+
%p Sign my guestbook<% end %>
|
151
|
+
</textarea>
|
139
152
|
</form>
|
140
153
|
</td>
|
141
154
|
<td class="i2 h">
|
@@ -178,7 +191,7 @@ $(function(){
|
|
178
191
|
$('a.load').cluetip({showtitle : false});
|
179
192
|
|
180
193
|
editor1 = CodeMirror.fromTextArea('code1', {
|
181
|
-
parserfile: ["
|
194
|
+
parserfile: ["parsew2tags.js"],
|
182
195
|
stylesheet: "/css/rubycolors.css",
|
183
196
|
path: "../js/",
|
184
197
|
lineNumbers: true,
|
File without changes
|
File without changes
|
data/tasks/setup.rb
CHANGED
@@ -17,7 +17,7 @@ PROJ = OpenStruct.new(
|
|
17
17
|
:authors => 'Widi Harsojo',
|
18
18
|
:email => 'wharsojo@gmail.com',
|
19
19
|
:url => "\000",
|
20
|
-
:version => ENV['VERSION'] || '0.9.
|
20
|
+
:version => ENV['VERSION'] || '0.9.59',
|
21
21
|
:exclude => %w(tmp$ bak$ ~$ CVS \.svn/ \.git/ ^pkg/),
|
22
22
|
:release_name => ENV['RELEASE'],
|
23
23
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: w2tags
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.59
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- widi harsojo
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-11-
|
12
|
+
date: 2009-11-16 00:00:00 +07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|
@@ -28,73 +28,6 @@ extra_rdoc_files:
|
|
28
28
|
- doc/History.rdoc
|
29
29
|
- doc/HOT.rdoc
|
30
30
|
- bin/w2tags
|
31
|
-
- lib/w2tags/try/public/skyeight.jpeg
|
32
|
-
- lib/w2tags/try/public/css/csscolors.css
|
33
|
-
- lib/w2tags/try/public/css/jscolors.css
|
34
|
-
- lib/w2tags/try/public/css/rubycolors.css
|
35
|
-
- lib/w2tags/try/public/css/xmlcolors.css
|
36
|
-
- lib/w2tags/try/public/img/loading.gif
|
37
|
-
- lib/w2tags/try/public/javascripts/jquery.cluetip.js
|
38
|
-
- lib/w2tags/try/public/javascripts/jquery.js
|
39
|
-
- lib/w2tags/try/public/javascripts/jquery.live.accordion.js
|
40
|
-
- lib/w2tags/try/public/js/codemirror.js
|
41
|
-
- lib/w2tags/try/public/js/editor.js
|
42
|
-
- lib/w2tags/try/public/js/highlight.js
|
43
|
-
- lib/w2tags/try/public/js/mirrorframe.js
|
44
|
-
- lib/w2tags/try/public/js/parsecss.js
|
45
|
-
- lib/w2tags/try/public/js/parsehtmlmixed.js
|
46
|
-
- lib/w2tags/try/public/js/parsejavascript.js
|
47
|
-
- lib/w2tags/try/public/js/parsew2tags.js
|
48
|
-
- lib/w2tags/try/public/js/parsexml.js
|
49
|
-
- lib/w2tags/try/public/js/select.js
|
50
|
-
- lib/w2tags/try/public/js/stringstream.js
|
51
|
-
- lib/w2tags/try/public/js/tokenize.js
|
52
|
-
- lib/w2tags/try/public/js/tokenizejavascript.js
|
53
|
-
- lib/w2tags/try/public/js/undo.js
|
54
|
-
- lib/w2tags/try/public/js/util.js
|
55
|
-
- lib/w2tags/try/public/stylesheets/jquery.cluetip.css
|
56
|
-
- lib/w2tags/try/public/stylesheets/jquery.live.accordion.css
|
57
|
-
- lib/w2tags/try/public/stylesheets/back/back_menu.gif
|
58
|
-
- lib/w2tags/try/public/stylesheets/icons/folder-closed.gif
|
59
|
-
- lib/w2tags/try/public/stylesheets/icons/folder-open.gif
|
60
|
-
- lib/w2tags/try/public/stylesheets/icons/leaf.gif
|
61
|
-
- lib/w2tags/try/public/w2/basic.w2erb
|
62
|
-
- lib/w2tags/try/public/w2/basic1.w2erb
|
63
|
-
- lib/w2tags/try/public/w2/basic2.w2erb
|
64
|
-
- lib/w2tags/try/public/w2/basic3.w2erb
|
65
|
-
- lib/w2tags/try/public/w2/basic4.w2erb
|
66
|
-
- lib/w2tags/try/public/w2/checkbox.w2erb
|
67
|
-
- lib/w2tags/try/public/w2/check_onhot.w2erb
|
68
|
-
- lib/w2tags/try/public/w2/combobox.w2erb
|
69
|
-
- lib/w2tags/try/public/w2/combo_onhot.w2erb
|
70
|
-
- lib/w2tags/try/public/w2/demo.hot.html
|
71
|
-
- lib/w2tags/try/public/w2/diet.w2erb
|
72
|
-
- lib/w2tags/try/public/w2/diet1.w2erb
|
73
|
-
- lib/w2tags/try/public/w2/each.w2erb
|
74
|
-
- lib/w2tags/try/public/w2/each2.w2erb
|
75
|
-
- lib/w2tags/try/public/w2/erb_base.hot.html
|
76
|
-
- lib/w2tags/try/public/w2/erb_rails.hot.html
|
77
|
-
- lib/w2tags/try/public/w2/html.hot.html
|
78
|
-
- lib/w2tags/try/public/w2/if.w2erb
|
79
|
-
- lib/w2tags/try/public/w2/layout.w2erb
|
80
|
-
- lib/w2tags/try/public/w2/layout1.w2erb
|
81
|
-
- lib/w2tags/try/public/w2/layout2.w2erb
|
82
|
-
- lib/w2tags/try/public/w2/navigation.w2erb
|
83
|
-
- lib/w2tags/try/public/w2/nestli.w2erb
|
84
|
-
- lib/w2tags/try/public/w2/params.erb
|
85
|
-
- lib/w2tags/try/public/w2/params.w2erb
|
86
|
-
- lib/w2tags/try/public/w2/popup.w2erb
|
87
|
-
- lib/w2tags/try/public/w2/popup2.w2erb
|
88
|
-
- lib/w2tags/try/public/w2/rails.hot.html
|
89
|
-
- lib/w2tags/try/public/w2/table_each2.w2erb
|
90
|
-
- lib/w2tags/try/public/w2/table_onhot.w2erb
|
91
|
-
- lib/w2tags/try/public/w2/table_simple.w2erb
|
92
|
-
- lib/w2tags/try/public/w2/try.rb.hot.html
|
93
|
-
- lib/w2tags/try/public/w2/upload.w2erb
|
94
|
-
- lib/w2tags/try/public/w2/vcard.w2erb
|
95
|
-
- lib/w2tags/try/views/index.erb
|
96
|
-
- lib/w2tags/try/views/layout.erb
|
97
|
-
- lib/w2tags/try/views/parse.erb
|
98
31
|
files:
|
99
32
|
- Manifest.txt
|
100
33
|
- README.rdoc
|
@@ -118,92 +51,82 @@ files:
|
|
118
51
|
- lib/w2tags/block/plain_text.rb
|
119
52
|
- lib/w2tags/block/remark.rb
|
120
53
|
- lib/w2tags/block/sass.rb
|
121
|
-
- lib
|
122
|
-
- lib
|
123
|
-
- lib
|
124
|
-
- lib
|
125
|
-
- lib
|
126
|
-
- lib
|
127
|
-
- lib
|
128
|
-
- lib
|
129
|
-
- lib
|
130
|
-
- lib
|
131
|
-
- lib
|
132
|
-
- lib
|
133
|
-
- lib
|
134
|
-
- lib
|
135
|
-
- lib
|
136
|
-
- lib
|
137
|
-
- lib
|
138
|
-
- lib
|
139
|
-
- lib
|
140
|
-
- lib
|
141
|
-
- lib
|
142
|
-
- lib
|
143
|
-
- lib
|
144
|
-
- lib
|
145
|
-
- lib
|
146
|
-
- lib
|
147
|
-
- lib
|
148
|
-
- lib
|
149
|
-
- lib
|
150
|
-
- lib
|
151
|
-
- lib
|
152
|
-
- lib
|
153
|
-
- lib
|
154
|
-
- lib
|
155
|
-
- lib
|
156
|
-
- lib
|
157
|
-
- lib
|
158
|
-
- lib
|
159
|
-
- lib
|
160
|
-
- lib
|
161
|
-
- lib
|
162
|
-
- lib
|
163
|
-
- lib
|
164
|
-
- lib
|
165
|
-
- lib
|
166
|
-
- lib
|
167
|
-
- lib
|
168
|
-
- lib
|
169
|
-
- lib
|
170
|
-
- lib
|
171
|
-
- lib
|
172
|
-
- lib
|
173
|
-
- lib
|
174
|
-
- lib
|
175
|
-
- lib
|
176
|
-
- lib
|
177
|
-
- lib
|
178
|
-
- lib
|
179
|
-
- lib
|
180
|
-
- lib
|
181
|
-
- lib
|
182
|
-
- lib
|
183
|
-
- lib
|
184
|
-
- lib
|
185
|
-
- lib
|
186
|
-
- lib
|
187
|
-
- lib
|
188
|
-
- lib
|
54
|
+
- lib\w2tags\try\try.rb
|
55
|
+
- lib\w2tags\try\public\skyeight.jpeg
|
56
|
+
- lib\w2tags\try\public\css\csscolors.css
|
57
|
+
- lib\w2tags\try\public\css\jscolors.css
|
58
|
+
- lib\w2tags\try\public\css\rubycolors.css
|
59
|
+
- lib\w2tags\try\public\css\xmlcolors.css
|
60
|
+
- lib\w2tags\try\public\img\loading.gif
|
61
|
+
- lib\w2tags\try\public\javascripts\jquery.cluetip.js
|
62
|
+
- lib\w2tags\try\public\javascripts\jquery.js
|
63
|
+
- lib\w2tags\try\public\javascripts\jquery.live.accordion.js
|
64
|
+
- lib\w2tags\try\public\js\codemirror.js
|
65
|
+
- lib\w2tags\try\public\js\editor.js
|
66
|
+
- lib\w2tags\try\public\js\highlight.js
|
67
|
+
- lib\w2tags\try\public\js\mirrorframe.js
|
68
|
+
- lib\w2tags\try\public\js\parsecss.js
|
69
|
+
- lib\w2tags\try\public\js\parsehtmlmixed.js
|
70
|
+
- lib\w2tags\try\public\js\parsejavascript.js
|
71
|
+
- lib\w2tags\try\public\js\parsew2tags.js
|
72
|
+
- lib\w2tags\try\public\js\parsexml.js
|
73
|
+
- lib\w2tags\try\public\js\select.js
|
74
|
+
- lib\w2tags\try\public\js\stringstream.js
|
75
|
+
- lib\w2tags\try\public\js\tokenize.js
|
76
|
+
- lib\w2tags\try\public\js\tokenizejavascript.js
|
77
|
+
- lib\w2tags\try\public\js\undo.js
|
78
|
+
- lib\w2tags\try\public\js\util.js
|
79
|
+
- lib\w2tags\try\public\stylesheets\jquery.cluetip.css
|
80
|
+
- lib\w2tags\try\public\stylesheets\jquery.live.accordion.css
|
81
|
+
- lib\w2tags\try\public\stylesheets\back\back_menu.gif
|
82
|
+
- lib\w2tags\try\public\stylesheets\icons\folder-closed.gif
|
83
|
+
- lib\w2tags\try\public\stylesheets\icons\folder-open.gif
|
84
|
+
- lib\w2tags\try\public\stylesheets\icons\leaf.gif
|
85
|
+
- lib\w2tags\try\public\w2\basic.w2erb
|
86
|
+
- lib\w2tags\try\public\w2\basic1.w2erb
|
87
|
+
- lib\w2tags\try\public\w2\basic2.w2erb
|
88
|
+
- lib\w2tags\try\public\w2\basic3.w2erb
|
89
|
+
- lib\w2tags\try\public\w2\basic4.w2erb
|
90
|
+
- lib\w2tags\try\public\w2\checkbox.w2erb
|
91
|
+
- lib\w2tags\try\public\w2\check_onhot.w2erb
|
92
|
+
- lib\w2tags\try\public\w2\combobox.w2erb
|
93
|
+
- lib\w2tags\try\public\w2\combo_onhot.w2erb
|
94
|
+
- lib\w2tags\try\public\w2\demo.hot.html
|
95
|
+
- lib\w2tags\try\public\w2\diet.w2erb
|
96
|
+
- lib\w2tags\try\public\w2\diet1.w2erb
|
97
|
+
- lib\w2tags\try\public\w2\each.w2erb
|
98
|
+
- lib\w2tags\try\public\w2\each2.w2erb
|
99
|
+
- lib\w2tags\try\public\w2\erb_base.hot.html
|
100
|
+
- lib\w2tags\try\public\w2\erb_rails.hot.html
|
101
|
+
- lib\w2tags\try\public\w2\html.hot.html
|
102
|
+
- lib\w2tags\try\public\w2\if.w2erb
|
103
|
+
- lib\w2tags\try\public\w2\input.w2erb
|
104
|
+
- lib\w2tags\try\public\w2\input_inhot.w2erb
|
105
|
+
- lib\w2tags\try\public\w2\layout.w2erb
|
106
|
+
- lib\w2tags\try\public\w2\layout1.w2erb
|
107
|
+
- lib\w2tags\try\public\w2\layout2.w2erb
|
108
|
+
- lib\w2tags\try\public\w2\navigation.w2erb
|
109
|
+
- lib\w2tags\try\public\w2\nestli.w2erb
|
110
|
+
- lib\w2tags\try\public\w2\params.erb
|
111
|
+
- lib\w2tags\try\public\w2\params.w2erb
|
112
|
+
- lib\w2tags\try\public\w2\popup.w2erb
|
113
|
+
- lib\w2tags\try\public\w2\popup2.w2erb
|
114
|
+
- lib\w2tags\try\public\w2\rails.hot.html
|
115
|
+
- lib\w2tags\try\public\w2\table_each2.w2erb
|
116
|
+
- lib\w2tags\try\public\w2\table_onhot.w2erb
|
117
|
+
- lib\w2tags\try\public\w2\table_simple.w2erb
|
118
|
+
- lib\w2tags\try\public\w2\try.rb.hot.html
|
119
|
+
- lib\w2tags\try\public\w2\upload.w2erb
|
120
|
+
- lib\w2tags\try\public\w2\vcard.w2erb
|
121
|
+
- lib\w2tags\try\views\index.erb
|
122
|
+
- lib\w2tags\try\views\layout.erb
|
123
|
+
- lib\w2tags\try\views\parse.erb
|
189
124
|
- hot/demo.hot
|
190
125
|
- hot/erb.hot
|
191
126
|
- hot/erb_base.hot
|
192
|
-
- hot/erb_form.hot
|
193
|
-
- hot/erb_head.hot
|
194
|
-
- hot/erb_jquery.hot
|
195
|
-
- hot/erb_merb.hot
|
196
127
|
- hot/erb_rails.hot
|
197
|
-
- hot/erb_table.hot
|
198
128
|
- hot/html.hot
|
199
|
-
- hot/jquery.hot
|
200
|
-
- hot/nvelocity.hot
|
201
129
|
- hot/rails.hot
|
202
|
-
- hot/vm2.hot
|
203
|
-
- hot/vm.hot
|
204
|
-
- hot/vm_crud.hot
|
205
|
-
- hot/vm_popup.hot
|
206
|
-
- hot/xul.hot
|
207
130
|
- hot/rails/scaffold.hot
|
208
131
|
- hot/rails/sc_zebra.hot
|
209
132
|
- spec/spec_helper.rb
|
data/hot/erb_form.hot
DELETED
@@ -1,42 +0,0 @@
|
|
1
|
-
>>form
|
2
|
-
%form{*name*method="post" |action="$0"|}!
|
3
|
-
&tbl=$1
|
4
|
-
|
5
|
-
>>__input
|
6
|
-
<div><label for="$#">$1</label></div>
|
7
|
-
<input id="&tbl!_$#" name="&tbl![$#]" type="$0" />
|
8
|
-
|
9
|
-
>>_input
|
10
|
-
-_input#$0 text;|$0|$1
|
11
|
-
|
12
|
-
>>_pass
|
13
|
-
-_input#$0 password;|$0|$1
|
14
|
-
|
15
|
-
>>_submit2
|
16
|
-
<input id="$0" type="submit" value="$0" />
|
17
|
-
|
18
|
-
>>_submit
|
19
|
-
%div
|
20
|
-
-submit2 $*
|
21
|
-
|
22
|
-
>>_form_e
|
23
|
-
&tbl=$1
|
24
|
-
%form{*name*method="post" |action="$0"|}!
|
25
|
-
-id_e id
|
26
|
-
|
27
|
-
>>__input_e
|
28
|
-
<div><label for="$#">$1</label></div>
|
29
|
-
<input id="&tbl!_$#" name="&tbl![$#]" type="$0" value="<%= @&tbl!.$# %>"/>
|
30
|
-
|
31
|
-
>>_hidden_e
|
32
|
-
<input id="&tbl!_$0" name="&tbl![$0]" type="hidden" value="<%= @&tbl!.$0 %>"/>
|
33
|
-
|
34
|
-
>>_id_e
|
35
|
-
<input id="$0" name="$0" type="hidden" value="<%= @&tbl!.$0 %>"/>
|
36
|
-
|
37
|
-
>>_input_e
|
38
|
-
-_input_e#$0 text;|$0|$1
|
39
|
-
|
40
|
-
>>_pass_e
|
41
|
-
-_input_e#$0 password;|$0|$1
|
42
|
-
|
data/hot/erb_head.hot
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
>>html
|
2
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-us" lang="en-us">
|
4
|
-
<</
|
5
|
-
</html>
|
6
|
-
|
7
|
-
>>utf8
|
8
|
-
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
|
9
|
-
|
10
|
-
>>css
|
11
|
-
<link rel="stylesheet" href="/stylesheets/$0.css" type="text/css" media="screen" charset="utf-8" />
|
12
|
-
|
13
|
-
>>js
|
14
|
-
<script type="text/javascript" src="/javascripts/$0.js" > </script>
|
15
|
-
|
data/hot/erb_jquery.hot
DELETED
data/hot/erb_merb.hot
DELETED
data/hot/erb_table.hot
DELETED
@@ -1,43 +0,0 @@
|
|
1
|
-
>>_h1
|
2
|
-
#header-container
|
3
|
-
%h1 $0
|
4
|
-
%hr
|
5
|
-
|
6
|
-
>>table
|
7
|
-
!/
|
8
|
-
&tbl=$#
|
9
|
-
- @page = @&tbl!
|
10
|
-
-partial "partial/pagination"
|
11
|
-
<table *id* class="$. grid">
|
12
|
-
%table_end
|
13
|
-
|
14
|
-
>>table_end
|
15
|
-
<</
|
16
|
-
</table>
|
17
|
-
-partial "partial/pagination"
|
18
|
-
|
19
|
-
>>th
|
20
|
-
!/
|
21
|
-
<th *all*>$0</th>
|
22
|
-
|
23
|
-
>>tr_h
|
24
|
-
-header_tr $*
|
25
|
-
|
26
|
-
>>tr_d
|
27
|
-
-each_tr $*
|
28
|
-
|
29
|
-
>>_header_tr
|
30
|
-
%tr.header.c
|
31
|
-
%th $*
|
32
|
-
|
33
|
-
>>_each_tr
|
34
|
-
!/
|
35
|
-
<% @&tbl!.each_with_index do |r,i| -%>
|
36
|
-
<tr class="data" key="<%= r.id -%>">
|
37
|
-
%_each_tr_end
|
38
|
-
|
39
|
-
>>_each_tr_end
|
40
|
-
<</
|
41
|
-
</tr>
|
42
|
-
<% end %>
|
43
|
-
|
data/hot/jquery.hot
DELETED
@@ -1,88 +0,0 @@
|
|
1
|
-
>>css
|
2
|
-
-css css/$0
|
3
|
-
|
4
|
-
>>js
|
5
|
-
-js js/$0
|
6
|
-
|
7
|
-
>>csq
|
8
|
-
%css jquery.$0
|
9
|
-
|
10
|
-
>>jq
|
11
|
-
%js jquery.:strip$0
|
12
|
-
|
13
|
-
>>$pluginWindow
|
14
|
-
%css common
|
15
|
-
%csq jqModal
|
16
|
-
%js jquery
|
17
|
-
%jq dimensions;center;jqModal;jqDnR
|
18
|
-
%$ready
|
19
|
-
%$initWindow
|
20
|
-
|
21
|
-
>>_ready
|
22
|
-
%$ready
|
23
|
-
|
24
|
-
>>$ready
|
25
|
-
<!-- need closing tags! -->
|
26
|
-
<script type="text/javascript">
|
27
|
-
$(function() {
|
28
|
-
%$ready_end
|
29
|
-
|
30
|
-
>>$ready_end
|
31
|
-
<</
|
32
|
-
});
|
33
|
-
</script>
|
34
|
-
|
35
|
-
>>$initWindow
|
36
|
-
-!
|
37
|
-
function bindWindow(id_win,id_trigger) {
|
38
|
-
$(id_win+" .jqmClosed").click(function(){
|
39
|
-
$(id_win+" .jqmClose" ).click();
|
40
|
-
});
|
41
|
-
|
42
|
-
$(id_win)
|
43
|
-
.center()
|
44
|
-
.jqDrag('.jqDrag')
|
45
|
-
.jqResize('.jqResize')
|
46
|
-
.jqm({
|
47
|
-
overlay: 0,
|
48
|
-
modal: false,
|
49
|
-
trigger: id_trigger,
|
50
|
-
onShow: function(h) {
|
51
|
-
h.w.css('opacity',0.92).slideDown('fast');
|
52
|
-
},
|
53
|
-
onHide: function(h) {
|
54
|
-
h.w.slideUp("slow",function() { if(h.o) h.o.remove(); });
|
55
|
-
}
|
56
|
-
});
|
57
|
-
}
|
58
|
-
|
59
|
-
>>$bindWindow
|
60
|
-
-!
|
61
|
-
bindWindow("*opt*","$0")
|
62
|
-
|
63
|
-
>>$defineWindow
|
64
|
-
%div
|
65
|
-
%div*opt*.jqmNotice
|
66
|
-
%img.jqmClose{alt="close" src="icon/close_icon.png"}/
|
67
|
-
%div.jqmnTitle.jqDrag %h1!$0
|
68
|
-
%div.jqmnContent
|
69
|
-
$1
|
70
|
-
%img.jqResize{alt="resize" src="icon/resize.gif"}/
|
71
|
-
!/
|
72
|
-
|
73
|
-
>>click
|
74
|
-
<a *all* href="#">$0</a><br/>
|
75
|
-
|
76
|
-
>>ul
|
77
|
-
%treesub $*
|
78
|
-
|
79
|
-
>>treesub
|
80
|
-
%ul$0
|
81
|
-
<!-- tagsnext: treeitem or <li> ... </li> -->
|
82
|
-
!~
|
83
|
-
%!treeitem $*
|
84
|
-
|
85
|
-
>>treeitem
|
86
|
-
<li> <img src="icon/[folder$1.gif"/>$0 <!-- need closing tags! -->
|
87
|
-
<</
|
88
|
-
</li>
|
data/hot/nvelocity.hot
DELETED
@@ -1,23 +0,0 @@
|
|
1
|
-
>>js_link
|
2
|
-
<script type="text/javascript" src="$siteRoot/Content/js/$0.js" > </script>
|
3
|
-
|
4
|
-
>>jq_link
|
5
|
-
%js_link jquery.$0
|
6
|
-
|
7
|
-
>>css_link
|
8
|
-
<link rel="stylesheet" href="$siteRoot/Content/css/$0.css" type="text/css" media="screen, projection" />
|
9
|
-
|
10
|
-
>>csq_link
|
11
|
-
%css_link jquery.$0
|
12
|
-
|
13
|
-
>>tr_td
|
14
|
-
-#
|
15
|
-
command in &opt!*opt* is to set var next tag with current attribute name,id,class
|
16
|
-
but calling this patern need to supply any attribute of name,id,class
|
17
|
-
ex: %tr_td.lst col1;col2
|
18
|
-
%tr
|
19
|
-
&opt!*opt*
|
20
|
-
^{$*}
|
21
|
-
!/
|
22
|
-
!~
|
23
|
-
%td&opt! $0
|
data/hot/vm.hot
DELETED
data/hot/vm2.hot
DELETED
@@ -1,34 +0,0 @@
|
|
1
|
-
>>css
|
2
|
-
<link rel="stylesheet" href="$siteRoot/Content/css/$0.css" type="text/css" media="screen, projection" />
|
3
|
-
|
4
|
-
>>csq
|
5
|
-
<link rel="stylesheet" href="$siteRoot/Content/css/jquery.$0.css" type="text/css" media="screen, projection" />
|
6
|
-
|
7
|
-
>>js
|
8
|
-
<script type="text/javascript" src="$siteRoot/Content/js/$0.js" > </script>
|
9
|
-
|
10
|
-
>>jq
|
11
|
-
<script type="text/javascript" src="$siteRoot/Content/js/jquery.$0.js" > </script>
|
12
|
-
|
13
|
-
>>_capture
|
14
|
-
#capturefor($0)
|
15
|
-
<</
|
16
|
-
\#end
|
17
|
-
|
18
|
-
>>_part
|
19
|
-
#parse("$0.vm")
|
20
|
-
|
21
|
-
>>_set
|
22
|
-
#set($0)
|
23
|
-
|
24
|
-
>>_for
|
25
|
-
#foreach($0)
|
26
|
-
<</
|
27
|
-
\#end
|
28
|
-
|
29
|
-
>>_a
|
30
|
-
%a*opt*.h{href="#"} Ajax
|
31
|
-
|
32
|
-
>>_button
|
33
|
-
%input#$#.btncrud{type="button" value="$0"}/
|
34
|
-
|