Ignore:
Timestamp:
2004-11-23T15:08:24+13:00 (19 years ago)
Author:
schweer
Message:

restructured servlet to use velocity

Location:
trunk/greenstone3-extensions/gsdl-as
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/greenstone3-extensions/gsdl-as

    • Property svn:ignore
      •  

        old new  
        11build
        22dist
        3 lib
        43test-classes
  • trunk/greenstone3-extensions/gsdl-as/web/index.html

    r8609 r8630  
    1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    2      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    3 <html>
    4     <head>
    5         <title>Alerting Service for Greenstone</title>
    6         <style type="text/css">
    7         <!--
    8         table { border:1pt solid black; padding:2px; background:#F0F0F0; }
    9         th { text-align:left; background:lightblue; }
    10         th,td { border-width:0px; }
    11         -->
    12         </style
    13     </head>
    14     <body>
    15         <h1>Test</h1>
    16         <form action="/alerting/service?test" method="POST">
    17             <input type="text" name="text"/><br/>
    18             <input type="submit"/>
    19         </form>
    20         <hr/>
    21 <!--        <h1>Event</h1>
    22         <form action="/alerting/service?receive" method="POST">
    23             <table>
    24                 <tr>
    25                     <th>Event Type</th>
    26                     <td>
    27                         <input type="radio" name="type" value="new_document" checked/> new document
    28                         <input type="radio" name="type" value="document_deleted"/> document deleted
    29                         <input type="radio" name="type" value="document_content_changed"/> content changed
    30                         <input type="radio" name="type" value="document_md_changed"/> metadata changed
    31                     </td>
    32                 </tr>
    33                 <tr>
    34                     <th>Document ID</th>
    35                     <td>
    36                         <input type="text" name="documentID"/>
    37                     </td>
    38                 </tr>
    39             </table>
    40             <br/>
    41             <input type="submit"/>
    42         </form>
    43         <hr/> -->
    44         <h1>Subscribe</h1>
    45         <form action="/alerting/service?subscribe" method ="POST" name="subscribe">
    46             <table border="1">
    47                 <tr>
    48                     <th>Event Type</th>
    49                     <td>
    50                         <input type="radio" name="type" value="new_document" checked="checked"/> new document
    51                         <input type="radio" name="type" value="document_deleted"/> document deleted
    52                         <input type="radio" name="type" value="document_content_changed" /> content changed
    53                         <input type="radio" name="type" value="document_md_changed"/> metadata changed
    54                     </td>
    55                 </tr>
    56                 <tr>
    57                     <th>Document ID</th>
    58                     <td>
    59                         <input type="text" name="documentID"/>
    60                     </td>
    61                 </tr>
    62                 <tr>
    63                     <th>Document Title</th>
    64                     <td>
    65                         <input type="text" name="document_title"/>
    66                     </td>
    67                 </tr>
    68                 <tr>
    69                     <th>Document Content</th>
    70                     <td>
    71                         <input type="text" name="document_content"/>
    72                     </td>
    73                 </tr>
    74                 <tr>
    75                     <th>Collection ID</th>
    76                     <td>
    77                      <input type="text" name="collectionID"/>
    78                     </td>
    79                 </tr>
    80                 <tr>
    81                     <th>Collection Name</th>
    82                     <td>
    83                       <input type="text" name="collection_name"/>
    84                     </td>
    85                 </tr>
    86             </table>
    87             <br/>
    88             <input type="submit"/>
    89         </form>
    90     </body>
    91 </html>
     1<html><head>
     2    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
     3      <title>Greenstone Version 3</title></head>
     4
     5  <body alink="#cc9900" background="images/chalk.gif" bgcolor="#ffffff" link="#006666" text="#000000" vlink="#666633">
     6   
     7    <!-- page banner (_style:pagebanner_) -->
     8    <center>
     9      <table cellpadding="0" cellspacing="0" width="537">
     10    <tbody><tr valign="top">
     11      <td rowspan="2" align="left"><center><img src="images/gsdlhead.gif" alt="Greenstone Digital Library Software" height="100" width="300"></center></td>
     12      <td align="right"></td>
     13    </tr>
     14   
     15    <tr>
     16      <td align="right"></td>
     17    </tr>
     18   
     19    <tr>
     20      <td colspan="2"></td>
     21    </tr>
     22      </tbody></table>
     23    </center>
     24    <!-- end of page banner -->
     25   
     26    <center>
     27     
     28      <table width="537">
     29    <tbody><tr><td><h3>Alerting Service for Greenstone 3</h3></td></tr>
     30    <tr><td>&nbsp;</td></tr>
     31    <tr><td>What do you want to do today?</td></tr>
     32    <tr><td>&nbsp;</td></tr>
     33   
     34   
     35    <tr><td><a href="test.html">Test</a> the alerting service servlet.</td></tr>
     36    <tr><td><a href="about.html">Read more</a> about the alerting service.</td></tr>
     37       
     38      </tbody></table>
     39    </center>
     40  </body></html>
Note: See TracChangeset for help on using the changeset viewer.