mirror of
https://git.code.sf.net/p/quake/website
synced 2024-11-30 16:01:24 +00:00
663a1dc2db
missed some bugs.
49 lines
1.8 KiB
PHP
49 lines
1.8 KiB
PHP
<? // Preamble
|
|
$pageName = "Progress";
|
|
$focused = "none"; // Dock icon name to gets a border
|
|
require("parts/preamble.php"); // Load most of document
|
|
?>
|
|
<TABLE width="100%" cellSpacing="0" cellPadding="0" border="0">
|
|
<TR vAlign=top>
|
|
<TD colSpan="2">
|
|
<?
|
|
need ('graph table');
|
|
|
|
function progressKey() // Display key for progress bar
|
|
{
|
|
echo '<TR><TD> </TD><TD> </TD><TD align="center">' .
|
|
'<IMG src="/img/graph/ProgressBar.desc.png" ALT="0-33% Hackers, 34-67% Developers, 68-100% Users">' .
|
|
'</TD><TD> </TD><TD align="left" ></TD></TR>';
|
|
}
|
|
|
|
function progressMeter( $name, $pct, $comments )
|
|
{
|
|
$result = '';
|
|
$result .= '<TR><TD noWrap class="progress" align="right">' . $name . '</TD><TH> </TH>';
|
|
$result .= '<TD noWrap align="center" vAlign="center"><IMG src="/img/blank.gif" height="1" width="1" alt="' . $pct . '% Complete">';
|
|
$result .= barGraph( $pct );
|
|
$result .= '</TD><TH> </TH><TD class="progress" align="left">' . $comments . '</TD></TR>';
|
|
echo $result;
|
|
}
|
|
|
|
tableHeader("100%", 'black');
|
|
progressKey();
|
|
progressMeter('3Dfx', 85, 'Being replaced by Mesa where possible');
|
|
progressMeter('DOS', 65, 'Working on DJGPP cross-compilation');
|
|
progressMeter('GGI', 90, 'New cross-platform software standard?');
|
|
progressMeter('GLX', 95, 'Working properly');
|
|
progressMeter('MGL', 80, 'No comments');
|
|
progressMeter('SDL', 90, 'New cross-platform software standard?');
|
|
progressMeter('SVGAlib', 85, 'Seems to work well.');
|
|
progressMeter('WGL', 70, 'No comments');
|
|
progressMeter('X11', 95, 'Working properly');
|
|
progressKey();
|
|
tableFooter();
|
|
?>
|
|
</TD>
|
|
</TR>
|
|
</TABLE>
|
|
<!--NOSEARCH-->
|
|
<?
|
|
require("parts/postamble.php"); // Finish this sucker up
|
|
?>
|