Commit 626f081d1de13e73c16aa8c90dd154a25dc4cf68
1 parent
534b6af9
Exists in
master
and in
28 other branches
Adjusting abuse report ui
(ActionItem2093)
Showing
3 changed files
with
10 additions
and
3 deletions
Show diff stats
app/views/profile/report_abuse.html.erb
@@ -6,8 +6,9 @@ | @@ -6,8 +6,9 @@ | ||
6 | 6 | ||
7 | <p><%= recaptcha_tags :ajax => true, :display => {:theme => 'clean'} %> </p> | 7 | <p><%= recaptcha_tags :ajax => true, :display => {:theme => 'clean'} %> </p> |
8 | 8 | ||
9 | - <%= submit_button(:ok, _('Report profile'), :style => 'margin-top: 10px; float: left; cursor: pointer;', :id => 'report-abuse-submit-button', :onclick => "jQuery('#form-submit-loading').show()") %> | ||
10 | - <div id="form-submit-loading" class="small-loading" style="width: 16px; height: 16px; margin-top: 13px; float: left; display: none;"></div> | 9 | + <%= submit_button(:send, _('Report profile'), :style => 'float: left; cursor: pointer;', :id => 'report-abuse-submit-button', :onclick => "jQuery('#form-submit-loading').show()") %> |
10 | + <%= button(:cancel, _('Cancel'), {}, :style => 'float: left; padding-top: 0px; padding-bottom: 0px;', :onclick => 'jQuery.colorbox.close(); return false;')%> | ||
11 | + <div id="form-submit-loading" class="small-loading" style="width: 16px; height: 16px; margin-top: 3px; float: left; display: none;"></div> | ||
11 | <% end %> | 12 | <% end %> |
12 | 13 | ||
13 | <script type="text/javascript"> | 14 | <script type="text/javascript"> |
public/javascripts/report-abuse.js
@@ -3,7 +3,7 @@ jQuery(function($) { | @@ -3,7 +3,7 @@ jQuery(function($) { | ||
3 | if($(this).attr('href')){ | 3 | if($(this).attr('href')){ |
4 | $.fn.colorbox({ | 4 | $.fn.colorbox({ |
5 | href: $(this).attr('href'), | 5 | href: $(this).attr('href'), |
6 | - innerHeight: '310px', | 6 | + innerHeight: '300px', |
7 | innerWidth: '445px' | 7 | innerWidth: '445px' |
8 | }); | 8 | }); |
9 | } | 9 | } |
public/stylesheets/application.css
@@ -6197,3 +6197,9 @@ h1#agenda-title { | @@ -6197,3 +6197,9 @@ h1#agenda-title { | ||
6197 | .comment_reply .recaptcha_image_cell { | 6197 | .comment_reply .recaptcha_image_cell { |
6198 | background: transparent !important; | 6198 | background: transparent !important; |
6199 | } | 6199 | } |
6200 | + | ||
6201 | +/* Colorbox */ | ||
6202 | + | ||
6203 | +#cboxClose { | ||
6204 | + display: none !important; | ||
6205 | +} |