Adde new warning messages for userers IE8 and under
This commit is contained in:
@@ -2,8 +2,9 @@
|
||||
<div name="enroll_form" id="enroll_form">
|
||||
|
||||
<h1>Enroll in 6.002x Circuits & Electronics</h1>
|
||||
|
||||
<!--[if lte IE 8]>
|
||||
<p class="ie-warning"> Enrollment requires a modern web browser with JavaScript enabled. You don't have this. You can’t enroll without upgrading, since you couldn’t take the course without upgrading. Feel free to download the latest version of <a href="http://www.mozilla.org/en-US/firefox/new/">Mozilla Firefox</a> or <a href="http://support.google.com/chrome/bin/answer.py?hl=en&answer=95346">Google Chrome</a>, for free, to enroll and take this course.</p>
|
||||
<![endif]-->
|
||||
|
||||
<form name="enroll" id="enroll_form" method="get">
|
||||
<fieldset><% if 'error' in locals(): e = error %>
|
||||
|
||||
@@ -4,6 +4,9 @@
|
||||
<h1>Log in to MITx</h1>
|
||||
<p class="no-account">If you don’t have an account yet, <a href="#enroll" rel="leanModal">please enroll here</a></p>
|
||||
</header>
|
||||
<!--[if lte IE 8]>
|
||||
<p class="ie-warning">You are using a browser that is not supported by <em>MITx</em>, and you might not be able to complete pieces of the course. Please download the latest version of <a href="http://www.mozilla.org/en-US/firefox/new/">Firefox</a> or <a href="https://www.google.com/chrome">Chrome</a> to get the full experience.</p>
|
||||
<![endif]-->
|
||||
|
||||
<form id="login_form" method="post">
|
||||
<ol>
|
||||
|
||||
@@ -27,6 +27,9 @@
|
||||
</head>
|
||||
|
||||
<body class="<%block name="bodyclass"/>">
|
||||
<!--[if lte IE 8]>
|
||||
<p class="ie-warning">You are using a browser that is not supported by <em>MITx</em>, and you might not be able to complete pieces of the course. Please download the latest version of <a href="http://www.mozilla.org/en-US/firefox/new/">Firefox</a> or <a href="https://www.google.com/chrome">Chrome</a> to get the full experience.</p>
|
||||
<![endif]-->
|
||||
|
||||
${self.body()}
|
||||
<%block name="bodyextra"/>
|
||||
|
||||
@@ -204,3 +204,12 @@ h1.top-header {
|
||||
.tran {
|
||||
@include transition( all, .2s, $ease-in-out-quad);
|
||||
}
|
||||
|
||||
p.ie-warning {
|
||||
display: block !important;
|
||||
line-height: 1.3em;
|
||||
background: yellow;
|
||||
padding: lh();
|
||||
text-align: left;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
@@ -85,3 +85,10 @@
|
||||
}
|
||||
}
|
||||
|
||||
p.ie-warning {
|
||||
display: block !important;
|
||||
line-height: 1.3em;
|
||||
background: yellow;
|
||||
margin-bottom: lh();
|
||||
padding: lh();
|
||||
}
|
||||
|
||||
@@ -47,10 +47,6 @@ div.leanModal_box {
|
||||
&#enroll {
|
||||
max-width: 600px;
|
||||
|
||||
p.ie-warning {
|
||||
display: none;
|
||||
}
|
||||
|
||||
ol {
|
||||
@extend .clearfix;
|
||||
padding-top: lh();
|
||||
|
||||
@@ -9,11 +9,6 @@ body {
|
||||
}
|
||||
|
||||
div#enroll {
|
||||
p.ie-warning {
|
||||
display: block !important;
|
||||
line-height: 1.3em;
|
||||
}
|
||||
|
||||
form {
|
||||
display: none;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user