Improve styling of contributor terms.

This commit is contained in:
Tom Hughes 2010-03-23 00:17:14 +00:00
parent 9cff6985ff
commit 917ed5a7fd
2 changed files with 44 additions and 22 deletions

View file

@ -2,7 +2,7 @@
<p><%= t 'user.confirm.press confirm button' %></p> <p><%= t 'user.confirm.press confirm button' %></p>
<div style="overflow: auto; width: 80%; height: 60%;"> <div id="contributorTerms">
<p><%= t 'legal.contributor_terms.intro' %></p> <p><%= t 'legal.contributor_terms.intro' %></p>
<ol> <ol>
<li><%= t 'legal.contributor_terms.section_1' %></li> <li><%= t 'legal.contributor_terms.section_1' %></li>
@ -22,9 +22,13 @@
</div> </div>
<form method="post"> <form method="post">
<p>
<label for="confirm_pd_checkbox"><%= t 'user.confirm.consider_pd' %></label>
<input id="confirm_pd_checkbox" type="checkbox"
name="consider_pd"/><br/>
</p>
<p>
<input type="hidden" name="confirm_string" value="<%= params[:confirm_string] %>"/> <input type="hidden" name="confirm_string" value="<%= params[:confirm_string] %>"/>
<label for="confirm_pd_checkbox"><%= t 'user.confirm.consider_pd' %></label><input id="confirm_pd_checkbox" type="checkbox" name="consider_pd"/><br/>
<input type="submit" name="confirm_action" value="<%= t 'user.confirm.button' %>"/> <input type="submit" name="confirm_action" value="<%= t 'user.confirm.button' %>"/>
</p>
</form> </form>

View file

@ -540,6 +540,24 @@ hr {
color: gray; color: gray;
} }
/* Rules for the account confirmation page */
div#contributorTerms {
border: 1px solid black;
padding: 4px;
overflow: auto;
width: 80%;
height: 60%;
}
div#contributorTerms p {
margin-top: 0px;
}
div#contributorTerms ol {
margin-bottom: 0px;
}
/* Rules for the account settings page */ /* Rules for the account settings page */
#accountForm td { #accountForm td {