| Current File : //usr/share/lib/pkg/web/repos.shtml |
## -*- coding: utf-8 -*-
##
##
## Copyright 2013 Oracle and/or its affiliates. All rights reserved.
##
<%page args="g_vars, gmenu_items=None"/>\
<%def name="page_crumbs(g_vars)"><%
# None at top level.
return []
%></%def>\
<%def name="global_menu_items(g_vars)"><%
# Just this list of repositories.
return [("/", "Repositories")]
%></%def>\
<%inherit file="layout.shtml"/>\
<%
repo_list = g_vars["repo_list"]
repo_pubs = g_vars["repo_pubs"]
%>
<%def name="document_class()"><%
return "yui-t4"
%></%def>\
<div id="custom-doc" class="${self.document_class()}">
<div id="hd">
<div id="yui-main">
<div>
<h2 class="section-title">IPS Repositories</h2>
<p align="left">The following package repositories are available from this server:
<div class="results">
<table summary="A list of the package repositories available from this server.">
<tr class="first">
<th scope="row">URI</th><th scope="row">Publishers</th>
</tr>
% for repo_uri, bui_link in repo_list:
<tr><td align="left"><a href="${bui_link}">${repo_uri}</a></td>
<td>
% for pub, uri in repo_pubs[repo_uri]:
<a href="${uri}">${pub}</a>
% endfor pub
</td>
</tr>
% endfor repo_uri
</table>
</div>
</div>
</div>
<%def name="page_title(g_vars)"><%
return "ips repository server"
%></%def>\