/
html5.html.haml
115 lines (108 loc) · 4.23 KB
/
html5.html.haml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
- @title = "HTML5 Elements"
- @headertext = "Based on examples from <a href='http://developers.whatwg.org/'>developers.whatwg.org</a>"
- @subnav = "<nav class='section-nav'></nav> "
= render :template => "/setup/html5-elements.haml"
%section#sections.element-group
%h1.section-title Sections
-if @section
= render :template => "/survivalkit/partials/html5/_section.haml"
-if @nav
= render :template => "/survivalkit/partials/html5/_nav.haml"
-if @article
= render :template => "/survivalkit/partials/html5/_article.haml"
-if @aside
= render :template => "/survivalkit/partials/html5/_aside.haml"
-if @all_headings
= render :template => "/survivalkit/partials/html5/_all-headings.haml"
-if @hgroup
= render :template => "/survivalkit/partials/html5/_hgroup.haml"
-if @header
= render :template => "/survivalkit/partials/html5/_header.haml"
-if @footer
= render :template => "/survivalkit/partials/html5/_footer.haml"
-if @address
= render :template => "/survivalkit/partials/html5/_address.haml"
%section#grouping.element-group
%h1.section-title Grouping
-if @p
= render :template => "/survivalkit/partials/html5/_p.haml"
-if @hr
= render :template => "/survivalkit/partials/html5/_hr.haml"
-if @pre
= render :template => "/survivalkit/partials/html5/_pre.haml"
-if @blockquote
= render :template => "/survivalkit/partials/html5/_blockquote.haml"
-if @ol
= render :template => "/survivalkit/partials/html5/_ol.haml"
-if @ul
= render :template => "/survivalkit/partials/html5/_ul.haml"
-if @li
= render :template => "/survivalkit/partials/html5/_li.haml"
-if @dl
= render :template => "/survivalkit/partials/html5/_dl.haml"
-if @figure
= render :template => "/survivalkit/partials/html5/_figure.haml"
%section#text.element-group
%h1.section-title Text-level semantics
-if @a
= render :template => "/survivalkit/partials/html5/_a.haml"
-if @em
= render :template => "/survivalkit/partials/html5/_em.haml"
-if @strong
= render :template => "/survivalkit/partials/html5/_strong.haml"
-if @small
= render :template => "/survivalkit/partials/html5/_small.haml"
-if @s
= render :template => "/survivalkit/partials/html5/_s.haml"
-if @cite
= render :template => "/survivalkit/partials/html5/_cite.haml"
-if @q
= render :template => "/survivalkit/partials/html5/_q.haml"
-if @dfn
= render :template => "/survivalkit/partials/html5/_dfn.haml"
-if @abbr
= render :template => "/survivalkit/partials/html5/_abbr.haml"
-if @time
= render :template => "/survivalkit/partials/html5/_time.haml"
-if @code
= render :template => "/survivalkit/partials/html5/_code.haml"
-if @samp
= render :template => "/survivalkit/partials/html5/_samp.haml"
-if @kbd
= render :template => "/survivalkit/partials/html5/_kbd.haml"
-if @sub_sup
= render :template => "/survivalkit/partials/html5/_sub-sup.haml"
-if @i
= render :template => "/survivalkit/partials/html5/_i.haml"
-if @b
= render :template => "/survivalkit/partials/html5/_b.haml"
-if @mark
= render :template => "/survivalkit/partials/html5/_mark.haml"
-if @ruby
= render :template => "/survivalkit/partials/html5/_ruby.haml"
-if @bdi
= render :template => "/survivalkit/partials/html5/_bdi.haml"
-if @text_summary
= render :template => "/survivalkit/partials/html5/_text-summary.haml"
%section#tabular.element-group
%h1.section-title Tabular Data
-if @table
= render :template => "/survivalkit/partials/html5/_table.haml"
-if @thead
= render :template => "/survivalkit/partials/html5/_thead.haml"
-if @sample_tables
= render :template => "/survivalkit/partials/html5/_sample-tables.haml"
%section#forms.element-group
%h1.section-title Forms
-if @sample_forms
= render :template => "/survivalkit/partials/html5/_sample-forms.haml"
-if @fieldset
= render :template => "/survivalkit/partials/html5/_fieldset.haml"
-if @label
= render :template => "/survivalkit/partials/html5/_label.haml"
%section#interactive.element-group
%h1.section-title Interactive
-if @details
= render :template => "/survivalkit/partials/html5/_details.haml"
-if @menu
= render :template => "/survivalkit/partials/html5/_menu.haml"