]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/site/welcome.html.erb
Make report type a required field
[rails.git] / app / views / site / welcome.html.erb
index d97b08d9aaa49adcf02a57835169ea8ee5270dd4..dc6a519dfeed144f584cd803b96cf47dff8bbc68 100644 (file)
@@ -1,95 +1,73 @@
+<% content_for :head do %>
+  <%= javascript_include_tag "welcome" %>
+<% end %>
+
 <% content_for :heading do %>
-  <h2><%= t "welcome_page.title" %></h2>
-  <h3><%= t "welcome_page.subtitle" %></h3>
+  <h1><%= t ".title" %></h1>
 <% end %>
 
-<div class='pad2'>
-  <p><%= t "welcome_page.introduction_html" %></p>
-</div>
+<p><%= t ".introduction_html" %></p>
 
-<div class='pad2 drop'>
-  <h3><%= t "welcome_page.section_1.title" %></h3>
-  <div class='center'>
-    <span class='sprite large one-map'></span>
-  </div>
-  <p><%= t "welcome_page.section_1.paragraph_1_html" %></p>
-  <p><%= t "welcome_page.section_1.paragraph_2_html" %></p>
-</div>
+<h3><%= t ".whats_on_the_map.title" %></h3>
 
-<div class='pad2 drop clearfix'>
-  <h3><%= t "welcome_page.section_2.title" %></h3>
-  <div class='col6 pad1'>
-    <div class='center pad1'>
+<div class=' clearfix'>
+  <div class='col6 inner11'>
+    <div class='center clearfix inner11'>
       <span class='sprite small check'></span>
     </div>
-    <p><%= t "welcome_page.section_2.on_html" %></p>
+    <p><%= t ".whats_on_the_map.on_html" %></p>
   </div>
-  <div class='col6 pad1'>
-    <div class='center pad1'>
+  <div class='col6 inner11'>
+    <div class='center clearfix inner11'>
       <span class='sprite small x'></span>
     </div>
-    <p><%= t "welcome_page.section_2.off_html" %></p>
+    <p><%= t ".whats_on_the_map.off_html" %></p>
   </div>
 </div>
 
-<% if @user %>
-  <div class='pad2 drop'>
-    <h3><%= t "welcome_page.section_3.title" %></h3>
-    <p><%= t "welcome_page.section_3.paragraph_2_html" %></p>
+<h3><%= t ".basic_terms.title" %></h3>
+
+<p><%= t ".basic_terms.paragraph_1_html" %></p>
+
+<div class='col12 clearfix icon-list'>
+  <div class='clearfix'>
+    <span class='sprite small term editor'></span>
+    <p><%= t ".basic_terms.editor_html" %></p>
   </div>
-<% else %>
-  <div class='pad2 drop'>
-    <h3><%= t "welcome_page.section_3.title_no_user" %></h3>
-    <p><%= t "welcome_page.section_3.paragraph_1_html" %></p>
-    <p><%= t "welcome_page.section_3.paragraph_2_html" %></p>
+  <div class='clearfix'>
+    <span class='sprite small term node'></span>
+    <p><%= t ".basic_terms.node_html" %></p>
   </div>
-<% end %>
-
-<div class='pad2 drop'>
-  <h3><%= t "welcome_page.section_4.title" %></h3>
-  <p><%= t "welcome_page.section_4.paragraph_1_html" %></p>
-  <div class='col12 clearfix'>
-    <p>
-      <span class='sprite small term editor'></span>
-      <%= t "welcome_page.section_4.editor_html" %>
-    </p>
-    <p>
-      <span class='sprite small term node'></span>
-      <%= t "welcome_page.section_4.node_html" %>
-    </p>
-    <p>
-      <span class='sprite small term way'></span>
-      <%= t "welcome_page.section_4.way_html" %>
-    </p>
-    <p>
-      <span class='sprite small term changeset'></span>
-      <%= t "welcome_page.section_4.changeset_html" %>
-    </p>
+  <div class='clearfix'>
+    <span class='sprite small term way'></span>
+    <p><%= t ".basic_terms.way_html" %></p>
+  </div>
+  <div class='clearfix'>
+    <span class='sprite small term tag'></span>
+    <p><%= t ".basic_terms.tag_html" %></p>
   </div>
 </div>
 
-<div class='pad2 drop'>
-  <h3><%= t "welcome_page.section_5.title" %></h3>
-  <div class='center pad1'>
-    <span class='sprite small term question'></span>
-  </div>
-  <p><%= t "welcome_page.section_5.paragraph_1_html" %></p>
+<div class='col12 clearfix icon-list'>
+  <h3><%= t ".rules.title" %></h3>
+  <span class='sprite small term rules'></span>
+  <p><%= t ".rules.paragraph_1_html" %></p>
+</div>
+
+<div class='col12 clearfix icon-list'>
+  <h3><%= t ".questions.title" %></h3>
+  <span class='sprite small term question'></span>
+  <p><%= t ".questions.paragraph_1_html", :help_url => help_path %></p>
 </div>
 
-<div class='pad2 drop'>
-  <h3><%= t "welcome_page.section_6.title" %></h3>
-  <% if @user %>
-    <p><%= t "welcome_page.section_6.paragraph_1_html" %></p>
-  <% else %>
-    <p><%= t "welcome_page.section_6.paragraph_1_no_user_html" %></p>
-  <% end %>
-  <p><%= t "welcome_page.section_6.paragraph_2_html" %></p>
+<div class='clearfix center'>
+  <a href="<%= edit_path %>" class="button start-mapping"><%= t ".start_mapping" %></a>
 </div>
 
-<div class='note-box pad2 drop'>
-  <div class='pad1'>
-    <h3><%= t "welcome_page.section_7.title" %></h3>
-    <p><%= t "welcome_page.section_7.paragraph_1_html" %></p>
-    <p><%= t "welcome_page.section_7.paragraph_2_html" %></p>
+<div class='note-box'>
+  <div class='inner22'>
+    <h3><%= t ".add_a_note.title" %></h3>
+    <p><%= t ".add_a_note.paragraph_1_html" %></p>
+    <p><%= t ".add_a_note.paragraph_2_html", :map_url => root_path %></p>
   </div>
 </div>