w2tags 0.9.58 → 0.9.59

Sign up to get free protection for your applications and to get access to all the features.
Files changed (92) hide show
  1. data/Manifest.txt +80 -90
  2. data/hot/demo.hot +21 -7
  3. data/hot/html.hot +8 -0
  4. data/lib/w2tags/block/block_hot.rb +1 -1
  5. data/lib/w2tags/block/sass.rb +1 -1
  6. data/lib/{w2tags/try/public/css → /w2tags//try//public//css/}/csscolors.css +0 -0
  7. data/lib/{w2tags/try/public/css → /w2tags//try//public//css/}/jscolors.css +0 -0
  8. data/lib/{w2tags/try/public/css → /w2tags//try//public//css/}/rubycolors.css +5 -3
  9. data/lib/{w2tags/try/public/css → /w2tags//try//public//css/}/xmlcolors.css +0 -0
  10. data/lib/{w2tags/try/public/img → /w2tags//try//public//img/}/loading.gif +0 -0
  11. data/lib/{w2tags/try/public/javascripts → /w2tags//try//public//javascripts/}/jquery.cluetip.js +0 -0
  12. data/lib/{w2tags/try/public/javascripts → /w2tags//try//public//javascripts/}/jquery.js +0 -0
  13. data/lib/{w2tags/try/public/javascripts → /w2tags//try//public//javascripts/}/jquery.live.accordion.js +0 -0
  14. data/lib/{w2tags/try/public/js → /w2tags//try//public//js/}/codemirror.js +0 -0
  15. data/lib/{w2tags/try/public/js → /w2tags//try//public//js/}/editor.js +0 -0
  16. data/lib/{w2tags/try/public/js → /w2tags//try//public//js/}/highlight.js +0 -0
  17. data/lib/{w2tags/try/public/js → /w2tags//try//public//js/}/mirrorframe.js +0 -0
  18. data/lib/{w2tags/try/public/js → /w2tags//try//public//js/}/parsecss.js +0 -0
  19. data/lib/{w2tags/try/public/js → /w2tags//try//public//js/}/parsehtmlmixed.js +0 -0
  20. data/lib/{w2tags/try/public/js → /w2tags//try//public//js/}/parsejavascript.js +0 -0
  21. data/lib/{w2tags/try/public/js → /w2tags//try//public//js/}/parsew2tags.js +25 -9
  22. data/lib/{w2tags/try/public/js → /w2tags//try//public//js/}/parsexml.js +0 -0
  23. data/lib/{w2tags/try/public/js → /w2tags//try//public//js/}/select.js +0 -0
  24. data/lib/{w2tags/try/public/js → /w2tags//try//public//js/}/stringstream.js +0 -0
  25. data/lib/{w2tags/try/public/js → /w2tags//try//public//js/}/tokenize.js +0 -0
  26. data/lib/{w2tags/try/public/js → /w2tags//try//public//js/}/tokenizejavascript.js +0 -0
  27. data/lib/{w2tags/try/public/js → /w2tags//try//public//js/}/undo.js +0 -0
  28. data/lib/{w2tags/try/public/js → /w2tags//try//public//js/}/util.js +0 -0
  29. data/lib/{w2tags/try/public → /w2tags//try//public/}/skyeight.jpeg +0 -0
  30. data/lib/{w2tags/try/public/stylesheets/back → /w2tags//try//public//stylesheets//back/}/back_menu.gif +0 -0
  31. data/lib/{w2tags/try/public/stylesheets/icons → /w2tags//try//public//stylesheets//icons/}/folder-closed.gif +0 -0
  32. data/lib/{w2tags/try/public/stylesheets/icons → /w2tags//try//public//stylesheets//icons/}/folder-open.gif +0 -0
  33. data/lib/{w2tags/try/public/stylesheets/icons → /w2tags//try//public//stylesheets//icons/}/leaf.gif +0 -0
  34. data/lib/{w2tags/try/public/stylesheets → /w2tags//try//public//stylesheets/}/jquery.cluetip.css +0 -0
  35. data/lib/{w2tags/try/public/stylesheets → /w2tags//try//public//stylesheets/}/jquery.live.accordion.css +0 -0
  36. data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/basic.w2erb +0 -0
  37. data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/basic1.w2erb +0 -0
  38. data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/basic2.w2erb +0 -0
  39. data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/basic3.w2erb +0 -0
  40. data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/basic4.w2erb +0 -0
  41. data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/check_onhot.w2erb +0 -0
  42. data/lib//w2tags//try//public//w2//checkbox.w2erb +16 -0
  43. data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/combo_onhot.w2erb +0 -0
  44. data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/combobox.w2erb +0 -0
  45. data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/demo.hot.html +0 -0
  46. data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/diet.w2erb +0 -0
  47. data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/diet1.w2erb +0 -0
  48. data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/each.w2erb +0 -0
  49. data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/each2.w2erb +0 -0
  50. data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/erb_base.hot.html +0 -0
  51. data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/erb_rails.hot.html +0 -0
  52. data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/html.hot.html +0 -0
  53. data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/if.w2erb +0 -0
  54. data/lib//w2tags//try//public//w2//input.w2erb +18 -0
  55. data/lib//w2tags//try//public//w2//input_inhot.w2erb +10 -0
  56. data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/layout.w2erb +0 -0
  57. data/lib//w2tags//try//public//w2//layout1.w2erb +7 -0
  58. data/lib//w2tags//try//public//w2//layout2.w2erb +20 -0
  59. data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/navigation.w2erb +0 -0
  60. data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/nestli.w2erb +0 -0
  61. data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/params.erb +0 -0
  62. data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/params.w2erb +0 -0
  63. data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/popup.w2erb +0 -0
  64. data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/popup2.w2erb +0 -0
  65. data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/rails.hot.html +0 -0
  66. data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/table_each2.w2erb +0 -0
  67. data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/table_onhot.w2erb +0 -0
  68. data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/table_simple.w2erb +0 -0
  69. data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/try.rb.hot.html +0 -0
  70. data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/upload.w2erb +0 -0
  71. data/lib/{w2tags/try/public/w2 → /w2tags//try//public//w2/}/vcard.w2erb +0 -0
  72. data/lib/{w2tags/try → /w2tags//try/}/try.rb +0 -0
  73. data/lib/{w2tags/try/views → /w2tags//try//views/}/index.erb +22 -9
  74. data/lib/{w2tags/try/views → /w2tags//try//views/}/layout.erb +0 -0
  75. data/lib/{w2tags/try/views → /w2tags//try//views/}/parse.erb +0 -0
  76. data/tasks/setup.rb +1 -1
  77. metadata +72 -149
  78. data/hot/erb_form.hot +0 -42
  79. data/hot/erb_head.hot +0 -15
  80. data/hot/erb_jquery.hot +0 -8
  81. data/hot/erb_merb.hot +0 -12
  82. data/hot/erb_table.hot +0 -43
  83. data/hot/jquery.hot +0 -88
  84. data/hot/nvelocity.hot +0 -23
  85. data/hot/vm.hot +0 -9
  86. data/hot/vm2.hot +0 -34
  87. data/hot/vm_crud.hot +0 -34
  88. data/hot/vm_popup.hot +0 -74
  89. data/hot/xul.hot +0 -114
  90. data/lib/w2tags/try/public/w2/checkbox.w2erb +0 -22
  91. data/lib/w2tags/try/public/w2/layout1.w2erb +0 -20
  92. data/lib/w2tags/try/public/w2/layout2.w2erb +0 -17
data/hot/vm_crud.hot DELETED
@@ -1,34 +0,0 @@
1
- >>pagination
2
- %partials list.page
3
- %br/
4
- %br/
5
- %table.box_grid
6
- %pagination_end~
7
-
8
- >>pagination_end
9
- <</
10
- !run!
11
- %partials list.page
12
- <br/>
13
-
14
- >>_th
15
- <th class="header" col=$0 sort="#if($col == '$0')$!sort#end">$1<img class="isort" src="$siteRoot/content/img/#if($col == '$0')$isort#else$isortdef#end"/></th>
16
-
17
- >>_td
18
- <td><div class="c$0">$1</div></td>
19
-
20
- >>_for_with_no
21
- #set($no = $records.FirstItem - 1)
22
- #foreach($0)
23
- #set($no = $no + 1)
24
- <</
25
- \#end
26
-
27
- >>partials
28
- #parse("partials/$0.vm")
29
-
30
- >>left
31
- %div{style="float: left;"}
32
-
33
- >>_input
34
- %input:$:#$:{$0}/
data/hot/vm_popup.hot DELETED
@@ -1,74 +0,0 @@
1
- >>_defineWindow
2
- .popup
3
- *opt*.jqmNotice
4
- %img.jqmClose{alt="close" src="$siteRoot/content/img/icon/close_icon.png"}/
5
- %img.jqResize{alt="resize" src="$siteRoot/content/img/icon/resize.png"}/
6
- .jqDrag.jqmnTitle
7
- %h1 $0
8
- #$#_size.jqmnContent
9
-
10
- >>_popup_base
11
- %div
12
- $#.jqmNotice{style="width:$0px"}
13
- %img.jqmClose{alt="close" src="$siteRoot/content/img/icon/close_icon.png"}/
14
- %img.jqResize{alt="resize" src="$siteRoot/content/img/icon/resize.gif"}/
15
- .jqDrag.jqmnTitle
16
- %h1 $2
17
- .jqmnContent
18
-
19
- >>_popup_crud
20
- -popup_base#dlg_crud $0;$!title2 - CRUD [<span class="popup_t"></span>]
21
- %form.form-crud{method="post" action="crud.rails"}
22
- <table>
23
- -popup_crud_end
24
-
25
- >>_popup_filter
26
- -popup_base#dlg_filter $0;Filter $!title2
27
- <table>
28
- -popup_filter_end
29
-
30
- >>_popup_crud_end
31
- <</
32
- </table>
33
- <input class="btncrud save" type="submit" name="submit" value="SAVE"/>
34
- <input class="h btncrud update" type="submit" name="submit" value="UPDATE"/>
35
- <input class="btncrud delete" type="submit" name="submit" value="DELETE"/>
36
- <input class="btncrud jqmClose" type="button" value="CLOSE"/>
37
-
38
- >>_popup_filter_end
39
- <</
40
- <tr>
41
- <td colspan=2 align=center>
42
- <input class="btncrud filter" type="submit" reset="false" value="FILTER"/>
43
- <input class="btncrud jqmClose" type="button" value="CLOSE"/>
44
- </td>
45
- </tr>
46
- </table>
47
-
48
- >>_input_crud
49
- :
50
- %input#:gsub('.','_')$0$1{name="$0"}/
51
-
52
- >>_tr_crud
53
- %tr
54
- %td $0
55
- %td*opt* :$1
56
-
57
- >>_tr_crud2
58
- %tr
59
- %td $0
60
- %td*opt*
61
- -input_crud $*
62
-
63
- >>_tr_crud0
64
- %tr
65
- %td $0
66
- %td*opt*
67
- :
68
-
69
- >>_tr_filter
70
- %tr
71
- %td $0
72
- %td
73
- :
74
- %input*opt*.fill/
data/hot/xul.hot DELETED
@@ -1,114 +0,0 @@
1
- >>initialize
2
-
3
- >>finallize
4
- ,/
5
-
6
- >>_window
7
- <?xml-stylesheet href="~app.css~$1" type="text/css"?>
8
- <window
9
- title ="~example~$0"
10
- xmlns:html="http://www.w3.org/1999/xhtml"
11
- xmlns ="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
12
- onload="init();">
13
- <script>
14
- -!
15
- function init(){
16
- for (i in wh.init ) { eval(wh.init[i]); }
17
- for (i in wh.init2) { eval(wh.init2[i]); }
18
- }
19
- if(window.wh==undefined){
20
- window.wh={};
21
- wh.init =[];
22
- wh.init2 =[];
23
- }
24
- </script>
25
- <script src="jquery.js"/>
26
- <</
27
- </window>
28
-
29
- >>_js
30
- <script src="$0.js"/>
31
-
32
- >>_script
33
- <script><![CDATA[
34
- -script_end
35
- -!
36
-
37
- >>_script_end
38
- <</
39
- ]]></script>
40
-
41
- >>_hbox
42
- %hbox{~flex="1" style="overflow: auto;"~*att*}
43
-
44
- >>_vbox
45
- %vbox{~flex="1" style="overflow: auto;"~*att*}
46
-
47
- >>_groupbox
48
- %groupbox$${~flex="1"~*att*}
49
- %caption{label="$0" style="background:white;"}/
50
- <html:div class="div">...</html:div>
51
-
52
- >>_splitter
53
- %splitter{collapse="~before~$0"} <grippy/>
54
-
55
- >>_vscroll
56
- %arrowscrollbox{orient="vertical" flex="1"}
57
-
58
- >>_hscroll
59
- %arrowscrollbox{orient="horizontal" flex="1"}
60
-
61
- >>_menubar
62
- %toolbox{flex="1"}
63
- %menubar$#-menubar
64
-
65
- >>_menu
66
- %menu#:downcase$0-menu{label="$0"}
67
- %menupopup#:downcase$0-popup
68
-
69
- >>_menu-
70
- %menuseparator/
71
-
72
- >>_menuseparator
73
- %menuseparator/
74
-
75
- >>_menuitem
76
- %menuitem$${*att* ~label="$0"~}/
77
-
78
- >>_toolbar
79
- %toolbox
80
- %toolbar$#-toolbar
81
-
82
- >>_toolbarbutton
83
- %toolbarbutton$${*att* ~label="$0"~}/
84
-
85
- >>_button
86
- %button$${*att* ~label="$0"~}/
87
-
88
- >>_tree
89
- %script wh.init.push("wh.treeInit('#tree','$1')")
90
- %tree$${*att* flex="1" hidecolumnpicker="true" onselect="wh['$#'].doClick();"}
91
- %treecols
92
- %treecol{flex="1" primary="true" label="$0"}
93
- %treechildren
94
-
95
- >>_treeitms
96
- &cls=$.
97
- %treeitem$.-root{container="true" open="true"}
98
- %treerow
99
- %treecell{label="$0"}
100
- %treechildren
101
-
102
- >>_treeitem
103
- %treeitem$$
104
- %treerow
105
- %treecell&cls!{*att* label="$0"}
106
-
107
- >>_div
108
- <html:div>
109
- -div_end
110
-
111
- >>_div_end
112
- <</
113
- </html:div>
114
-
@@ -1,22 +0,0 @@
1
- %fieldset
2
- %legend Which of the following sports do you enjoy?
3
- %label{for="football"}
4
- %input#football{type="checkbox"}
5
- Football
6
- %label{for="golf"}
7
- %input#golf{type="checkbox"}
8
- Golf
9
- %label{for="rugby"}
10
- %input#rugby{type="checkbox"}
11
- Rugby
12
- %label{for="tennis"}
13
- %input#tennis{type="checkbox"}
14
- Tennis
15
- %label{for="basketball"}
16
- %input#basketball{type="checkbox"}
17
- Basketball
18
- %label{for="boxing"}
19
- %input#boxing{type="checkbox"}
20
- Boxing
21
- %label{for="comments"} Comments<
22
- %textarea#comments{rows="7" cols="25"}
@@ -1,20 +0,0 @@
1
- %style
2
- table.layout{width="400px";}
3
- td.header {background-color:yellow;}
4
- td.leftside {background-color:orange; width:100px;text-align:top;}
5
- td.content {background-color:#eeeeee;width:300px;height:200px;text-align:top;}
6
- td.footer {background-color:yellow;}
7
- %comment
8
- %table.layout{border="0"}
9
- %tr
10
- %td.header{colspan="2"} Header
11
- %tr
12
- %td.leftside
13
- %b Left menu
14
- %ul.menu
15
- ^ Item 1
16
- ^ Item 2
17
- ^ Item 3
18
- %td.content= yield
19
- %tr
20
- %td.footer{colspan="2"} Footer
@@ -1,17 +0,0 @@
1
- %style
2
- table.layout{width="400px";}
3
- td.header {background-color:yellow;}
4
- td.leftside {background-color:orange; width:100px;}
5
- td.content {background-color:#eeeeee;width:300px;height:200px;}
6
- td.footer {background-color:yellow;}
7
- %comment
8
- .layout
9
- .header Header
10
- .leftside
11
- %b Left menu
12
- %ul.menu
13
- ^ Item 1
14
- ^ Item 2
15
- ^ Item 3
16
- .content= yield
17
- .footer Footer