Merge pull request 'df-progressbar-tooltip-patch' (#3) from df/webif:df-progressbar-tooltip-patch into master

This commit is contained in:
af123 2020-06-03 10:43:54 +00:00
commit 96e53bec56

View File

@ -3,6 +3,7 @@ if {![exists -proc progressbar]} {
proc progressbar {percent} {
set pos [expr 118 - $percent / 100.0 * 118]
return "<img src=/img/percentimage.png
title=\"$percent%\"
alt=\"$percent%\" class=progress
style=\"background-position: -${pos}px 0;\">"
}