~jfi/ubuntu/quantal/psensor/new-upstream

« back to all changes in this revision

Viewing changes to www/details.html

  • Committer: Package Import Robot
  • Author(s): Micah Gersten
  • Date: 2012-01-21 22:41:34 UTC
  • mfrom: (3.1.5 sid)
  • Revision ID: package-import@ubuntu.com-20120121224134-mty23d3917ng5ujd
Tags: 0.6.2.16-1ubuntu1
* Merge from Debian testing.  Remaining changes:
  + Modifed build-dep to add NVidia and Application Indicator support
  + Only add an nvidia-settings build-dep on i386 and amd64

* Add a patch to drop the deprecated g_thread_init() call
  - add debian/patches/drop_g_thread_init.patch
  - add debian/patches/series

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<html>
 
2
  <head>
 
3
    <meta charset="utf-8">
 
4
    <title id="title">Sensor </title>
 
5
 
 
6
    <link type="text/css"
 
7
          rel="stylesheet"
 
8
href="http://fonts.googleapis.com/css?family=Ubuntu:regular,bold&subset=Latin">
 
9
 
 
10
    <link href="jqplot.css" rel="stylesheet" type="text/css"/>  
 
11
    <link href="style.css" rel="stylesheet" type="text/css"/>   
 
12
 
 
13
<!--[if lt IE 9]><script language="javascript" type="text/javascript" src="excanvas.js"></script><![endif]-->
 
14
 
 
15
    <script src="jquery.js" type="text/javascript"></script>
 
16
    <script src="jqplot.js" type="text/javascript"></script>
 
17
    <script src="jqplot.dateAxisRenderer.js" type="text/javascript"></script>
 
18
 
 
19
    <script src="psensor.js" type="text/javascript"></script>
 
20
 
 
21
    <script>
 
22
      $(document).ready(function() {
 
23
                var url_id;
 
24
 
 
25
                url_id = get_url_params()["id"];
 
26
 
 
27
                update_menu();
 
28
                $.getJSON(url_id, function(data) {
 
29
                                update_chart("chart", type_to_str(data["type"]), data);
 
30
                });
 
31
 
 
32
                setInterval(function() {
 
33
                        $.getJSON(url_id, function(data) {
 
34
                                update_chart("chart", type_to_str(data["type"]), data);
 
35
                        });
 
36
                }, 5000);
 
37
 
 
38
                // reload page in order to workaround memory-leak in JQPlot
 
39
                setInterval(function() {
 
40
                        location.reload();
 
41
                }, 60000);
 
42
 
 
43
      });
 
44
    </script>
 
45
  </head>
 
46
  <body>
 
47
      <div id="menu">
 
48
        <ul id="menu-list">
 
49
          <li><em><a href="monitor.html">All</a></em></li>
 
50
        </ul>
 
51
      </div>
 
52
      
 
53
      <div id="main">
 
54
        <h1></h1>
 
55
        
 
56
        <div class="chart" id="chart"></div>
 
57
        
 
58
      </div>
 
59
      
 
60
      <div id="footer">
 
61
        Generated by <a href='http://wpitchoune.net/psensor'>psensor-server</a>
 
62
      </div>
 
63
  </body>
 
64
</html>