summaryrefslogtreecommitdiff
path: root/html/bloecke
diff options
context:
space:
mode:
authorAndreas Brachold <vdr07@deltab.de>2007-09-11 17:44:02 +0000
committerAndreas Brachold <vdr07@deltab.de>2007-09-11 17:44:02 +0000
commitb3afe1bf2625101e8db9400d15f272c2e454b1b5 (patch)
tree9b8659f7ede833c7b7ac1507bacabbcb47e64769 /html/bloecke
parent1ea70eb921caac0ef881c72ac7023fa100835b85 (diff)
downloadxxv-b3afe1bf2625101e8db9400d15f272c2e454b1b5.tar.gz
xxv-b3afe1bf2625101e8db9400d15f272c2e454b1b5.tar.bz2
* Refactoring HTTPD/TELNET - move command usage (MODUL TELNET now none essential )
* Some little fixes
Diffstat (limited to 'html/bloecke')
-rw-r--r--html/bloecke/percentbar.tmpl8
1 files changed, 4 insertions, 4 deletions
diff --git a/html/bloecke/percentbar.tmpl b/html/bloecke/percentbar.tmpl
index f8b17fe..16ebaab 100644
--- a/html/bloecke/percentbar.tmpl
+++ b/html/bloecke/percentbar.tmpl
@@ -9,13 +9,13 @@
%?>
<div align="center" style='position:absolute'>
- <img src="<?% ground %?>" width="<?% barwidth %?>" title='<?% percent | format "%02d" %?>%'>
- <div style='position:absolute; top:0px; left:0px; clip:rect(0px, <?% percent * barexp | format "%d" %?>px, <?% percent * barexp | format "%d" %?>px, 0px)'>
- <img src="<?% over %?>" width="<?% barwidth %?>" title='<?% percent | format "%02d" %?>%'>
+ <img src="<?% ground %?>" width="<?% barwidth %?>" title='<?% percent div 1 | format "%02d" %?>%'>
+ <div style='position:absolute; top:0px; left:0px; clip:rect(0px, <?% ( percent * barexp ) div 1 %?>px, <?% ( percent * barexp ) div 1 %?>px, 0px)'>
+ <img src="<?% over %?>" width="<?% barwidth %?>" title='<?% percent div 1 | format "%02d" %?>%'>
</div>
<?% IF barwidth > 200 %?>
<div style='position:absolute; top:10px; left:<?% barwidth - 70 %?>px; color:#FFFFFF;font-weight:bold'>
- <?% percent | format "%02d" %?>%
+ <?% percent div 1 | format "%02d" %?>%
</div>
<?% END %?>
</div>