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