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