comparison 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
comparison
equal deleted inserted replaced
2162:04d3fae0e4c0 2163:e77fbd3b069c
1 ## -*- coding: utf-8 -*- 1 ## -*- coding: utf-8 -*-
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 2 <!DOCTYPE html>
3 <html xmlns="http://www.w3.org/1999/xhtml"> 3 <html xmlns="http://www.w3.org/1999/xhtml">
4 <head> 4 <head>
5 <title>${self.title()}</title> 5 <title>${self.title()}</title>
6 <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> 6 <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
7 <meta name="robots" content="index, nofollow"/> 7 <meta name="robots" content="index, nofollow"/>
128 </%def> 128 </%def>
129 <%def name="js_extra()"></%def> 129 <%def name="js_extra()"></%def>
130 ${self.js()} 130 ${self.js()}
131 </head> 131 </head>
132 <body id="body"> 132 <body id="body">
133 ${next.body()} 133 ## IE hacks
134 <!--[if IE 7]>
135 <script>YUD.addClass(document.body,'ie7')</script>
136 <![endif]-->
137 <!--[if IE 8]>
138 <script>YUD.addClass(document.body,'ie8')</script>
139 <![endif]-->
140 <!--[if IE 9]>
141 <script>YUD.addClass(document.body,'ie9')</script>
142 <![endif]-->
143
144 ${next.body()}
134 </body> 145 </body>
135 </html> 146 </html>