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 <span template:value="$this-value" template:effect="replace">Insert 41 longer description here!</span></textarea></td> 42 </tr> 43 <tr template:element="error" template:init="no"> 44 <th></th> 45 <td template:attribute="description-size" class="error">Only 100 characters 46 can be used in a description.</td> 47 </tr> 48 <tr> 49 <th>Home page</th> 50 <td><input type="text" size="80" template:attribute-field="home-page" name="..." value="..." /></td> 51 </tr> 52 <tr> 53 <th>Licence</th> 54 <td><input type="text" size="20" template:attribute-field="licence" name="..." value="..." /></td> 55 </tr> 56 <tr> 57 <th colspan="2" class="heading">Categories</th> 58 </tr> 59 <tr template:element="categories"> 60 <th>Categories</th> 61 <td> 62 <select template:multiple-choice-list-field="category,category-enum,value" multiple="multiple"> 63 <option template:multiple-choice-list-value="category-enum,value,selected" value="..."></option> 64 </select> 65 </td> 66 </tr> 67 <tr> 68 <th colspan="2" class="heading">Platforms</th> 69 </tr> 70 </tbody> 71 <tbody template:id="platforms-node" id="platforms-target"> 72 <tr template:element="platforms,platform"> 73 <th>Platform name</th> 74 <td><input template:attribute-field="name" name="..." value="..." type="text" size="20" /> 75 <input type="submit" value="Remove!" name="..." template:selector-field="remove_platform" onclick=" 76 return requestUpdate( 77 'platforms', 78 '{template:other-attributes('name', ../platform)},{template:selector-name('remove_platform', .)}', 79 'platforms-target', 80 '{template:other-attributes('name', ../platform)}', 81 '/package') 82 "/></td> 83 </tr> 84 <tr> 85 <th></th> 86 <td> 87 <input type="submit" value="Add platform!" name="..." template:selector-field="add_platform,platform" onclick=" 88 return requestUpdate( 89 'platforms', 90 '{template:other-attributes('name', .)},{template:other-attributes('name', platforms/platform)},{template:selector-name('add_platform', .)}', 91 'platforms-target', 92 '{template:other-attributes('name', platforms/platform)}', 93 '/package') 94 "/></td> 95 </tr> 96 </tbody> 97 <tbody template:id="supported-platforms-node" id="supported-platforms-target"> 98 <tr> 99 <th colspan="2" class="heading">Supported platforms</th> 100 </tr> 101 <tr template:element="supported-platforms,supported-platform"> 102 <th>Platform name</th> 103 <td><input template:attribute-field="name" name="..." value="..." type="text" size="20" /> 104 <input type="submit" value="Remove!" name="..." template:selector-field="remove_supported_platform" onclick=" 105 return requestUpdate( 106 'supported-platforms', 107 '{template:other-attributes('name', ../supported-platform)},{template:selector-name('remove_supported_platform', .)}', 108 'supported-platforms-target', 109 '{template:other-attributes('name', ../supported-platform)}', 110 '/package') 111 "/></td> 112 </tr> 113 <tr> 114 <th></th> 115 <td> 116 <input type="submit" value="Add platform!" name="..." template:selector-field="add_supported_platform,supported-platform" onclick=" 117 return requestUpdate( 118 'supported-platforms', 119 '{template:other-attributes('name', .)},{template:other-attributes('name', supported-platforms/supported-platform)},{template:selector-name('add_supported_platform', .)}', 120 'supported-platforms-target', 121 '{template:other-attributes('name', supported-platforms/supported-platform)}', 122 '/package') 123 "/></td> 124 </tr> 125 </tbody> 126 <tbody template:id="keywords-node" id="keywords-target"> 127 <tr> 128 <th colspan="2" class="heading">Keywords</th> 129 </tr> 130 <tr template:element="keywords,keyword"> 131 <th>Keyword</th> 132 <td><input template:attribute-field="name" name="..." value="..." type="text" size="20" /> 133 <input type="submit" value="Remove!" template:selector-field="remove_keyword" name="..." onclick=" 134 return requestUpdate( 135 'keywords', 136 '{template:other-attributes('name', ../keyword)},{template:selector-name('remove_keyword', .)}', 137 'keywords-target', 138 '{template:other-attributes('name', ../keyword)}', 139 '/package') 140 "/></td> 141 </tr> 142 <tr> 143 <th></th> 144 <td> 145 <input type="submit" value="Add keyword!" name="..." template:selector-field="add_keyword,keyword" onclick=" 146 return requestUpdate( 147 'keywords', 148 '{template:other-attributes('name', .)},{template:other-attributes('name', keywords/keyword)},{template:selector-name('add_keyword', .)}', 149 'keywords-target', 150 '{template:other-attributes('name', keywords/keyword)}', 151 '/package') 152 "/></td> 153 </tr> 154 </tbody> 155 <tbody cellspacing="0" cellpadding="5" template:id="authors-node" id="authors-target"> 156 <tr> 157 <th colspan="2" class="heading">Authors</th> 158 </tr> 159 <div template:effect="replace" template:element="authors,author"> 160 <tr> 161 <th>Author name</th> 162 <td><input template:attribute-field="name" name="..." value="..." type="text" size="20" /> 163 <input type="submit" value="Remove!" name="..." template:selector-field="remove_author" onclick=" 164 return requestUpdate( 165 'authors', 166 '{template:other-attributes('name', ../author)},{template:other-attributes('contact', ../author)},{template:other-attributes('e-mail', ../author)},{template:selector-name('remove_author', .)}', 167 'authors-target', 168 '{template:other-attributes('name', ../author)},{template:other-attributes('contact', ../author)},{template:other-attributes('e-mail', ../author)},', 169 '/package') 170 "/></td> 171 </tr> 172 <tr> 173 <th>Author contact</th> 174 <td><input template:attribute-field="contact" name="..." value="..." type="text" size="20" /></td> 175 </tr> 176 <tr> 177 <th>Author e-mail</th> 178 <td><input template:attribute-field="e-mail" name="..." value="..." type="text" size="20" /></td> 179 </tr> 180 </div> 181 <tr> 182 <th></th> 183 <td> 184 <input type="submit" value="Add author!" name="..." template:selector-field="add_author,author" onclick=" 185 return requestUpdate( 186 'authors', 187 '{template:other-attributes('name', .)},{template:other-attributes('name', authors/author)},{template:other-attributes('contact', authors/author)},{template:other-attributes('e-mail', authors/author)},{template:selector-name('add_author', .)}', 188 'authors-target', 189 '{template:other-attributes('name', authors/author)},{template:other-attributes('contact', authors/author)},{template:other-attributes('e-mail', authors/author)}', 190 '/package') 191 "/></td> 192 </tr> 193 </tbody> 194 <tbody cellspacing="0" cellpadding="5" template:id="dependencies-node" id="dependencies-target"> 195 <tr> 196 <th colspan="2" class="heading">Dependencies</th> 197 </tr> 198 <div template:effect="replace" template:element="dependencies,dependency"> 199 <tr> 200 <th>Package name</th> 201 <td><input template:attribute-field="name" name="..." value="..." type="text" size="20" /> 202 <input type="submit" value="Remove!" name="..." template:selector-field="remove_dependency" onclick=" 203 return requestUpdate( 204 'dependencies', 205 '{template:other-attributes('name', ../dependency)},{template:other-attributes('version', ../dependency)},{template:selector-name('remove_dependency', .)}', 206 'dependencies-target', 207 '{template:other-attributes('name', ../dependency)},{template:other-attributes('version', ../dependency)}', 208 '/package') 209 "/></td> 210 </tr> 211 <tr> 212 <th>Package version</th> 213 <td><input template:attribute-field="version" name="..." value="..." type="text" size="10" /></td> 214 </tr> 215 </div> 216 <tr> 217 <th></th> 218 <td> 219 <input type="submit" value="Add dependency!" name="..." template:selector-field="add_dependency,dependency" onclick=" 220 return requestUpdate( 221 'dependencies', 222 '{template:other-attributes('name', .)},{template:other-attributes('name', dependencies/dependency)},{template:other-attributes('version', dependencies/dependency)},{template:selector-name('add_dependency', .)}', 223 'dependencies-target', 224 '{template:other-attributes('name', dependencies/dependency)},{template:other-attributes('version', dependencies/dependency)}', 225 '/package') 226 "/></td> 227 </tr> 228 </tbody> 229 <tbody> 230 <tr> 231 <th colspan="2" class="heading">Actions</th> 232 </tr> 233 <tr> 234 <th></th> 235 <td> 236 <input type="submit" value="Update!" name="update" /> 237 <input type="submit" value="Export!" name="export" /> 238 <input type="submit" value="Finish!" name="finish" /></td> 239 </tr> 240 </tbody> 241 </table> 242 </form> 243 </body> 244 </html>