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).

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3883 6c8d7289-2bf4-0310-a012-ef5d649a1542
This commit is contained in:
michitux 2007-06-13 20:27:51 +00:00
parent e1d809d5f1
commit 4f1f280abd
6 changed files with 32 additions and 7 deletions

View File

@ -7,7 +7,9 @@
</head> </head>
<body style="margin:0px;"> <body style="margin:0px;">
#%env/templates/header.template%# #%env/templates/header.template%#
<!--[if IE]>
<div class="gainlayout">
<![endif]-->
<div class="welcome"><center><h2>Welcome to YaCy!</h2></center> <div class="welcome"><center><h2>Welcome to YaCy!</h2></center>
@ -199,8 +201,9 @@
</div> </div>
#%[privateStatusTable]%# #%[privateStatusTable]%#
<!--[if IE]>
</div>
<![endif]-->
#%env/templates/footer.template%# #%env/templates/footer.template%#
</body> </body>

6
htroot/env/base.css vendored
View File

@ -333,7 +333,7 @@ h2.yacy { /* The heading in index.html */
div.welcome { /* The heading in Status.html */ div.welcome { /* The heading in Status.html */
float:left; float:left;
margin:10px auto; margin:10px 0;
padding-top:130px; padding-top:130px;
text-align:left; text-align:left;
width:44%; width:44%;
@ -343,7 +343,7 @@ div.welcome { /* The heading in Status.html */
div.sidebar { /* sidebars on the right side */ div.sidebar { /* sidebars on the right side */
float:left; float:left;
width:28%; width:28%;
margin:10px auto; margin:10px 0;
padding-top:10px; padding-top:10px;
text-align:left; text-align:left;
} }
@ -700,4 +700,4 @@ img.favicon{
} }
p.iconindented{ p.iconindented{
padding-left: 19px; padding-left: 19px;
} }

1
htroot/env/ie6.css vendored Normal file
View File

@ -0,0 +1 @@
/* Fixes for IE 6 and lower */

6
htroot/env/ie7.css vendored Normal file
View File

@ -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%;
}

6
htroot/env/oldie.css vendored Normal file
View File

@ -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;
}

View File

@ -6,4 +6,13 @@
<meta name="copyright" content="Michael Christen et al." /> <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="all" href="/env/base.css" />
<link rel="stylesheet" type="text/css" media="screen" href="/env/style.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 --> <!--[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 -->