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