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="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-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">Home page</td> 51 </tr> 52 <tr> 53 <th>Licence</th> 54 <td template:attribute="licence" template:value="$this-value">Licence</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="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="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="remove_platform={template:this-position()}" /></td> 90 </tr> 91 <tr> 92 <th></th> 93 <td> 94 <input type="submit" value="Add platform!" 95 name="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="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="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="remove_keyword={template:this-position()}" /></td> 128 </tr> 129 <tr> 130 <th></th> 131 <td> 132 <input type="submit" value="Add keyword!" 133 name="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"><input name="{template:this-position()}" value="{$this-value}" type="text" size="20" /></span> 145 <input type="submit" value="Remove!" 146 name="remove_author={template:this-position()}" /></td> 147 </tr> 148 <tr> 149 <th>Author contact</th> 150 <td template:attribute="contact"><input name="{template:this-position()}" value="{$this-value}" type="text" size="20" /></td> 151 </tr> 152 <tr> 153 <th>Author e-mail</th> 154 <td template:attribute="e-mail"><input name="{template:this-position()}" value="{$this-value}" type="text" size="20" /></td> 155 </tr> 156 </tbody> 157 <tbody> 158 <tr> 159 <th></th> 160 <td> 161 <input type="submit" value="Add author!" 162 name="add_author={template:this-position()}" /></td> 163 </tr> 164 </tbody> 165 <tbody> 166 <tr> 167 <th colspan="2" class="heading">Dependencies</th> 168 </tr> 169 </tbody> 170 <tbody template:element="dependencies,dependency"> 171 <tr> 172 <th>Package name</th> 173 <td><span template:attribute="name" template:value="$this-value">XMLTools2</span> 174 <input type="submit" value="Remove!" 175 name="remove_dependency={template:this-position()}" /></td> 176 </tr> 177 <tr> 178 <th>Package version</th> 179 <td template:attribute="version" template:value="$this-value">0.2</td> 180 </tr> 181 </tbody> 182 <tbody> 183 <tr> 184 <th></th> 185 <td> 186 <input type="submit" value="Add dependency!" 187 name="add_dependency={template:this-position()}" /></td> 188 </tr> 189 </tbody> 190 <tbody> 191 <tr> 192 <th colspan="2" class="heading">Actions</th> 193 </tr> 194 <tr> 195 <th></th> 196 <td> 197 <input type="submit" value="Update!" name="update" /> 198 <input type="submit" value="Finish!" name="finish" /></td> 199 </tr> 200 </tbody> 201 </table> 202 </form> 203 </body> 204 </html>