Listing 1: HTML for new software form
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Add a software entry to the repository</title> </head> <body> <h1>Add a software entry to the repository</h1> <form method='POST' action='http://borgia:8080/softrepo/submit-new-software-entry?template-xslt=submit-entry.xslt'> <p>Fields with asterisks are required.</p> <table border='0'> <tr> <td>Title*:</td><td><input name='title'/></td> </tr> <tr> <td>Creator*:</td><td><input name='creator'/></td> </tr> <tr> <td>Home page*:</td><td><input name='home'/></td> </tr> <tr> <td>Current version*:</td><td><input name='version'/></td> </tr> <tr> <td>Description:</td><td><textarea name='description'></textarea></td> </tr> </table> <br> <input type='SUBMIT' value=' Submit '/> </form> </body> </html> |