Rename CSS files to avoid cache conficts
authorJamie Cameron <jcameron@webmin.com>
Wed, 21 Nov 2007 19:54:16 +0000 (19:54 +0000)
committerJamie Cameron <jcameron@webmin.com>
Wed, 21 Nov 2007 19:54:16 +0000 (19:54 +0000)
blue-theme/blue-left.css [moved from blue-theme/left.css with 100% similarity]
blue-theme/left.cgi
blue-theme/theme.pl
blue-theme/unauthenticated/blue-style.css [moved from blue-theme/unauthenticated/style.css with 100% similarity]
blue-theme/unauthenticated/style.css.old [deleted file]

similarity index 100%
rename from blue-theme/left.css
rename to blue-theme/blue-left.css
index d6eb312..2d6f9ab 100755 (executable)
@@ -22,8 +22,8 @@ print <<EOF;
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
 <html>
 <head>
-<link rel="stylesheet" type="text/css" href="unauthenticated/style.css" />
-<link rel="stylesheet" type="text/css" href="left.css" />
+<link rel="stylesheet" type="text/css" href="unauthenticated/blue-style.css" />
+<link rel="stylesheet" type="text/css" href="blue-left.css" />
 <script>
 function toggleview (id1,id2) {
                var obj1 = document.getElementById(id1);
index 317c2df..da4b605 100755 (executable)
@@ -54,7 +54,7 @@ sub theme_prebody
 {
 if ($script_name =~ /session_login.cgi/) {
        # Generate CSS link
-       print "<link rel='stylesheet' type='text/css' href='$gconfig{'webprefix'}/unauthenticated/style.css'>\n";
+       print "<link rel='stylesheet' type='text/css' href='$gconfig{'webprefix'}/unauthenticated/blue-style.css'>\n";
        }
 }
 
@@ -71,7 +71,7 @@ if ($module_name eq "mailbox" && $ENV{'HTTP_REFERER'} =~ /(edit|save)_(folder|co
 
 sub theme_prehead
 {
-print "<link rel='stylesheet' type='text/css' href='$gconfig{'webprefix'}/unauthenticated/style.css' />\n";
+print "<link rel='stylesheet' type='text/css' href='$gconfig{'webprefix'}/unauthenticated/blue-style.css' />\n";
 print "<script>\n";
 print "var rowsel = new Array();\n";
 print "</script>\n";
diff --git a/blue-theme/unauthenticated/style.css.old b/blue-theme/unauthenticated/style.css.old
deleted file mode 100644 (file)
index c631ac9..0000000
+++ /dev/null
@@ -1,137 +0,0 @@
-head {
-       background-color: #ffffff;
-       color: #000000;
-     }
-
-body { 
-       background-color: #ffffff;
-       color: #000000;
-     }
-
-table {
-                               border-width: 0px;
-                               empty-cells: hide;
-}
-
-a:link { color: #333399;
-  text-decoration: none;
-}
-a:hover, a:visited:hover { color: #6666EE;
-  text-decoration: none;
-}
-a:visited { color: #333399;
-  text-decoration: none;
-}
-
-body, p, td, br, center { font-size: 10pt;
-        font-family: sans-serif;
-      }
-
-title { color: #000000;
-     font-family: sans-serif;
-   }
-
-h1 { color: #000000;
-                       font-size: 150%;
-     font-family: sans-serif;
-   }
-
-h2 { color: #111199;
-     font-size: 130%;
-     font-family: sans-serif;
-   }
-
-h3 { color: #111199;
-     font-size: 125%;
-     font-family: sans-serif;
-   }
-   
-h4 { color: #111199;
-     font-size: 120%;
-     font-family: sans-serif;
-   }
-th { font-size: small; }
-
-pre { font-size: 8pt; 
-    }
-
-tt { font-size: 8pt; 
-    }
-
-#main { border-style: solid;
-       border-color: #ccccff;
-       border-width: 1px;
-       background-color: #e8e8ea;
-}
-
-#menubarun { border-style: solid;
-       border-color: #c9c9c9;
-       border-bottom-width: 0px;
-       border-top-width: 1px;
-       border-left-width: 1px;
-       border-right-width: 1px;
-       background-image: url("images/title-bar.png");
-}
-
-#menubar { border-style: solid;
-       border-color: #adade4;
-       border-bottom-width: 0px;
-       border-top-width: 1px;
-       border-left-width: 1px;
-       border-right-width: 1px;
-       background-image: url("images/title-bar-selected.png");
-}
-
-#forms { border-style: solid;
-       border-color: #ccccff;
-       border-width: 1px;
-       background-color: #e8e8ea;
-}
-
-tr.mainbody { border-style: solid;
-       border-color: #ddddff;
-       border-bottom-width: 1px;
-       border-top-width: 0px;
-       border-left-width: 1px;
-       border-right-width: 1px;
-}
-
-tr.mainhigh { border-style: solid;
-       border-color: #ddddff;
-       border-bottom-width: 1px;
-       border-top-width: 0px;
-       border-left-width: 1px;
-       border-right-width: 1px;
-       background-color: #aaaaff;
-}
-
-tr.mainsel { border-style: solid;
-       border-color: #ddddff;
-       border-bottom-width: 1px;
-       border-top-width: 0px;
-       border-left-width: 1px;
-       border-right-width: 1px;
-       background-color: #ffc8ca;
-}
-
-tr.mainhighsel { border-style: solid;
-       border-color: #ddddff;
-       border-bottom-width: 1px;
-       border-top-width: 0px;
-       border-left-width: 1px;
-       border-right-width: 1px;
-       background-color: #ffaaff;
-}
-
-tr.maintitle { border-style: solid;
-       border-color: #adade4;
-       border-bottom-width: 0px;
-       border-top-width: 1px;
-       border-left-width: 1px;
-       border-right-width: 1px;
-       background-color: #88b2ce;
-}
-
-.itemhidden {display:none}
-.itemshown {display:inline}