|
20 | 20 | <!DOCTYPE html> |
21 | 21 | <html lang="en"> |
22 | 22 | <head> |
23 | | - <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> |
24 | | - <meta http-equiv="X-UA-Compatible" content="chrome=1"> |
| 23 | + <meta charset="utf-8"> |
| 24 | + <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> |
25 | 25 | <title><%= yield :page_title || "Add a page title here." %></title> |
| 26 | + <noscript> <meta http-equiv=refresh content="0; URL=/javascript-is-required.html" /> </noscript> |
| 27 | + <!--[if lte IE 6]> <meta http-equiv=refresh content="0; URL=/ie-6-is-not-supported.html" /> <![endif]--> |
26 | 28 |
|
27 | 29 | <%= yield :auto_discovery %> |
28 | 30 | <%= include_stylesheets :common, :media => "all" %> |
29 | 31 | <% if @eportfolio_view === true %> |
30 | 32 | <%= stylesheet_link_tag "compiled/instructure_eportfolio.css" %> |
31 | 33 | <% end %> |
32 | 34 | <%= include_stylesheets(*jammit_css_bundles) unless jammit_css_bundles.empty? %> |
33 | | - <!--[if lte IE 8]> |
34 | | - <%= javascript_include_tag "html5.js" %> |
35 | | - <![endif]--> |
36 | | - <!--[if lte IE 7]> |
37 | | - <%= include_javascripts :ie7 %> |
38 | | - <![endif]--> |
| 35 | + <!--[if lte IE 8]> <%= javascript_include_tag "html5.js" %> <![endif]--> |
| 36 | + <!--[if lte IE 7]> <%= include_javascripts :ie7 %> <![endif]--> |
39 | 37 | <%= yield :stylesheets %> |
40 | 38 | <% if @domain_root_account && @domain_root_account.settings[:global_stylesheet] %> |
41 | 39 | <link href="<%= @domain_root_account.settings[:global_stylesheet] %>" media="all" rel="stylesheet" type="text/css" /> |
42 | 40 | <% end %> |
43 | 41 | </head> |
44 | 42 | <body class="<%= (@body_classes << @active_tab).uniq.join(" ") %>"> |
45 | | - <!--[if lte IE 6]> |
46 | | - <style type="text/css" media="screen"> |
47 | | - * { display:none; } |
48 | | - body, html, #block-ie6, #block-ie6 * { display: block !important;} |
49 | | - </style> |
50 | | - <div id="block-ie6"> |
51 | | - <h1>Internet Explorer version 6 is so outdated it is not supported on this website.</h1> |
52 | | - <p> |
53 | | - May we suggest some better, more modern browsers? <a href="http://getfirefox.com">download firefox here</a> or <a href="http://www.google.com/chrome">get Google Chrome here</a>. |
54 | | - </p> |
55 | | - </div> |
56 | | - <![endif]--> |
57 | | - <noscript> |
58 | | - <div id="noscript"> |
59 | | - <h1>You need to have javascript enabled in order to access this site.</h1> |
60 | | - <p> |
61 | | - Perhaps you could try a different browser. You can get the latest version of firefox <a href="http://getfirefox.com">here.</a><br /> |
62 | | - Or, here are the <a href="http://www.enable-javascript.com" target="_blank"> instructions how to enable JavaScript in your web browser</a>. |
63 | | - </p> |
64 | | - </div> |
65 | | - </noscript> |
66 | 43 | <% unless @body_class_no_headers %> |
67 | 44 | <div id="header" class="no-print <%= 'no-user' unless @current_user %>"> |
68 | 45 | <a href="#content" id="skip_navigation_link">Skip To Content</a> |
|
0 commit comments