hosts_status.ihtml 3.47 KB
Newer Older
ClaireGizard's avatar
ClaireGizard committed
1
2
<html>
<head>
3
    <title>tactical-overview</title>
4
5
    <link href="../../Themes/Generic-theme/style.css" rel="stylesheet" type="text/css"/>
    <link href="../../Themes/Generic-theme/color.css" rel="stylesheet" type="text/css"/>
6
    <link href="../../Themes/{$theme}/variables.css" rel="stylesheet" type="text/css"/>
ClaireGizard's avatar
ClaireGizard committed
7
8
</head>
<body>
9
10
11
12
    <div id="tactical-overview">
        <table class='StyleTable ListTable'>
            <tr class="listHeader">
                <td class='ListColHeaderLeft'>
13
                    <a href='{$dataDO[0].listing_uri}' target="_blank"><span class="badge host_down margin_right">{$dataDO[0].status}</span>Down</a>
14
15
                </td>
                <td class='ListColHeaderLeft'>
16
                    <a href='{$dataUN[0].listing_uri}' target="_blank"><span class="badge host_unreachable margin_right">{$dataUN[0].status}</span>Unreachable</a>
17
18
                </td>
                <td class='ListColHeaderLeft'>
19
                    <a href='{$dataUP[0].listing_uri}' target="_blank"><span class="badge host_up margin_right">{$dataUP[0].status}</span>Up</a>
20
21
                </td>
                <td class='ListColHeaderLeft'>
22
                    <a href='{$dataPEND[0].listing_uri}' target="_blank"><span class="badge pending margin_right">{$dataPEND[0].status}</span>Pending</a>
23
24
25
26
                </td>
            </tr>
            <tr class="line_ack">
                <td class='ListColLeft'>
27
                    <a href='{$dataDO[0].listing_ack_uri}' target="_blank"><span class="badge host_down margin_right">{$dataDO[0].ack}</span>Acknowledge</a>
28
29
                </td>
                <td class='ListColLeft'>
30
                    <a href='{$dataUN[0].listing_ack_uri}' target="_blank"><span class="badge host_unreachable margin_right">{$dataUN[0].ack}</span>Acknowledge</a>
31
32
33
34
35
36
                </td>
                <td></td>
                <td></td>
            </tr>
            <tr class ="line_downtime">
                <td class='ListColLeft'>
37
                    <a href='{$dataDO[0].listing_downtime_uri}' target="_blank"><span class="badge host_down margin_right">{$dataDO[0].down}</span>Downtimes</a>
38
39
                </td>
                <td class='ListColLeft'>
40
                    <a href='{$dataUN[0].listing_downtime_uri}' target="_blank"><span class="badge host_unreachable margin_right">{$dataUN[0].down}</span>Downtimes</a>
41
42
43
44
45
46
                </td>
                <td></td>
                <td></td>
            </tr>
            <tr class="list_two">
                <td class='ListColLeft'>
47
                    <a href='{$dataDO[0].listing_unhandled_uri}' target="_blank"><span class="badge host_down margin_right">{$dataDO[0].un}</span>Unhandled</a>
48
49
                </td>
                <td class='ListColLeft'>
50
                    <a href='{$dataUN[0].listing_unhandled_uri}' target="_blank"><span class="badge host_unreachable margin_right">{$dataUN[0].un}</span>Unhandled</a>
51
52
53
54
55
56
57
58
59
60
61
                </td>
                <td></td>
                <td></td>
            </tr>
        </table>
    </div>
    <br>
    <script>
        var widgetId = "{$widgetId}";
        var autoRefresh = "{$autoRefresh}";
    </script>
62
    <script type="text/javascript" src="../../include/common/javascript/jquery/jquery.min.js"></script>
63
64
65
    <script type="text/javascript" src="../../include/common/javascript/jquery/jquery-ui.js"></script>
    <script type="text/javascript" src="../../include/common/javascript/widgetUtils.js"></script>
    <script type="text/javascript" src="src/data_js.js"></script>
ClaireGizard's avatar
ClaireGizard committed
66
67
</body>
</html>