forked from kepi/IcingaChromedStatus
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathoptions.html
91 lines (74 loc) · 4.06 KB
/
options.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
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Icinga Status - Options</title>
<script src="inc/jquery-2.1.0.min.js"></script>
<script src="inc/jquery-ui/js/jquery-ui-1.10.4.custom.min.js"></script>
<link href="inc/jquery-ui/css/smoothness/jquery-ui-1.10.4.custom.css" rel="stylesheet" type="text/css"/>
<link href="icinga.css?0.1.5" rel="stylesheet" type="text/css"/>
<link href="inc/options/options.css?0.1.5" rel="stylesheet" type="text/css"/>
<script src="inc/options/options.js" type="text/javascript"></script>
<script src="inc/jquery.lazyload.min.js" type="text/javascript"></script>
<script src="inc/flattr/load.js" async></script>
</head>
<body id="options-body">
<h1>Icinga Status – Options</h1>
<div id="options">
<div id="tabs">
<ul>
<li><a href="#tab-1"><span>Main</span></a></li>
<li><a href="#tab-2"><span>Advanced</span></a></li>
</ul>
<div id="tab-1" class="options">
<div style="height: 30px;">
<label for="username">Username</label> <input type="text" name="username" id="username" placeholder="Your Icinga Username" />
</div>
<div>
<label for="password">Password</label> <input type="password" name="password" id="password" /> <cite>Leave empty if you don't wish to change password</cite>
</div>
<div>
<label for="url">URL to status.cgi</label> <input type="text" placeholder="i.e. https://monitoring.domain.com/icinga/cgi-bin/status.cgi" name="url" id="url" style="width: 400px;" />
</div>
<div>
<label for="refresh">Refresh</label> <input type="range" min="5" max="600" name="refresh" id="refresh" style="width: 300px;"/> <span id="refrsecs"> </span>
</div>
<div>
<label for="hideAcked">Hide Acknowledged</label> <input type="checkbox" placeholder="" name="hideAcked" id="hideAcked" />
</div>
</div> <!-- end of first tab -->
<div id="tab-2" class="options">
<div>
<label for="dateFormat">Date Format</label> <input type="text" name="dateFormat" id="dateFormat" style="width: 260px"/>
<div>
<label for="ignoreServicesRegexp">Ignore Services</label> <input type="text" placeholder="i.e. (imap|ssh)" name="ignoreServicesRegexp" id="ignoreServicesRegexp" style="width: 345px;" /> <cite>regexp</cite>
</div>
<div>
<label for="ignoreHostsRegexp">Ignore Hosts</label> <input type="text" placeholder="i.e. ignoredhosts[0-9]+" name="ignoreHostsRegexp" id="ignoreHostsRegexp" style="width: 345px;" /> <cite>regexp</cite>
</div>
<div>
<label for="ignoreCaseSensitivity">Case Insensitive Regexp's</label> <input type="checkbox" placeholder="" name="ignoreCaseSensitivity" id="ignoreCaseSensitivity" />
</div>
</div> <!-- end of first tab -->
</div> <!-- end of tabs -->
<button class="save" id="save_button">Save</button>
<span id="status"></span>
</div> <!-- end of options -->
<div id="donation">
<div>
<h2>Do you love Icinga Status?</h2>
<span id="flattrButtonDonate">
<a class="FlattrButton"
style="display:none;"
title="Flattr Icinga Status"
data-flattr-url="https://chrome.google.com/webstore/detail/imaieifkljkcdepgaeommbdgihollphm"
data-flattr-popout="0"
data-flattr-button="large"
href="https://flattr.com/thing/381395">Flattr Icinga Status</a>
</span>
<p>First of all - if you like it, please <a href="https://chrome.google.com/webstore/detail/imaieifkljkcdepgaeommbdgihollphm">rate it on Chrome Webstore</a>.</p>
<p>And if you love it and find this extension useful, you can make donation using Flattr or Pledgie. Any amount will help me with its continuous development. Thanks!</p>
<p id="pledgie-donation-options"><a href="http://www.pledgie.com/campaigns/11805"><img class="lazy" alt="Click here to lend your support to: Icinga Status and make a donation at www.pledgie.com !" data-original="http://www.pledgie.com/campaigns/11805.png?skin_name=chrome" border="0" width="149" height="37" /></a></p>
</div>
</div>
</body>
</html>