Add IE6 dedicated homepage

This commit is contained in:
Romain Neutron
2013-09-23 15:28:01 +02:00
parent b96c7e8622
commit 1674565d0d
4 changed files with 75 additions and 0 deletions

View File

@@ -55,6 +55,36 @@
<strong>{% trans %}You are using an outdated browser.{% endtrans %}</strong>
{% trans %}Please upgrade {{ browserLink }} or activate {{ GCFLink }} to improve your experience.{% endtrans %}
</p>
<div class="ie6-special">
<div class="ie6-container">
<table>
<tr>
<td style="width:350px;">
<img src="/skins/login/img/ie6dead.png" />
</td>
<td>
<h1>
{% block main_title %}{% endblock %}
</h1>
<p>
Mettez à jour votre navigateur ou téléchargez un navigateur plus récent.
</p>
<p>
Si vous ne pouvez pas installer un autre navigateur, utilisez Google Chrome Frame.
</p>
<p class="links">
<a href="https://www.google.com/chrome">
Installer Google Chrome
</a><br/>
<a href="https://www.google.com/chromeframe">
Installer Google Chrome Frame
</a>
</p>
</td>
</tr>
</table>
</div>
</div>
<![endif]-->
{% endblock google_chrome_frame %}

BIN
www/skins/login/img/ie6dead.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 95 KiB

View File

@@ -0,0 +1,44 @@
html.lt-ie7 body > .container{
display: none;
}
html.lt-ie7 .ie6-special {
background-color:#95cebe;
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
}
html.lt-ie7 .ie6-special .ie6-container {
margin: 0 auto;
width:800px;
}
html.lt-ie7 .ie6-special .ie6-container table tr {
vertical-align:top;
}
html.lt-ie7 .ie6-special .ie6-container h1 {
color: #5A776C;
margin: 20px;
}
html.lt-ie7 .ie6-special .ie6-container p {
margin:30px 20px;
width: 300px;
color: #5A776C;
}
html.lt-ie7 .ie6-special .ie6-container .links {
margin-top:50px;
text-align: right;
}
html.lt-ie7 .ie6-special a,
html.lt-ie7 .ie6-special a:hover,
html.lt-ie7 .ie6-special a:visited {
text-decoration: underline;
color:white;
}

View File

@@ -62,4 +62,5 @@
@import "variables.less";
@import "../../../../plugins/login.less";
@import "ie6.less";
@import "skin.less";