source: trunk/gsdl3/packages/gsdl-as/lib/templates/sub_notification.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.8 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
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 (4/4)</h3>
12 <table id="progress">
13 <tr>
14 <td class="completed">type/details</td><td class="completed">host</td><td class="completed">collection</td><td class="current">notification</td>
15 </tr>
16 </table>
17 <p>Configure the way you will be notified of events </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 <p class="explanation">You can <a href="preview.html" target="_new">preview</a> which documents currently match your criteria (following the link will open a new window).</p>
33 </div>
34 <div>
35 <h4>How to be notified of events matching your subscription</h4>
36 <div class="explanation">
37 You will be able to see the subscription in the list of all your subscriptions after logging in to the alerting service. <br/>
38 You can assign a name to your subscription that makes it easier for you to recognise it:
39 <input name="subscription_name" type="text"/>
40 </div>
41 <br/>
42 <table>
43 <tr class="odd">
44 <td><input name="way" type="checkbox" value="page" checked="checked" id="chck-page"/></td>
45 <td colspan="2">
46 <label for="chck-page">on my &quot;new since my last login&quot; page</label>
47 </td>
48 </tr>
49 <tr class="even">
50 <td><input name="way" type="checkbox" value="email" id="chck-email"/></td>
51 <td><label for="chck-email">via e-mail to</label>
52 </td>
53 <td>
54 <input type="text" name="email"/>
55 </td>
56 </tr>
57 <tr class="odd">
58 <td><input name="way" type="checkbox" value="rss" id="chck-rss"/></td>
59 <td colspan="2"><label for="chck-rss">with an <acronym title="Really Simple Syndication">RSS</acronym> feed</label> <img class="help" alt="help" src="images/help.png" longdesc="substring" title="substring"/>
60 </td>
61 </tr>
62 </table>
63 </div>
64 <br/>
65
66 <input type="hidden" name="current_page" value="notification"/>
67 <input type="submit" name="next_page" value="back"/><input type="submit" name="next_page" value="next" disabled="disabled"/><input type="submit" name="next_page" value="finish"/>
68 </form>
69 </div>
70 </body>
71</html>
Note: See TracBrowser for help on using the repository browser.