From 733b009b93002e1a0d627016575e352d191b1cf8 Mon Sep 17 00:00:00 2001 From: Cahit Ugur Date: Thu, 30 Jan 2014 17:39:20 +0100 Subject: [PATCH] The size of the table is readjusted to fit the writings. --- web/htdocs/layout/styles.css | 6 +++--- web/htdocs/tdc/tdc.htm | 15 ++++++--------- 2 files changed, 9 insertions(+), 12 deletions(-) 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); -- 2.43.0