chriseppstein-compass 0.6.13 → 0.6.14
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.markdown +10 -6
- data/REVISION +1 -1
- data/VERSION.yml +2 -2
- data/examples/blueprint_default/index.html.haml +85 -0
- data/examples/blueprint_default/parts/elements.html.haml +282 -0
- data/examples/blueprint_default/parts/forms.html.haml +130 -0
- data/examples/blueprint_default/parts/grid.html.haml +274 -0
- data/examples/blueprint_plugins/index.html.haml +96 -0
- data/examples/blueprint_plugins/plugins/buttons.html.haml +67 -0
- data/examples/blueprint_plugins/plugins/fancy_type.html.haml +100 -0
- data/examples/blueprint_plugins/plugins/link_icons.html.haml +61 -0
- data/examples/blueprint_plugins/plugins/rtl.html.haml +100 -0
- data/examples/blueprint_semantic/index.html.haml +86 -0
- data/examples/blueprint_semantic/parts/fancy_type.html.haml +100 -0
- data/examples/blueprint_semantic/parts/liquid.html.haml +100 -0
- data/examples/compass/compass.html.haml +39 -0
- data/examples/logo/logo.html.haml +40 -0
- data/lib/compass/commands/validate_project.rb +1 -1
- data/lib/compass/validator.rb +8 -54
- metadata +16 -24
- data/examples/blueprint_default/index.html +0 -73
- data/examples/blueprint_default/parts/elements.html +0 -246
- data/examples/blueprint_default/parts/forms.html +0 -100
- data/examples/blueprint_default/parts/grid.html +0 -206
- data/examples/blueprint_plugins/index.html +0 -80
- data/examples/blueprint_plugins/plugins/buttons.html +0 -59
- data/examples/blueprint_plugins/plugins/fancy_type.html +0 -84
- data/examples/blueprint_plugins/plugins/link_icons.html +0 -59
- data/examples/blueprint_plugins/plugins/rtl.html +0 -84
- data/examples/blueprint_semantic/index.html +0 -68
- data/examples/blueprint_semantic/parts/fancy_type.html +0 -84
- data/examples/blueprint_semantic/parts/liquid.html +0 -84
- data/examples/compass/compass.html +0 -19
- data/examples/logo/logo.html +0 -32
- data/lib/compass/validate/COPYRIGHT.html +0 -93
- data/lib/compass/validate/JIGSAW_COPYRIGHT +0 -64
- data/lib/compass/validate/README.html +0 -83
- data/lib/compass/validate/XERCES_COPYING.txt +0 -56
- data/lib/compass/validate/css-validator-javadoc.jar +0 -0
- data/lib/compass/validate/css-validator.jar +0 -0
- data/lib/compass/validate/jigsaw.jar +0 -0
- data/lib/compass/validate/xerces.jar +0 -0
data/CHANGELOG.markdown
CHANGED
@@ -1,15 +1,19 @@
|
|
1
1
|
COMPASS CHANGELOG
|
2
2
|
=================
|
3
3
|
|
4
|
-
0.6.
|
5
|
-
|
4
|
+
0.6.14
|
5
|
+
------
|
6
6
|
|
7
|
-
|
7
|
+
Extracted the css validator to an external gem that is only required if you try to use the validation feature.
|
8
|
+
This makes the compass gem a lot smaller (0.37MB instead of 4MB). To install the validator:
|
8
9
|
|
9
|
-
|
10
|
-
|
10
|
+
sudo gem install chriseppstein-compass-validator --source http://gems.github.com/
|
11
|
+
|
12
|
+
0.6.8 thru 0.6.13
|
13
|
+
-----------------
|
11
14
|
|
12
|
-
The compass gem is now built with Jeweler instead of Echoe. No changes to speak of.
|
15
|
+
The compass gem is now built with Jeweler instead of Echoe. No changes to speak of. These versions were bug
|
16
|
+
fixes and working out the new release process.
|
13
17
|
|
14
18
|
0.6.7
|
15
19
|
-----
|
data/REVISION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
27b8a25f83cbc921f4ed9ac38f1a17a66f690e16
|
data/VERSION.yml
CHANGED
@@ -0,0 +1,85 @@
|
|
1
|
+
!!!
|
2
|
+
%html{ :lang => "en" }
|
3
|
+
%head
|
4
|
+
%meta{ :content => "text/html; charset=utf-8", "http-equiv" => "Content-Type" }
|
5
|
+
%title
|
6
|
+
Blueprint test pages
|
7
|
+
/
|
8
|
+
Framework CSS
|
9
|
+
%link{ :href => "stylesheets/screen.css", :rel => "stylesheet", :media => "screen, projection", :type => "text/css" }
|
10
|
+
%link{ :href => "stylesheets/index.css", :rel => "stylesheet", :media => "screen, projection", :type => "text/css" }
|
11
|
+
%link{ :href => "stylesheets/print.css", :rel => "stylesheet", :media => "print", :type => "text/css" }
|
12
|
+
/
|
13
|
+
[if IE]><link rel="stylesheet" href="stylesheets/ie.css" type="text/css" media="screen, projection"><![endif]
|
14
|
+
%body
|
15
|
+
.container
|
16
|
+
%h1
|
17
|
+
Blueprint test pages
|
18
|
+
%hr
|
19
|
+
%p
|
20
|
+
Welcome to the Blueprint test pages. The HTML files below tests most HTML elements, and especially classes provided
|
21
|
+
by Blueprint.
|
22
|
+
%table{ :cellspacing => "0", :border => "0", :cellpadding => "0" }
|
23
|
+
%tr
|
24
|
+
%th.span-6
|
25
|
+
Test page
|
26
|
+
%th.span-8
|
27
|
+
Main files tested
|
28
|
+
%th.span-10
|
29
|
+
Description
|
30
|
+
%tr
|
31
|
+
%td
|
32
|
+
%a{ :href => "parts/grid.html" }
|
33
|
+
Grid
|
34
|
+
%td
|
35
|
+
%a{ :href => "../../frameworks/blueprint/stylesheets/blueprint/modules/_grid.sass" }
|
36
|
+
grid.sass
|
37
|
+
%td
|
38
|
+
Tests classes provided by the grid module.
|
39
|
+
%tr.even
|
40
|
+
%td
|
41
|
+
%a{ :href => "parts/elements.html" }
|
42
|
+
Typography
|
43
|
+
%td
|
44
|
+
%a{ :href => "../../frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass" }
|
45
|
+
typography.sass
|
46
|
+
%td
|
47
|
+
Tests HTML elements which gets set in the typography module.
|
48
|
+
%tr
|
49
|
+
%td
|
50
|
+
%a{ :href => "parts/forms.html" }
|
51
|
+
Forms
|
52
|
+
%td
|
53
|
+
%a{ :href => "../../frameworks/blueprint/stylesheets/blueprint/modules/_form.sass" }
|
54
|
+
form.sass
|
55
|
+
%td
|
56
|
+
Tests classes and default look provided by the form module.
|
57
|
+
%p
|
58
|
+
%em
|
59
|
+
%strong
|
60
|
+
Note about the css files:
|
61
|
+
These test files utilize the css files that are generated from
|
62
|
+
%a{ :href => "http://haml.hamptoncatlin.com/docs/rdoc/classes/Sass.html" }
|
63
|
+
Sass templates
|
64
|
+
\.
|
65
|
+
In other words, if you change any of the source files,
|
66
|
+
you'll have to re-build them with
|
67
|
+
%code
|
68
|
+
rake examples
|
69
|
+
to see any changes.
|
70
|
+
.box
|
71
|
+
%p
|
72
|
+
For more information and help, try these resources:
|
73
|
+
%ul.bottom
|
74
|
+
%li
|
75
|
+
%a{ :href => "http://code.google.com/p/blueprintcss" }
|
76
|
+
The Blueprint home page.
|
77
|
+
%li
|
78
|
+
%a{ :href => "http://groups.google.com/group/blueprintcss" }
|
79
|
+
Our anything-goes mailing list.
|
80
|
+
%li
|
81
|
+
%a{ :href => "http://bjorkoy.com" }
|
82
|
+
The blog where news about Blueprint gets posted.
|
83
|
+
%p
|
84
|
+
%a{ :href => "http://validator.w3.org/check?uri=referer" }
|
85
|
+
%img.top{ :src => "parts/valid.png", :height => "31", :alt => "Valid HTML 4.01 Strict", :width => "88" }
|
@@ -0,0 +1,282 @@
|
|
1
|
+
!!!
|
2
|
+
%html{ :lang => "en" }
|
3
|
+
%head
|
4
|
+
%meta{ :content => "text/html; charset=utf-8", "http-equiv" => "Content-Type" }
|
5
|
+
%title
|
6
|
+
Blueprint HTML Elements Tests
|
7
|
+
/
|
8
|
+
Framework CSS
|
9
|
+
%link{ :href => "../stylesheets/screen.css", :rel => "stylesheet", :media => "screen, projection", :type => "text/css" }
|
10
|
+
%link{ :href => "../stylesheets/print.css", :rel => "stylesheet", :media => "print", :type => "text/css" }
|
11
|
+
/
|
12
|
+
[if IE]><link rel="stylesheet" href="../stylesheets/ie.css" type="text/css" media="screen, projection"><![endif]
|
13
|
+
%body
|
14
|
+
.container.showgrid
|
15
|
+
%h2
|
16
|
+
Tests for common HTML elements
|
17
|
+
%hr
|
18
|
+
%h5
|
19
|
+
PARAGRAPHS
|
20
|
+
%span.alt
|
21
|
+
\&
|
22
|
+
BOXES
|
23
|
+
.span-8
|
24
|
+
%p
|
25
|
+
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
|
26
|
+
%p
|
27
|
+
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor
|
28
|
+
%sub
|
29
|
+
sub text
|
30
|
+
ut labore et
|
31
|
+
%sup
|
32
|
+
sup text
|
33
|
+
magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
|
34
|
+
.span-8
|
35
|
+
%p.small
|
36
|
+
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
|
37
|
+
%p
|
38
|
+
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
|
39
|
+
%p.large
|
40
|
+
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
|
41
|
+
.span-8.last
|
42
|
+
.box
|
43
|
+
%p.last
|
44
|
+
Aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
|
45
|
+
%blockquote
|
46
|
+
%p
|
47
|
+
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
|
48
|
+
%hr
|
49
|
+
%h5
|
50
|
+
LISTS
|
51
|
+
.span-8
|
52
|
+
%ul
|
53
|
+
%li
|
54
|
+
Unordered list test
|
55
|
+
%li
|
56
|
+
Another list element. Lorem ipsum dolor sit amet, consectetur adipisicing elit.
|
57
|
+
%li
|
58
|
+
Yet another element in the list
|
59
|
+
%li
|
60
|
+
Some long text. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ipsum dolor sit amet, consectetur adipisicing elit.
|
61
|
+
%ol
|
62
|
+
%li
|
63
|
+
Ordered list test
|
64
|
+
%li
|
65
|
+
Another list element
|
66
|
+
%li
|
67
|
+
Yet another element in the list
|
68
|
+
.span-8
|
69
|
+
%ol
|
70
|
+
%li
|
71
|
+
Ordered list
|
72
|
+
%li
|
73
|
+
Here's a nested unordered list
|
74
|
+
%ul
|
75
|
+
%li
|
76
|
+
Nested Unordered list
|
77
|
+
%li
|
78
|
+
Nested ordered list
|
79
|
+
%ol
|
80
|
+
%li
|
81
|
+
The first
|
82
|
+
%li
|
83
|
+
And the second
|
84
|
+
%li
|
85
|
+
Ordered List item
|
86
|
+
%li
|
87
|
+
Nested Ordered list
|
88
|
+
%ol
|
89
|
+
%li
|
90
|
+
Some point
|
91
|
+
%li
|
92
|
+
Nested Unordered list
|
93
|
+
%ul
|
94
|
+
%li
|
95
|
+
The first
|
96
|
+
%li
|
97
|
+
And the second
|
98
|
+
.span-8.last
|
99
|
+
%dl
|
100
|
+
%dt
|
101
|
+
definition list dt
|
102
|
+
%dd
|
103
|
+
definition list dd
|
104
|
+
%dt
|
105
|
+
definition list dt
|
106
|
+
%dd
|
107
|
+
definition list dd
|
108
|
+
%dt
|
109
|
+
Lorem ipsum dolor sit amet, consectetur adipisicing elit adipisicing elit adipisicing elit
|
110
|
+
%dd
|
111
|
+
Lorem ipsum dolor sit amet, consectetur adipisicing elit adipisicing elit adipisicing elit
|
112
|
+
%dt
|
113
|
+
Lorem ipsum dolor sit amet, consectetur adipisicing elit adipisicing elit adipisicing elit
|
114
|
+
%dd
|
115
|
+
Lorem ipsum dolor sit amet, consectetur adipisicing elit adipisicing elit adipisicing elit
|
116
|
+
%hr
|
117
|
+
%h5
|
118
|
+
HEADINGS
|
119
|
+
.span-8
|
120
|
+
%h1
|
121
|
+
H1: Lorem ipsum dolor sit amet
|
122
|
+
%h2
|
123
|
+
H2: Lorem ipsum dolor sit amet, consectetur elit
|
124
|
+
%h3
|
125
|
+
H3: Lorem ipsum dolor sit amet, consectetur adipisicing elit
|
126
|
+
%h4
|
127
|
+
H4: Lorem ipsum dolor sit amet, consectetur adipisicing elit adipis
|
128
|
+
%h5
|
129
|
+
H5: Lorem ipsum dolor sit amet, consectetur adipisicing elit adipisicing elit adipisicing elit
|
130
|
+
%h6
|
131
|
+
H6: Lorem ipsum dolor sit amet, consectetur adipisicing elit adipisicing elit adipisicing elit
|
132
|
+
.span-8
|
133
|
+
%h1
|
134
|
+
Heading 1
|
135
|
+
%hr
|
136
|
+
%h2
|
137
|
+
Heading 2
|
138
|
+
%hr
|
139
|
+
%h3
|
140
|
+
Heading 3
|
141
|
+
%hr
|
142
|
+
%h4
|
143
|
+
Heading 4
|
144
|
+
%hr
|
145
|
+
%h5
|
146
|
+
Heading 5
|
147
|
+
%hr
|
148
|
+
%h6
|
149
|
+
Heading 6
|
150
|
+
.span-8.last
|
151
|
+
%h1
|
152
|
+
Heading 1
|
153
|
+
%h2
|
154
|
+
Heading 2
|
155
|
+
%h3
|
156
|
+
Heading 3
|
157
|
+
%h4
|
158
|
+
Heading 4
|
159
|
+
%h5
|
160
|
+
Heading 5
|
161
|
+
%h6
|
162
|
+
Heading 6
|
163
|
+
%hr
|
164
|
+
%h5
|
165
|
+
MISC ELEMENTS
|
166
|
+
.span-8
|
167
|
+
%p
|
168
|
+
%strong
|
169
|
+
\<strong>
|
170
|
+
%br
|
171
|
+
%del
|
172
|
+
\<del> deleted
|
173
|
+
%br
|
174
|
+
%dfn
|
175
|
+
\<dfn> dfn
|
176
|
+
%br
|
177
|
+
%em
|
178
|
+
\<em> emphasis
|
179
|
+
%p
|
180
|
+
%a
|
181
|
+
\<a> anchor
|
182
|
+
%br
|
183
|
+
%a{ :href => "http://www.google.com" }
|
184
|
+
\<a> a + href
|
185
|
+
%p
|
186
|
+
%abbr{ :title => "extended abbr text should show when mouse over" }
|
187
|
+
\<abbr> abbr - extended text when mouseover.
|
188
|
+
%br
|
189
|
+
%acronym{ :title => "extended acronym text should show when mouse over" }
|
190
|
+
\<acronym> acronym - extended text when mouseover.
|
191
|
+
%address
|
192
|
+
\<address>
|
193
|
+
%br
|
194
|
+
Donald Duck
|
195
|
+
%br
|
196
|
+
Box 555
|
197
|
+
%br
|
198
|
+
Disneyland
|
199
|
+
%p
|
200
|
+
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore dolore.
|
201
|
+
.span-8
|
202
|
+
%table{ :cellspacing => "0", :border => "0", :summary => "This is the summary text for this table.", :cellpadding => "0" }
|
203
|
+
%caption
|
204
|
+
%em
|
205
|
+
A standard test table with a caption, tr, td elements
|
206
|
+
%tr
|
207
|
+
%th.span-4
|
208
|
+
Table Header One
|
209
|
+
%th.span-4.last
|
210
|
+
Table Header Two
|
211
|
+
%tr
|
212
|
+
%td
|
213
|
+
TD One
|
214
|
+
%td
|
215
|
+
TD Two
|
216
|
+
%tr
|
217
|
+
%td{ :colspan => "2" }
|
218
|
+
TD colspan 2
|
219
|
+
%table{ :cellspacing => "0", :border => "0", :summary => "This is the summary text for this table.", :cellpadding => "0" }
|
220
|
+
%caption
|
221
|
+
%em
|
222
|
+
A test table with a thead, tfoot, and tbody elements
|
223
|
+
%thead
|
224
|
+
%tr
|
225
|
+
%th.span-4
|
226
|
+
Table Header One
|
227
|
+
%th.span-4.last
|
228
|
+
Table Header Two
|
229
|
+
%tfoot
|
230
|
+
%tr
|
231
|
+
%td{ :colspan => "2" }
|
232
|
+
tfoot footer
|
233
|
+
%tbody
|
234
|
+
%tr
|
235
|
+
%td
|
236
|
+
TD One
|
237
|
+
%td
|
238
|
+
TD Two
|
239
|
+
%tr
|
240
|
+
%td
|
241
|
+
TD One
|
242
|
+
%td
|
243
|
+
TD Two
|
244
|
+
%tbody
|
245
|
+
%tr
|
246
|
+
%td
|
247
|
+
TD One
|
248
|
+
%td
|
249
|
+
TD Two
|
250
|
+
%tr
|
251
|
+
%td
|
252
|
+
TD One
|
253
|
+
%td
|
254
|
+
TD Two
|
255
|
+
.span-8.last
|
256
|
+
%pre
|
257
|
+
\<pre>
|
258
|
+
pre space1
|
259
|
+
pre space1
|
260
|
+
pre space2
|
261
|
+
pre space2
|
262
|
+
pre tab
|
263
|
+
pre tab
|
264
|
+
%code
|
265
|
+
\<code>
|
266
|
+
Not indented
|
267
|
+
indent1
|
268
|
+
indent1
|
269
|
+
indent2
|
270
|
+
indent3
|
271
|
+
%tt
|
272
|
+
\<tt>
|
273
|
+
This tt text should be monospaced
|
274
|
+
and
|
275
|
+
wrap as if
|
276
|
+
one line of text
|
277
|
+
even though the code has newlines, spaces, and tabs.
|
278
|
+
It should be the same size as <p> text.
|
279
|
+
%hr
|
280
|
+
%p
|
281
|
+
%a{ :href => "http://validator.w3.org/check?uri=referer" }
|
282
|
+
%img.top{ :src => "valid.png", :height => "31", :alt => "Valid HTML 4.01 Strict", :width => "88" }
|
@@ -0,0 +1,130 @@
|
|
1
|
+
!!!
|
2
|
+
%html{ :lang => "en" }
|
3
|
+
%head
|
4
|
+
%meta{ :content => "text/html; charset=utf-8", "http-equiv" => "Content-Type" }
|
5
|
+
%title
|
6
|
+
Blueprint Forms Tests
|
7
|
+
/
|
8
|
+
Framework CSS
|
9
|
+
%link{ :href => "../stylesheets/screen.css", :rel => "stylesheet", :media => "screen, projection", :type => "text/css" }
|
10
|
+
%link{ :href => "../stylesheets/print.css", :rel => "stylesheet", :media => "print", :type => "text/css" }
|
11
|
+
/
|
12
|
+
[if IE]><link rel="stylesheet" href="../stylesheets/ie.css" type="text/css" media="screen, projection"><![endif]
|
13
|
+
%body
|
14
|
+
.container.showgrid
|
15
|
+
%h1
|
16
|
+
Forms
|
17
|
+
%hr
|
18
|
+
.span-12
|
19
|
+
%form#dummy{ :action => "", :method => "post" }
|
20
|
+
%fieldset
|
21
|
+
%legend
|
22
|
+
Simple sample form
|
23
|
+
%p
|
24
|
+
%label{ :for => "dummy0" }
|
25
|
+
Text input (title)
|
26
|
+
%br
|
27
|
+
%input#dummy0.title{ :name => "dummy0", :type => "text", :value => "Field with class .title" }
|
28
|
+
%p
|
29
|
+
%label{ :for => "dummy1" }
|
30
|
+
Another field
|
31
|
+
%br
|
32
|
+
%input#dummy1.text{ :name => "dummy1", :type => "text", :value => "Field with class .text" }
|
33
|
+
%p
|
34
|
+
%label{ :for => "dummy2" }
|
35
|
+
Textarea
|
36
|
+
%br
|
37
|
+
%textarea#dummy2{ :name => "dummy2", :rows => "5", :cols => "20" }
|
38
|
+
%p
|
39
|
+
%input{ :type => "submit", :value => "Submit" }
|
40
|
+
%input{ :type => "reset", :value => "Reset" }
|
41
|
+
.span-12.last
|
42
|
+
.error
|
43
|
+
This is a <div> with the class
|
44
|
+
%strong
|
45
|
+
\.error
|
46
|
+
\.
|
47
|
+
%a{ :href => "#" }
|
48
|
+
Link
|
49
|
+
\.
|
50
|
+
.notice
|
51
|
+
This is a <div> with the class
|
52
|
+
%strong
|
53
|
+
\.notice
|
54
|
+
\.
|
55
|
+
%a{ :href => "#" }
|
56
|
+
Link
|
57
|
+
\.
|
58
|
+
.success
|
59
|
+
This is a <div> with the class
|
60
|
+
%strong
|
61
|
+
\.success
|
62
|
+
\.
|
63
|
+
%a{ :href => "#" }
|
64
|
+
Link
|
65
|
+
\.
|
66
|
+
%fieldset
|
67
|
+
%legend
|
68
|
+
Select, checkboxes, lists
|
69
|
+
%p
|
70
|
+
%label{ :for => "dummy3" }
|
71
|
+
Select field
|
72
|
+
%br
|
73
|
+
%select#dummy3{ :name => "dummy3" }
|
74
|
+
%option{ :value => "1" }
|
75
|
+
Ottawa
|
76
|
+
%option{ :value => "2" }
|
77
|
+
Calgary
|
78
|
+
%option{ :value => "3" }
|
79
|
+
Moosejaw
|
80
|
+
%p
|
81
|
+
%label{ :for => "dummy4" }
|
82
|
+
Select with groups
|
83
|
+
%br
|
84
|
+
%select#dummy4{ :name => "dummy4" }
|
85
|
+
%option
|
86
|
+
Favorite pet
|
87
|
+
%optgroup{ :label => "mammals" }
|
88
|
+
%option
|
89
|
+
dog
|
90
|
+
%option
|
91
|
+
cat
|
92
|
+
%option
|
93
|
+
rabbit
|
94
|
+
%option
|
95
|
+
horse
|
96
|
+
%optgroup{ :label => "reptiles" }
|
97
|
+
%option
|
98
|
+
iguana
|
99
|
+
%option
|
100
|
+
snake
|
101
|
+
%p
|
102
|
+
%label
|
103
|
+
Radio buttons
|
104
|
+
%br
|
105
|
+
%input{ :name => "example", :type => "radio" }
|
106
|
+
Radio one
|
107
|
+
%br
|
108
|
+
%input{ :name => "example", :type => "radio" }
|
109
|
+
Radio two
|
110
|
+
%br
|
111
|
+
%input{ :name => "example", :type => "radio" }
|
112
|
+
Radio three
|
113
|
+
%br
|
114
|
+
%p
|
115
|
+
%label
|
116
|
+
Checkboxes
|
117
|
+
%br
|
118
|
+
%input{ :type => "checkbox" }
|
119
|
+
Check one
|
120
|
+
%br
|
121
|
+
%input{ :type => "checkbox" }
|
122
|
+
Check two
|
123
|
+
%br
|
124
|
+
%input{ :type => "checkbox" }
|
125
|
+
Check three
|
126
|
+
%br
|
127
|
+
%hr
|
128
|
+
%p
|
129
|
+
%a{ :href => "http://validator.w3.org/check?uri=referer" }
|
130
|
+
%img.top{ :src => "valid.png", :height => "31", :alt => "Valid HTML 4.01 Strict", :width => "88" }
|