-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
103 lines (100 loc) · 3.24 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
<!DOCTYPE html>
<html>
<head>
<title>Hydna Notification Demo</title>
<link rel="stylesheet" href="css/style.css" type="text/css">
<script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/hydna/1.0.0/hydna.js"></script>
<script>
// You can insert your own domain here if you do not wish to play with
// others:
var HYDNA_URL = "notifications.hydna.net";
</script>
</head>
<body>
<div id="container">
<div id="im" class="pane disabled">
<span class="info"></span>
<span class="count"></span>
<div class="instruction">
<h2>Message Notfication</h2>
<p>This is the Message Notification box; it keeps track of how many unread messages you have.</p>
<h3>To increase the counter:<h3>
<code>
$ curl --data "incr" <i></i>
</code>
<h3>To decrease the counter:<h3>
<code>
$ curl --data "decr" <i></i>
</code>
<h3>To reset the counter:<h3>
<code>
$ curl --data "reset" <i></i>
</code>
<h3>To set the counter to a specific value:<h3>
<code>
$ curl --data "set 15" <i></i>
</code>
</div>
</div>
<div id="mail" class="pane disabled">
<span class="info"></span>
<span class="count"></span>
<div class="instruction">
<h2>Support Mail Notification</h2>
<p>This is the Support Mail Notification box; it keeps track of the number of unanswered emails that have been queued up.</p>
<h3>To increase the counter:<h3>
<code>
$ curl -d "incr" <i></i>
</code>
<h3>To decrease the counter:<h3>
<code>
$ curl -d "decr" <i></i>
</code>
<h3>To reset the counter:<h3>
<code>
$ curl -d "reset" <i></i>
</code>
<h3>To set the counter to a specific value:<h3>
<code>
$ curl -d "set 15" <i></i>
</code>
</div>
</div>
<div id="phone" class="pane disabled">
<span class="info"></span>
<span class="count"></span>
<div class="instruction">
<h2>Phone Call Notification</h2>
<p>This is the Phone Call Notification box; it keeps track of the number of customers eagerly waiting for you to pick up.</p>
<h3>To increase the indicator:<h3>
<code>
$ curl -d "incr" <i></i>
</code>
<h3>To decrease the indicator:<h3>
<code>
$ curl -d "decr" <i></i>
</code>
<h3>To reset the indicator:<h3>
<code>
$ curl -d "reset" <i></i>
</code>
<h3>To set the indicator to a specific value:<h3>
<code>
$ curl -d "set 15" <i></i>
</code>
</div>
</div>
</div>
<div id="mark">
<a href="http://www.hydna.com">
<img src="images/mark.png">
</a>
</div>
<div id="startup-notification" class="initial">
<p class="text">
Click on the icons above to see instructions on how to communicate with them
</p>
</div>
<script src="js/app.js"></script>
</body>
</html>