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