projects
/
psensor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5d4d5f1
)
add name of the sensor in the title
author
Jean-Philippe Orsini
<jeanfi@gmail.com>
Mon, 12 Sep 2011 13:07:37 +0000
(13:07 +0000)
committer
Jean-Philippe Orsini
<jeanfi@gmail.com>
Mon, 12 Sep 2011 13:07:37 +0000
(13:07 +0000)
www/details.html
patch
|
blob
|
history
diff --git
a/www/details.html
b/www/details.html
index
aa7603d
..
42993ef
100644
(file)
--- a/
www/details.html
+++ b/
www/details.html
@@
-1,7
+1,7
@@
<html>
<head>
<meta charset="utf-8">
<html>
<head>
<meta charset="utf-8">
- <title>Sensor
details
</title>
+ <title>Sensor </title>
<link type="text/css" href="style.css" rel="stylesheet" />
<link type="text/css" href="style.css" rel="stylesheet" />
@@
-17,12
+17,12
@@
var params = get_url_params();
var url_id = params["id"];
var params = get_url_params();
var url_id = params["id"];
-
$.getJSON(url_id, function(data) {
var measures = data["measures"];
var data_chart = [];
$("#title").append(data["name"]);
$.getJSON(url_id, function(data) {
var measures = data["measures"];
var data_chart = [];
$("#title").append(data["name"]);
+ $("title").append(data["name"]);
$.each(measures, function(i, item) {
var d = new Date(item["time"]*1000);
$.each(measures, function(i, item) {
var d = new Date(item["time"]*1000);
@@
-48,7
+48,7
@@
<body>
<div class='page'>
<div class='page-header'>
<body>
<div class='page'>
<div class='page-header'>
- <h1 id='title'>
Details
</h1>
+ <h1 id='title'></h1>
</div>
<div class='page-content'>
</div>
<div class='page-content'>