Skip to content

Commit

Permalink
fix delay values
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasf committed May 10, 2024
1 parent 28a7eb8 commit db946dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion assets/template/battle-results.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ <h1>Beat battle results: {{ .Battle.Name }}</h1>

<div id="controls">
<input type="checkbox" id="autoplay" checked /> auto advance<br />
<input type="range" min="0" max="30" value="10" class="slider" id="delay" /> delay: <span id="delay-value">1</span><br />
<input type="range" min="0" max="30" value="1" class="slider" id="delay" /> delay: <span id="delay-value">1</span><br />
</div>

{{ range $placeIdx, $entries := .TopPlaces }}
Expand Down
2 changes: 1 addition & 1 deletion assets/template/battle-vote.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ <h1>Beat battle voting form: {{ .Battle.Name }}</h1>
<div id="controls">
<input type="checkbox" id="toggle-notes"/> personal notepad<br />
<input type="checkbox" id="autoplay" checked /> auto advance<br />
<input type="range" min="0" max="30" value="10" class="slider" id="delay" /> delay: <span id="delay-value">6</span><br />
<input type="range" min="0" max="30" value="6" class="slider" id="delay" /> delay: <span id="delay-value">6</span><br />
</div>
<button battle="{{ .Battle.Name }}" class="unvote button-1">clear my votes</button><br />
{{ range $idx, $entry := .Battle.Entries }}
Expand Down

0 comments on commit db946dc

Please sign in to comment.