Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
Fixed Status - page for IE (http://www.yacy-forum.de/viewtopic.php?t=4113), added new Stylesheets in conditional comments for different IE - versions, added hiding of favicons (as proposed by allo).
michitux4f1f280abdf4
diff --git a/htroot/Status.html b/htroot/Status.htmlindex 27a4c7fe6..a4ac1d985 100644--- a/htroot/Status.html+++ b/htroot/Status.html@@ -7,7 +7,9 @@</head><body style="margin:0px;">#%env/templates/header.template%#-+ <!--[if IE]>+ <div class="gainlayout">+ <![endif]--><div class="welcome"><center><h2>Welcome to YaCy!</h2></center>@@ -199,8 +201,9 @@</div>#%[privateStatusTable]%#--+ <!--[if IE]>+ </div>+ <![endif]-->#%env/templates/footer.template%#</body>diff --git a/htroot/env/base.css b/htroot/env/base.cssindex 95903e918..0aa197ebb 100644--- a/htroot/env/base.css+++ b/htroot/env/base.css@@ -333,7 +333,7 @@ h2.yacy { /* The heading in index.html */div.welcome { /* The heading in Status.html */float:left;- margin:10px auto;+ margin:10px 0;padding-top:130px;text-align:left;width:44%;@@ -343,7 +343,7 @@ div.welcome { /* The heading in Status.html */div.sidebar { /* sidebars on the right side */float:left;width:28%;- margin:10px auto;+ margin:10px 0;padding-top:10px;text-align:left;}@@ -700,4 +700,4 @@ img.favicon{}p.iconindented{padding-left: 19px;-}\ No newline at end of file+}diff --git a/htroot/env/ie6.css b/htroot/env/ie6.cssnew file mode 100644index 000000000..bd7de7ddf--- /dev/null+++ b/htroot/env/ie6.css@@ -0,0 +1 @@+/* Fixes for IE 6 and lower */diff --git a/htroot/env/ie7.css b/htroot/env/ie7.cssnew file mode 100644index 000000000..803dfc0c4--- /dev/null+++ b/htroot/env/ie7.css@@ -0,0 +1,6 @@+/* Fixes for IE 7 and lower */++/* A class for elements that should get layout because this fixes many things */+.gainlayout {+ height: 1%;+}diff --git a/htroot/env/oldie.css b/htroot/env/oldie.cssnew file mode 100644index 000000000..a1542ac84--- /dev/null+++ b/htroot/env/oldie.css@@ -0,0 +1,6 @@+/* Fixes for IE 5 and lower */++/* IE 5 and lower can't display favicons, so hide them */+img.favicon {+ display: none;+}diff --git a/htroot/env/templates/metas.template b/htroot/env/templates/metas.templateindex bb0228ed4..54bf44eaf 100644--- a/htroot/env/templates/metas.template+++ b/htroot/env/templates/metas.template@@ -6,4 +6,13 @@<meta name="copyright" content="Michael Christen et al." /><link rel="stylesheet" type="text/css" media="all" href="/env/base.css" /><link rel="stylesheet" type="text/css" media="screen" href="/env/style.css" />-<!-- (C), Architecture and Realisation: Michael Peter Christen; Contact: mc <at> anomic.de -->\ No newline at end of file+ <!--[if lt IE 6]>+ <link rel="stylesheet" type="text/css" media="screen" href="/env/oldie.css" />+ <![endif]-->+ <!--[if lte IE 6.0]>+ <link rel="stylesheet" type="text/css" media="screen" href="/env/ie6.css" />+ <![endif]-->+ <!--[if lte IE 7.0]>+ <link rel="stylesheet" type="text/css" media="screen" href="/env/ie7.css" />+ <![endif]-->+<!-- (C), Architecture and Realisation: Michael Peter Christen; Contact: mc <at> anomic.de -->