1 | <?xml version="1.0"?>
|
---|
2 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
---|
3 | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
---|
4 | <html xmlns="http://www.w3.org/1999/xhtml">
|
---|
5 | <head>
|
---|
6 | <title>Create a subscription</title>
|
---|
7 | <link rel="stylesheet" href="/alerting/form.css" type="text/css"/>
|
---|
8 | </head>
|
---|
9 | <body>
|
---|
10 | <div id="content">
|
---|
11 | <h3>Create a subscription (1/4)</h3>
|
---|
12 | <table id="progress">
|
---|
13 | <tr>
|
---|
14 | <td class="current">type/details</td>
|
---|
15 | <td>host</td>
|
---|
16 | <td>collection</td>
|
---|
17 | <td>notification</td>
|
---|
18 | </tr>
|
---|
19 | </table>
|
---|
20 | <p>Choose the event type and how to identify the document(s) to watch</p>
|
---|
21 | <form action="/alerting/service?action=$action" method="post">
|
---|
22 | <div>
|
---|
23 | <h4>Event type</h4>
|
---|
24 | <input name="type" type="checkbox" value="new_document" checked="checked" id="chck-new-document"/> <label for="chck-new-document">new document(s)</label><br/>
|
---|
25 | <input name="type" type="checkbox" value="document_changed" id="chck-doc-changed"/> <label for="chck-doc-changed">document(s) changed</label><br/>
|
---|
26 | <input name="type" type="checkbox" value="document_deleted" id="chck-doc-deleted"/> <label for="chck-doc-deleted">document(s) deleted</label><br/>
|
---|
27 | </div>
|
---|
28 | <div>
|
---|
29 | <h4>How to identify the document(s)</h4>
|
---|
30 | <table>
|
---|
31 | <tr class="even">
|
---|
32 | <th>title</th>
|
---|
33 | <td width="25%">matches <img class="help" alt="help" src="images/help.png" longdesc="normal Greenstone search" title="normal Greenstone search"/>
|
---|
34 | </td>
|
---|
35 | <td>
|
---|
36 | <input type="text" name="document_title" style="width:80%;" value="$!prefill.document_title"/>
|
---|
37 | </td>
|
---|
38 | </tr>
|
---|
39 | <tr class="odd">
|
---|
40 | <th>content</th>
|
---|
41 | <td>matches <img class="help" alt="help" src="images/help.png" longdesc="normal Greenstone search" title="normal Greenstone search"/>
|
---|
42 | </td>
|
---|
43 | <td>
|
---|
44 | <input type="text" name="document_content" style="width:80%;" value="$!prefill.document_content"/>
|
---|
45 | </td>
|
---|
46 | </tr>
|
---|
47 | <tr class="even">
|
---|
48 | <th>metadata</th>
|
---|
49 | <td>has field <img class="help" alt="help" src="images/help.png" longdesc="metadata field exists" title="metadata field exists"/>
|
---|
50 | </td>
|
---|
51 | <td>
|
---|
52 | <input type="text" name="metadata_has_field" value="$!prefill.metadata_has_field" style="width:80%;"/>
|
---|
53 | </td>
|
---|
54 | </tr>
|
---|
55 | <tr class="odd">
|
---|
56 | <th>metadata</th>
|
---|
57 | <td>has value <img class="help" alt="help" src="images/help.png" longdesc="metadata field exists and has value" title="metadata field exists and has value"/>
|
---|
58 | </td>
|
---|
59 | <td>
|
---|
60 | <input type="text" name="metadata_field" value="$!prefill.metatada_field" style="width:40%;"/> is
|
---|
61 | <input type="text" name="metadata_value" value="$!prefill.metadata_value" style="width:40%;"/>
|
---|
62 | </td>
|
---|
63 | </tr>
|
---|
64 | </table>
|
---|
65 | </div>
|
---|
66 | <p class="explanation">
|
---|
67 | In the next steps, you will be able to select the hosts and collections that you want to monitor for events. You will also be able to configure the way you will be notified of events matching your subscription.
|
---|
68 | </p>
|
---|
69 | <input type="hidden" name="current_page" value="type-details"/>
|
---|
70 | <input disabled="disabled" type="submit" name="next_page" value="back"/><input type="submit" name="next_page" value="next"/><input disabled="disabled" type="submit" name="next_page" value="finish"/>
|
---|
71 | <br/>
|
---|
72 | </form>
|
---|
73 | </div>
|
---|
74 | </body>
|
---|
75 | </html>
|
---|