summaryrefslogtreecommitdiff
path: root/templates/submit_form.pt
blob: 22c1906b5acb44cee8f40476ed89543527e894a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns:tal="http://xml.zope.org/namespaces/tal"
      xmlns:metal="http://xml.zope.org/namespaces/metal"
      metal:use-macro="standard_template/macros/page">
<metal:fill fill-slot="body">

<p tal:replace="structure app/release_nav" />

<p>To submit information to this index, you have three options:</p>
<p id="submitheader">1. Use the setup.py "<a href="http://docs.python.org/dist/package-index.html">register</a>" command.</p>

<p id="submitheader">2. Or upload your PKG-INFO file (generated by distutils)
here:</p>
<form tal:attributes="action app/url_path" method="POST"
    enctype="multipart/form-data">
<input type="hidden" name=":action" value="submit_pkg_info" />
<table class="form">
<tr><th>PKG-INFO file:</th>
    <td><input size="40" type="file" name="pkginfo" /></td>
</tr>
<tr><td></td><td><input type="submit" value="Add Package Info" /></td></tr>
</table>
</form>

<p id="submitheader">3. Or enter the information manually:</p>
<form tal:attributes="action app/url_path" method="POST"
    enctype="multipart/form-data">
<input type="hidden" name=":action" value="submit" />
<table class="form">

<tr tal:replace="structure data/fields" />

<tr><th class="required">highlighted</th><td>information is required</td></tr>
<tr><td></td><td><input id="manual_submit" type="submit" value="Add Information"/></td></tr>
</table>
</form>

</metal:fill>
</html>