2852N/A## -*- coding: utf-8 -*-
2852N/A##
2852N/A## CDDL HEADER START
2852N/A##
2852N/A## The contents of this file are subject to the terms of the
2852N/A## Common Development and Distribution License (the "License").
2852N/A## You may not use this file except in compliance with the License.
2852N/A##
2852N/A## You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2852N/A## or http://www.opensolaris.org/os/licensing.
2852N/A## See the License for the specific language governing permissions
2852N/A## and limitations under the License.
2852N/A##
2852N/A## When distributing Covered Code, include this CDDL HEADER in each
2852N/A## file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2852N/A## If applicable, add the following below this CDDL HEADER, with the
2852N/A## fields enclosed by brackets "[]" replaced with your own identifying
2852N/A## information: Portions Copyright [yyyy] [name of copyright owner]
2852N/A##
2852N/A## CDDL HEADER END
2852N/A##
3126N/A## Copyright 2013, 2014 Oracle and/or its affiliates. All rights reserved.
2852N/A##
2852N/A<%page args="g_vars, gmenu_items=None"/>\
2852N/A<%def name="page_crumbs(g_vars)"><%
2852N/A # None at top level.
2852N/A return []
2852N/A%></%def>\
2852N/A<%def name="global_menu_items(g_vars)"><%
2852N/A # Just this list of repositories.
2852N/A return [("/", "Repositories")]
2852N/A%></%def>\
3126N/A<%inherit file="${context.get('g_vars')['lang']}/layout.shtml"/>\
2852N/A<%
2852N/A repo_list = g_vars["repo_list"]
2852N/A repo_pubs = g_vars["repo_pubs"]
2852N/A%>
2852N/A<%def name="document_class()"><%
2852N/A return "yui-t4"
2852N/A%></%def>\
2852N/A<div id="custom-doc" class="${self.document_class()}">
2852N/A <div id="hd">
2852N/A<div id="yui-main">
2852N/A <div>
2852N/A <h2 class="section-title">IPS Repositories</h2>
2852N/A <p align="left">The following package repositories are available from this server:
2852N/A <div class="results">
2852N/A <table summary="A list of the package repositories available from this server.">
2852N/A <tr class="first">
2852N/A <th scope="row">URI</th><th scope="row">Publishers</th>
2852N/A </tr>
2852N/A% for repo_uri, bui_link in repo_list:
2852N/A <tr><td align="left"><a href="${bui_link}">${repo_uri}</a></td>
2852N/A <td>
2852N/A% for pub, uri in repo_pubs[repo_uri]:
2852N/A <a href="${uri}">${pub}</a>
2852N/A% endfor pub
2852N/A </td>
2852N/A </tr>
2852N/A% endfor repo_uri
2852N/A </table>
2852N/A </div>
2852N/A </div>
2852N/A</div>
2852N/A
2852N/A
2852N/A<%def name="page_title(g_vars)"><%
2852N/A return "ips repository server"
2852N/A%></%def>\