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

82 строки
2.4 KiB
Cheetah
Исходник Обычный вид История

[%# ***** BEGIN LICENSE BLOCK *****
# Version: MPL 1.1
#
# 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
# The Mozilla Corporation.
2006-01-25 20:03:40 +03:00
# Portions created by the Initial Developer are Copyright (C) 2006
# the Initial Developer. All Rights Reserved.
#
# Contributor(s):
# Chris Cooper <ccooper@deadsquid.com>
# Zach Lipton <zach@zachlipton.com>
#
# ***** END LICENSE BLOCK *****
#%]
[%# INTERFACE:
# $test - the test object to display
# @results - the list of all possible test results
# $showallresults (optional) - if true, then all test results
# will be shown
#
#%]
[% PROCESS global/selects.none.tmpl %]
[% title="Testcase ID #$test.testid - $test.summary" %]
[% includeselects=1 %]
[% INCLUDE global/html_header.tmpl js_files=['js/EditTests.js', 'js/SelectBoxes.js', 'js/FormValidation.js'] %]
[% INCLUDE global/litmus_header.tmpl %]
<div id="page">
[% INCLUDE sidebar/sidebar.tmpl %]
<div id="content">
<h1 class="firstHeading">[% title | html %]</h1>
<div class="section-full">
<div class="section-content">
<form action="process_test.cgi" method="post" name="form" id="show_test_form">
<input name="isTestResult" type="hidden" value="true">
<input name="editingTestcases" id="editingTestcases" type="hidden" value="">
<input name="return" type="hidden" value="show_test.cgi?id=[% test.testid | html %]">
<input name="id" type="hidden" value="[% test.testid | html %]">
<div class="testcase-content">
[% INCLUDE test/test.html.tmpl test=test results=results showedit=show_admin show_config=1 %]
</div>
</div>
</div>
<h1 class="firstHeading">Recent Test Results for [% title | html %]</h1>
[% INCLUDE reporting/test_results.tmpl results=test_results %]
</div>
</div>
</div> <!--END content-->
</div> <!--END page-->
[% INCLUDE global/litmus_footer.tmpl %]
[% INCLUDE global/html_footer.tmpl %]