source: trunk/gsdl3/packages/gsdl-as/lib/templates/sub_collection.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: 3.2 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 (3/4)</h3>
12 <table id="progress">
13 <tr>
14 <td class="completed">type/details</td><td class="completed">host</td><td class="current">collection</td><td>notification</td>
15 </tr>
16 </table>
17 <p>Choose the collection(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 collection(s) to monitor</h4>
35 <div class="explanation">
36 You have two ways of choosing the collection(s) to monitor:
37 <ol>
38 <li>You can choose one or more collections from the list below. Only events from the collections(s) you have chosen will be sent to you<br/>
39 <select multiple="multiple" name="host" size="7" style="margin:5px 0px;">
40 <optgroup label="localhost">
41 <option>greenstone 2 mg demo</option>
42 <option>greenstone 2 mgpp demo</option>
43 <option>greenstone 3 mg demo</option>
44 <option selected="selected">any collection on host localhost</option>
45 </optgroup>
46 <optgroup label="nzdl.org">
47 <option>acronym extraction demo</option>
48 <option>music library</option>
49 <option>youth oral history</option>
50 <option>kiwi aircraft images</option>
51 <option selected="selected">any collection on host nzdl.org</option>
52 </optgroup>
53 </select></li>
54 <li>You can enter a query in the field below. Only events coming from a collection whose name matches this query will be sent to you.<br/>
55 <table style="margin:5px 0px;">
56 <tr class="odd">
57 <th>collection name</th>
58 <td width="25%">contains <img class="help" alt="help" src="images/help.png" longdesc="substring" title="substring"/>
59 </td>
60 <td>
61 <input type="text" name="document_title" style="width:80%;"/>
62 </td>
63 </tr>
64 </table>
65 If you enter a query, the selection made in the list above will be ignored.
66 <!-- collection description? creator? language? -->
67 </li>
68 </ol>
69 If you just click &quot;continue&quot;, events coming from <em>any collection</em> will be sent to you.
70 </div>
71 </div>
72 <p class="explanation">
73 In the last step, you will be able to configure the the way you will be notified of events matching your subscription.
74 </p>
75 <input type="hidden" name="current_page" value="collection"/>
76 <input type="submit" name="next_page" value="back"/><input type="submit" name="next_page" value="next"/><input type="submit" name="next_page" value="finish"/>
77 </form>
78 </div>
79 </body>
80</html>
Note: See TracBrowser for help on using the repository browser.