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@89 | 9 | <link xmlns:xlink="http://www.w3.org/1999/xlink" href="styles/styles.css" |
paulb@1 | 10 | rel="stylesheet" type="text/css" /> |
paulb@308 | 11 | <script type="text/javascript" src="scripts/sarissa.js"> </script> |
paulb@308 | 12 | <script type="text/javascript" src="scripts/XSLForms.js"> </script> |
paulb@1 | 13 | </head> |
paulb@1 | 14 | |
paulb@313 | 15 | <body template:element="package"> |
paulb@1 | 16 | <h1>PEP 241 Package Registry</h1> |
paulb@1 | 17 | |
paulb@13 | 18 | <form method="POST"> |
paulb@1 | 19 | |
paulb@313 | 20 | <table cellspacing="0" cellpadding="5"> |
paulb@1 | 21 | <tbody> |
paulb@1 | 22 | <tr> |
paulb@1 | 23 | <th class="heading" colspan="2">Summary</th> |
paulb@1 | 24 | </tr> |
paulb@1 | 25 | <tr> |
paulb@1 | 26 | <th>Package name</th> |
paulb@268 | 27 | <td><input type="text" size="20" template:attribute-field="name" name="..." value="..." /></td> |
paulb@1 | 28 | </tr> |
paulb@1 | 29 | <tr> |
paulb@1 | 30 | <th>Package version</th> |
paulb@268 | 31 | <td><input type="text" size="10" template:attribute-field="version" name="..." value="..." /></td> |
paulb@1 | 32 | </tr> |
paulb@1 | 33 | <tr> |
paulb@1 | 34 | <th>Summary</th> |
paulb@268 | 35 | <td><input type="text" size="20" template:attribute-field="summary" name="..." value="..." /></td> |
paulb@1 | 36 | </tr> |
paulb@1 | 37 | <tr> |
paulb@1 | 38 | <th>Description</th> |
paulb@268 | 39 | <td><textarea cols="80" rows="5" template:attribute-area="description" name="..."> |
paulb@403 | 40 | </textarea></td> |
paulb@1 | 41 | </tr> |
paulb@304 | 42 | <tr template:element="error" template:init="no"> |
paulb@1 | 43 | <th></th> |
paulb@20 | 44 | <td template:attribute="description-size" class="error">Only 100 characters |
paulb@7 | 45 | can be used in a description.</td> |
paulb@1 | 46 | </tr> |
paulb@1 | 47 | <tr> |
paulb@1 | 48 | <th>Home page</th> |
paulb@268 | 49 | <td><input type="text" size="80" template:attribute-field="home-page" name="..." value="..." /></td> |
paulb@1 | 50 | </tr> |
paulb@1 | 51 | <tr> |
paulb@1 | 52 | <th>Licence</th> |
paulb@268 | 53 | <td><input type="text" size="20" template:attribute-field="licence" name="..." value="..." /></td> |
paulb@1 | 54 | </tr> |
paulb@1 | 55 | <tr> |
paulb@25 | 56 | <th colspan="2" class="heading">Categories</th> |
paulb@1 | 57 | </tr> |
paulb@22 | 58 | <tr template:element="categories"> |
paulb@22 | 59 | <th>Categories</th> |
paulb@19 | 60 | <td> |
paulb@268 | 61 | <select template:multiple-choice-list-field="category,category-enum,value" multiple="multiple"> |
paulb@268 | 62 | <option template:multiple-choice-list-value="category-enum,value,selected" value="..."></option> |
paulb@1 | 63 | </select> |
paulb@22 | 64 | </td> |
paulb@1 | 65 | </tr> |
paulb@1 | 66 | <tr> |
paulb@1 | 67 | <th colspan="2" class="heading">Platforms</th> |
paulb@1 | 68 | </tr> |
paulb@308 | 69 | </tbody> |
paulb@321 | 70 | <tbody template:id="platforms" id="platforms"> |
paulb@15 | 71 | <tr template:element="platforms,platform"> |
paulb@1 | 72 | <th>Platform name</th> |
paulb@268 | 73 | <td><input template:attribute-field="name" name="..." value="..." type="text" size="20" /> |
paulb@308 | 74 | <input type="submit" value="Remove!" name="..." template:selector-field="remove_platform" onclick=" |
paulb@321 | 75 | return requestUpdateArea( |
paulb@308 | 76 | 'platforms', |
paulb@317 | 77 | '{template:selector-name('remove_platform', .)}', |
paulb@321 | 78 | 'platforms', |
paulb@321 | 79 | '{template:other-elements(..)}', |
paulb@308 | 80 | '/package') |
paulb@308 | 81 | "/></td> |
paulb@1 | 82 | </tr> |
paulb@1 | 83 | <tr> |
paulb@1 | 84 | <th></th> |
paulb@1 | 85 | <td> |
paulb@308 | 86 | <input type="submit" value="Add platform!" name="..." template:selector-field="add_platform,platform" onclick=" |
paulb@321 | 87 | return requestUpdateArea( |
paulb@308 | 88 | 'platforms', |
paulb@317 | 89 | '{template:other-attributes('name', .)},{template:selector-name('add_platform', .)}', |
paulb@321 | 90 | 'platforms', |
paulb@321 | 91 | '{template:other-elements(platforms)}', |
paulb@308 | 92 | '/package') |
paulb@308 | 93 | "/></td> |
paulb@1 | 94 | </tr> |
paulb@308 | 95 | </tbody> |
paulb@321 | 96 | <tbody template:id="supported-platforms" id="supported-platforms"> |
paulb@1 | 97 | <tr> |
paulb@1 | 98 | <th colspan="2" class="heading">Supported platforms</th> |
paulb@1 | 99 | </tr> |
paulb@15 | 100 | <tr template:element="supported-platforms,supported-platform"> |
paulb@1 | 101 | <th>Platform name</th> |
paulb@268 | 102 | <td><input template:attribute-field="name" name="..." value="..." type="text" size="20" /> |
paulb@310 | 103 | <input type="submit" value="Remove!" name="..." template:selector-field="remove_supported_platform" onclick=" |
paulb@321 | 104 | return requestUpdateArea( |
paulb@310 | 105 | 'supported-platforms', |
paulb@317 | 106 | '{template:selector-name('remove_supported_platform', .)}', |
paulb@321 | 107 | 'supported-platforms', |
paulb@321 | 108 | '{template:other-elements(..)}', |
paulb@310 | 109 | '/package') |
paulb@310 | 110 | "/></td> |
paulb@1 | 111 | </tr> |
paulb@1 | 112 | <tr> |
paulb@1 | 113 | <th></th> |
paulb@1 | 114 | <td> |
paulb@310 | 115 | <input type="submit" value="Add platform!" name="..." template:selector-field="add_supported_platform,supported-platform" onclick=" |
paulb@321 | 116 | return requestUpdateArea( |
paulb@310 | 117 | 'supported-platforms', |
paulb@317 | 118 | '{template:other-attributes('name', .)},{template:selector-name('add_supported_platform', .)}', |
paulb@321 | 119 | 'supported-platforms', |
paulb@321 | 120 | '{template:other-elements(supported-platforms)}', |
paulb@310 | 121 | '/package') |
paulb@310 | 122 | "/></td> |
paulb@1 | 123 | </tr> |
paulb@315 | 124 | </tbody> |
paulb@321 | 125 | <tbody template:id="keywords" id="keywords"> |
paulb@1 | 126 | <tr> |
paulb@1 | 127 | <th colspan="2" class="heading">Keywords</th> |
paulb@1 | 128 | </tr> |
paulb@15 | 129 | <tr template:element="keywords,keyword"> |
paulb@1 | 130 | <th>Keyword</th> |
paulb@268 | 131 | <td><input template:attribute-field="name" name="..." value="..." type="text" size="20" /> |
paulb@310 | 132 | <input type="submit" value="Remove!" template:selector-field="remove_keyword" name="..." onclick=" |
paulb@321 | 133 | return requestUpdateArea( |
paulb@310 | 134 | 'keywords', |
paulb@317 | 135 | '{template:selector-name('remove_keyword', .)}', |
paulb@321 | 136 | 'keywords', |
paulb@321 | 137 | '{template:other-elements(..)}', |
paulb@310 | 138 | '/package') |
paulb@310 | 139 | "/></td> |
paulb@1 | 140 | </tr> |
paulb@1 | 141 | <tr> |
paulb@1 | 142 | <th></th> |
paulb@7 | 143 | <td> |
paulb@310 | 144 | <input type="submit" value="Add keyword!" name="..." template:selector-field="add_keyword,keyword" onclick=" |
paulb@321 | 145 | return requestUpdateArea( |
paulb@310 | 146 | 'keywords', |
paulb@317 | 147 | '{template:other-attributes('name', .)},{template:selector-name('add_keyword', .)}', |
paulb@321 | 148 | 'keywords', |
paulb@321 | 149 | '{template:other-elements(keywords)}', |
paulb@310 | 150 | '/package') |
paulb@310 | 151 | "/></td> |
paulb@1 | 152 | </tr> |
paulb@315 | 153 | </tbody> |
paulb@321 | 154 | <tbody cellspacing="0" cellpadding="5" template:id="authors" id="authors"> |
paulb@1 | 155 | <tr> |
paulb@1 | 156 | <th colspan="2" class="heading">Authors</th> |
paulb@1 | 157 | </tr> |
paulb@313 | 158 | <div template:effect="replace" template:element="authors,author"> |
paulb@313 | 159 | <tr> |
paulb@313 | 160 | <th>Author name</th> |
paulb@313 | 161 | <td><input template:attribute-field="name" name="..." value="..." type="text" size="20" /> |
paulb@313 | 162 | <input type="submit" value="Remove!" name="..." template:selector-field="remove_author" onclick=" |
paulb@321 | 163 | return requestUpdateArea( |
paulb@313 | 164 | 'authors', |
paulb@317 | 165 | '{template:selector-name('remove_author', .)}', |
paulb@321 | 166 | 'authors', |
paulb@321 | 167 | '{template:other-elements(..)},', |
paulb@313 | 168 | '/package') |
paulb@313 | 169 | "/></td> |
paulb@313 | 170 | </tr> |
paulb@313 | 171 | <tr> |
paulb@313 | 172 | <th>Author contact</th> |
paulb@313 | 173 | <td><input template:attribute-field="contact" name="..." value="..." type="text" size="20" /></td> |
paulb@313 | 174 | </tr> |
paulb@313 | 175 | <tr> |
paulb@313 | 176 | <th>Author e-mail</th> |
paulb@313 | 177 | <td><input template:attribute-field="e-mail" name="..." value="..." type="text" size="20" /></td> |
paulb@313 | 178 | </tr> |
paulb@313 | 179 | </div> |
paulb@1 | 180 | <tr> |
paulb@1 | 181 | <th></th> |
paulb@7 | 182 | <td> |
paulb@313 | 183 | <input type="submit" value="Add author!" name="..." template:selector-field="add_author,author" onclick=" |
paulb@321 | 184 | return requestUpdateArea( |
paulb@313 | 185 | 'authors', |
paulb@317 | 186 | '{template:other-attributes('name', .)},{template:selector-name('add_author', .)}', |
paulb@321 | 187 | 'authors', |
paulb@321 | 188 | '{template:other-elements(authors)}', |
paulb@313 | 189 | '/package') |
paulb@313 | 190 | "/></td> |
paulb@1 | 191 | </tr> |
paulb@315 | 192 | </tbody> |
paulb@321 | 193 | <tbody cellspacing="0" cellpadding="5" template:id="dependencies" id="dependencies"> |
paulb@1 | 194 | <tr> |
paulb@1 | 195 | <th colspan="2" class="heading">Dependencies</th> |
paulb@1 | 196 | </tr> |
paulb@313 | 197 | <div template:effect="replace" template:element="dependencies,dependency"> |
paulb@313 | 198 | <tr> |
paulb@313 | 199 | <th>Package name</th> |
paulb@313 | 200 | <td><input template:attribute-field="name" name="..." value="..." type="text" size="20" /> |
paulb@315 | 201 | <input type="submit" value="Remove!" name="..." template:selector-field="remove_dependency" onclick=" |
paulb@321 | 202 | return requestUpdateArea( |
paulb@315 | 203 | 'dependencies', |
paulb@317 | 204 | '{template:selector-name('remove_dependency', .)}', |
paulb@321 | 205 | 'dependencies', |
paulb@321 | 206 | '{template:other-elements(..)}', |
paulb@315 | 207 | '/package') |
paulb@315 | 208 | "/></td> |
paulb@313 | 209 | </tr> |
paulb@313 | 210 | <tr> |
paulb@313 | 211 | <th>Package version</th> |
paulb@313 | 212 | <td><input template:attribute-field="version" name="..." value="..." type="text" size="10" /></td> |
paulb@313 | 213 | </tr> |
paulb@313 | 214 | </div> |
paulb@1 | 215 | <tr> |
paulb@1 | 216 | <th></th> |
paulb@1 | 217 | <td> |
paulb@315 | 218 | <input type="submit" value="Add dependency!" name="..." template:selector-field="add_dependency,dependency" onclick=" |
paulb@321 | 219 | return requestUpdateArea( |
paulb@315 | 220 | 'dependencies', |
paulb@317 | 221 | '{template:other-attributes('name', .)},{template:selector-name('add_dependency', .)}', |
paulb@321 | 222 | 'dependencies', |
paulb@321 | 223 | '{template:other-elements(dependencies)}', |
paulb@315 | 224 | '/package') |
paulb@315 | 225 | "/></td> |
paulb@1 | 226 | </tr> |
paulb@315 | 227 | </tbody> |
paulb@315 | 228 | <tbody> |
paulb@1 | 229 | <tr> |
paulb@1 | 230 | <th colspan="2" class="heading">Actions</th> |
paulb@1 | 231 | </tr> |
paulb@1 | 232 | <tr> |
paulb@1 | 233 | <th></th> |
paulb@1 | 234 | <td> |
paulb@13 | 235 | <input type="submit" value="Update!" name="update" /> |
paulb@26 | 236 | <input type="submit" value="Export!" name="export" /> |
paulb@13 | 237 | <input type="submit" value="Finish!" name="finish" /></td> |
paulb@1 | 238 | </tr> |
paulb@1 | 239 | </tbody> |
paulb@1 | 240 | </table> |
paulb@1 | 241 | </form> |
paulb@1 | 242 | </body> |
paulb@1 | 243 | </html> |