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@17 | 26 | name="{template:field-name()}" 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@17 | 31 | name="{template:field-name()}" 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@20 | 45 | <td template:attribute="description-size" class="error">Only 100 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 | <tr> |
paulb@25 | 57 | <th colspan="2" class="heading">Categories</th> |
paulb@1 | 58 | </tr> |
paulb@22 | 59 | <tr template:element="categories"> |
paulb@22 | 60 | <th>Categories</th> |
paulb@19 | 61 | <td> |
paulb@25 | 62 | <select template:element="category" name="{template:multi-field-name('value')}" multiple="multiple"> |
paulb@22 | 63 | <option template:element="category-enum" template:expr-attr="selected" template:expr="@value-is-set" template:value="@value" |
paulb@7 | 64 | value="{@value}"></option> |
paulb@1 | 65 | </select> |
paulb@22 | 66 | </td> |
paulb@1 | 67 | </tr> |
paulb@1 | 68 | <tr> |
paulb@1 | 69 | <th colspan="2" class="heading">Platforms</th> |
paulb@1 | 70 | </tr> |
paulb@15 | 71 | <tr template:element="platforms,platform"> |
paulb@1 | 72 | <th>Platform name</th> |
paulb@17 | 73 | <td><span template:attribute="name"><input name="{template:field-name()}" value="{$this-value}" type="text" size="20" /></span> |
paulb@7 | 74 | <input type="submit" value="Remove!" |
paulb@13 | 75 | name="remove_platform={template:this-position()}" /></td> |
paulb@1 | 76 | </tr> |
paulb@1 | 77 | <tr> |
paulb@1 | 78 | <th></th> |
paulb@1 | 79 | <td> |
paulb@7 | 80 | <input type="submit" value="Add platform!" |
paulb@13 | 81 | name="add_platform={template:this-position()}" /></td> |
paulb@1 | 82 | </tr> |
paulb@1 | 83 | <tr> |
paulb@1 | 84 | <th colspan="2" class="heading">Supported platforms</th> |
paulb@1 | 85 | </tr> |
paulb@15 | 86 | <tr template:element="supported-platforms,supported-platform"> |
paulb@1 | 87 | <th>Platform name</th> |
paulb@17 | 88 | <td><span template:attribute="name"><input name="{template:field-name()}" value="{$this-value}" type="text" size="20" /></span> |
paulb@7 | 89 | <input type="submit" value="Remove!" |
paulb@13 | 90 | name="remove_supported_platform={template:this-position()}" |
paulb@7 | 91 | /></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@13 | 97 | name="add_supported_platform={template:this-position()}" |
paulb@7 | 98 | /></td> |
paulb@1 | 99 | </tr> |
paulb@1 | 100 | <tr> |
paulb@1 | 101 | <th colspan="2" class="heading">Keywords</th> |
paulb@1 | 102 | </tr> |
paulb@15 | 103 | <tr template:element="keywords,keyword"> |
paulb@1 | 104 | <th>Keyword</th> |
paulb@17 | 105 | <td><span template:attribute="name"><input name="{template:field-name()}" value="{$this-value}" type="text" size="20" /></span> |
paulb@7 | 106 | <input type="submit" value="Remove!" |
paulb@13 | 107 | name="remove_keyword={template:this-position()}" /></td> |
paulb@1 | 108 | </tr> |
paulb@1 | 109 | <tr> |
paulb@1 | 110 | <th></th> |
paulb@7 | 111 | <td> |
paulb@7 | 112 | <input type="submit" value="Add keyword!" |
paulb@13 | 113 | name="add_keyword={template:this-position()}" /></td> |
paulb@1 | 114 | </tr> |
paulb@1 | 115 | <tr> |
paulb@1 | 116 | <th colspan="2" class="heading">Authors</th> |
paulb@1 | 117 | </tr> |
paulb@1 | 118 | </tbody> |
paulb@1 | 119 | <tbody template:element="authors,author"> |
paulb@1 | 120 | <tr> |
paulb@1 | 121 | <th>Author name</th> |
paulb@17 | 122 | <td><span template:attribute="name"><input name="{template:field-name()}" value="{$this-value}" type="text" size="20" /></span> |
paulb@7 | 123 | <input type="submit" value="Remove!" |
paulb@13 | 124 | name="remove_author={template:this-position()}" /></td> |
paulb@1 | 125 | </tr> |
paulb@1 | 126 | <tr> |
paulb@1 | 127 | <th>Author contact</th> |
paulb@17 | 128 | <td template:attribute="contact"><input name="{template:field-name()}" value="{$this-value}" type="text" size="20" /></td> |
paulb@1 | 129 | </tr> |
paulb@1 | 130 | <tr> |
paulb@1 | 131 | <th>Author e-mail</th> |
paulb@17 | 132 | <td template:attribute="e-mail"><input name="{template:field-name()}" value="{$this-value}" type="text" size="20" /></td> |
paulb@1 | 133 | </tr> |
paulb@1 | 134 | </tbody> |
paulb@1 | 135 | <tbody> |
paulb@1 | 136 | <tr> |
paulb@1 | 137 | <th></th> |
paulb@7 | 138 | <td> |
paulb@7 | 139 | <input type="submit" value="Add author!" |
paulb@13 | 140 | name="add_author={template:this-position()}" /></td> |
paulb@1 | 141 | </tr> |
paulb@1 | 142 | <tr> |
paulb@1 | 143 | <th colspan="2" class="heading">Dependencies</th> |
paulb@1 | 144 | </tr> |
paulb@1 | 145 | </tbody> |
paulb@1 | 146 | <tbody template:element="dependencies,dependency"> |
paulb@1 | 147 | <tr> |
paulb@1 | 148 | <th>Package name</th> |
paulb@17 | 149 | <td><span template:attribute="name"><input name="{template:field-name()}" value="{$this-value}" type="text" size="20" /></span> |
paulb@7 | 150 | <input type="submit" value="Remove!" |
paulb@13 | 151 | name="remove_dependency={template:this-position()}" /></td> |
paulb@1 | 152 | </tr> |
paulb@1 | 153 | <tr> |
paulb@1 | 154 | <th>Package version</th> |
paulb@17 | 155 | <td template:attribute="version"><input name="{template:field-name()}" value="{$this-value}" type="text" size="10" /></td> |
paulb@1 | 156 | </tr> |
paulb@1 | 157 | </tbody> |
paulb@1 | 158 | <tbody> |
paulb@1 | 159 | <tr> |
paulb@1 | 160 | <th></th> |
paulb@1 | 161 | <td> |
paulb@7 | 162 | <input type="submit" value="Add dependency!" |
paulb@13 | 163 | name="add_dependency={template:this-position()}" /></td> |
paulb@1 | 164 | </tr> |
paulb@1 | 165 | <tr> |
paulb@1 | 166 | <th colspan="2" class="heading">Actions</th> |
paulb@1 | 167 | </tr> |
paulb@1 | 168 | <tr> |
paulb@1 | 169 | <th></th> |
paulb@1 | 170 | <td> |
paulb@13 | 171 | <input type="submit" value="Update!" name="update" /> |
paulb@13 | 172 | <input type="submit" value="Finish!" name="finish" /></td> |
paulb@1 | 173 | </tr> |
paulb@1 | 174 | </tbody> |
paulb@1 | 175 | </table> |
paulb@1 | 176 | </form> |
paulb@1 | 177 | </body> |
paulb@1 | 178 | </html> |