Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Tree: fe0b7eabcb
Fetching contributors…

Cannot retrieve contributors at this time

90 lines (78 sloc) 2.968 kB
<%def name="builder(include_mootools=True, include_reset=True)">
<!-- packager -->
% if include_reset:
<link rel="stylesheet" type="text/css" media="screen" href="/depender/static/reset.css" />
% endif
<link rel="stylesheet" type="text/css" media="screen" href="/depender/static/packager.css" />
% if include_mootools:
<script type="text/javascript" src="/depender/static/mootools-core-1.3.2.js"></script>
% endif
<script type="text/javascript" src="/depender/static/packager.js"></script>
<script type="text/javascript">document.addEvent('domready', Packager.init);</script>
<form id="packager" action="/depender/build" method="get" style="margin-top: 10px">
<input type="hidden" name="download" value="true"/>
% for p in packages:
<div id="package-${p}" class="package">
<table class="vertical">
<tr class="first">
<div class="buttons">
<input type="checkbox" name="excludeLibs" class="toggle" value="${p}"/>
<div class="enabled">
<input type="button" class="select" value="select package" />
<input type="button" class="deselect" value="deselect package" />
<input type="button" class="disable" value="disable package" />
<div class="disabled">
<input type="button" class="enable" value="enable package" />
% for key in ["web", "description", "copyright", "license", "authors"]:
% if key in dpdr.packages[p].metadata:
klass = "middle"
if key == "authors":
klass = "last"
<tr class="${klass}">
% endif
% endfor
<table class="horizontal">
<tr class="first">
<th class="first"></th>
<th class="middle">File</th>
<th class="middle">Provides</th>
<th class="last">Description</th>
% for filedata in sorted(dpdr.packages[p].files, key=lambda file:file.filename):
<tr class="middle unchecked">
<td class="first check">
<div class="checkbox"></div>
<input type="checkbox" name="require" value="${p}/${filedata.metadata['name']}" data-depends="${', '.join(get_depends(p, filedata.filename))}" />
<td class="middle file">${filedata.metadata['name']}</td>
<td class="middle provides">${', '.join(get_provides(p, filedata.filename))}</td>
<td class="last description"><p>${filedata.metadata['description']}</p></td>
% endfor
% endfor
<p class="submit">
<input type="reset" value="reset" />
<input type="submit" value="download" />
Jump to Line
Something went wrong with that request. Please try again.