Mercurial > kallithea
diff rhodecode/templates/base/root.html @ 2163:e77fbd3b069c beta
IE ui fixes ref #349
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sun, 25 Mar 2012 13:12:16 +0200 |
parents | 9d54d6516e2e |
children | 85a64b981c07 |
line wrap: on
line diff
--- a/rhodecode/templates/base/root.html Sat Mar 24 13:11:54 2012 +0200 +++ b/rhodecode/templates/base/root.html Sun Mar 25 13:12:16 2012 +0200 @@ -1,5 +1,5 @@ ## -*- coding: utf-8 -*- -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>${self.title()}</title> @@ -130,6 +130,17 @@ ${self.js()} </head> <body id="body"> - ${next.body()} + ## IE hacks + <!--[if IE 7]> + <script>YUD.addClass(document.body,'ie7')</script> + <![endif]--> + <!--[if IE 8]> + <script>YUD.addClass(document.body,'ie8')</script> + <![endif]--> + <!--[if IE 9]> + <script>YUD.addClass(document.body,'ie9')</script> + <![endif]--> + + ${next.body()} </body> </html>