]> jspc29.x-matter.uni-frankfurt.de Git - daqtools.git/commitdiff
enable checkboxes and hit numbers brought to a single row
authorCahit Ugur <c.ugur@gsi.de>
Fri, 1 Aug 2014 13:18:30 +0000 (15:18 +0200)
committerCahit Ugur <c.ugur@gsi.de>
Fri, 1 Aug 2014 13:18:30 +0000 (15:18 +0200)
web/htdocs/layout/styles.css
web/htdocs/tdc/tdc.htm

index 28eee2e1aa216a2ffb0012db5126a8288c63c47d..2d1685819f70e6a39b8d75cf8677e2d7a76d8894 100644 (file)
@@ -89,9 +89,10 @@ table.content {
 
 table.content td:first-child, table.content th:first-child{
   width:40px;
-  
+  height:20px;  
   padding-right:0px;
   text-align:center;
+
 }
 
 
@@ -192,9 +193,11 @@ table.content  tr:hover td.under {
   border-color:#dfd;
 }
 
+/* This pushes the enable boxes in the tdc.htm
 input {
   width:182px;
 }
+*/
 
 input.small {
   width:90px;
@@ -289,5 +292,4 @@ table#server-details pre {
 
 .smallboxes input {
   width:40px;
-  }  
-   
+  }
index 96776d0b647302f02b654d560d50a01406c94897..61fbcafc14f9a618425633322f30df79e877d2d2 100644 (file)
@@ -117,8 +117,8 @@ function update(data) {
     for(j=0;j<b.length-1;j++) {
       if(isShown[j]) {
         o += "<th>";
-        for(k=3;k>=0;k--) {
-          o += "<span style=\"display:block;float:left;width:20px;font-size:80%\">"+k+"</span>";
+        for(k=0;k<=3;k++) {
+          o += "<span style=\"display:block;float:right;width:22px;font-size:80%\">"+k+"</span>";
           }
         o+="<br>";
         for(k=3;k>=0;k--) {