source: trunk/gsdl3/packages/gsdl-as/lib/templates/sub_host.vm@ 8724

Last change on this file since 8724 was 8724, checked in by schweer, 19 years ago

wizard for creating subscriptions: saving state works

  • Property svn:keywords set to Author Date Id Revision
File size: 2.7 KB
Line 
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>Andrea Schweer</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 (2/4)</h3>
12 <table id="progress">
13 <tr>
14 <td class="completed">type/details</td><td class="current">host</td><td>collection</td><td>notification</td>
15 </tr>
16 </table>
17 <p>Choose the host(s) to monitor</p>
18 <form action="/alerting/service?action=$action" method="post">
19 <div><h4>Your subscription so far</h4>
20 <table class="subscription">
21 #set($evenodd = "odd")
22 #foreach($key in $preview.keySet())
23 #if(!($key == ""))
24 <tr class="$evenodd">
25 <th>$key</th>
26 <td>$preview.get($key)</td>
27 </tr>
28 #end
29 #if ($evenodd == "odd") #set($evenodd = "even") #else #set($evenodd = "odd") #end
30 #end
31 </table>
32 </div>
33 <div>
34 <h4>Which host(s) to monitor</h4>
35 <div class="explanation">
36 You have two ways of choosing the host(s) to monitor:
37 <ol>
38 <li>You can choose one or more hosts from the list below. Only events from the host(s) you have chosen will be sent to you.<br/>
39 <select multiple="multiple" name="host" size="3" style="margin:5px 0px;">
40 <option selected="selected">localhost</option>
41 <option>www.greenstone.org</option>
42 <option>www.nzdl.org</option>
43 <option>any host</option>
44 </select></li>
45 <li>You can enter a query in the field below. Only events coming from a host whose name matches this query will be sent to you.<br/>
46 <table style="margin:5px 0px;">
47 <tr class="odd">
48 <th>host</th>
49 <td width="25%">contains <img class="help" alt="help" src="images/help.png" longdesc="substring" title="substring"/>
50 </td>
51 <td>
52 <input type="text" name="document_title" style="width:80%;"/>
53 </td>
54 </tr>
55 </table>
56 If you enter a query, the selection made in the list above will be ignored.
57 </li>
58 </ol>
59 If you just click &quot;continue&quot;, only events coming from the <em>current host</em> will be sent to you.
60 </div>
61 </div>
62 <p class="explanation">
63 In the next steps, you will be able to choose the collection(s) to monitor, and you will be able to configure the way you will be notified of events matching your subscription.
64 </p>
65 <input type="hidden" name="current_page" value="host"/>
66 <input type="submit" name="next_page" value="back"/><input type="submit" name="next_page" value="next"/><input type="submit" name="next_page" value="finish"/>
67 </form>
68 </div>
69 </body>
70</html>
Note: See TracBrowser for help on using the repository browser.