Improve styling of contributor terms.
This commit is contained in:
parent
9cff6985ff
commit
917ed5a7fd
2 changed files with 44 additions and 22 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
<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>
|
||||
<ol>
|
||||
<li><%= t 'legal.contributor_terms.section_1' %></li>
|
||||
|
@ -22,9 +22,13 @@
|
|||
</div>
|
||||
|
||||
<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] %>"/>
|
||||
<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' %>"/>
|
||||
</p>
|
||||
</form>
|
||||
|
||||
|
||||
|
|
|
@ -540,6 +540,24 @@ hr {
|
|||
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 */
|
||||
|
||||
#accountForm td {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue