summaryrefslogtreecommitdiff
path: root/docs/examples/index.html
blob: 6dc769660ef72f637d57b241686d4e8bdab2b285 (plain)
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
        <meta http-equiv="content-type" content="text/html;charset=utf-8" />

        <title>Jarmon - customisable, Javascript generated charts from
        Collectd RRD data</title>

        <link rel="stylesheet" type="text/css" href="assets/css/style.css" />
        <link rel="stylesheet" type="text/css" href="assets/css/jquerytools.tabs.tabs-no-images.css" />
        <link rel="stylesheet" type="text/css" href="assets/css/jquerytools.dateinput.skin1.css" />

        <script type="text/javascript" src="assets/js/dependencies.js"></script>
        <script type="text/javascript" src="../../jarmon/jarmon.js"></script>
        <script type="text/javascript" src="jarmon_example_recipes.js"></script>
        <script type="text/javascript">

        $(function() {
            jarmon.buildTabbedChartUi(
                $('.chart-container').remove(),
                jarmon.CHART_RECIPES_COLLECTD,
                $('.tabbed-chart-interface'),
                jarmon.TAB_RECIPES_STANDARD,
                $('.chartRangeControl')
            );
        });
        </script>
    </head>

    <body>
        <div class="chartRangeControl">
            <form>
                <div>
                    <span class="timerange_control custom">
                        <img src="assets/icons/calendar.png" width="16" height="16" alt="calendar" class="from_custom"
                             title="Click to choose a custom start date" />
                        <input name="from_custom" type="text" readonly="readonly"
                               title="Time range start" />
                        <img src="assets/icons/calendar.png" width="16" height="16" alt="calendar" class="to_custom"
                             title="Click to choose a custom end date" />
                        <input name="to_custom" type="text" readonly="readonly"
                               title="Time range end" />
                    </span>
                    <span class="timerange_control standard">
                        <select name="from_standard"
                                title="Time range shortcuts - click to select an alternative time range" >
                        </select>
                    </span>
                    <input name="from" type="hidden"  />
                    <input name="to" type="hidden"  />
                    <select name="tzoffset"
                            title="Timezone offset - click to choose a custom timezone offset" ></select>
                    <input name="action" value="Update" type="button"
                           title="Graph update - click to update all graphs" />
                </div>
                <div class="range-preview"
                     title="Time range preview - click and drag to select a custom timerange" ></div>
            </form>
        </div>
        <div class="tabbed-chart-interface"></div>
        <div class="chart-container">
            <div class="chart-header">
                <h2 class="title"></h2>
            </div>
            <div class="error"></div>
            <div class="chart"></div>
            <div class="graph-legend"></div>
        </div>
    </body>
</html>