gecko-dev/webtools/litmus/templates/en/default/index.html.tmpl

229 строки
5.1 KiB
Cheetah
Executable File

[%# 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 Litmus.
#
# The Initial Developer of the Original Code is Netscape Communications
# Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s): Zach Lipton <zach@zachlipton.com>
#%]
[%# INTERFACE:
# @products - a list of all product objects in the system
# @hotlist - a hotlist of the top 15 confirmed failures for
# all products
#%]
[% INCLUDE global/header.html.tmpl title = 'Home' %]
<div class="menubox">
<p>
<strong>
<font size="+3">
Main Menu</font>
</strong>
</p>
<form name="runtests" method="get" action="run_tests.cgi">
<font size="+2">
Run Tests:
</font>
<br>
<table border="0">
<tr>
<td>
<div align="right">
<strong>
Product:
</strong>
</div>
</td>
<td>
<select name="product" id="product">
[% FOREACH curproduct = products %]
<option value="[% curproduct.id FILTER html %]">
[% curproduct.name FILTER html %]
</option>
[% END %]
</select>
</td>
<br>
<tr>
<td>
</td>
<td>
<input name="runtests" type="submit" id="runtests" value="Go">
</td>
</table>
</table>
</form>
<hr>
<strong>Enter a test ID:</strong>
<br />
<form name="search" method="get" action="show_test.cgi">
<input name="id" type="text" size="7">
<input name="search" type="submit" id="search" value="View Test">
</form>
<!--
<hr>
<ul>
<li>
<a href="#">
Browse tests
</a>
</li>
<li>
<a href="#">
Query tests
</a>
</li>
<li>
<a href="#">
Reports
</a>
</li>
</ul>
<hr>
<strong>
Quick Links:
</strong>
<br>
<ul>
<li>
Trunk
<ul>
<li>
<a href="#">
Hotlist
</a>
</li>
<li>
<a href="#">
Failures:
</a>
<ul>
<li>
<a href="#">
Confirmed
</a>
</li>
<li>
<a href="#">
Unconfirmed
</a>
</li>
</ul>
</li>
<li>
To be run:
<ul>
<li>
<a href="#">
Windows
</a>
</li>
<li>
<a href="#">
Linux
</a>
</li>
<li>
<a href="#">
Mac
</a>
</li>
</ul>
</li>
</ul>
</li>
<li>
Branch
<ul>
<li>
<a href="#">
Hotlist
</a>
</li>
<li>
<a href="#">
Failures:
</a>
<ul>
<li>
<a href="#">
Confirmed
</a>
</li>
<li>
<a href="#">
Unconfirmed
</a>
</li>
</ul>
</li>
<li>
To be run:
<ul>
<li>
<a href="#">
Windows
</a>
</li>
<li>
<a href="#">
Linux
</a>
</li>
<li>
<a href="#">
Mac
</a>
</li>
</ul>
</li>
</ul>
</li>
</ul>
-->
</div>
<div class="menu_content">
<div class="suitelist">
<p>
<strong>
<font size="+3">
Test Groups</font>
</strong>
</p>
<table width="100%" border="0">
<tr>
[% FOREACH curproduct = products %]
<td><div align="center"><strong>
<a href="#">[% curproduct.name FILTER html %]</a>
</strong></div></td>
[% END %]
</tr><tr>
[% FOREACH curproduct = products %]
<td><ul>
[% FOREACH curgroup = curproduct.testgroups %]
<li><a href="run_tests.cgi?product=[% curproduct.productid FILTER html %]&testgroup=[% curgroup.testgroupid FILTER html %]">
[% curgroup.name FILTER html %]</a></li>
[% END %]
</ul></td>
[% END %]
</tr>
</table>
</div>
[% INCLUDE hotlist title='Testing Hotlist - Top 15 Confirmed Failures' hotlist = hotlist %]
</div>
[% INCLUDE global/footer.html.tmpl style="position: absolute;" %]