From 6f00695928104f700856c804fe6f68b06aa1dd8b Mon Sep 17 00:00:00 2001 From: hadeshyp Date: Mon, 22 Oct 2012 14:46:38 +0000 Subject: [PATCH] *** empty log message *** --- cts/htdocs/thresh/styles.css | 31 +++++++++++++++++++++++++++---- cts/htdocs/thresh/tdc.htm | 4 ++-- 2 files changed, 29 insertions(+), 6 deletions(-) diff --git a/cts/htdocs/thresh/styles.css b/cts/htdocs/thresh/styles.css index 3d1fb38..9b48107 100644 --- a/cts/htdocs/thresh/styles.css +++ b/cts/htdocs/thresh/styles.css @@ -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; +} /* diff --git a/cts/htdocs/thresh/tdc.htm b/cts/htdocs/thresh/tdc.htm index dc2eb3f..3d1551c 100644 --- a/cts/htdocs/thresh/tdc.htm +++ b/cts/htdocs/thresh/tdc.htm @@ -55,7 +55,7 @@ function update(data) { } for(i = 1; i <= channels; i++) { - o += ""+(i-1+0xc000).toString(16)+""+(i-1); + o += ""+(i-1+0xc000).toString(16)+""+(i-1); for(j=0;j"+(val); } } oldvalues = c; -- 2.43.0