styling of menu title
authorJean-Philippe Orsini <jeanfi@gmail.com>
Tue, 13 Sep 2011 09:39:57 +0000 (09:39 +0000)
committerJean-Philippe Orsini <jeanfi@gmail.com>
Tue, 13 Sep 2011 09:39:57 +0000 (09:39 +0000)
www/psensor.js
www/style.css

index 275af64..28d9c46 100644 (file)
@@ -137,7 +137,7 @@ function update_chart(chart_id, title, data) {
        },
        series: [ { 
            lineWidth: 1, 
-           showMarker:false 
+           showMarker: false 
        } ]
     };
 
@@ -148,7 +148,7 @@ function update_menu() {
     var name, link, url, str;
 
     $.getJSON("/api/1.0/sensors", function(data) {
-       str = "<li>Sensors\n<ul>";
+       str = "<li><em>Sensors</em>\n<ul>";
 
        $.each(data, function(i, item) {
             name = item["name"];
index 7cf7161..d2075ac 100644 (file)
@@ -7,10 +7,6 @@ body {
     margin: 0 0 0 0;
 }
 
-body div {
-    background-color: #fff;
-}
-
 a {
     color: #1982D1;
     font-style: normal;
@@ -91,4 +87,9 @@ ul li ul li {
     width: 80%;
     padding: 0 0 0 0;
     margin: 0 0em 0 0;
+}
+
+em {
+    font-weight: bold;
+    font-style: normal;
 }
\ No newline at end of file