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.
- data/bin/hobo +4 -6
- data/hobo_files/plugin/CHANGES.txt +170 -0
- data/hobo_files/plugin/generators/hobo_front_controller/templates/index.dryml +9 -9
- data/hobo_files/plugin/generators/hobo_front_controller/templates/search.dryml +9 -9
- data/hobo_files/plugin/generators/hobo_migration/hobo_migration_generator.rb +7 -2
- data/hobo_files/plugin/generators/hobo_rapid/hobo_rapid_generator.rb +4 -4
- data/hobo_files/plugin/generators/hobo_rapid/templates/{hobo_rapid.css → hobo-rapid.css} +0 -0
- data/hobo_files/plugin/generators/hobo_rapid/templates/{hobo_rapid.js → hobo-rapid.js} +66 -47
- data/hobo_files/plugin/generators/hobo_rapid/templates/lowpro.js +130 -44
- data/hobo_files/plugin/generators/hobo_rapid/templates/{hobo_base.css → reset.css} +0 -5
- data/hobo_files/plugin/generators/hobo_rapid/templates/themes/clean/public/images/pencil.png +0 -0
- data/hobo_files/plugin/generators/hobo_rapid/templates/themes/clean/public/images/small_close.png +0 -0
- data/hobo_files/plugin/generators/hobo_rapid/templates/themes/clean/public/stylesheets/application.css +45 -0
- data/hobo_files/plugin/generators/hobo_rapid/templates/themes/clean/public/stylesheets/rapid_ui.css +167 -0
- data/hobo_files/plugin/generators/hobo_rapid/templates/themes/clean/views/application.dryml +10 -0
- data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/public/images/{bkg_bodytop.gif → bkg-bodytop.gif} +0 -0
- data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/public/images/{bkg_corner_01.gif → bkg-corner-01.gif} +0 -0
- data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/public/images/{bkg_corner_02.gif → bkg-corner-02.gif} +0 -0
- data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/public/images/{bkg_corner_03.gif → bkg-corner-03.gif} +0 -0
- data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/public/images/{bkg_corner_04.gif → bkg-corner-04.gif} +0 -0
- data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/public/images/{bkg_shadow_bottom.gif → bkg-shadow-bottom.gif} +0 -0
- data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/public/images/{bkg_shadow_left.gif → bkg-shadow-left.gif} +0 -0
- data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/public/images/{bkg_shadow_right.gif → bkg-shadow-right.gif} +0 -0
- data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/public/images/{bkg_shadow_top.gif → bkg-shadow-top.gif} +0 -0
- data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/public/images/{header_blue.gif → header-blue.gif} +0 -0
- data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/public/images/{header_dblue.gif → header-dblue.gif} +0 -0
- data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/public/images/{header_green.gif → header-green.gif} +0 -0
- data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/public/images/{header_purple.gif → header-purple.gif} +0 -0
- data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/public/images/{header_red.gif → header-red.gif} +0 -0
- data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/public/images/{txt_list_img_dblue.gif → txt-list-img-dblue.gif} +0 -0
- data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/public/images/{txt_list_img_green.gif → txt-list-img-green.gif} +0 -0
- data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/public/images/{txt_list_img_purple.gif → txt-list-img-purple.gif} +0 -0
- data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/public/images/{txt_list_img_red.gif → txt-list-img-red.gif} +0 -0
- data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/public/images/{window_corner_01.gif → window-corner-01.gif} +0 -0
- data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/public/images/{window_corner_02.gif → window-corner-02.gif} +0 -0
- data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/public/images/{window_corner_03.gif → window-corner-03.gif} +0 -0
- data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/public/images/{window_corner_04.gif → window-corner-04.gif} +0 -0
- data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/public/images/{window_shadow_bottom.gif → window-shadow-bottom.gif} +0 -0
- data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/public/images/{window_shadow_left.gif → window-shadow-left.gif} +0 -0
- data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/public/images/{window_shadow_right.gif → window-shadow-right.gif} +0 -0
- data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/public/images/{window_shadow_top.gif → window-shadow-top.gif} +0 -0
- data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/public/stylesheets/application.css +69 -69
- data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/views/application.dryml +39 -53
- data/hobo_files/plugin/generators/hobo_user_model/templates/model.rb +1 -1
- data/hobo_files/plugin/lib/extensions.rb +0 -16
- data/hobo_files/plugin/lib/hobo/dryml/part_context.rb +1 -1
- data/hobo_files/plugin/lib/hobo/dryml/tag_parameters.rb +35 -0
- data/hobo_files/plugin/lib/hobo/dryml/taglib.rb +2 -2
- data/hobo_files/plugin/lib/hobo/dryml/template.rb +165 -236
- data/hobo_files/plugin/lib/hobo/dryml/template_environment.rb +158 -123
- data/hobo_files/plugin/lib/hobo/hobo_helper.rb +15 -4
- data/hobo_files/plugin/lib/hobo/model.rb +30 -11
- data/hobo_files/plugin/lib/hobo/model_controller.rb +13 -9
- data/hobo_files/plugin/lib/hobo/model_router.rb +27 -7
- data/hobo_files/plugin/lib/hobo/static_tags +0 -2
- data/hobo_files/plugin/lib/hobo/user.rb +3 -3
- data/hobo_files/plugin/lib/rexml.rb +10 -3
- data/hobo_files/plugin/tags/core.dryml +11 -16
- data/hobo_files/plugin/tags/rapid.dryml +147 -110
- data/hobo_files/plugin/tags/rapid_document_tags.dryml +22 -20
- data/hobo_files/plugin/tags/rapid_editing.dryml +41 -41
- data/hobo_files/plugin/tags/rapid_forms.dryml +51 -49
- data/hobo_files/plugin/tags/rapid_navigation.dryml +34 -34
- data/hobo_files/plugin/tags/rapid_pages.dryml +174 -174
- data/hobo_files/plugin/tags/rapid_plus.dryml +19 -19
- data/hobo_files/plugin/tags/rapid_support.dryml +5 -5
- data/hobo_files/plugin/tasks/dump_fixtures.rake +62 -53
- data/hobo_files/plugin/tasks/fix_dryml.rake +144 -0
- data/hobo_files/plugin/tasks/hobo_tasks.rake +0 -4
- metadata +43 -32
- 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>
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -16,18 +16,18 @@ a img { border: none; }
|
|
|
16
16
|
|
|
17
17
|
.clearer { clear:both; font-size: 1px; }
|
|
18
18
|
|
|
19
|
-
body {
|
|
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.
|
|
25
|
+
a:hover.no-hover { background: transparent; }
|
|
25
26
|
|
|
26
|
-
.
|
|
27
|
-
|
|
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
|
-
|
|
41
|
-
|
|
40
|
+
.page-header .logo { position: absolute; top: 15px; left: 20px; }
|
|
41
|
+
.page-header .logo a { background: transparent; }
|
|
42
42
|
|
|
43
|
-
|
|
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.
|
|
53
|
+
ul.account-nav { font-size: 80%; clear:right; padding-top: 8px; }
|
|
54
54
|
|
|
55
|
-
.nav li { list-style: none;
|
|
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
|
-
.
|
|
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
|
-
.
|
|
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
|
-
#
|
|
75
|
-
#
|
|
76
|
-
#
|
|
77
|
-
#
|
|
78
|
-
#
|
|
79
|
-
#
|
|
80
|
-
#
|
|
81
|
-
#
|
|
82
|
-
#
|
|
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
|
-
.
|
|
89
|
-
.
|
|
90
|
-
.
|
|
91
|
-
.
|
|
92
|
-
.
|
|
93
|
-
.
|
|
94
|
-
.
|
|
95
|
-
.
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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;
|
|
141
|
+
.section { border-top: 6px solid white; }
|
|
142
142
|
|
|
143
|
-
ul.purple li { background-image: url(../images/
|
|
144
|
-
ul.green li { background-image: url(../images/
|
|
145
|
-
ul.red li { background-image: url(../images/
|
|
146
|
-
ul.dblue li { background-image: url(../images/
|
|
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
|
-
.
|
|
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.
|
|
160
|
-
img.
|
|
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
|
-
#
|
|
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
|
-
#
|
|
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
|
-
#
|
|
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.
|
|
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.
|
|
206
|
+
div.completions-popup ul {
|
|
207
207
|
list-style-type:none;
|
|
208
208
|
margin:0px;
|
|
209
209
|
padding:0px;
|
|
210
210
|
}
|
|
211
|
-
div.
|
|
212
|
-
div.
|
|
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
|
-
.
|
|
223
|
-
.
|
|
224
|
-
.
|
|
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
|
-
.
|
|
229
|
-
.
|
|
230
|
-
.
|
|
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.
|
|
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
|
-
.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
-
.
|
|
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
|
-
.
|
|
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.
|
|
295
|
+
table.calendar td.other-month { color: white; }
|
|
296
296
|
|
|
297
297
|
/* ADD/REMOVE BOX */
|
|
298
298
|
|
|
299
|
-
table.
|
|
300
|
-
table.
|
|
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.
|
|
304
|
-
table.
|
|
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
|
|
data/hobo_files/plugin/generators/hobo_rapid/templates/themes/default/views/application.dryml
CHANGED
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
<include src="plugins/hobo/tags/rapid"/>
|
|
2
2
|
|
|
3
|
-
<def tag="
|
|
4
|
-
<
|
|
5
|
-
<wrapper
|
|
6
|
-
<div id="
|
|
7
|
-
<div id="
|
|
8
|
-
<div id="
|
|
9
|
-
<div id="
|
|
10
|
-
<div id="
|
|
11
|
-
<div id="
|
|
12
|
-
<div id="
|
|
13
|
-
<div id="
|
|
14
|
-
<div id="
|
|
15
|
-
<
|
|
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
|
|
19
|
+
<stylesheets:><param-content/><theme-stylesheet/></stylesheets>
|
|
20
20
|
|
|
21
|
-
</
|
|
21
|
+
</page-without-theme>
|
|
22
22
|
</def>
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
<def tag="
|
|
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
|
-
<
|
|
31
|
+
<theme-stylesheet/>
|
|
32
32
|
<%= javascript_include_tag :defaults %>
|
|
33
|
-
<
|
|
33
|
+
<hobo-rapid-javascripts param="rapid-javascripts"/>
|
|
34
34
|
</head>
|
|
35
35
|
|
|
36
36
|
<body onload="Hobo.applyEvents()" param="body">
|
|
37
37
|
|
|
38
|
-
<
|
|
38
|
+
<ajax-progress/>
|
|
39
39
|
|
|
40
40
|
<div id="page">
|
|
41
41
|
|
|
42
|
-
<div id="
|
|
43
|
-
<div id="
|
|
44
|
-
<div id="
|
|
45
|
-
<div id="
|
|
46
|
-
<div id="
|
|
47
|
-
<div id="
|
|
48
|
-
<div id="
|
|
49
|
-
<div id="
|
|
50
|
-
<div id="
|
|
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"><
|
|
53
|
+
<div class="logo" param="logo"><theme-image src="logo.gif"/></div>
|
|
54
54
|
<nav param>
|
|
55
|
-
<
|
|
56
|
-
<if test="&defined_route? :login"><
|
|
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
|
-
<
|
|
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"
|
|
80
|
-
<div class="
|
|
81
|
-
<div class="
|
|
82
|
-
<div class="
|
|
83
|
-
<div class="
|
|
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
|
-
<
|
|
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='
|
|
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
|
-
-->
|