index.shtml revision 2603
22ad84685642948ad15cc1e881ecbc4ac8cbf98cmanoj## -*- coding: utf-8 -*-
a3d4338d74be03b3ecc9381c55aa2e76215c3edbgstein## CDDL HEADER START
a3d4338d74be03b3ecc9381c55aa2e76215c3edbgstein## The contents of this file are subject to the terms of the
a3d4338d74be03b3ecc9381c55aa2e76215c3edbgstein## Common Development and Distribution License (the "License").
a3d4338d74be03b3ecc9381c55aa2e76215c3edbgstein## You may not use this file except in compliance with the License.
a3d4338d74be03b3ecc9381c55aa2e76215c3edbgstein## You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
a3d4338d74be03b3ecc9381c55aa2e76215c3edbgstein## See the License for the specific language governing permissions
a3d4338d74be03b3ecc9381c55aa2e76215c3edbgstein## and limitations under the License.
a3d4338d74be03b3ecc9381c55aa2e76215c3edbgstein## When distributing Covered Code, include this CDDL HEADER in each
a3d4338d74be03b3ecc9381c55aa2e76215c3edbgstein## file and include the License file at usr/src/OPENSOLARIS.LICENSE.
a3d4338d74be03b3ecc9381c55aa2e76215c3edbgstein## If applicable, add the following below this CDDL HEADER, with the
a3d4338d74be03b3ecc9381c55aa2e76215c3edbgstein## fields enclosed by brackets "[]" replaced with your own identifying
2540bc483021296863cfff2d77b7d3c05b217e0fsf## information: Portions Copyright [yyyy] [name of copyright owner]
a3d4338d74be03b3ecc9381c55aa2e76215c3edbgstein## CDDL HEADER END
a3d4338d74be03b3ecc9381c55aa2e76215c3edbgstein## Copyright 2008, 2011 Oracle and/or its affiliates. All rights reserved.
a3d4338d74be03b3ecc9381c55aa2e76215c3edbgstein<%inherit file="layout.shtml"/>\
a3d4338d74be03b3ecc9381c55aa2e76215c3edbgstein<%page args="g_vars"/>\
22ad84685642948ad15cc1e881ecbc4ac8cbf98cmanoj catalog = g_vars["catalog"]
pub = req.publisher
repo = pub.repository
if repo and repo.name:
rname = repo.name
pub = req.publisher
repo = pub.repository
if repo and repo.description:
repo_desc = repo.description
% if catalog.search_available:
<form class="search" action="search.shtml">
<a href="advanced_search.shtml">Advanced Search</a>
versions = self.shared.get_releases(g_vars)
selected_version = request.params.get("version", None)
<form action="catalog.shtml">
context.write("""<option %svalue="%s">%s</option>\n""" % (
<a href="catalog.shtml">here</a>.</p>
% elif not request.publisher:
title="${self.shared.dcval(g_vars, 'pkg_bui', 'feed_name')}"></a>
<td class="value">${pub.prefix}</td>
<td class="value">${catalog.package_count}</td>
if catalog.version == 0:
lm = catalog.last_modified()
lm = lm.replace(microsecond=0)