2012-08-17 06:10:07 +02:00
|
|
|
<!doctype html>
|
|
|
|
<html>
|
2012-09-11 18:09:43 +02:00
|
|
|
<head>
|
2012-08-17 06:10:07 +02:00
|
|
|
<title>Pandora FMS extension</title>
|
|
|
|
<link rel="stylesheet" href="css/popup.css" type="text/css" />
|
|
|
|
<script src="js/jquery-1.7.2.min.js"></script>
|
|
|
|
<script src="js/sound.js"></script>
|
2012-09-11 18:09:43 +02:00
|
|
|
<script src="js/options.js"></script>
|
|
|
|
<script src="js/popup.js"></script>
|
|
|
|
</head>
|
|
|
|
<body>
|
2012-08-17 06:10:07 +02:00
|
|
|
<div id="demo">
|
|
|
|
<div class="options_header">
|
2012-09-06 16:24:47 +02:00
|
|
|
<img src="images/logo.png">
|
2012-08-17 06:10:07 +02:00
|
|
|
</div>
|
|
|
|
<div class="options_divider"><h2>Options Menu</h2></div>
|
|
|
|
|
|
|
|
<div class="options_textarea">
|
2012-09-11 18:09:43 +02:00
|
|
|
<table width=600px>
|
2012-08-17 06:10:07 +02:00
|
|
|
<caption><h3>Global Parameters</h3></caption>
|
|
|
|
<tr>
|
2012-09-11 18:09:43 +02:00
|
|
|
<td title="IP address of server eg: http://127.0.0.1/pandora_console" style="cursor:help">Console URL</td>
|
|
|
|
<td><input type="text" size=50px name="ip_address" id="ip_address"> </td>
|
2012-08-17 06:10:07 +02:00
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td title="API password of the server" style="cursor:help">API Password</td>
|
2012-09-11 18:09:43 +02:00
|
|
|
<td><input type="password" size=50px name="api_pass" id="api_pass" ></td>
|
2012-08-17 06:10:07 +02:00
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td title="A valid user name" style="cursor:help">User name</td>
|
2012-09-11 18:09:43 +02:00
|
|
|
<td> <input type="text" size=50px name="user_name" id="user_name"> </td>
|
2012-08-17 06:10:07 +02:00
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td title="Password" style="cursor:help">Password</td>
|
2012-09-11 18:09:43 +02:00
|
|
|
<td> <input type="password" size=50px name="pass" id="pass"> </td>
|
2012-08-17 06:10:07 +02:00
|
|
|
</tr>
|
|
|
|
</table>
|
2012-09-11 18:09:43 +02:00
|
|
|
</div>
|
|
|
|
<div class="options_textarea">
|
2012-08-17 06:10:07 +02:00
|
|
|
<table width=450px>
|
|
|
|
<caption><h3>Event Alert Sounds Configuration</h3></caption>
|
|
|
|
<tr>
|
|
|
|
<td title="All sound alerts of notifications on/off" style="cursor:help">Sound Alerts </td>
|
|
|
|
<td>
|
2012-09-11 18:09:43 +02:00
|
|
|
<input type="radio" id="sound_alert_o" name="sound_alert" value="on" /> On
|
|
|
|
<input type="radio" id="sound_alert_f" name="sound_alert" value="off" /> Off
|
2012-08-17 06:10:07 +02:00
|
|
|
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td><b>Severity</b></td>
|
|
|
|
<td ><b>Sound Type</b></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Critical</td>
|
|
|
|
<td>
|
2012-09-11 18:09:43 +02:00
|
|
|
<select id="critical">
|
2012-08-17 06:10:07 +02:00
|
|
|
<option value="1">Air Craft Alarm</option>
|
|
|
|
<option value="2">Air Shock Alarm</option>
|
|
|
|
<option value="3">Alien Alarm</option>
|
|
|
|
<option value="4">Alien Beacon</option>
|
|
|
|
<option value="5">Bell Ringing</option>
|
|
|
|
<option value="6">Door Alarm</option>
|
|
|
|
<option value="7">EAS Beep</option>
|
|
|
|
<option value="8">Fire Warner</option>
|
|
|
|
<option value="9">Hard PCM Alarm</option>
|
|
|
|
<option value="10">Negative Beep</option>
|
|
|
|
<option value="11">Star Trek Emergency Alarm</option>
|
|
|
|
</select>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Informational</td>
|
|
|
|
<td>
|
2012-09-11 18:09:43 +02:00
|
|
|
<select id="informational">
|
2012-08-17 06:10:07 +02:00
|
|
|
<option value="1">Air Craft Alarm</option>
|
|
|
|
<option value="2">Air Shock Alarm</option>
|
|
|
|
<option value="3">Alien Alarm</option>
|
|
|
|
<option value="4">Alien Beacon</option>
|
|
|
|
<option value="5">Bell Ringing</option>
|
|
|
|
<option value="6">Door Alarm</option>
|
|
|
|
<option value="7">EAS Beep</option>
|
|
|
|
<option value="8">Fire Warner</option>
|
|
|
|
<option value="9">Hard PCM Alarm</option>
|
|
|
|
<option value="10">Negative Beep</option>
|
|
|
|
<option value="11">Star Trek Emergency Alarm</option>
|
|
|
|
</select>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Maintenance</td>
|
|
|
|
<td>
|
2012-09-11 18:09:43 +02:00
|
|
|
<select id="maintenance">
|
2012-08-17 06:10:07 +02:00
|
|
|
<option value="1">Air Craft Alarm</option>
|
|
|
|
<option value="2">Air Shock Alarm</option>
|
|
|
|
<option value="3">Alien Alarm</option>
|
|
|
|
<option value="4">Alien Beacon</option>
|
|
|
|
<option value="5">Bell Ringing</option>
|
|
|
|
<option value="6">Door Alarm</option>
|
|
|
|
<option value="7">EAS Beep</option>
|
|
|
|
<option value="8">Fire Warner</option>
|
|
|
|
<option value="9">Hard PCM Alarm</option>
|
|
|
|
<option value="10">Negative Beep</option>
|
|
|
|
<option value="11">Star Trek Emergency Alarm</option>
|
|
|
|
</select>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Normal</td>
|
|
|
|
<td>
|
2012-09-11 18:09:43 +02:00
|
|
|
<select id="normal">
|
2012-08-17 06:10:07 +02:00
|
|
|
<option value="1">Air Craft Alarm</option>
|
|
|
|
<option value="2">Air Shock Alarm</option>
|
|
|
|
<option value="3">Alien Alarm</option>
|
|
|
|
<option value="4">Alien Beacon</option>
|
|
|
|
<option value="5">Bell Ringing</option>
|
|
|
|
<option value="6">Door Alarm</option>
|
|
|
|
<option value="7">EAS Beep</option>
|
|
|
|
<option value="8">Fire Warner</option>
|
|
|
|
<option value="9">Hard PCM Alarm</option>
|
|
|
|
<option value="10">Negative Beep</option>
|
|
|
|
<option value="11">Star Trek Emergency Alarm</option>
|
|
|
|
</select>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Warning</td>
|
|
|
|
<td>
|
2012-09-11 18:09:43 +02:00
|
|
|
<select id="warning">
|
2012-08-17 06:10:07 +02:00
|
|
|
<option value="1">Air Craft Alarm</option>
|
|
|
|
<option value="2">Air Shock Alarm</option>
|
|
|
|
<option value="3">Alien Alarm</option>
|
|
|
|
<option value="4">Alien Beacon</option>
|
|
|
|
<option value="5">Bell Ringing</option>
|
|
|
|
<option value="6">Door Alarm</option>
|
|
|
|
<option value="7">EAS Beep</option>
|
|
|
|
<option value="8">Fire Warner</option>
|
|
|
|
<option value="9">Hard PCM Alarm</option>
|
|
|
|
<option value="10">Negative Beep</option>
|
|
|
|
<option value="11">Star Trek Emergency Alarm</option>
|
|
|
|
</select>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td title="Automatic Refresh time to fetch new events" style="cursor:help">Auto Refresh Time</td>
|
|
|
|
<td>
|
2012-09-11 18:09:43 +02:00
|
|
|
<select id="refresh">
|
2012-08-17 06:10:07 +02:00
|
|
|
<option value="5">5 seconds</option>
|
|
|
|
<option value="10">10 seconds</option>
|
|
|
|
<option value="15">15 seconds</option>
|
|
|
|
<option value="30">30 seconds</option>
|
|
|
|
<option value="60">1 minute</option>
|
|
|
|
<option value="120">2 minutes</option>
|
|
|
|
<option value="300">5 minutes</option>
|
|
|
|
<option value="900">15 minutes</option>
|
|
|
|
<option value="1800">30 minutes</option>
|
|
|
|
<option value="3600">1 hour</option>
|
|
|
|
</select>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td title="Number of events to be displayed in pop up window" style="cursor:help">Number of events</td>
|
|
|
|
<td>
|
2012-09-11 18:09:43 +02:00
|
|
|
<select id="events">
|
2012-08-17 06:10:07 +02:00
|
|
|
<option value="5">5</option>
|
|
|
|
<option value="10">10</option>
|
|
|
|
<option value="12">12</option>
|
|
|
|
<option value="14">14</option>
|
|
|
|
<option value="16">16</option>
|
|
|
|
<option value="18">18</option>
|
|
|
|
<option value="20">20</option>
|
|
|
|
</select>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</div>
|
2012-09-11 18:09:43 +02:00
|
|
|
<div class="options_footer">
|
|
|
|
<button id="close" type="button"><h3>Close</h3></button>
|
|
|
|
<p style="font-family:arial;font-style:italic;color:black;font-size:11px;">Author Information : R.Hareesan (rharishan@gmail.com)</p>
|
|
|
|
</div>
|
2012-08-22 21:15:58 +02:00
|
|
|
</body>
|
|
|
|
</html>
|