Browse Source

added totals table

Markus Spring 1 năm trước cách đây
mục cha
commit
930c46a2b6
1 tập tin đã thay đổi với 74 bổ sung20 xóa
  1. 74 20
      apps/templates/home/mountainbikel_index.html

+ 74 - 20
apps/templates/home/mountainbikel_index.html

@@ -73,26 +73,80 @@
         </div>
       </div>
         <div class="row">
-            <div class="col-lg-6 col-md-12">
-                <div class="card card-tasks">
-                    <div class="card-header ">
-                        <h6 class="title d-inline">Tasks(5)</h6>
-                        <p class="card-category d-inline">today</p>
-                        <div class="dropdown">
-                            <button type="button" class="btn btn-link dropdown-toggle btn-icon"
-                                    data-toggle="dropdown">
-                                <i class="tim-icons icon-settings-gear-63"></i>
-                            </button>
-                            <div class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownMenuLink">
-                                <a class="dropdown-item" href="#pablo">Action</a>
-                                <a class="dropdown-item" href="#pablo">Another action</a>
-                                <a class="dropdown-item" href="#pablo">Something else</a>
-                            </div>
-                        </div>
-                    </div>
-                    
-                </div>
-            </div>
+          <!-- ------------------------------------------- neue tabelle --- -->
+            <div class="card-body" style="width:80%;">
+                        <table style="width:100%; padding-left:5%">
+                            <tbody>
+                                <tr>
+                                    <th></th>
+                                    <th>Höhenmeter</th>
+                                    <th>Entfernung</th>
+                                    <th>Zeit</th>
+                                    <th>Puls</th>
+                                    <th>Puls (max)</th>
+                                    <th>Intensitätsminuten</th>
+                                </tr><tr>
+                                    <td><span title="">diese Woche</span></td>
+                                    <td>{{elevation0w}}</td>
+                                    <td>{{distance0w}}</td>
+                                    <td>{{duration0w}}</td>
+                                    <td>{{averageHR0w}}</td>
+                                    <td>{{maxHR0w}}</td>
+                                    <td>{{intensityMinutes0w}}</td>
+                                </tr><tr>
+                                </tr><tr>
+                                    <td>letzte Woche</td>
+                                    <td>{{elevation1w}}</td>
+                                    <td>{{distance1w}}</td>
+                                    <td>{{duration1w}}</td>
+                                    <td>{{averageHR1w}}</td>
+                                    <td>{{maxHR1w}}</td>
+                                    <td>{{intensityMinutes1w}}</td>
+                                </tr><tr>
+                                    <td>dieser Monat</td>
+                                    <td>{{elevation0m}}</td>
+                                    <td>{{distance0m}}</td>
+                                    <td>{{duration0m}}</td>
+                                    <td>{{averageHR0m}}</td>
+                                    <td>{{maxHR0m}}</td>
+                                    <td>{{intensityMinutes0m}}</td>
+                                </tr><tr>
+                                    <td>letzter Monat</td>
+                                    <td>{{elevation1m}}</td>
+                                    <td>{{distance1m}}</td>
+                                    <td>{{duration1m}}</td>
+                                    <td>{{averageHR1m}}</td>
+                                    <td>{{maxHR1m}}</td>
+                                    <td>{{intensityMinutes1m}}</td>
+                                </tr><tr>
+                                    <td>dieses Jahr</td>
+                                    <td>{{elevation0y}}</td>
+                                    <td>{{distance0y}}</td>
+                                    <td>{{duration0y}}</td>
+                                    <td>{{averageHR0y}}</td>
+                                    <td>{{maxHR0y}}</td>
+                                    <td>{{intensityMinutes0y}}</td>
+                                </tr><tr>
+                                    <td>letztes Jahr</td>
+                                    <td>{{elevation1y}}</td>
+                                    <td>{{distance1y}}</td>
+                                    <td>{{duration1y}}</td>
+                                    <td>{{averageHR1y}}</td>
+                                    <td>{{maxHR1y}}</td>
+                                    <td>{{intensityMinutes1y}}</td>
+                                </tr><tr>
+                                    <td>Total</td>
+                                    <td>{{elevationtotal}}</td>
+                                    <td>{{distancetotal}}</td>
+                                    <td>{{durationtotal}}</td>
+                                    <td>{{averageHRtotal}}</td>
+                                    <td>{{maxHRtotal}}</td>
+                                    <td>{{intensityMinutestotal}}</td>
+                                </tr>
+                            </tbody>
+                        </table>
+                    </div>          
+          <!-- -------------------------------------- ende neue tabelle --- -->
         </div>
     </div>