From c1e18dc59fcf1b2233a0f56e9676e8c68fa25087 Mon Sep 17 00:00:00 2001 From: hadeshyp Date: Wed, 17 Oct 2012 11:05:05 +0000 Subject: [PATCH] *** empty log message *** --- cts/htdocs/thresh/styles.css | 42 +++++++++++++++++++++++++++++++----- cts/htdocs/thresh/tdc.htm | 11 +++++----- 2 files changed, 43 insertions(+), 10 deletions(-) diff --git a/cts/htdocs/thresh/styles.css b/cts/htdocs/thresh/styles.css index 74beb51..f0ffbfc 100644 --- a/cts/htdocs/thresh/styles.css +++ b/cts/htdocs/thresh/styles.css @@ -1,24 +1,56 @@ body { - background:#eef; + background:#f5f5f5; + font-size:10pt; + margin:50px 0 0 15px; + padding:0; } +h2 { + position:absolute; + width:100%; + top:-15px; + left:0px; + background:#f9f9f9; + border-bottom:1px solid #ccc; + padding:10px 0 5px 10px; +} + +table.form { + border:1px solid #ccc; + padding:0; + background:#f0f0f8; + margin-bottom:20px; + border-collapse:collapse; +} + +table.form td { + padding:2px 10px; +} table#content, table#contentregs { - border:1px solid #aaa; + border:1px solid #ccc; margin:0 20px 20px 0; border-collapse:collapse; } +table#contentregs td:first-child, table#contentregs th:first-child, +table#content td:first-child, table#content th:first-child{ + width:40px; + padding-right:0px; + text-align:center; +} + + table#content td, table#content th, table#contentregs td, table#contentregs th{ - border:1px solid #aaa; + border:1px solid #ccc; width:100px; text-align:right; padding-right:15px; } table#content, table#contentregs { - border:1px solid #aaa; + border:1px solid #ccc; } @@ -62,6 +94,6 @@ div#bar2 div { } .head { - background:#334; + background:#333; color:#eef; } \ No newline at end of file diff --git a/cts/htdocs/thresh/tdc.htm b/cts/htdocs/thresh/tdc.htm index d355ed2..a920e83 100644 --- a/cts/htdocs/thresh/tdc.htm +++ b/cts/htdocs/thresh/tdc.htm @@ -9,9 +9,10 @@ -

Hit Counters

+

Hit Counters & TDC Registers

-
Board +
Settings +
Board
# of Channels
Update Interval (ms)
Differences @@ -45,7 +46,7 @@ function update(data) { if(!document.getElementById("content").innerHTML) return; var b = data.split("&"); var c = {}; - o = "
Channel"; + o = "
RegChannel"; for(j=0;j"+(i-1); + o += "
"+(i-1+0xc000).toString(16)+""+(i-1); for(j=0;jRegisterContent"; + o = "
RegContent"; for(j=0;j