[%# 1.0@bugzilla.org %]
[%# The contents of this file are subject to the Mozilla Public
  # License Version 1.1 (the "License"); you may not use this file
  # except in compliance with the License. You may obtain a copy of
  # the License at http://www.mozilla.org/MPL/
  #
  # Software distributed under the License is distributed on an "AS
  # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
  # implied. See the License for the specific language governing
  # rights and limitations under the License.
  #
  # The Original Code is the Bugzilla Test Runner System.
  #
  # The Initial Developer of the Original Code is Maciej Maczynski.
  # Portions created by Maciej Maczynski are Copyright (C) 2001
  # Maciej Maczynski. All Rights Reserved.
  #
  # Contributor(s): Ed Fuentetaja <efuentetaja@acm.org>
  #                 Greg Hendricks <ghendricks@novell.com>
  #%]

[%# INTERFACE:
  # complete: The number processed up till now
  # total: The total number to process
  #%]
  
[% SET percent = ((complete / total) * 100) %]

<html>
  <head>
    <title>Processing</title>
  </head>
  <body>
    <h1 style="margin-top: 20%; text-align: center;">Processing...</h1>
    <h4 style="font-weight: bold; text-align: center;">[% process FILTER html %]</h4>
    <table align="center"><tr><td>
    <span style="width:302px;text-align: center;" >
      <span style="float:left;width:1px;height:25px;background-color:black;"></span>
      <span style="float:left;"><img src="testopia/img/pb.gif" style="width:[% percent * 3 %]px;height:25px;padding:0px;margin:0px;border-width:0px;"/></span>
      <span style="float:left;"><img src="testopia/img/pg.gif" style="width:[% 300 - percent * 3 %]px;height:25px;"/></span>
      <span style="float:left;width:1px;height:25px;background-color:black;"></span>
    </span></td></tr>
    </table>
  </body>
</html>