diff options
Diffstat (limited to 'html/widgets/wait.tmpl')
| -rw-r--r-- | html/widgets/wait.tmpl | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/html/widgets/wait.tmpl b/html/widgets/wait.tmpl new file mode 100644 index 0000000..cc814c0 --- /dev/null +++ b/html/widgets/wait.tmpl @@ -0,0 +1,33 @@ +<!DOCTYPE html + PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" + "http://www.w3.org/TR/html4/loose.dtd"> +<html> +<head> + <title>XXV</title> + <meta name="copyright" content="copyright 2004 Xpix"> +<style type="text/css"> +<!-- + + <?% INCLUDE style/style.css %?> + +--> +</style> +</head> +<body> +<!-- WaitTemplate --> +<?% percent = (data.current / data.maximum) * 100 %?> +<?% step = data.maximum / data.steps %?> +<?% c = 0 %?> +<center> +<h3><?% data.msg %?></h3> +<table border=0 align=center> +<?% WHILE c < data.steps %?> + <?% c = c + 1 %?> + <?% color = (step * c) <= data.current ? "red" : "white" %?> + <td bgcolor="<?% color %?>"> </td> +<?% END %?> + <td> <b><?% percent | format "%02d" %?>%</b> (<?% data.eta %?>)</td> +</table> +</center> +</body> +</html> |
