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.css" 10 rel="stylesheet" type="text/css" /> 11 </head> 12 13 <body> 14 <h1>PEP 241 Package Registry</h1> 15 16 <form method="get"> 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-position()}" 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-position()}" value="{$this-value}" /></td> 32 </tr> 33 <tr> 34 <th>Summary</th> 35 <td template:attribute="summary"><span template:value="$this-value" template:effect="replace">An 36 XML-based Web forms processing package.</span></td> 37 </tr> 38 <tr> 39 <th>Description</th> 40 <td template:attribute="description" template:value="$this-value">Insert 41 longer description here!</td> 42 </tr> 43 <tr template:element="error"> 44 <th></th> 45 <td template:attribute="size" class="error">Only {size} characters 46 can be used in a description.</td> 47 </tr> 48 <tr> 49 <th>Home page</th> 50 <td template:attribute="home-page" template:value="$this-value">http://www.boddie.org.uk/python/XMLForms2/index.html</td> 51 </tr> 52 <tr> 53 <th>Licence</th> 54 <td template:attribute="licence" template:value="$this-value">LGPL</td> 55 </tr> 56 </tbody> 57 <tbody template:element="discriminators"> 58 <tr> 59 <th colspan="2" class="heading">Discriminators</th> 60 </tr> 61 <tr template:element="discriminator"> 62 <th>Discriminator</th> 63 <td template:element="category"> 64 <select name="{template:this-position()}"> 65 <option template:element="category-enum" template:expr-attr="selected" template:expr="@value = ../@value" template:value="@value" 66 value="{@value}"></option> 67 </select> 68 69 <input type="submit" value="Remove!" 70 name="_action_remove_discriminator={template:this-position()}" 71 /></td> 72 </tr> 73 <tr> 74 <th></th> 75 <td> 76 <input type="submit" value="Add discriminator!" 77 name="_action_add_discriminator={template:this-position()}" /></td> 78 </tr> 79 </tbody> 80 <tbody template:element="platforms"> 81 <tr> 82 <th colspan="2" class="heading">Platforms</th> 83 </tr> 84 <tr template:element="platform"> 85 <th>Platform name</th> 86 <td><span template:attribute="name" template:value=".">Linux (with 87 more listed below)</span> 88 <input type="submit" value="Remove!" 89 name="_action_remove_platform={template:this-position()}" /></td> 90 </tr> 91 <tr> 92 <th></th> 93 <td> 94 <input type="submit" value="Add platform!" 95 name="_action_add_platform={template:this-position()}" /></td> 96 </tr> 97 </tbody> 98 <tbody template:element="supported-platforms"> 99 <tr> 100 <th colspan="2" class="heading">Supported platforms</th> 101 </tr> 102 <tr template:element="supported-platform"> 103 <th>Platform name</th> 104 <td><span template:attribute="name" template:value="$this-value">Linux 105 (with more listed below)</span> 106 <input type="submit" value="Remove!" 107 name="_action_remove_supported_platform={template:this-position()}" 108 /></td> 109 </tr> 110 <tr> 111 <th></th> 112 <td> 113 <input type="submit" value="Add platform!" 114 name="_action_add_supported_platform={template:this-position()}" 115 /></td> 116 </tr> 117 </tbody> 118 <tbody template:element="keywords"> 119 <tr> 120 <th colspan="2" class="heading">Keywords</th> 121 </tr> 122 <tr template:element="keyword"> 123 <th>Keyword</th> 124 <td><span template:attribute="name" template:value="$this-value">Web 125 programming</span> 126 <input type="submit" value="Remove!" 127 name="_action_remove_keyword={template:this-position()}" /></td> 128 </tr> 129 <tr> 130 <th></th> 131 <td> 132 <input type="submit" value="Add keyword!" 133 name="_action_add_keyword={template:this-position()}" /></td> 134 </tr> 135 </tbody> 136 <tbody> 137 <tr> 138 <th colspan="2" class="heading">Authors</th> 139 </tr> 140 </tbody> 141 <tbody template:element="authors,author"> 142 <tr> 143 <th>Author name</th> 144 <td><span template:attribute="name" template:value="$this-value">Paul 145 Boddie</span> 146 <input type="submit" value="Remove!" 147 name="_action_remove_author={template:this-position()}" /></td> 148 </tr> 149 <tr> 150 <th>Author contact</th> 151 <td template:attribute="contact" template:value="$this-value">Oslo, 152 Norway</td> 153 </tr> 154 <tr> 155 <th>Author e-mail</th> 156 <td template:attribute="e-mail" template:value="$this-value">paul@boddie.org.uk</td> 157 </tr> 158 </tbody> 159 <tbody> 160 <tr> 161 <th></th> 162 <td> 163 <input type="submit" value="Add author!" 164 name="_action_add_author={template:this-position()}" /></td> 165 </tr> 166 </tbody> 167 <tbody> 168 <tr> 169 <th colspan="2" class="heading">Dependencies</th> 170 </tr> 171 </tbody> 172 <tbody template:element="dependencies,dependency"> 173 <tr> 174 <th>Package name</th> 175 <td><span template:attribute="name" template:value="$this-value">XMLTools2</span> 176 <input type="submit" value="Remove!" 177 name="_action_remove_dependency={template:this-position()}" /></td> 178 </tr> 179 <tr> 180 <th>Package version</th> 181 <td template:attribute="version" template:value="$this-value">0.2</td> 182 </tr> 183 </tbody> 184 <tbody> 185 <tr> 186 <th></th> 187 <td> 188 <input type="submit" value="Add dependency!" 189 name="_action_add_dependency={template:this-position()}" /></td> 190 </tr> 191 </tbody> 192 <tbody> 193 <tr> 194 <th colspan="2" class="heading">Actions</th> 195 </tr> 196 <tr> 197 <th></th> 198 <td> 199 <input type="submit" value="Update!" name="_action_update" /> 200 <input type="submit" value="Finish!" name="_action_finish" /></td> 201 </tr> 202 </tbody> 203 </table> 204 </form> 205 </body> 206 </html>