Subversion-Projekte lars-tiefland.nagios-php

Revision

Revision 52 | Revision 75 | 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
 
19
    function load_tac()
20
    {
21
        $('#content').html('Loading...');
22
        $('#content').load("tac.php");
23
    }
56 lars 24
    function load_hgo()
25
    {
26
        $('#content').html('Loading...');
27
        $('#content').load("hostgroups.php?mode=overview");
28
    }
41 lars 29
    function load_hgs()
30
    {
31
        $('#content').html('Loading...');
52 lars 32
        $('#content').load("hostgroups.php?mode=summary");
41 lars 33
    }
34
    function load_hgg()
35
    {
36
        $('#content').html('Loading...');
52 lars 37
        $('#content').load("hostgroups.php?mode=grid");
41 lars 38
    }
56 lars 39
    function load_sgo()
40
    {
41
        $('#content').html('Loading...');
42
        $('#content').load("servicegroups.php?mode=overview");
43
    }
41 lars 44
    function load_sgs()
45
    {
46
        $('#content').html('Loading...');
52 lars 47
        $('#content').load("servicegroups.php?mode=summary");
41 lars 48
    }
49
    function load_sgg()
50
    {
51
        $('#content').html('Loading...');
52 lars 52
        $('#content').load("servicegroups.php?mode=grid");
41 lars 53
    }
9 lars 54
});