pjs/webtools/litmus/templates/en/default/simpletest/simpletest.html.tmpl

84 строки
3.7 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:
# $test (optional) - the test object to run
# (if missing, no testing UI will be displayed)
# @results - the list of all possible test results
#%]
[% PROCESS global/selects.none.tmpl %]
<html>
<head>
<link rel="top" title="Home" href="http://www.mozilla.org/">
<link rel="stylesheet" type="text/css" href="http://www.mozilla.org/css/print.css" media="print">
<link rel="stylesheet" type="text/css" href="http://www.mozilla.org/css/base/content.css" media="all">
<link rel="stylesheet" type="text/css" href="http://www.mozilla.org/css/cavendish/content.css" title="Cavendish" media="screen">
<link rel="stylesheet" type="text/css" href="http://www.mozilla.org/css/base/template.css" media="screen">
<link rel="stylesheet" type="text/css" href="http://www.mozilla.org/css/cavendish/template.css" title="Cavendish" media="screen">
<link rel="icon" href=http://www.mozilla.org/images/mozilla-16.png" type="image/png">
<link href="skins/litmus.css" rel="stylesheet" type="text/css">
<script type="text/javascript">
function showSimpleTest() {
document.getElementById("simpletestcase").style.display = "";
}
</script>
<title>Test</title>
</head>
<body>
<div class="key-point">
<h2><img src="http://www.mozilla.org/projects/deerpark/deerpark2-title.png"
alt="Deer Park Alpha 2 Start Page" height="28" width="302"></h2>
<img src="http://www.mozilla.org/projects/deerpark/deerpark-icon.png"
height="128" width="128" style="float: left;" alt="Deer Park icon">
<p style="margin: 0 10px 10px 144px;"><strong>Congratulations!</strong> You've downloaded
or compiled a copy of Deer Park Alpha 2. This means that you've volunteered to become
part of the testing community. Helping out won't take much of your time, doesn't
require special skills, and will help make the next version of Mozilla Firefox
even better.</p>
[% IF test %]
<p style="margin: 0 10px 10px 144px;"><strong>In fact,</strong> here's a simple way you
can help right now. If you have a second, just follow the
steps below and let us know how it goes. If everything works according to
the &quot;expected results,&quot; just click the pass button.. If something goes wrong,
just press fail. Your testing will help make Mozilla Firefox the most
quality browser it can be.</p>
<input type="submit" name="showtest" value="I'll help. Show me the test."
onClick="showSimpleTest()" />
<div id="simpletestcase" style="display: none;">
<hr />
<form action="process_test.cgi" method="post" name="form" id="form">
<input name="isSimpleTest" type="hidden" value="true">
<table border="0" cellpadding="5" width="100%">
[% INCLUDE test/test.html.tmpl test=test results=results %]
</table>
<input type="submit" name="Submit" value="Submit">
</form>
[% END %]
</div>
</div>
</body>
</html>