Subversion-Projekte lars-tiefland.nagios-php

Revision

Revision 84 | Zur aktuellen Revision | Details | Vergleich mit vorheriger | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
88 lars 1
// $Header: file:///svn/repos/nagios-php/js/nagios-php.js 88 2013-01-02 13:34:47Z lars $
9 lars 2
$(function()
3
{
4
    $('#accordion').accordion(
5
    {
6
        heightStyle: "content",
7
        icons: {
8
            "header": "ui-icon-plus",
9
            "headerSelected": "ui-icon-minus"
10
        }
11
    });
12
    $('#tac').click(load_tac);
56 lars 13
    $('#hgo').click(load_hgo);
41 lars 14
    $('#hgs').click(load_hgs);
15
    $('#hgg').click(load_hgg);
56 lars 16
    $('#sgo').click(load_sgo);
41 lars 17
    $('#sgs').click(load_sgs);
18
    $('#sgg').click(load_sgg);
9 lars 19
 
75 lars 20
});
21
 
22
function load_tac()
23
{
24
    $('#content').html('Loading...');
25
    $('#content').load("tac.php");
26
}
27
 
28
function load_hgo()
29
{
30
    $('#content').html('Loading...');
31
    $('#content').load("hostgroups.php?mode=overview");
32
}
33
 
34
function load_hgs()
35
{
36
    $('#content').html('Loading...');
37
    $('#content').load("hostgroups.php?mode=summary");
38
}
39
 
40
function load_hgg()
41
{
42
    $('#content').html('Loading...');
43
    $('#content').load("hostgroups.php?mode=grid");
44
}
45
 
46
function load_sgo()
47
{
48
    $('#content').html('Loading...');
49
    $('#content').load("servicegroups.php?mode=overview");
50
}
51
 
52
function load_sgs()
53
{
54
    $('#content').html('Loading...');
55
    $('#content').load("servicegroups.php?mode=summary");
56
}
57
 
58
function load_sgg()
59
{
60
    $('#content').html('Loading...');
61
    $('#content').load("servicegroups.php?mode=grid");
62
}