Subversion-Projekte lars-tiefland.nagios-php

Revision

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

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