Add a "Start Mapping" button
[rails.git] / app / views / site / welcome.html.erb
1 <% content_for :head do %>
2   <%= javascript_include_tag "welcome" %>
3 <% end %>
4
5 <% content_for :heading do %>
6   <h2><%= t "welcome_page.title" %></h2>
7   <h3><%= t "welcome_page.subtitle" %></h3>
8 <% end %>
9
10 <div class='pad2'>
11   <p><%= t "welcome_page.introduction_html" %></p>
12 </div>
13
14 <div class='pad2 drop'>
15   <h3><%= t "welcome_page.section_1.title" %></h3>
16   <div class='center'>
17     <span class='sprite large one-map'></span>
18   </div>
19   <p><%= t "welcome_page.section_1.paragraph_1_html" %></p>
20   <p><%= t "welcome_page.section_1.paragraph_2_html" %></p>
21 </div>
22
23 <div class='pad2 drop clearfix'>
24   <h3><%= t "welcome_page.section_2.title" %></h3>
25   <div class='col6 pad1'>
26     <div class='center pad1'>
27       <span class='sprite small check'></span>
28     </div>
29     <p><%= t "welcome_page.section_2.on_html" %></p>
30   </div>
31   <div class='col6 pad1'>
32     <div class='center pad1'>
33       <span class='sprite small x'></span>
34     </div>
35     <p><%= t "welcome_page.section_2.off_html" %></p>
36   </div>
37 </div>
38
39 <% if @user %>
40   <div class='pad2 drop'>
41     <h3><%= t "welcome_page.section_3.title" %></h3>
42     <p><%= t "welcome_page.section_3.paragraph_2_html" %></p>
43   </div>
44 <% else %>
45   <div class='pad2 drop'>
46     <h3><%= t "welcome_page.section_3.title_no_user" %></h3>
47     <p><%= t "welcome_page.section_3.paragraph_1_html" %></p>
48     <p><%= t "welcome_page.section_3.paragraph_2_html" %></p>
49   </div>
50 <% end %>
51
52 <div class='pad2 drop'>
53   <h3><%= t "welcome_page.section_4.title" %></h3>
54   <p><%= t "welcome_page.section_4.paragraph_1_html" %></p>
55   <div class='col12 clearfix'>
56     <p>
57       <span class='sprite small term editor'></span>
58       <%= t "welcome_page.section_4.editor_html" %>
59     </p>
60     <p>
61       <span class='sprite small term node'></span>
62       <%= t "welcome_page.section_4.node_html" %>
63     </p>
64     <p>
65       <span class='sprite small term way'></span>
66       <%= t "welcome_page.section_4.way_html" %>
67     </p>
68     <p>
69       <span class='sprite small term changeset'></span>
70       <%= t "welcome_page.section_4.changeset_html" %>
71     </p>
72   </div>
73 </div>
74
75 <div class='pad2 drop'>
76   <h3><%= t "welcome_page.section_5.title" %></h3>
77   <div class='center pad1'>
78     <span class='sprite small term question'></span>
79   </div>
80   <p><%= t "welcome_page.section_5.paragraph_1_html" %></p>
81 </div>
82
83 <div class='pad2 drop'>
84   <h3><%= t "welcome_page.section_6.title" %></h3>
85   <% if @user %>
86     <p>
87       <%= t "welcome_page.section_6.paragraph_1_html" %>
88       <span class='edit-located'><%= t "welcome_page.section_6.paragraph_located" %></span>
89       <span class='edit-geocoded'><%= t "welcome_page.section_6.paragraph_geocoded_html" %></span>
90       <span class='edit-geolocated'><%= t "welcome_page.section_6.paragraph_geolocated" %></span>
91     </p>
92     <button class="edit-located edit-geocoded edit-geolocated start-mapping">Start Mapping</button>
93   <% else %>
94     <p><%= t "welcome_page.section_6.paragraph_1_no_user_html" %></p>
95   <% end %>
96 </div>
97
98 <div class='note-box pad2 drop'>
99   <div class='pad1'>
100     <h3><%= t "welcome_page.section_7.title" %></h3>
101     <p><%= t "welcome_page.section_7.paragraph_1_html" %></p>
102     <p><%= t "welcome_page.section_7.paragraph_2_html" %></p>
103   </div>
104 </div>