paulb@1 | 1 | <?xml version="1.0" encoding="iso-8859-1"?> |
paulb@1 | 2 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" |
paulb@1 | 3 | "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> |
paulb@1 | 4 | <html xmlns="http://www.w3.org/1999/xhtml" |
paulb@1 | 5 | xmlns:template="http://www.boddie.org.uk/ns/xmltools/template"> |
paulb@1 | 6 | <head> |
paulb@1 | 7 | <title>PEP 241 Package Registry</title> |
paulb@1 | 8 | <meta name="generator" content="amaya 8.1a, see http://www.w3.org/Amaya/" /> |
paulb@1 | 9 | <link xmlns:xlink="http://www.w3.org/1999/xlink" href="styles.css" |
paulb@1 | 10 | rel="stylesheet" type="text/css" /> |
paulb@1 | 11 | </head> |
paulb@1 | 12 | |
paulb@1 | 13 | <body> |
paulb@1 | 14 | <h1>PEP 241 Package Registry</h1> |
paulb@1 | 15 | |
paulb@13 | 16 | <form method="POST"> |
paulb@1 | 17 | |
paulb@1 | 18 | <table cellspacing="0" cellpadding="5" template:element="package"> |
paulb@1 | 19 | <tbody> |
paulb@1 | 20 | <tr> |
paulb@1 | 21 | <th class="heading" colspan="2">Summary</th> |
paulb@1 | 22 | </tr> |
paulb@1 | 23 | <tr> |
paulb@1 | 24 | <th>Package name</th> |
paulb@7 | 25 | <td template:attribute="name"><input type="text" size="20" |
paulb@11 | 26 | name="{template:this-position()}" value="{$this-value}" /></td> |
paulb@1 | 27 | </tr> |
paulb@1 | 28 | <tr> |
paulb@1 | 29 | <th>Package version</th> |
paulb@7 | 30 | <td template:attribute="version"><input type="text" size="10" |
paulb@11 | 31 | name="{template:this-position()}" value="{$this-value}" /></td> |
paulb@1 | 32 | </tr> |
paulb@1 | 33 | <tr> |
paulb@1 | 34 | <th>Summary</th> |
paulb@7 | 35 | <td template:attribute="summary"><span template:value="$this-value" template:effect="replace">An |
paulb@7 | 36 | XML-based Web forms processing package.</span></td> |
paulb@1 | 37 | </tr> |
paulb@1 | 38 | <tr> |
paulb@1 | 39 | <th>Description</th> |
paulb@7 | 40 | <td template:attribute="description" template:value="$this-value">Insert |
paulb@1 | 41 | longer description here!</td> |
paulb@1 | 42 | </tr> |
paulb@1 | 43 | <tr template:element="error"> |
paulb@1 | 44 | <th></th> |
paulb@7 | 45 | <td template:attribute="size" class="error">Only {size} characters |
paulb@7 | 46 | can be used in a description.</td> |
paulb@1 | 47 | </tr> |
paulb@1 | 48 | <tr> |
paulb@1 | 49 | <th>Home page</th> |
paulb@13 | 50 | <td template:attribute="home-page" template:value="$this-value">Home page</td> |
paulb@1 | 51 | </tr> |
paulb@1 | 52 | <tr> |
paulb@1 | 53 | <th>Licence</th> |
paulb@13 | 54 | <td template:attribute="licence" template:value="$this-value">Licence</td> |
paulb@1 | 55 | </tr> |
paulb@1 | 56 | </tbody> |
paulb@1 | 57 | <tbody template:element="discriminators"> |
paulb@1 | 58 | <tr> |
paulb@1 | 59 | <th colspan="2" class="heading">Discriminators</th> |
paulb@1 | 60 | </tr> |
paulb@1 | 61 | <tr template:element="discriminator"> |
paulb@1 | 62 | <th>Discriminator</th> |
paulb@1 | 63 | <td template:element="category"> |
paulb@1 | 64 | <select name="{template:this-position()}"> |
paulb@7 | 65 | <option template:element="category-enum" template:expr-attr="selected" template:expr="@value = ../@value" template:value="@value" |
paulb@7 | 66 | value="{@value}"></option> |
paulb@1 | 67 | </select> |
paulb@7 | 68 | |
paulb@7 | 69 | <input type="submit" value="Remove!" |
paulb@13 | 70 | name="remove_discriminator={template:this-position()}" |
paulb@7 | 71 | /></td> |
paulb@1 | 72 | </tr> |
paulb@1 | 73 | <tr> |
paulb@1 | 74 | <th></th> |
paulb@7 | 75 | <td> |
paulb@7 | 76 | <input type="submit" value="Add discriminator!" |
paulb@13 | 77 | name="add_discriminator={template:this-position()}" /></td> |
paulb@1 | 78 | </tr> |
paulb@1 | 79 | </tbody> |
paulb@1 | 80 | <tbody template:element="platforms"> |
paulb@1 | 81 | <tr> |
paulb@1 | 82 | <th colspan="2" class="heading">Platforms</th> |
paulb@1 | 83 | </tr> |
paulb@1 | 84 | <tr template:element="platform"> |
paulb@1 | 85 | <th>Platform name</th> |
paulb@7 | 86 | <td><span template:attribute="name" template:value=".">Linux (with |
paulb@7 | 87 | more listed below)</span> |
paulb@7 | 88 | <input type="submit" value="Remove!" |
paulb@13 | 89 | name="remove_platform={template:this-position()}" /></td> |
paulb@1 | 90 | </tr> |
paulb@1 | 91 | <tr> |
paulb@1 | 92 | <th></th> |
paulb@1 | 93 | <td> |
paulb@7 | 94 | <input type="submit" value="Add platform!" |
paulb@13 | 95 | name="add_platform={template:this-position()}" /></td> |
paulb@1 | 96 | </tr> |
paulb@1 | 97 | </tbody> |
paulb@1 | 98 | <tbody template:element="supported-platforms"> |
paulb@1 | 99 | <tr> |
paulb@1 | 100 | <th colspan="2" class="heading">Supported platforms</th> |
paulb@1 | 101 | </tr> |
paulb@1 | 102 | <tr template:element="supported-platform"> |
paulb@1 | 103 | <th>Platform name</th> |
paulb@7 | 104 | <td><span template:attribute="name" template:value="$this-value">Linux |
paulb@7 | 105 | (with more listed below)</span> |
paulb@7 | 106 | <input type="submit" value="Remove!" |
paulb@13 | 107 | name="remove_supported_platform={template:this-position()}" |
paulb@7 | 108 | /></td> |
paulb@1 | 109 | </tr> |
paulb@1 | 110 | <tr> |
paulb@1 | 111 | <th></th> |
paulb@1 | 112 | <td> |
paulb@7 | 113 | <input type="submit" value="Add platform!" |
paulb@13 | 114 | name="add_supported_platform={template:this-position()}" |
paulb@7 | 115 | /></td> |
paulb@1 | 116 | </tr> |
paulb@1 | 117 | </tbody> |
paulb@1 | 118 | <tbody template:element="keywords"> |
paulb@1 | 119 | <tr> |
paulb@1 | 120 | <th colspan="2" class="heading">Keywords</th> |
paulb@1 | 121 | </tr> |
paulb@1 | 122 | <tr template:element="keyword"> |
paulb@1 | 123 | <th>Keyword</th> |
paulb@7 | 124 | <td><span template:attribute="name" template:value="$this-value">Web |
paulb@7 | 125 | programming</span> |
paulb@7 | 126 | <input type="submit" value="Remove!" |
paulb@13 | 127 | name="remove_keyword={template:this-position()}" /></td> |
paulb@1 | 128 | </tr> |
paulb@1 | 129 | <tr> |
paulb@1 | 130 | <th></th> |
paulb@7 | 131 | <td> |
paulb@7 | 132 | <input type="submit" value="Add keyword!" |
paulb@13 | 133 | name="add_keyword={template:this-position()}" /></td> |
paulb@1 | 134 | </tr> |
paulb@1 | 135 | </tbody> |
paulb@1 | 136 | <tbody> |
paulb@1 | 137 | <tr> |
paulb@1 | 138 | <th colspan="2" class="heading">Authors</th> |
paulb@1 | 139 | </tr> |
paulb@1 | 140 | </tbody> |
paulb@1 | 141 | <tbody template:element="authors,author"> |
paulb@1 | 142 | <tr> |
paulb@1 | 143 | <th>Author name</th> |
paulb@13 | 144 | <td><span template:attribute="name"><input name="{template:this-position()}" value="{$this-value}" type="text" size="20" /></span> |
paulb@7 | 145 | <input type="submit" value="Remove!" |
paulb@13 | 146 | name="remove_author={template:this-position()}" /></td> |
paulb@1 | 147 | </tr> |
paulb@1 | 148 | <tr> |
paulb@1 | 149 | <th>Author contact</th> |
paulb@13 | 150 | <td template:attribute="contact"><input name="{template:this-position()}" value="{$this-value}" type="text" size="20" /></td> |
paulb@1 | 151 | </tr> |
paulb@1 | 152 | <tr> |
paulb@1 | 153 | <th>Author e-mail</th> |
paulb@13 | 154 | <td template:attribute="e-mail"><input name="{template:this-position()}" value="{$this-value}" type="text" size="20" /></td> |
paulb@1 | 155 | </tr> |
paulb@1 | 156 | </tbody> |
paulb@1 | 157 | <tbody> |
paulb@1 | 158 | <tr> |
paulb@1 | 159 | <th></th> |
paulb@7 | 160 | <td> |
paulb@7 | 161 | <input type="submit" value="Add author!" |
paulb@13 | 162 | name="add_author={template:this-position()}" /></td> |
paulb@1 | 163 | </tr> |
paulb@1 | 164 | </tbody> |
paulb@1 | 165 | <tbody> |
paulb@1 | 166 | <tr> |
paulb@1 | 167 | <th colspan="2" class="heading">Dependencies</th> |
paulb@1 | 168 | </tr> |
paulb@1 | 169 | </tbody> |
paulb@1 | 170 | <tbody template:element="dependencies,dependency"> |
paulb@1 | 171 | <tr> |
paulb@1 | 172 | <th>Package name</th> |
paulb@7 | 173 | <td><span template:attribute="name" template:value="$this-value">XMLTools2</span> |
paulb@7 | 174 | <input type="submit" value="Remove!" |
paulb@13 | 175 | name="remove_dependency={template:this-position()}" /></td> |
paulb@1 | 176 | </tr> |
paulb@1 | 177 | <tr> |
paulb@1 | 178 | <th>Package version</th> |
paulb@7 | 179 | <td template:attribute="version" template:value="$this-value">0.2</td> |
paulb@1 | 180 | </tr> |
paulb@1 | 181 | </tbody> |
paulb@1 | 182 | <tbody> |
paulb@1 | 183 | <tr> |
paulb@1 | 184 | <th></th> |
paulb@1 | 185 | <td> |
paulb@7 | 186 | <input type="submit" value="Add dependency!" |
paulb@13 | 187 | name="add_dependency={template:this-position()}" /></td> |
paulb@1 | 188 | </tr> |
paulb@1 | 189 | </tbody> |
paulb@1 | 190 | <tbody> |
paulb@1 | 191 | <tr> |
paulb@1 | 192 | <th colspan="2" class="heading">Actions</th> |
paulb@1 | 193 | </tr> |
paulb@1 | 194 | <tr> |
paulb@1 | 195 | <th></th> |
paulb@1 | 196 | <td> |
paulb@13 | 197 | <input type="submit" value="Update!" name="update" /> |
paulb@13 | 198 | <input type="submit" value="Finish!" name="finish" /></td> |
paulb@1 | 199 | </tr> |
paulb@1 | 200 | </tbody> |
paulb@1 | 201 | </table> |
paulb@1 | 202 | </form> |
paulb@1 | 203 | </body> |
paulb@1 | 204 | </html> |