File: infobox.html

package info (click to toggle)
nagios4 4.4.6-4.1
  • links: PTS
  • area: main
  • in suites: sid, trixie
  • size: 22,336 kB
  • sloc: ansic: 97,631; sh: 12,619; javascript: 5,483; perl: 2,624; makefile: 1,265; php: 381; ruby: 95
file content (51 lines) | stat: -rw-r--r-- 1,660 bytes parent folder | download | duplicates (3)
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
<table class="infoBox" border="1" cellspacing="0" cellpadding="0">
	<tbody>
		<tr>
			<td class="infoBox">
				<button type="button" class="btn btn-xs btn-default btn-noshadow"
						ng-click="toggleDisplay()" ng-if="isCollapsable">
					<span ng-hide="isPermanentlyCollapsed">&#x2227;</span>
					<span ng-show="isPermanentlyCollapsed">&#x2228;</span>
				</button>
				<span class="infoBoxTitle">
					{{decorationTitle}}
				</span>
				<div ng-hide="isCollapsed">
					Last Updated: {{lastUpdate | date:'EEE MMM dd HH:mm:ss yyyy'}}
					<br>
					Nagios&reg; Core&trade; {{json.data.programstatus.version}} -
					<a href="https://www.nagios.org" target="_new"
							class="homepageURL">www.nagios.org</a>
					<br>
					<span ng-show="updateInterval > 0">
						Updated every {{updateInterval}} seconds
						<br/>
					</span>
					<span ng-show="haveProgramStatus">
						Logged in as <i>{{json.result.user}}</i>
						<br>
					</span>
					<div class="infoBoxBadProcStatus"
							ng-hide="haveProgramStatus">
						Warning: Monitoring process may not be running!
						<br/>
						Click <a href="{{cgiurl}}extinfo.cgi?type=0">here</a>
						for more info.
					</div>
					<!--div class="infoBoxBadProcStatus">
						Warning: Could not read program status information!
					</div-->
					<div class="infoBoxBadProcStatus"
							ng-show="notificationsDisabled()">
						- Notifications are disabled
					</div>
					<div class="infoBoxBadProcStatus"
							ng-show="serviceChecksDisabled()">
						- Service checks are disabled
					</div>
				</div>
			</td>
		</tr>
	</tbody>
</table>
<div ng-hide="isCollapsed" ng-include="includePartial"></div>