hobo 0.6.4 → 0.7.0

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 (71) hide show
  1. data/bin/hobo +4 -6
  2. data/hobo_files/plugin/CHANGES.txt +170 -0
  3. data/hobo_files/plugin/generators/hobo_front_controller/templates/index.dryml +9 -9
  4. data/hobo_files/plugin/generators/hobo_front_controller/templates/search.dryml +9 -9
  5. data/hobo_files/plugin/generators/hobo_migration/hobo_migration_generator.rb +7 -2
  6. data/hobo_files/plugin/generators/hobo_rapid/hobo_rapid_generator.rb +4 -4
  7. data/hobo_files/plugin/generators/hobo_rapid/templates/{hobo_rapid.css → hobo-rapid.css} +0 -0
  8. data/hobo_files/plugin/generators/hobo_rapid/templates/{hobo_rapid.js → hobo-rapid.js} +66 -47
  9. data/hobo_files/plugin/generators/hobo_rapid/templates/lowpro.js +130 -44
  10. data/hobo_files/plugin/generators/hobo_rapid/templates/{hobo_base.css → reset.css} +0 -5
  11. data/hobo_files/plugin/generators/hobo_rapid/templates/themes/clean/public/images/pencil.png +0 -0
  12. data/hobo_files/plugin/generators/hobo_rapid/templates/themes/clean/public/images/small_close.png +0 -0
  13. data/hobo_files/plugin/generators/hobo_rapid/templates/themes/clean/public/stylesheets/application.css +45 -0
  14. data/hobo_files/plugin/generators/hobo_rapid/templates/themes/clean/public/stylesheets/rapid_ui.css +167 -0
  15. data/hobo_files/plugin/generators/hobo_rapid/templates/themes/clean/views/application.dryml +10 -0
  16. data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/public/images/{bkg_bodytop.gif → bkg-bodytop.gif} +0 -0
  17. data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/public/images/{bkg_corner_01.gif → bkg-corner-01.gif} +0 -0
  18. data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/public/images/{bkg_corner_02.gif → bkg-corner-02.gif} +0 -0
  19. data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/public/images/{bkg_corner_03.gif → bkg-corner-03.gif} +0 -0
  20. data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/public/images/{bkg_corner_04.gif → bkg-corner-04.gif} +0 -0
  21. data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/public/images/{bkg_shadow_bottom.gif → bkg-shadow-bottom.gif} +0 -0
  22. data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/public/images/{bkg_shadow_left.gif → bkg-shadow-left.gif} +0 -0
  23. data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/public/images/{bkg_shadow_right.gif → bkg-shadow-right.gif} +0 -0
  24. data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/public/images/{bkg_shadow_top.gif → bkg-shadow-top.gif} +0 -0
  25. data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/public/images/{header_blue.gif → header-blue.gif} +0 -0
  26. data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/public/images/{header_dblue.gif → header-dblue.gif} +0 -0
  27. data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/public/images/{header_green.gif → header-green.gif} +0 -0
  28. data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/public/images/{header_purple.gif → header-purple.gif} +0 -0
  29. data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/public/images/{header_red.gif → header-red.gif} +0 -0
  30. data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/public/images/{txt_list_img_dblue.gif → txt-list-img-dblue.gif} +0 -0
  31. data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/public/images/{txt_list_img_green.gif → txt-list-img-green.gif} +0 -0
  32. data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/public/images/{txt_list_img_purple.gif → txt-list-img-purple.gif} +0 -0
  33. data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/public/images/{txt_list_img_red.gif → txt-list-img-red.gif} +0 -0
  34. data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/public/images/{window_corner_01.gif → window-corner-01.gif} +0 -0
  35. data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/public/images/{window_corner_02.gif → window-corner-02.gif} +0 -0
  36. data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/public/images/{window_corner_03.gif → window-corner-03.gif} +0 -0
  37. data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/public/images/{window_corner_04.gif → window-corner-04.gif} +0 -0
  38. data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/public/images/{window_shadow_bottom.gif → window-shadow-bottom.gif} +0 -0
  39. data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/public/images/{window_shadow_left.gif → window-shadow-left.gif} +0 -0
  40. data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/public/images/{window_shadow_right.gif → window-shadow-right.gif} +0 -0
  41. data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/public/images/{window_shadow_top.gif → window-shadow-top.gif} +0 -0
  42. data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/public/stylesheets/application.css +69 -69
  43. data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/views/application.dryml +39 -53
  44. data/hobo_files/plugin/generators/hobo_user_model/templates/model.rb +1 -1
  45. data/hobo_files/plugin/lib/extensions.rb +0 -16
  46. data/hobo_files/plugin/lib/hobo/dryml/part_context.rb +1 -1
  47. data/hobo_files/plugin/lib/hobo/dryml/tag_parameters.rb +35 -0
  48. data/hobo_files/plugin/lib/hobo/dryml/taglib.rb +2 -2
  49. data/hobo_files/plugin/lib/hobo/dryml/template.rb +165 -236
  50. data/hobo_files/plugin/lib/hobo/dryml/template_environment.rb +158 -123
  51. data/hobo_files/plugin/lib/hobo/hobo_helper.rb +15 -4
  52. data/hobo_files/plugin/lib/hobo/model.rb +30 -11
  53. data/hobo_files/plugin/lib/hobo/model_controller.rb +13 -9
  54. data/hobo_files/plugin/lib/hobo/model_router.rb +27 -7
  55. data/hobo_files/plugin/lib/hobo/static_tags +0 -2
  56. data/hobo_files/plugin/lib/hobo/user.rb +3 -3
  57. data/hobo_files/plugin/lib/rexml.rb +10 -3
  58. data/hobo_files/plugin/tags/core.dryml +11 -16
  59. data/hobo_files/plugin/tags/rapid.dryml +147 -110
  60. data/hobo_files/plugin/tags/rapid_document_tags.dryml +22 -20
  61. data/hobo_files/plugin/tags/rapid_editing.dryml +41 -41
  62. data/hobo_files/plugin/tags/rapid_forms.dryml +51 -49
  63. data/hobo_files/plugin/tags/rapid_navigation.dryml +34 -34
  64. data/hobo_files/plugin/tags/rapid_pages.dryml +174 -174
  65. data/hobo_files/plugin/tags/rapid_plus.dryml +19 -19
  66. data/hobo_files/plugin/tags/rapid_support.dryml +5 -5
  67. data/hobo_files/plugin/tasks/dump_fixtures.rake +62 -53
  68. data/hobo_files/plugin/tasks/fix_dryml.rake +144 -0
  69. data/hobo_files/plugin/tasks/hobo_tasks.rake +0 -4
  70. metadata +43 -32
  71. data/hobo_files/plugin/lib/hobo/dryml/tag_module.rb +0 -9
