improve buttons

This commit is contained in:
speatzle 2024-06-25 21:25:35 +02:00
parent bf8b996a01
commit 90b0062732
3 changed files with 18 additions and 8 deletions

View file

@ -31,7 +31,7 @@ window.onload = function(e){
<p>Library: {{.Library}}</p>
<p>Filename: {{.Filename}}</p>
<p>Updated At: {{.UpdatedAt}}</p>
<button type="button" onclick="window.scrollTo(0,document.body.scrollHeight);">Scroll to Bottom</button>
<button type="button" onclick="window.scrollTo(0,document.body.scrollHeight);" class="short-button">Scroll to Bottom</button>
<div class="log">
{{range $t := .Log}}
<p>
@ -39,6 +39,6 @@ window.onload = function(e){
</p>
{{end}}
</div>
<input type="checkbox" onclick="toggleAutoRefresh(this);" id="reloadCB"> Auto Follow</input>
<button type="button" onclick="window.scrollTo(0,0);">Scroll to Top</button>
<input type="checkbox" onclick="toggleAutoRefresh(this);" id="reloadCB" class="short-button"> Auto Follow</input>
<button type="button" onclick="window.scrollTo(0,0);" class="short-button">Scroll to Top</button>
{{template "tail"}}