970N/A## -*- coding: utf-8 -*-
970N/A## The contents of this file are subject to the terms of the
970N/A## Common Development and Distribution License (the "License").
970N/A## You may not use this file except in compliance with the License.
970N/A## See the License for the specific language governing permissions
970N/A## and limitations under the License.
970N/A## When distributing Covered Code, include this CDDL HEADER in each
970N/A## If applicable, add the following below this CDDL HEADER, with the
970N/A## fields enclosed by brackets "[]" replaced with your own identifying
970N/A## information: Portions Copyright [yyyy] [name of copyright owner]
970N/A## Copyright 2013, 2014 Oracle
and/or its affiliates. All rights reserved.
970N/A<%page args="g_vars, gmenu_items=None"/>\
970N/A<%def name="page_crumbs(g_vars)"><%
970N/A<%def name="global_menu_items(g_vars)"><%
970N/A # Just this list of repositories.
970N/A return [("/", "Repositories")]
970N/A repo_list = g_vars["repo_list"]
970N/A repo_pubs = g_vars["repo_pubs"]
970N/A<%def name="document_class()"><%
970N/A <h2 class="section-title">IPS Repositories</h2>
970N/A <p align="left">The following package repositories are available from this server:
970N/A <table summary="A list of the package repositories available from this server.">
970N/A <th scope="row">URI</th><th scope="row">Publishers</th>
970N/A% for repo_uri, bui_link in repo_list:
970N/A <tr><td align="left"><a href="${bui_link}">${repo_uri}</a></td>
970N/A% for pub, uri in repo_pubs[repo_uri]:
970N/A <a href="${uri}">${pub}</a>
970N/A<%def name="page_title(g_vars)"><%
970N/A return "ips repository server"