742N/A## -*- coding: utf-8 -*-
742N/A## The contents of this file are subject to the terms of the
742N/A## Common Development and Distribution License (the "License").
742N/A## You may not use this file except in compliance with the License.
742N/A## See the License for the specific language governing permissions
742N/A## and limitations under the License.
742N/A## When distributing Covered Code, include this CDDL HEADER in each
742N/A## If applicable, add the following below this CDDL HEADER, with the
742N/A## fields enclosed by brackets "[]" replaced with your own identifying
742N/A## information: Portions Copyright [yyyy] [name of copyright owner]
817N/A## Copyright 2009 Sun Microsystems, Inc. All rights reserved.
742N/A## Use is subject to license terms.
742N/A catalog = g_vars["catalog"]
742N/A config = g_vars["config"]
742N/A request = g_vars["request"]
742N/A<%def name="page_title(g_vars)"><%
742N/A<%def name="page_crumbs(g_vars)"><%
742N/A<%def name="document_class()"><%
758N/A <h2 class="section-title">About</h2>
742N/A <h2 class="section-title">Search Packages</h2>
742N/A <input id="search-field" type="text" size="30"
742N/A maxlength="512" name="token"/>
742N/A <input id="submit-search" type="submit"
742N/A name="action" value="Search"/>
742N/A <li>All searches are case-insensitive.</li>
742N/A <li>To find packages that contain a specific
742N/Afile by path, include the leading '/':<br/>
742N/A <li>To find packages based on a partial match,
742N/Ause the wildcard characters '*' or '?':<br/>
742N/A <li>To find packages based on specific
742N/Amatching characters use '[' and ']':<br/>
742N/A if selected_version == val:
742N/A if versions and (not selected_version or not selected_match):
742N/A # Either a version wasn't already selected, or the version
742N/A # provided didn't match a valid one, so default to the first in
742N/A selected_version = versions[0][1]
742N/A <h2 class="section-title">Browse Packages</h2>
742N/A <label for="version">Release and Branch</label>
742N/A <select id="version" name="version">
742N/A if val == selected_version:
742N/A attrs = 'selected="selected" '
742N/A <input id="submit-browse" type="submit"
742N/A name="action" value="Browse"/>
742N/A <p>Select a release from the list above to see all of
742N/Athe packages available for it.</p>
742N/A <h2 class="section-title">Browse Packages</h2>
758N/A <p>The list of all available packages can be found
742N/A <p>Information about packages is not available when the server is operating in mirror mode.</p>
817N/A <table class="stats" summary="A summary of information about the
742N/A <th colspan="2" class="last">
742N/A <td class="label">Packages</td>
742N/A <td class="label">Last Updated</td>
754N/A # Note: last_modified() is in local time relative to the timezone where
754N/A # catalog was last modified.
742N/A <td class="value">${lm}</td>