many updates
This commit is contained in:
@@ -30,7 +30,9 @@
|
||||
<th>Name</th>
|
||||
<th>Type</th>
|
||||
<th>Distance</th>
|
||||
<th>Distance</th>
|
||||
<th>Elevation</th>
|
||||
<th>Efforts</th>
|
||||
<th>Actions</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@@ -141,7 +143,9 @@
|
||||
<td><strong>${seg.name}</strong></td>
|
||||
<td><span class="badge bg-secondary">${seg.activity_type}</span></td>
|
||||
<td>${(seg.distance / 1000).toFixed(2)} km</td>
|
||||
<td>${(seg.distance / 1000).toFixed(2)} km</td>
|
||||
<td>${seg.elevation_gain ? seg.elevation_gain.toFixed(1) + ' m' : '-'}</td>
|
||||
<td><span class="badge bg-info text-dark">${seg.effort_count || 0}</span></td>
|
||||
<td>
|
||||
<button class="btn btn-sm btn-outline-primary me-1" onclick='viewSegment(${JSON.stringify(seg)})'>
|
||||
<i class="bi bi-eye"></i> View
|
||||
|
||||
Reference in New Issue
Block a user