Commit 5d99509
Changed files (2)
app
views
app/views/workouts/_import_address_modal.html.erb
@@ -1,4 +1,4 @@
-<div id="sendToStrongLiftsModal" class="reveal-modal" data-reveal aria-labelledby="modalTitle" aria-hidden="true" role="dialog">
+<div id="sendToStrongLiftsModal" class="reveal" data-reveal>
<h2 id="modalTitle"><%= t('.title') %></h2>
<p class="lead"><%= t('.lead') %></p>
@@ -20,12 +20,14 @@
</div>
<% end %>
- <div class="flex-video widescreen vimeo">
+ <div class="flex-video widescreen youtube">
<iframe width="420" height="315" src="https://www.youtube-nocookie.com/embed/vVowk0wSiwY?rel=0" frameborder="0" allowfullscreen></iframe>
</div>
<p class="text-center">
<%= link_to t('.help'), stronglifts_export_path %>
<i class="fa fa-question-circle"></i>
</p>
- <a class="close-reveal-modal" aria-label="Close">×</a>
+ <button class="close-button" data-close aria-label="Close modal" type="button">
+ <span aria-hidden="true">×</span>
+ </button>
</div>
app/views/workouts/index.html.erb
@@ -3,7 +3,7 @@
<div class="large-12 columns">
<% if feature_enabled?(:csv_import) %>
<p class="text-center">
- <a href="#" data-reveal-id="sendToStrongLiftsModal">
+ <a data-open="sendToStrongLiftsModal">
<%= User.human_attribute_name(:import_address) %>
</a>
</p>