@@ -0,0 +1,10 @@
1
+ <def tag="page" extend-with="theme">
2
+ <page-without-theme merge>
3
+ <stylesheets: param>
4
+ <stylesheet name="reset"/>
5
+ <theme-stylesheet/>
6
+ <theme-stylesheet name="rapid-ui"/>
7
+ <stylesheet name="application"/>
8
+ </stylesheets>
9
+ </page-without-theme>
10
+ </def>
@@ -16,18 +16,18 @@ a img { border: none; }
16
16
 
17
17
  .clearer { clear:both; font-size: 1px; }
18
18
 
19
- body { margin: 10px 0 25px 0; background-color: #d2d2d2; }
19
+ html, body { background-color: #d2d2d2; }
20
+ body { margin: 10px 0 25px 0; }
20
21
 
21
22
  a { color: #677077; text-decoration: underline; padding:1px; cursor:pointer; }
22
23
  a:visited { color: #677077; }
23
24
  a:hover, a:active { color: #FFFFFF; text-decoration: none; background: #4b5257; }
24
- a:hover.no_hover { background: transparent; }
25
+ a:hover.no-hover { background: transparent; }
25
26
 
26
- .front_page_title {
27
- margin: 20px 0 15px 6px;
27
+ .content-header h1 {
28
+ margin: 0; margin-bottom: 15px;
28
29
  background:url(../images/banner.gif) no-repeat top left;
29
30
  text-align: left;
30
- padding-left: 20px;
31
31
  height: 32px;
32
32
  font-size: 28pt;
33
33
  padding: 65px 0 15px 20px;
@@ -37,10 +37,10 @@ a:hover.no_hover { background: transparent; }
37
37
 
38
38
  /* Main Page Body Window */
39
39
 
40
- #header .logo { position: absolute; top: 15px; left: 20px; }
41
- #header .logo a { background: transparent; }
40
+ .page-header .logo { position: absolute; top: 15px; left: 20px; }
41
+ .page-header .logo a { background: transparent; }
42
42
 
43
- #header {
43
+ .page-header {
44
44
  position: relative;
45
45
  height: 80px;
46
46
  }
@@ -50,16 +50,16 @@ a:hover.no_hover { background: transparent; }
50
50
  }
51
51
 
52
52
  .nav ul { margin: 0; padding: 0; float: right; }
53
- ul.account_nav { font-size: 80%; clear:right; }
53
+ ul.account-nav { font-size: 80%; clear:right; padding-top: 8px; }
54
54
 
55
- .nav li { list-style: none; margin: 0; padding: 0; float: left; padding: 5px; font-size: 130%; }
55
+ .nav li { list-style: none; float: left; margin: 0; padding: 0; padding-left: 10px; font-size: 110%; }
56
56
  .nav a { text-decoration: none;}
57
57
 
58
- .main_nav li { text-transform: uppercase; }
58
+ .main-nav li { text-transform: uppercase; }
59
59
 
60
60
  .flash { margin: 10px 30px; background: white; border: 2px solid #aaf; padding: 10px; text-align: center; }
61
61
 
62
- .page_wrapper {
62
+ .page-wrapper {
63
63
  width:800px;
64
64
  background-color: white;
65
65
  margin-left:auto;
@@ -71,28 +71,28 @@ h1 { margin: 20px 0 20px 20px; font-size: 150%; } /* Main page heading (i.e. not
71
71
 
72
72
  p { margin-left: 10px; }
73
73
 
74
- #page_top { background:url(../images/bkg_shadow_top.gif) repeat-x top; }
75
- #page_right { background:url(../images/bkg_shadow_right.gif) repeat-y right; }
76
- #page_bottom { background:url(../images/bkg_shadow_bottom.gif) repeat-x bottom; }
77
- #page_left { background:url(../images/bkg_shadow_left.gif) repeat-y left; }
78
- #page_corner04 { background:url(../images/bkg_corner_04.gif) no-repeat bottom right; }
79
- #page_corner03 { background:url(../images/bkg_corner_03.gif) no-repeat bottom left; }
80
- #page_corner02 { background:url(../images/bkg_corner_02.gif) no-repeat top right; }
81
- #page_corner01 { background:url(../images/bkg_corner_01.gif) no-repeat top left; padding: 5px 0 10px 0; }
82
- #page_inner_top { background:url(../images/bkg_bodytop.gif) no-repeat top center;
74
+ #page-top { background:url(../images/bkg-shadow-top.gif) repeat-x top; }
75
+ #page-right { background:url(../images/bkg-shadow-right.gif) repeat-y right; }
76
+ #page-bottom { background:url(../images/bkg-shadow-bottom.gif) repeat-x bottom; }
77
+ #page-left { background:url(../images/bkg-shadow-left.gif) repeat-y left; }
78
+ #page-corner04 { background:url(../images/bkg-corner-04.gif) no-repeat bottom right; }
79
+ #page-corner03 { background:url(../images/bkg-corner-03.gif) no-repeat bottom left; }
80
+ #page-corner02 { background:url(../images/bkg-corner-02.gif) no-repeat top right; }
81
+ #page-corner01 { background:url(../images/bkg-corner-01.gif) no-repeat top left; padding: 5px 0 10px 0; }
82
+ #page-inner-top { background:url(../images/bkg-bodytop.gif) no-repeat top center;
83
83
  margin: 22px 14px 10px; padding: 1px 10px; }
84
84
 
85
85
 
86
86
  /* Panel Styles */
87
87
 
88
- .panel_top { background:url(../images/window_shadow_top.gif) repeat-x top; height:100%; }
89
- .panel_right { background:url(../images/window_shadow_right.gif) repeat-y right; height:100%; }
90
- .panel_bottom { background:url(../images/window_shadow_bottom.gif) repeat-x bottom; height:100%; }
91
- .panel_left { background:url(../images/window_shadow_left.gif) repeat-y left; height:100%; }
92
- .panel_corner04 { background:url(../images/window_corner_04.gif) no-repeat bottom right; height:100%; }
93
- .panel_corner03 { background:url(../images/window_corner_03.gif) no-repeat bottom left; height:100%; }
94
- .panel_corner02 { background:url(../images/window_corner_02.gif) no-repeat top right; height:100%; }
95
- .panel_corner01 { background:url(../images/window_corner_01.gif) no-repeat top left; padding:12px; height:100%; }
88
+ .panel-top { background:url(../images/window-shadow-top.gif) repeat-x top; height:100%; }
89
+ .panel-right { background:url(../images/window-shadow-right.gif) repeat-y right; height:100%; }
90
+ .panel-bottom { background:url(../images/window-shadow-bottom.gif) repeat-x bottom; height:100%; }
91
+ .panel-left { background:url(../images/window-shadow-left.gif) repeat-y left; height:100%; }
92
+ .panel-corner04 { background:url(../images/window-corner-04.gif) no-repeat bottom right; height:100%; }
93
+ .panel-corner03 { background:url(../images/window-corner-03.gif) no-repeat bottom left; height:100%; }
94
+ .panel-corner02 { background:url(../images/window-corner-02.gif) no-repeat top right; height:100%; }
95
+ .panel-corner01 { background:url(../images/window-corner-01.gif) no-repeat top left; padding:12px; height:100%; }
96
96
 
97
97
  .panel { margin: 4px 0; }
98
98
 
@@ -105,23 +105,23 @@ p { margin-left: 10px; }
105
105
  .panel h4 { line-height:13px; font-weight:bold; color:#666; margin: 8px 0 2px 0; font-size: 100%; }
106
106
 
107
107
  .panel.green { background-color:#edf4e3; } /* light grey + green */
108
- .panel.green h2 { background:url(../images/header_green.gif) repeat-x top; background-color:#87b841; color:#ffffff; }
108
+ .panel.green h2 { background:url(../images/header-green.gif) repeat-x top; background-color:#87b841; color:#ffffff; }
109
109
  .panel.green h3 { color:#87b841; }
110
110
 
111
111
  .panel.purple { background-color:#f1f0f1; } /* very light grey */
112
- .panel.purple h2 { background:url(../images/header_purple.gif) repeat-x top; background-color:#883b67; color:#ffffff; }
112
+ .panel.purple h2 { background:url(../images/header-purple.gif) repeat-x top; background-color:#883b67; color:#ffffff; }
113
113
  .panel.purple h3 { color:#883b67; }
114
114
 
115
115
  .panel.red { background-color:#fdf3f3; } /* very light red */
116
- .panel.red h2 { background:url(../images/header_red.gif) repeat-x top; background-color:#d93a40; color:#ffffff; }
116
+ .panel.red h2 { background:url(../images/header-red.gif) repeat-x top; background-color:#d93a40; color:#ffffff; }
117
117
  .panel.red h3 { color:#d93a40; }
118
118
 
119
119
  .panel.blue { background-color:#e1f5fd; } /* light blue */
120
- .panel.blue h2 { background:url(../images/header_blue.gif) repeat-x top; background-color:#5ac6ef; color:#ffffff; }
120
+ .panel.blue h2 { background:url(../images/header-blue.gif) repeat-x top; background-color:#5ac6ef; color:#ffffff; }
121
121
  .panel.blue h3 { color:#5ac6ef; }
122
122
 
123
123
  .panel.dblue { background-color:#f1f4fa; } /* very light blue */
124
- .panel.dblue h2 { background:url(../images/header_dblue.gif) repeat-x top; background-color:#3873e2; color:#ffffff; }
124
+ .panel.dblue h2 { background:url(../images/header-dblue.gif) repeat-x top; background-color:#3873e2; color:#ffffff; }
125
125
  .panel.dblue h3 { color:#3873e2; }
126
126
 
127
127
  .panel.blank h2 { background-color:#f2f2f2; padding:40px 30px 25px 30px;}
@@ -130,7 +130,7 @@ p { margin-left: 10px; }
130
130
 
131
131
  /* panel with no colour-class defaults to red */
132
132
  .panel { background-color:#fdf3f3; } /* very light red */
133
- .panel h2 { background:url(../images/header_red.gif) repeat-x top; background-color:#d93a40; color:#ffffff; }
133
+ .panel h2 { background:url(../images/header-red.gif) repeat-x top; background-color:#d93a40; color:#ffffff; }
134
134
  .panel h3 { color:#d93a40; }
135
135
 
136
136
 
@@ -138,12 +138,12 @@ p { margin-left: 10px; }
138
138
 
139
139
  .panel li { margin: 6pt 0; }
140
140
 
141
- .section { border-top: 6px solid white; padding: 5px 20px 5px 6px; }
141
+ .section { border-top: 6px solid white; }
142
142
 
143
- ul.purple li { background-image: url(../images/txt_list_img_purple.gif); }
144
- ul.green li { background-image: url(../images/txt_list_img_green.gif); }
145
- ul.red li { background-image: url(../images/txt_list_img_red.gif); }
146
- ul.dblue li { background-image: url(../images/txt_list_img_dblue.gif); }
143
+ ul.purple li { background-image: url(../images/txt-list-img-purple.gif); }
144
+ ul.green li { background-image: url(../images/txt-list-img-green.gif); }
145
+ ul.red li { background-image: url(../images/txt-list-img-red.gif); }
146
+ ul.dblue li { background-image: url(../images/txt-list-img-dblue.gif); }
147
147
 
148
148
  /* main section and sidebar */
149
149
 
@@ -154,10 +154,10 @@ ul.dblue li { background-image: url(../images/txt_list_img_dblue.gif); }
154
154
 
155
155
  /* Nav Styles */
156
156
 
157
- .nav_menu a { margin: 4px 0 0 8px; }
157
+ .nav-menu a { margin: 4px 0 0 8px; }
158
158
  .more { text-align:right; margin-top:6px; margin-right: -6px;} /* more button */
159
- img.nav_main { padding: 1px 0 2px 0; border-top: 1px solid transparent; border-bottom: 1px solid transparent; }
160
- img.nav_main.current { border-top: 1px solid grey; border-bottom: 1px solid grey; }
159
+ img.nav-main { padding: 1px 0 2px 0; border-top: 1px solid transparent; border-bottom: 1px solid transparent; }
160
+ img.nav-main.current { border-top: 1px solid grey; border-bottom: 1px solid grey; }
161
161
 
162
162
  /* Footer */
163
163
 
@@ -170,7 +170,7 @@ img.nav_main.current { border-top: 1px solid grey; border-bottom: 1px solid grey
170
170
  }
171
171
 
172
172
 
173
- #ajax_progress {
173
+ #ajax-progress {
174
174
  color: grey;
175
175
  float: right;
176
176
  margin: 20px;
@@ -180,14 +180,14 @@ img.nav_main.current { border-top: 1px solid grey; border-bottom: 1px solid grey
180
180
  display: none;
181
181
  }
182
182
 
183
- #ajax_progress div {
183
+ #ajax-progress div {
184
184
  border: 1px dashed grey;
185
185
  margin: 10px;
186
186
  padding: 3px;
187
187
  padding-top: -15px;
188
188
  }
189
189
 
190
- #ajax_progress img {
190
+ #ajax-progress img {
191
191
  padding-left: 6px;
192
192
  vertical-align: middle;
193
193
  }
@@ -195,7 +195,7 @@ img.nav_main.current { border-top: 1px solid grey; border-bottom: 1px solid grey
195
195
 
196
196
  /* Scriptaculous Autocompleter ---*/
197
197
 
198
- div.completions_popup {
198
+ div.completions-popup {
199
199
  position:absolute;
200
200
  width:250px;
201
201
  background-color:white;
@@ -203,13 +203,13 @@ div.completions_popup {
203
203
  margin:0px;
204
204
  padding:0px;
205
205
  }
206
- div.completions_popup ul {
206
+ div.completions-popup ul {
207
207
  list-style-type:none;
208
208
  margin:0px;
209
209
  padding:0px;
210
210
  }
211
- div.completions_popup ul li.selected { background-color: #ffb;}
212
- div.completions_popup ul li {
211
+ div.completions-popup ul li.selected { background-color: #ffb;}
212
+ div.completions-popup ul li {
213
213
  list-style-type:none;
214
214
  display:block;
215
215
  margin:0;
@@ -219,22 +219,22 @@ div.completions_popup ul li {
219
219
 
220
220
  th { text-align: left; padding: 5px; }
221
221
 
222
- .field_list { width:95%; }
223
- .field_list td { padding: 5px; vertical-align: middle; }
224
- .field_list th {
222
+ .field-list { width:95%; }
223
+ .field-list td { padding: 5px; vertical-align: middle; }
224
+ .field-list th {
225
225
  text-align: left; width: 1px; white-space: nowrap; vertical-align: top;
226
226
  padding-top: 10px; padding-bottom: 10px;
227
227
  }
228
- .field_list input[type=text] { width: 100%; }
229
- .field_list input, .field_list textarea { margin: -2px 0 0 0; }
230
- .field_list textarea { width: 100%; margin: 0; }
228
+ .field-list input[type=text] { width: 100%; }
229
+ .field-list input, .field-list textarea { margin: -2px 0 0 0; }
230
+ .field-list textarea { width: 100%; margin: 0; }
231
231
 
232
- td span.in_place_textfield_bhv, td span.in_place_textarea_bhv, td span.in_place_html_textarea_bhv {
232
+ td span.in-place-textfield-bhv, td span.in-place-textarea-bhv, td span.in-place-html-textarea-bhv {
233
233
  display: block; border: 1px solid #ddd;
234
234
  padding: 4px; background: #fafafa;
235
235
  }
236
236
 
237
- .login_table td.field_label { vertical-align: middle; }
237
+ .login-table td.field-label { vertical-align: middle; }
238
238
 
239
239
  input[type=text].wide { width: 100%; }
240
240
  textarea { height: 200px; }
@@ -245,7 +245,7 @@ textarea.tall { height: 350px; }
245
245
 
246
246
  /* MESSY LOAD OF JUNK BELOW HERE---------------------------------------- */
247
247
 
248
- input.button_input {
248
+ input.button {
249
249
  border: 1px solid black;
250
250
  border-top-color: #fff;
251
251
  border-left-color: #fff;
@@ -255,32 +255,32 @@ input.button_input {
255
255
  padding: 2px;
256
256
  }
257
257
 
258
- input.button_input.text {
258
+ input.button.text {
259
259
  background: transparent; border: none;
260
260
  padding: 0 0 0 0; margin: -2px 0 0 0;
261
261
  color: #677077; text-decoration: underline; cursor:pointer;
262
262
  }
263
263
 
264
- input.image_button_input {
264
+ input.image-button-input {
265
265
  border: none;
266
266
  background: transparent;
267
267
  padding: 0; margin: 0;
268
268
  }
269
269
 
270
- input.create_button {
270
+ input.create-button {
271
271
  padding-left: 20px;
272
272
  background:url(../../../images/plus.png) no-repeat center left;
273
273
  background-color: #e5e5e5;
274
274
  }
275
275
 
276
276
 
277
- .search_result { border: 1px dashed grey; margin: 15px 10px; padding: 5px; background: white; }
277
+ .search-result { border: 1px dashed grey; margin: 15px 10px; padding: 5px; background: white; }
278
278
 
279
279
  .inplaceeditor-form { display: inline; margin: 0; padding: 0; }
280
280
 
281
281
  td { vertical-align: top; padding: 5px; }
282
282
 
283
- .edit_box { border-top: 1px dashed black; border-bottom: 1px dashed black; margin: 10px; }
283
+ .edit-box { border-top: 1px dashed black; border-bottom: 1px dashed black; margin: 10px; }
284
284
 
285
285
 
286
286
  /* CALENDAR */
@@ -292,16 +292,16 @@ table.calendar td { padding: 4px; height: 35px; width: 50px; text-align:right; v
292
292
  table.calendar td.odd { background: #eaeaea; }
293
293
  table.calendar td.even { background: #e0e0e0; }
294
294
 
295
- table.calendar td.other_month { color: white; }
295
+ table.calendar td.other-month { color: white; }
296
296
 
297
297
  /* ADD/REMOVE BOX */
298
298
 
299
- table.add_remove_box { width: 100%; border: 1px solid black; margin-top: 10px;}
300
- table.add_remove_box.spinner { background-image: url(../images/spinner.gif);
299
+ table.add-remove-box { width: 100%; border: 1px solid black; margin-top: 10px;}
300
+ table.add-remove-box.spinner { background-image: url(../images/spinner.gif);
301
301
  background-repeat: no-repeat;
302
302
  background-position: top right; }
303
- table.add_remove_box table { width: 100%;}
304
- table.add_remove_box td { vertical-align: top; width: 50%;}
303
+ table.add-remove-box table { width: 100%;}
304
+ table.add-remove-box td { vertical-align: top; width: 50%;}
305
305
 
306
306
  /* NAME-BOXES */
307
307
 
@@ -1,63 +1,63 @@
1
1
  <include src="plugins/hobo/tags/rapid"/>
2
2
 
3
- <def tag="Page" extend_with="theme">
4
- <PageWithoutTheme merge>
5
- <wrapper>
6
- <div id="page_top">
7
- <div id="page_right">
8
- <div id="page_bottom">
9
- <div id="page_left">
10
- <div id="page_corner02">
11
- <div id="page_corner04">
12
- <div id="page_corner03">
13
- <div id="page_corner01">
14
- <div id="page_inner_top">
15
- <default_tagbody/>
3
+ <def tag="page" extend-with="theme">
4
+ <page-without-theme merge>
5
+ <wrapper:>
6
+ <div id="page-top">
7
+ <div id="page-right">
8
+ <div id="page-bottom">
9
+ <div id="page-left">
10
+ <div id="page-corner02">
11
+ <div id="page-corner04">
12
+ <div id="page-corner03">
13
+ <div id="page-corner01">
14
+ <div id="page-inner-top">
15
+ <param-content/>
16
16
  </div></div></div></div></div></div></div></div></div>
17
17
  </wrapper>
18
18
 
19
- <stylesheets><default_tagbody/><theme_stylesheet/></stylesheets>
19
+ <stylesheets:><param-content/><theme-stylesheet/></stylesheets>
20
20
 
21
- </PageWithoutTheme>
21
+ </page-without-theme>
22
22
  </def>
23
23
 
24
24
 
25
- <def tag="OldPage" attrs="title_prefix, title">
25
+ <def tag="old-page" attrs="title-prefix, title">
26
26
  <% title ||= type_name + ": " + name(:no_wrapper => true) %>
27
27
  <doctype version="HTML 4.01 Transitional"/>
28
28
  <html>
29
29
  <head param="head">
30
30
  <title><%= title_prefix %><%= title %></title>
31
- <theme_stylesheet/>
31
+ <theme-stylesheet/>
32
32
  <%= javascript_include_tag :defaults %>
33
- <hobo_rapid_javascripts param="rapid_javascripts"/>
33
+ <hobo-rapid-javascripts param="rapid-javascripts"/>
34
34
  </head>
35
35
 
36
36
  <body onload="Hobo.applyEvents()" param="body">
37
37
 
38
- <ajax_progress/>
38
+ <ajax-progress/>
39
39
 
40
40
  <div id="page">
41
41
 
42
- <div id="page_top">
43
- <div id="page_right">
44
- <div id="page_bottom">
45
- <div id="page_left">
46
- <div id="page_corner02">
47
- <div id="page_corner04">
48
- <div id="page_corner03">
49
- <div id="page_corner01">
50
- <div id="page_inner_top">
42
+ <div id="page-top">
43
+ <div id="page-right">
44
+ <div id="page-bottom">
45
+ <div id="page-left">
46
+ <div id="page-corner02">
47
+ <div id="page-corner04">
48
+ <div id="page-corner03">
49
+ <div id="page-corner01">
50
+ <div id="page-inner-top">
51
51
 
52
52
  <div id='header' param="header">
53
- <div class="logo" param="logo"><theme_image src="logo.gif"/></div>
53
+ <div class="logo" param="logo"><theme-image src="logo.gif"/></div>
54
54
  <nav param>
55
- <magic_nav class="main_nav" param="main_nav"/>
56
- <if test="&defined_route? :login"><account_nav param/></if>
55
+ <magic-nav class="main-nav" param="main-nav"/>
56
+ <if test="&defined_route? :login"><account-nav param/></if>
57
57
  </nav>
58
58
  </div>
59
59
 
60
- <flash_message/>
60
+ <flash-message/>
61
61
 
62
62
  <div param="intro"></div>
63
63
  <div param="main">
@@ -76,35 +76,21 @@
76
76
 
77
77
 
78
78
  <def tag="panel">
79
- <div class="panel" merge_attrs="&true">
80
- <div class="panel_top"><div class="panel_right">
81
- <div class="panel_bottom"><div class="panel_left">
82
- <div class="panel_corner02"><div class="panel_corner04">
83
- <div class="panel_corner03"><div class="panel_corner01">
79
+ <div class="panel" merge-attrs="&true">
80
+ <div class="panel-top"><div class="panel-right">
81
+ <div class="panel-bottom"><div class="panel-left">
82
+ <div class="panel-corner02"><div class="panel-corner04">
83
+ <div class="panel-corner03"><div class="panel-corner01">
84
84
 
85
- <tagbody/>
85
+ <do param="default"/>
86
86
 
87
87
  </div></div></div></div></div></div></div></div>
88
88
  </div>
89
89
  </def>
90
- <!-->
91
- <def tag="section">
92
- <div class="section" merge_attrs="&true"><tagbody/></div>
93
- </def>
94
- -->
95
90
 
96
91
  <def tag="navbar" attrs="items,current">
97
92
  <repeat with="&items">
98
- <div class='nav_item <%= "current" if current == this[0] %>'><%= link_to this[0].upcase, this[1] %></div>
93
+ <div class='nav-item <%= "current" if current == this[0] %>'><%= link_to this[0].upcase, this[1] %></div>
99
94
  </repeat>
100
95
  <clearer/>
101
96
  </def>
102
-
103
- <!--
104
- <def tag="application_nav">
105
- <% items = [['Home', base_url + '/']] +
106
- Hobo.models[0..2].map{|m| [m.name.pluralize.titlecase, object_url(m)]} +
107
- [['Search', (search_url rescue "")]] %>
108
- <navbar items="&items"/>
109
- </def>
110
- -->