]> jspc29.x-matter.uni-frankfurt.de Git - daqtools.git/commitdiff
*** empty log message ***
authorhadeshyp <hadeshyp>
Mon, 22 Oct 2012 14:46:38 +0000 (14:46 +0000)
committerhadeshyp <hadeshyp>
Mon, 22 Oct 2012 14:46:38 +0000 (14:46 +0000)
cts/htdocs/thresh/styles.css
cts/htdocs/thresh/tdc.htm

index 3d1fb38585d1798f7cd642f76beca186c9cd809c..9b48107dda9a4744050ecb1ae23d472a48c0cf29 100644 (file)
@@ -3,6 +3,7 @@ body {
     font-size:10pt;
     margin:50px 0 0 15px;
     padding:0;
+
 }
 
 h2 {
@@ -28,9 +29,11 @@ table.form td {
 }
 
 table#content, table#contentregs {
- border:1px solid #ccc; 
+ border:solid #ccc; 
+ border-width:1px 0 0 1px;
  margin:0 20px 20px 0;
- border-collapse:collapse;
+/*  border-collapse:collapse; */
+border-spacing:0;
 }
 
 table#contentregs td:first-child, table#contentregs th:first-child,
@@ -43,8 +46,9 @@ table#content td:first-child, table#content th:first-child{
 
 
 table#content td, table#content th, table#contentregs td, table#contentregs th{
- border:1px solid #ccc; 
- width:100px;
+ border:solid #ccc; 
+ border-width:0 1px 1px 0;
+ width:90px;
  text-align:right;
  padding-right:15px;
 }
@@ -98,6 +102,25 @@ div#bar2 div {
   color:#eef;
 }
 
+table#content td.over {
+/*   border-collapse:separate;   */
+  border-right:5px solid #f88;
+  border-left: 5px solid #f88;
+  width:60px;
+  padding-right:20px;
+  border-radius:40px 40px;
+  border-spacing:2px;
+}
+
+table#content td.under {
+/*   border-collapse:separate; */
+  width:60px;
+  padding-right:20px;
+  border-left: 5px solid #8f8;
+  border-right:5px solid #8f8;
+  border-radius:40px 40px;
+  border-spacing:2px;
+}
 
 
 /*
index dc2eb3f0e361b3334b832e0eed6fccb66eca3a1c..3d1551c5979a240025f585a76a7d52994de6533a 100644 (file)
@@ -55,7 +55,7 @@ function update(data) {
     } 
   
   for(i = 1; i <= channels; i++) {
-    o += "<tr class=\""+(i%2?"odd":"even")+" "+((c[j][i]&0x80000000)?"high":"low")+"\"><th>"+(i-1+0xc000).toString(16)+"<th>"+(i-1);
+    o += "<tr class=\""+(i%2?"odd":"even")+"\"><th>"+(i-1+0xc000).toString(16)+"<th>"+(i-1);
     for(j=0;j<b.length-1;j++) {
       if(differences) {
         val = (c[j][i] & 0xFFFFFF)- ((oldvalues[j][i]||0) & 0xFFFFFF);
@@ -66,7 +66,7 @@ function update(data) {
       else {
         val = c[j][i] & 0xFFFFFF;
         }
-      o += "<td>"+(val & 0xffffff);
+      o += "<td class=\""+((c[j][i] &0x80000000)?"over":"under")+"\">"+(val);
       }
     }
   oldvalues = c;