]> jspc29.x-matter.uni-frankfurt.de Git - mvdsensorcontrol.git/commitdiff
changed table color to css
authorJan Michel <j.michel@gsi.de>
Mon, 24 Jun 2013 13:10:08 +0000 (15:10 +0200)
committerJan Michel <j.michel@gsi.de>
Mon, 24 Jun 2013 13:10:08 +0000 (15:10 +0200)
.gitignore
xml_spielwiese/cgitest.pl
xml_spielwiese/styles.css

index 0a40453746ce6d132e0fe0c14b226ba40ec797c8..253e3f544e51e3395debfd56ec3317383c20bfb9 100644 (file)
@@ -3,3 +3,4 @@ devel
 *bak
 .kateproject
 temp
+.kateproject.d/
index 4f59e44d2e463ec87fae6b09b07827dcbb1ed981..631a53d7fecebf30be9d3213b0c26529d6787033 100755 (executable)
@@ -17,6 +17,7 @@ print <<EOF;
 <HEAD>
 <title>CGI Testrange</title>
 <link href="styles.css" rel="stylesheet" type="text/css"/>
+<link href="../layout/styles.css" rel="stylesheet" type="text/css"/>
 EOF
 printJavaScripts();
 print <<EOF;
@@ -227,31 +228,31 @@ for my $register (@registers ){
        print "<tr bgcolor='lightgrey'>";
 
        print <<EOF;
-<td onClick='toggleVis("$flistid")' bgcolor="lightgrey">&nbsp;+&nbsp;</td>
+<td onClick='toggleVis("$flistid")' class='regheader'>&nbsp;+&nbsp;</td>
 EOF
        print "<td>$registerName</td>"; 
        #print "<td>$registerId</td>";
 
                if($xmlfile eq $setfile){
                print <<EOF;
-<td bgcolor="orange" onclick='deleteSettings("$setfile","$registerName","");'>&nbsp;X&nbsp;</td>
+<td class='button_move' onclick='deleteSettings("$setfile","$registerName","");'>&nbsp;X&nbsp;</td>
 EOF
                }       
                if($xmlfile eq $specfile){
                print <<EOF;
-<td bgcolor="orange" onclick='copyDefaultRegister("$registerName");'>&nbsp;>>&nbsp;</td>
+<td class='button_move' onclick='copyDefaultRegister("$registerName");'>&nbsp;>>&nbsp;</td>
 EOF
                }       
 
        print "</tr>";
        #print "<tr>";
 
-       print '<tr id="'.$flistid.'" bgcolor="#dea" style="visibility:collapse">';
+       print '<tr id="'.$flistid.'" class="bitfield" style="visibility:collapse">';
        print '<td></td>';
        print '<td>';
                print_fields($xmlfile,$register);
        print "</td>";
-       print "<td bgcolor='#dea'></td>";
+       print "<td class='bitfield'></td>";
        print "</tr>";
 }
 print "</table>";
index 5dcad2688f47669d1e43c8bc22e48feb233ad382..636cf333b467afde60bd76f329ec4296febb4baf 100644 (file)
@@ -41,3 +41,18 @@ input[type="button"]
        font-size:12px;
        height:20px;
 }
+
+
+.button_move {
+  background:orange;
+  cursor:hand;
+}
+
+.regheader {
+  background:lightgrey;
+  font-variant:small-caps;
+}
+
+.bitfield {
+  background:#dea;
+}
\ No newline at end of file