]> jspc29.x-matter.uni-frankfurt.de Git - mvdsensorcontrol.git/commitdiff
minor design fixes to the GUIs
authorwww@jspc55 <www@jspc55>
Mon, 30 Jun 2014 17:51:19 +0000 (19:51 +0200)
committerwww@jspc55 <www@jspc55>
Mon, 30 Jun 2014 17:51:19 +0000 (19:51 +0200)
layout/jtageditor_blue.css
layout/testgui.css
tools/testgui.js
tools/testgui.pl
tools/xmlRendering.pm

index 674057e7e21a77fea1ffe3358b4d4656e9126004..4c1871548bb01a18c39b8273d7a49d8707e36e68 100644 (file)
@@ -140,6 +140,15 @@ table.fields td.button_move, table.registers td.button_move, .button_move {
   transition:background .4s;
 }
 
+.button_passive {
+/*   background:#dde; */
+/*   cursor:pointer; */
+  text-align:center;
+  color:#228;
+  width:25px;
+  border:2px solid #eef;
+/*   transition:background .4s; */
+}
 
 table.fields td.button_move_deac {
   background:#eef;
index 1c0bcaa810e387f8cf2a9737047ad48bb0b43a20..f6817ecadb82220ea985bcac3095595c15bacf92 100644 (file)
@@ -8,15 +8,17 @@
 }
 
 #theConsoleContainer {
-  visibility:collapse;
+/*   visibility:collapse; */
   margin:5px;
   padding:10px;
+/*   width:820px; */
 }
 
 #advancedOptionsContainer {
-  visibility:collapse;
+/*   visibility:collapse; */
   margin:5px;
   padding:10px;
+  width:820px;
 }
 
 .td_solid {
index 46611c58cc79272be25837abaac1197cb98adbb9..b7a495ed4cc89d8406f35d4383fb1bb89af1165d 100644 (file)
@@ -61,4 +61,21 @@ $(document).ready(function(){
   $("#setupeditorlink").attr("href","editor.pl?file="+encodeURIComponent(setupFile));
   $("#systemeditorlink").attr("href","editor.pl?file="+encodeURIComponent(systemFile));
   
+  $("#advancedOptionsContainer").hide();
+  $("#theConsoleContainer").hide();
+    
+  $("#advoptbtn").click(function(){
+//     toggleVis("advancedOptionsContainer");
+    $("#advancedOptionsContainer").fadeToggle();
+    var $target = $('html,body'); 
+    $target.animate({scrollTop: $target.height()}, 1000);
+  });
+  $("#debugbtn").click(function(){
+//     toggleVis("theConsoleContainer");
+    $("#theConsoleContainer").fadeToggle();
+    var $target = $('html,body'); 
+    $target.animate({scrollTop: $target.height()}, 1000);
+  });
+  
+  
 });
index 5ce867a3de2dc5e9bebbdf0cc764c672079bda5d..a9829b00c0fd085c318c2b23f45480dcda86da14 100755 (executable)
@@ -193,8 +193,8 @@ sub init_html{
   print "</script>";
   # end of that story
 
-  print "<input type='button' value='show/hide debug output' onclick='toggleVis(\"theConsoleContainer\")'>";
-  print "<input type='button' value='show/hide advanced options' onclick='toggleVis(\"advancedOptionsContainer\")'>";
+  print "<input type='button' id='debugbtn'  value='show/hide debug output' >";
+  print "<input type='button' id='advoptbtn' value='show/hide advanced options'>";
 
   print "</td></tr>";
   print "</table>";
index fb831ffd6c72ce7c758b1cd34add2858ed63770d..dd26d6e48945717d7130d81ba25ddb64028cfcea 100644 (file)
@@ -214,7 +214,7 @@ sub print_fields {
     unless($isHeritageFrom){
     print qq%<td class='button_move' onclick='toggleVis("$conversionTableId","")'> &nbsp;=&nbsp;</td>%;
     } else {
-    print qq%<td> &nbsp;=&nbsp;</td>%;
+    print qq%<td class='button_passive'> &nbsp;=&nbsp;</td>%;
     }
 #     print "<td>";
 #     print_conversionMenu($registerName,$fieldName);