Skip to content

Commit

Permalink
add info about artificial speed
Browse files Browse the repository at this point in the history
  • Loading branch information
vcoppe committed Aug 29, 2021
1 parent 739d8f3 commit a2a73c6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
3 changes: 1 addition & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -428,8 +428,7 @@
<div id="speed-text">Speed</div>
<div id="pace-text">Pace</div>
<div id="start-text">Start</div>
<div id="experimental-text">Experimental</div>
<div id="experimental-info-text">Generate speed considering the slope (erases all existing time data)</div>
<div id="experimental-info-text">Generate speed considering the slope and the activity type<br><b><i class="fas fa-exclamation-triangle"></i> erases all existing time data</b></div>
</div>
<div id="waypoint-popup-text">
<div id="empty-title-text">empty title</div>
Expand Down
5 changes: 2 additions & 3 deletions js/buttons.js
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,7 @@ export default class Buttons {
this.speed_text = document.getElementById('speed-text').textContent;
this.pace_text = document.getElementById('pace-text').textContent;
this.start_text = document.getElementById('start-text').textContent;
this.experimental_text = document.getElementById('experimental-text').textContent;
this.experimental_info_text = document.getElementById('experimental-info-text').textContent;
this.experimental_info_text = document.getElementById('experimental-info-text').innerHTML;
this.name_text = document.getElementById('name-text').textContent;
this.comment_text = document.getElementById('comment-text').textContent;
this.description_text = document.getElementById('description-text').textContent;
Expand Down Expand Up @@ -1240,7 +1239,7 @@ export default class Buttons {

content += `<div id="start-change">`+buttons.start_text+`
<input type="datetime-local" id="start-time"></div></div><br>
<div><b style="color:red; vertical-align:top">`+buttons.experimental_text+`</b> <div style="max-width: 200px;display: inline-block;white-space: normal;">`+buttons.experimental_info_text+`</div><input type="checkbox" id="slope-speed" style="vertical-align:top"></div><br>
<div style="display: flex;align-items: center; padding: 10px; border: dashed;"><div style="max-width: 200px;display: inline-block;white-space: normal;">`+buttons.experimental_info_text+`</div><input type="checkbox" id="slope-speed" style="vertical-align:super"></div><br>
<div id="edit-speed" class="panels custom-button normal-button">`+buttons.ok_button_text+`</div>
<div id="cancel-speed" class="panels custom-button normal-button"><b>`+buttons.cancel_button_text+`</b></div>`;

Expand Down

0 comments on commit a2a73c6

Please sign in to comment.