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> 16 <h1>PEP 241 Package Registry</h1> 17 18 <form method="POST"> 19 20 <table cellspacing="0" cellpadding="5" template:element="package"> 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="{template:this-element()}"> 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 '{template:other-elements(../..)}', '{template:other-attributes('name', ../platform)}', 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 requestUpdate( 88 'platforms', 89 '{template:other-attributes('name', .)},{template:other-attributes('name', platforms/platform)},{template:selector-name('add_platform', .)}', 90 '{template:other-elements(.)}', '{template:other-attributes('name', platforms/platform)}', 91 '/package') 92 "/></td> 93 </tr> 94 </tbody> 95 <tbody> 96 <tr> 97 <th colspan="2" class="heading">Supported platforms</th> 98 </tr> 99 <tr template:element="supported-platforms,supported-platform"> 100 <th>Platform name</th> 101 <td><input template:attribute-field="name" name="..." value="..." type="text" size="20" /> 102 <input type="submit" value="Remove!" name="..." template:selector-field="remove_supported_platform" 103 /></td> 104 </tr> 105 <tr> 106 <th></th> 107 <td> 108 <input type="submit" value="Add platform!" name="..." template:selector-field="add_supported_platform,supported-platform" 109 /></td> 110 </tr> 111 <tr> 112 <th colspan="2" class="heading">Keywords</th> 113 </tr> 114 <tr template:element="keywords,keyword"> 115 <th>Keyword</th> 116 <td><input template:attribute-field="name" name="..." value="..." type="text" size="20" /> 117 <input type="submit" value="Remove!" template:selector-field="remove_keyword" name="..." /></td> 118 </tr> 119 <tr> 120 <th></th> 121 <td> 122 <input type="submit" value="Add keyword!" name="..." template:selector-field="add_keyword,keyword" /></td> 123 </tr> 124 <tr> 125 <th colspan="2" class="heading">Authors</th> 126 </tr> 127 </tbody> 128 <tbody template:element="authors,author"> 129 <tr> 130 <th>Author name</th> 131 <td><input template:attribute-field="name" name="..." value="..." type="text" size="20" /> 132 <input type="submit" value="Remove!" name="..." template:selector-field="remove_author" /></td> 133 </tr> 134 <tr> 135 <th>Author contact</th> 136 <td><input template:attribute-field="contact" name="..." value="..." type="text" size="20" /></td> 137 </tr> 138 <tr> 139 <th>Author e-mail</th> 140 <td><input template:attribute-field="e-mail" name="..." value="..." type="text" size="20" /></td> 141 </tr> 142 </tbody> 143 <tbody> 144 <tr> 145 <th></th> 146 <td> 147 <input type="submit" value="Add author!" name="..." template:selector-field="add_author,author" /></td> 148 </tr> 149 <tr> 150 <th colspan="2" class="heading">Dependencies</th> 151 </tr> 152 </tbody> 153 <tbody template:element="dependencies,dependency"> 154 <tr> 155 <th>Package name</th> 156 <td><input template:attribute-field="name" name="..." value="..." type="text" size="20" /> 157 <input type="submit" value="Remove!" name="..." template:selector-field="remove_dependency" /></td> 158 </tr> 159 <tr> 160 <th>Package version</th> 161 <td><input template:attribute-field="version" name="..." value="..." type="text" size="10" /></td> 162 </tr> 163 </tbody> 164 <tbody> 165 <tr> 166 <th></th> 167 <td> 168 <input type="submit" value="Add dependency!" name="..." template:selector-field="add_dependency,dependency" /></td> 169 </tr> 170 <tr> 171 <th colspan="2" class="heading">Actions</th> 172 </tr> 173 <tr> 174 <th></th> 175 <td> 176 <input type="submit" value="Update!" name="update" /> 177 <input type="submit" value="Export!" name="export" /> 178 <input type="submit" value="Finish!" name="finish" /></td> 179 </tr> 180 </tbody> 181 </table> 182 </form> 183 </body> 184 </html>