Added new style and html for honor code on enroll form

This commit is contained in:
Kyle Fiedler
2012-01-24 11:32:39 -05:00
parent 2eb6fd0469
commit 23b5cf6691
2 changed files with 23 additions and 4 deletions

View File

@@ -3,7 +3,7 @@
<h1>Enroll in 6.002 Circuits &amp; Electronics</h1>
<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>
@@ -58,11 +58,15 @@
<li class="honor-code">
<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.
</label>
<input name="honor_code" id="cb_honor_code" type="checkbox" value="honor_code" required />I agree to the Honor code. </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>
</ol>
<input name="create_account_button" id="create_account_button" type="button" value="Create Account">
</form>
</fieldset> </form>
</div>

View File

@@ -4,6 +4,7 @@ div#fancybox-overlay {
div#fancybox-wrap {
width: auto !important;
div#fancybox-outer {
background: none;
max-width: 600px;
@@ -71,6 +72,19 @@ div#fancybox-wrap {
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} {
width: 100%;
@include box-sizing(border-box);
@@ -89,6 +103,7 @@ div#fancybox-wrap {
}
}
div#login {
min-width: 300px;