Commit 362933c

mo khan <mo@mokhan.ca>
2017-02-19 01:59:38
squish into 1 row.
1 parent 52ecd26
Changed files (1)
app
app/views/programs/texas_method.html.erb
@@ -9,93 +9,73 @@
         <%= number_field_tag :deadlift, params[:deadlift], placeholder: 'Deadlift', class: 'input' %>
         <%= number_field_tag :overhead_press, params[:overhead_press], placeholder: 'Overhead Press', class: 'input' %>
         <%= number_field_tag :squat, params[:squat], placeholder: 'Squat', class: 'input' %>
-        <%= submit_tag "Submit", class: 'button' %>
+        <%= submit_tag "Submit", class: 'button is-primary' %>
       <% end %>
     </div>
   </div>
 
   <div class="columns">
-    <div class="column is-12">
+    <div class="column is-4">
       <h1 class="title">Monday</h1>
       <h2 class="subtitle">Volume Day</h2>
       <table class="table">
-        <thead>
-        </thead>
         <tbody>
           <tr>
-            <td>Squat</td>
-            <td>5x5 @ 90% 5RM</td>
+            <td><strong>Squat</strong> (5x5 @ 90% 5RM)</td>
             <td><%= rounded(@maxes[:squat] * 0.9) %> lbs</td>
           </tr>
           <tr>
-            <td>Bench Press or Overhead Press</td>
-            <td>5x5 @ 90% 5RM</td>
+            <td><strong>Bench Press</strong> or <strong>Overhead Press</strong> (5x5 @ 90% 5RM)</td>
             <td><%= rounded(@maxes[:bench_press] * 0.9) %> lbs</td>
           </tr>
           <tr>
-            <td>Deadlift</td>
-            <td>1x5 @ 90% 5RM</td>
+            <td><strong>Deadlift</strong> (1x5 @ 90% 5RM)</td>
             <td><%= rounded(@maxes[:deadlift] * 0.9) %> lbs</td>
           </tr>
         </tbody>
       </table>
     </div>
-  </div>
 
-  <div class="columns">
-    <div class="column is-12">
+    <div class="column is-4">
       <h1 class="title">Wednesday</h1>
       <h2 class="subtitle">Recovery Day</h2>
       <table class="table">
-        <thead>
-        </thead>
         <tbody>
           <tr>
-            <td>Squat</td>
-            <td>2x5 @ 80% of Monday's work weight</td>
+            <td><strong>Squat</strong> 2x5 @ 80% of Monday's work weight</td>
             <td><%= rounded(rounded(@maxes[:squat] * 0.9) * 0.8) %> lbs</td>
           </tr>
           <tr>
-            <td>Bench Press or Overhead Press</td>
-            <td>3x5 @ 90% 5RM</td>
+            <td><strong>Bench Press</strong> or <strong>Overhead Press</strong> 3x5 @ 90% 5RM</td>
             <td><%= rounded(@maxes[:bench_press] * 0.9) %> lbs</td>
           </tr>
           <tr>
-            <td>Chin-up</td>
-            <td>3 x body weight</td>
+            <td><strong>Chin-up</strong> 3 x body weight</td>
             <td></td>
           </tr>
           <tr>
-            <td>Back Extension or Glute Ham Raise</td>
-            <td>5x10</td>
+            <td><strong>Back Extension</strong> or <strong>Glute Ham Raise</strong> 5x10</td>
             <td></td>
           </tr>
         </tbody>
       </table>
     </div>
-  </div>
 
-  <div class="columns">
-    <div class="column is-12">
+    <div class="column is-4">
       <h1 class="title">Friday</h1>
       <h2 class="subtitle">Intensity Day</h2>
       <table class="table">
-        <thead>
-        </thead>
         <tbody>
           <tr>
-            <td>Squat</td>
-            <td>1x5 @ new 5RM</td>
+            <td><strong>Squat</strong> (1x5 @ new 5RM)</td>
             <td><%= @maxes[:squat] + 5 %> lbs</td>
           </tr>
           <tr>
-            <td>Bench Press or Overhead Press (match exercise from Monday)</td>
-            <td>1x5 @ new 5RM</td>
+            <td><strong>Bench Press</strong> or <strong>Overhead Press</strong> (match exercise from Monday) (1x5 @ new 5RM)</td>
             <td><%= @maxes[:bench_press] + 5 %> lbs</td>
           </tr>
           <tr>
-            <td>Barbell Row</td>
-            <td>5x3 or 6x2</td>
+            <td><strong>Barbell Row</strong> (5x3 or 6x2)</td>
             <td></td>
           </tr>
         </tbody>