[%# 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): Greg Hendricks <ghendricks@novell.com>
  #%]

[%# INTERFACE:
  # ...
  #%]

[%############################################################################%]
[%# Template Initialization                                                  #%]
[%############################################################################%]

[% PROCESS global/variables.none.tmpl %]

[% title = "Environment Variable Administration" %]

[%############################################################################%]
[%# Page Header                                                              #%]
[%############################################################################%]

[% PROCESS global/header.html.tmpl
   style_urls = ['testopia.css'] %]

[% PROCESS testopia/style.none.tmpl %]
[% PROCESS testopia/blocks.html.tmpl %]
<div style="background-color:#CCCCFF;padding:5px; width:600px">
<table>
  <tr>
    <td width="70%" valign="top">
<p>This is the environment admin tool. 
You can create, edit, and remove environment elements by right clicking on a node in the
tree. Changes are applied immediately unless prompted.</p>
<p>Elements in the --ANY PRODUCT-- product are those that can be considered product agnostic. </p>
    </td>
    <td align="right">
      <table>
        <tr>
          <th colspan="2">Legend</th>
        </tr>
        <tr>
          <td><img src="testopia/img/square.png"></td><td>Environment Category</td>
        </tr>
        <tr>
          <td><img src="testopia/img/circle.png"></td><td>Environment Element</td>
        </tr>
        <tr>
          <td><img src="testopia/img/triangle.png"></td><td>Element Property</td>
        </tr>
      </table>
    </td>
  </tr>
</table>

</div>
<div>[% PROCESS testopia/messages.html.tmpl %]</div>

  [% IF user.in_group('Testers') %]
    <a href="tr_new_environment.cgi">Create a New Environment</a></td>
  [% END %]

[% PROCESS testopia/environment/admin/tree.html.tmpl %]

[% PROCESS global/footer.html.tmpl %]
