Commit 23b5cf66 by Kyle Fiedler

Added new style and html for honor code on enroll form

parent 2eb6fd04
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<h1>Enroll in 6.002 Circuits &amp; Electronics</h1> <h1>Enroll in 6.002 Circuits &amp; Electronics</h1>
<form name="login" method="get"> <form name="login" method="get">
<% if 'error' in locals(): e = error %> <fieldset><% if 'error' in locals(): e = error %>
<div id="enroll_error" name="enroll_error"></div> <div id="enroll_error" name="enroll_error"></div>
...@@ -58,11 +58,15 @@ ...@@ -58,11 +58,15 @@
<li class="honor-code"> <li class="honor-code">
<label> <label>
<input name="honor_code" id="cb_honor_code" type="checkbox" value="honor_code" required />I agree to: Not engage in any activities that would dishonestly improve my results, or improve or hurt those of others. Never post answers to problems. Maintain only one account. <input name="honor_code" id="cb_honor_code" type="checkbox" value="honor_code" required />I agree to the Honor code. </label>
</label> <ul>
<li>Not engage in any activities that would dishonestly improve my results, or improve or hurt those of others.</li>
<li>Never post answers to problems.</li>
<li>Maintain only one account.</li>
</ul>
</li> </li>
</ol> </ol>
<input name="create_account_button" id="create_account_button" type="button" value="Create Account"> <input name="create_account_button" id="create_account_button" type="button" value="Create Account">
</form> </fieldset> </form>
</div> </div>
...@@ -4,6 +4,7 @@ div#fancybox-overlay { ...@@ -4,6 +4,7 @@ div#fancybox-overlay {
div#fancybox-wrap { div#fancybox-wrap {
width: auto !important; width: auto !important;
div#fancybox-outer { div#fancybox-outer {
background: none; background: none;
max-width: 600px; max-width: 600px;
...@@ -71,6 +72,19 @@ div#fancybox-wrap { ...@@ -71,6 +72,19 @@ div#fancybox-wrap {
font-weight: bold; font-weight: bold;
} }
ul {
list-style: disc outside none;
margin: lh(.5) 0 lh() lh();
li {
list-style: disc outside none;
margin-bottom: lh(.5);
color: #666;
font-size: 14px;
float: none;
}
}
#{$all-text-inputs} { #{$all-text-inputs} {
width: 100%; width: 100%;
@include box-sizing(border-box); @include box-sizing(border-box);
...@@ -89,6 +103,7 @@ div#fancybox-wrap { ...@@ -89,6 +103,7 @@ div#fancybox-wrap {
} }
} }
div#login { div#login {
min-width: 300px; min-width: 300px;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment