Enhance IE 6 management

This commit is contained in:
Nicolas Le Goff
2013-09-26 14:41:18 +02:00
parent 9d3b21238c
commit a7cfb48acc
3 changed files with 25 additions and 29 deletions

View File

@@ -1,4 +1,5 @@
<div class="row-fluid">
<!--[if gte IE 7]>
<div class="span12" style="height:400px;">
<object id="o" width="100%" height="100%"
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
@@ -20,4 +21,5 @@
</embed>
</object>
</div>
<![endif]-->
</div>

View File

@@ -29,7 +29,7 @@
{% block header_stylesheet %}
<link rel="stylesheet" href="{{ path('minifier', { 'f' : 'skins/geonames/geonames.css' }) }}">
<link rel="stylesheet" href="{{ path('minifier', { 'g' : 'authentication_css' }) }}">
<!--[if lte IE 8]>
<!--[if IE 7]>
<link rel="stylesheet" href="{{ path('minifier', { 'f' : 'assets/font-awesome/css/font-awesome-ie7.min.css' }) }}">
<![endif]-->
{% endblock header_stylesheet %}
@@ -49,12 +49,6 @@
<body>
{% block google_chrome_frame %}
<!--[if lt IE 7]>
{% set browserLink = "<a href='http://browsehappy.com/'>" ~ browser_name ~ "</a>"|raw %}
{% set GCFLink = "<a href='http://www.google.com/chromeframe/?redirect=true'>Google Chrome Frame</a>"|raw %}
<p class="alert alert-warning text-center">
<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>

View File

@@ -1,4 +1,4 @@
html.lt-ie7 body > .container{
html.lt-ie7 body .container {
display: none;
}