From: Cahit Ugur Date: Thu, 30 Jan 2014 16:39:20 +0000 (+0100) Subject: The size of the table is readjusted to fit the writings. X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=733b009b93002e1a0d627016575e352d191b1cf8;p=daqtools.git The size of the table is readjusted to fit the writings. --- diff --git a/web/htdocs/layout/styles.css b/web/htdocs/layout/styles.css index 2f979db..f2fcc0a 100644 --- a/web/htdocs/layout/styles.css +++ b/web/htdocs/layout/styles.css @@ -99,10 +99,10 @@ table.content td:first-child, table.content th:first-child{ table.content td, table.content th { border:solid #ccc; border-width:0 1px 1px 0; - width:90px; - min-width:90px; + width:105px; + min-width:105px; text-align:right; - padding-right:15px; + padding-right:10px; } table.content { diff --git a/web/htdocs/tdc/tdc.htm b/web/htdocs/tdc/tdc.htm index fe50afe..d4b4aeb 100644 --- a/web/htdocs/tdc/tdc.htm +++ b/web/htdocs/tdc/tdc.htm @@ -319,19 +319,16 @@ function updatectrlregs(data) { o += ""; } else if(i==1) { - o += ""; - o += ""; if ((val&0x80000000)) o += "Enabled"; else o += "Disabled"; - preWindow = (val&0x7FF)*5; - postWindow = ((val&0x7FF0000)>>16)*5; - o += "
"+""+"ns"+ - "
"+""+"ns"; - - - + o += ""; + o += ""; + preWindow = (val&0x7FF)*5; + postWindow = ((val&0x7FF0000)>>16)*5; + o += "
"+""+"ns"+ + "
"+""+"ns"; } else if(i==2 || i==3) { o += (val*1.).toString(16);