]> jspc29.x-matter.uni-frankfurt.de Git - daqtools.git/commitdiff
Updates to xmldb web page for performance issues & Chrome compatibility
authorJan Michel <j.michel@gsi.de>
Fri, 3 Oct 2014 12:29:13 +0000 (14:29 +0200)
committerJan Michel <j.michel@gsi.de>
Fri, 3 Oct 2014 12:30:06 +0000 (14:30 +0200)
web/htdocs/layout/blue.css
web/htdocs/scripts/xmlpage.js

index 4733092dbf0e0d043b656e90ce58ed2e0cbd4c1f..472c462175978bdf7e6d9a692fc7d55f95a060f0 100644 (file)
@@ -12,9 +12,11 @@ body {
 /*   width:320px; */
   padding:10px;
   margin:50px 10px 0 30px;
+  border:1px solid #78b;
   border-radius:5px;
   background:#eef;
-  box-shadow: 0 0 10px 5px #fff,  0 0 4px 1px #78b inset;
+
+  /*box-shadow: 0 0 10px 5px #fff,  0 0 4px 1px #78b inset;*/
   }
 
 #fileSelection {
@@ -249,7 +251,7 @@ div.header {
   font-weight:bold;
   top:-20px;
   color:#88a;
-  z-index:-1;
+/*   z-index:-1; */
   }
 
 ul    {  padding-left:20px;}
@@ -291,6 +293,9 @@ div.header span a {
 div.header span a:hover {
 }
 
+table.queryresult {
+  table-layout:fixed;
+}
   
 table.queryresult td.high {
   background-color:#e0eae0;
@@ -369,15 +374,15 @@ span.tooltip  {
   left: 1em;
   top: 2em;  
   padding:3px 5px 5px 5px;
-/*   background:#ffe; */
-  background: linear-gradient(135deg, rgba(255,255,238,1) 0%,rgba(250,250,220,1) 100%);
+  background:#ffe;
+/*   background: linear-gradient(135deg, rgba(255,255,238,1) 0%,rgba(250,250,220,1) 100%); */
   border:2px solid #fff;
   color:black;
   text-align:left;
   font-weight:normal;
   min-width: 250px;
   border-radius:5px;
-  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.1);
+/*   box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.1); */
   opacity:0;
 }
 
@@ -391,6 +396,8 @@ table.queryresult th div, table.queryresult td div {
   position:relative;
   cursor:default;
 }
+
+
 /*****************
  * Table for scaler view
  *****************/
index 683cba8beb0c6870f81a3199a1b7cd5305aa6c08..93eef87a0c7d769d2f34b7c7135a47e08bc6988f 100644 (file)
       }
     }
     
-  function refresh(time = 0) {
+  function refresh(time) {
+    time = time || 0;
 //     alert(time);
     if(time == -1) {  //call immediately and only once
-      getdataprint(GETCOMMAND+'?'+command,'content',false,0);
+      getdataprint(GETCOMMAND+'?'+command,'content',true,0);
       }
     else if (time > 0) { //call with timeout
       clearTimeout(Timeoutvar);
-      Timeoutvar = setTimeout("getdataprint(GETCOMMAND+'?'+command,'content',false,"+period+",refresh)",period);
+      Timeoutvar = setTimeout("getdataprint(GETCOMMAND+'?'+command,'content',true,"+period+",refresh)",period);
       }
     else {  //call immediately, then with timeout
       clearTimeout(Timeoutvar);
-      getdataprint(GETCOMMAND+'?'+command,'content',false,period,refresh);
+      getdataprint(GETCOMMAND+'?'+command,'content',true,period,refresh);
       }
     }