paulb@1 | 1 | <?xml version="1.0" encoding="iso-8859-1"?> |
paulb@1 | 2 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" |
paulb@1 | 3 | "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> |
paulb@1 | 4 | <html xmlns="http://www.w3.org/1999/xhtml" |
paulb@1 | 5 | xmlns:template="http://www.boddie.org.uk/ns/xmltools/template"> |
paulb@1 | 6 | <head> |
paulb@1 | 7 | <title>PEP 241 Package Registry</title> |
paulb@1 | 8 | <meta name="generator" content="amaya 8.1a, see http://www.w3.org/Amaya/" /> |
paulb@1 | 9 | <link xmlns:xlink="http://www.w3.org/1999/xlink" href="styles.css" |
paulb@1 | 10 | rel="stylesheet" type="text/css" /> |
paulb@1 | 11 | </head> |
paulb@1 | 12 | |
paulb@1 | 13 | <body> |
paulb@1 | 14 | <h1>PEP 241 Package Registry</h1> |
paulb@1 | 15 | |
paulb@13 | 16 | <form method="POST"> |
paulb@1 | 17 | |
paulb@1 | 18 | <table cellspacing="0" cellpadding="5" template:element="package"> |
paulb@1 | 19 | <tbody> |
paulb@1 | 20 | <tr> |
paulb@1 | 21 | <th class="heading" colspan="2">Summary</th> |
paulb@1 | 22 | </tr> |
paulb@1 | 23 | <tr> |
paulb@1 | 24 | <th>Package name</th> |
paulb@7 | 25 | <td template:attribute="name"><input type="text" size="20" |
paulb@17 | 26 | name="{template:field-name()}" value="{$this-value}" /></td> |
paulb@1 | 27 | </tr> |
paulb@1 | 28 | <tr> |
paulb@1 | 29 | <th>Package version</th> |
paulb@7 | 30 | <td template:attribute="version"><input type="text" size="10" |
paulb@17 | 31 | name="{template:field-name()}" value="{$this-value}" /></td> |
paulb@1 | 32 | </tr> |
paulb@1 | 33 | <tr> |
paulb@1 | 34 | <th>Summary</th> |
paulb@27 | 35 | <td template:attribute="summary"><input type="text" size="20" |
paulb@27 | 36 | name="{template:field-name()}" value="{$this-value}" /></td> |
paulb@1 | 37 | </tr> |
paulb@1 | 38 | <tr> |
paulb@1 | 39 | <th>Description</th> |
paulb@27 | 40 | <td template:attribute="description"><textarea cols="80" rows="5" |
paulb@27 | 41 | name="{template:field-name()}"> |
paulb@27 | 42 | <span template:value="$this-value" template:effect="replace">Insert |
paulb@27 | 43 | longer description here!</span></textarea></td> |
paulb@1 | 44 | </tr> |
paulb@1 | 45 | <tr template:element="error"> |
paulb@1 | 46 | <th></th> |
paulb@20 | 47 | <td template:attribute="description-size" class="error">Only 100 characters |
paulb@7 | 48 | can be used in a description.</td> |
paulb@1 | 49 | </tr> |
paulb@1 | 50 | <tr> |
paulb@1 | 51 | <th>Home page</th> |
paulb@13 | 52 | <td template:attribute="home-page" template:value="$this-value">Home page</td> |
paulb@1 | 53 | </tr> |
paulb@1 | 54 | <tr> |
paulb@1 | 55 | <th>Licence</th> |
paulb@13 | 56 | <td template:attribute="licence" template:value="$this-value">Licence</td> |
paulb@1 | 57 | </tr> |
paulb@1 | 58 | <tr> |
paulb@25 | 59 | <th colspan="2" class="heading">Categories</th> |
paulb@1 | 60 | </tr> |
paulb@22 | 61 | <tr template:element="categories"> |
paulb@22 | 62 | <th>Categories</th> |
paulb@19 | 63 | <td> |
paulb@25 | 64 | <select template:element="category" name="{template:multi-field-name('value')}" multiple="multiple"> |
paulb@22 | 65 | <option template:element="category-enum" template:expr-attr="selected" template:expr="@value-is-set" template:value="@value" |
paulb@7 | 66 | value="{@value}"></option> |
paulb@1 | 67 | </select> |
paulb@22 | 68 | </td> |
paulb@1 | 69 | </tr> |
paulb@1 | 70 | <tr> |
paulb@1 | 71 | <th colspan="2" class="heading">Platforms</th> |
paulb@1 | 72 | </tr> |
paulb@15 | 73 | <tr template:element="platforms,platform"> |
paulb@1 | 74 | <th>Platform name</th> |
paulb@17 | 75 | <td><span template:attribute="name"><input name="{template:field-name()}" value="{$this-value}" type="text" size="20" /></span> |
paulb@7 | 76 | <input type="submit" value="Remove!" |
paulb@13 | 77 | name="remove_platform={template:this-position()}" /></td> |
paulb@1 | 78 | </tr> |
paulb@1 | 79 | <tr> |
paulb@1 | 80 | <th></th> |
paulb@1 | 81 | <td> |
paulb@7 | 82 | <input type="submit" value="Add platform!" |
paulb@13 | 83 | name="add_platform={template:this-position()}" /></td> |
paulb@1 | 84 | </tr> |
paulb@1 | 85 | <tr> |
paulb@1 | 86 | <th colspan="2" class="heading">Supported platforms</th> |
paulb@1 | 87 | </tr> |
paulb@15 | 88 | <tr template:element="supported-platforms,supported-platform"> |
paulb@1 | 89 | <th>Platform name</th> |
paulb@17 | 90 | <td><span template:attribute="name"><input name="{template:field-name()}" value="{$this-value}" type="text" size="20" /></span> |
paulb@7 | 91 | <input type="submit" value="Remove!" |
paulb@13 | 92 | name="remove_supported_platform={template:this-position()}" |
paulb@7 | 93 | /></td> |
paulb@1 | 94 | </tr> |
paulb@1 | 95 | <tr> |
paulb@1 | 96 | <th></th> |
paulb@1 | 97 | <td> |
paulb@7 | 98 | <input type="submit" value="Add platform!" |
paulb@13 | 99 | name="add_supported_platform={template:this-position()}" |
paulb@7 | 100 | /></td> |
paulb@1 | 101 | </tr> |
paulb@1 | 102 | <tr> |
paulb@1 | 103 | <th colspan="2" class="heading">Keywords</th> |
paulb@1 | 104 | </tr> |
paulb@15 | 105 | <tr template:element="keywords,keyword"> |
paulb@1 | 106 | <th>Keyword</th> |
paulb@17 | 107 | <td><span template:attribute="name"><input name="{template:field-name()}" value="{$this-value}" type="text" size="20" /></span> |
paulb@7 | 108 | <input type="submit" value="Remove!" |
paulb@13 | 109 | name="remove_keyword={template:this-position()}" /></td> |
paulb@1 | 110 | </tr> |
paulb@1 | 111 | <tr> |
paulb@1 | 112 | <th></th> |
paulb@7 | 113 | <td> |
paulb@7 | 114 | <input type="submit" value="Add keyword!" |
paulb@13 | 115 | name="add_keyword={template:this-position()}" /></td> |
paulb@1 | 116 | </tr> |
paulb@1 | 117 | <tr> |
paulb@1 | 118 | <th colspan="2" class="heading">Authors</th> |
paulb@1 | 119 | </tr> |
paulb@1 | 120 | </tbody> |
paulb@1 | 121 | <tbody template:element="authors,author"> |
paulb@1 | 122 | <tr> |
paulb@1 | 123 | <th>Author name</th> |
paulb@17 | 124 | <td><span template:attribute="name"><input name="{template:field-name()}" value="{$this-value}" type="text" size="20" /></span> |
paulb@7 | 125 | <input type="submit" value="Remove!" |
paulb@13 | 126 | name="remove_author={template:this-position()}" /></td> |
paulb@1 | 127 | </tr> |
paulb@1 | 128 | <tr> |
paulb@1 | 129 | <th>Author contact</th> |
paulb@17 | 130 | <td template:attribute="contact"><input name="{template:field-name()}" value="{$this-value}" type="text" size="20" /></td> |
paulb@1 | 131 | </tr> |
paulb@1 | 132 | <tr> |
paulb@1 | 133 | <th>Author e-mail</th> |
paulb@17 | 134 | <td template:attribute="e-mail"><input name="{template:field-name()}" value="{$this-value}" type="text" size="20" /></td> |
paulb@1 | 135 | </tr> |
paulb@1 | 136 | </tbody> |
paulb@1 | 137 | <tbody> |
paulb@1 | 138 | <tr> |
paulb@1 | 139 | <th></th> |
paulb@7 | 140 | <td> |
paulb@7 | 141 | <input type="submit" value="Add author!" |
paulb@13 | 142 | name="add_author={template:this-position()}" /></td> |
paulb@1 | 143 | </tr> |
paulb@1 | 144 | <tr> |
paulb@1 | 145 | <th colspan="2" class="heading">Dependencies</th> |
paulb@1 | 146 | </tr> |
paulb@1 | 147 | </tbody> |
paulb@1 | 148 | <tbody template:element="dependencies,dependency"> |
paulb@1 | 149 | <tr> |
paulb@1 | 150 | <th>Package name</th> |
paulb@17 | 151 | <td><span template:attribute="name"><input name="{template:field-name()}" value="{$this-value}" type="text" size="20" /></span> |
paulb@7 | 152 | <input type="submit" value="Remove!" |
paulb@13 | 153 | name="remove_dependency={template:this-position()}" /></td> |
paulb@1 | 154 | </tr> |
paulb@1 | 155 | <tr> |
paulb@1 | 156 | <th>Package version</th> |
paulb@17 | 157 | <td template:attribute="version"><input name="{template:field-name()}" value="{$this-value}" type="text" size="10" /></td> |
paulb@1 | 158 | </tr> |
paulb@1 | 159 | </tbody> |
paulb@1 | 160 | <tbody> |
paulb@1 | 161 | <tr> |
paulb@1 | 162 | <th></th> |
paulb@1 | 163 | <td> |
paulb@7 | 164 | <input type="submit" value="Add dependency!" |
paulb@13 | 165 | name="add_dependency={template:this-position()}" /></td> |
paulb@1 | 166 | </tr> |
paulb@1 | 167 | <tr> |
paulb@1 | 168 | <th colspan="2" class="heading">Actions</th> |
paulb@1 | 169 | </tr> |
paulb@1 | 170 | <tr> |
paulb@1 | 171 | <th></th> |
paulb@1 | 172 | <td> |
paulb@13 | 173 | <input type="submit" value="Update!" name="update" /> |
paulb@26 | 174 | <input type="submit" value="Export!" name="export" /> |
paulb@13 | 175 | <input type="submit" value="Finish!" name="finish" /></td> |
paulb@1 | 176 | </tr> |
paulb@1 | 177 | </tbody> |
paulb@1 | 178 | </table> |
paulb@1 | 179 | </form> |
paulb@1 | 180 | </body> |
paulb@1 | 181 | </html> |