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