Commit ae95e456a04099259a09d2856161dfacf1d30432
Committed by
Luciano Prestes
1 parent
e344c9c7
Exists in
master
and in
5 other branches
Remove balloons
Signed-off-by: Gabriela Navarro <navarro1703@gmail.com> Signed-off-by: Gustavo Jaruga <darksshades@gmail.com>
Showing
2 changed files
with
4 additions
and
20 deletions
Show diff stats
public/style.css
| @@ -156,19 +156,3 @@ | @@ -156,19 +156,3 @@ | ||
| 156 | color: red; | 156 | color: red; |
| 157 | content: ' (*)' | 157 | content: ' (*)' |
| 158 | } | 158 | } |
| 159 | - | ||
| 160 | -.helper-balloon { | ||
| 161 | - display: none; | ||
| 162 | - width: 142px; | ||
| 163 | - height: 69px; | ||
| 164 | - color: #FFFFFF; | ||
| 165 | - font-weight: bold; | ||
| 166 | - font-size: 11px; | ||
| 167 | - padding: 5px 10px 45px 10px; | ||
| 168 | - margin: 0; | ||
| 169 | - line-height: 1.5em; | ||
| 170 | - background: transparent url(/images/gray-balloon.png) bottom center no-repeat; | ||
| 171 | - position: absolute; | ||
| 172 | - margin-top: -110px; | ||
| 173 | - margin-left: 0px; | ||
| 174 | -} | ||
| 175 | \ No newline at end of file | 159 | \ No newline at end of file |
views/mpog_software_plugin_myprofile/new_software.html.erb
| @@ -31,14 +31,14 @@ | @@ -31,14 +31,14 @@ | ||
| 31 | <div id='software-name-field' class='formfield'> | 31 | <div id='software-name-field' class='formfield'> |
| 32 | <span id='software-hostname'><%= environment.default_hostname %>/</span> | 32 | <span id='software-hostname'><%= environment.default_hostname %>/</span> |
| 33 | <%= required text_field(:community, :name, :size => 30, :maxlength => 100) %> | 33 | <%= required text_field(:community, :name, :size => 30, :maxlength => 100) %> |
| 34 | - <%= content_tag(:small,_('Insert the name'), :id => 'name-balloon', :class => "helper-balloon") %> | 34 | + <%= content_tag(:small,_('Insert the name'), :id => 'name-tag', :class => "helper-tag") %> |
| 35 | </div> | 35 | </div> |
| 36 | 36 | ||
| 37 | <%= fields_for @software_info do |swf| %> | 37 | <%= fields_for @software_info do |swf| %> |
| 38 | <div class="formfield type-text"> | 38 | <div class="formfield type-text"> |
| 39 | <%= swf.label("finality" ,_("Finality"), :class=>"formlabel") %> | 39 | <%= swf.label("finality" ,_("Finality"), :class=>"formlabel") %> |
| 40 | <%= required swf.text_area(:finality, :placeholder => _("It is a software of..."), :cols => 40, :rows => 5, :maxlength => 140) %> | 40 | <%= required swf.text_area(:finality, :placeholder => _("It is a software of..."), :cols => 40, :rows => 5, :maxlength => 140) %> |
| 41 | - <%= content_tag(:small,_('Insert the finality'), :id => 'finality-balloon', :class => "helper-balloon") %> | 41 | + <%= content_tag(:small,_('Insert the finality'), :id => 'finality-tag', :class => "helper-tag") %> |
| 42 | </div> | 42 | </div> |
| 43 | <% end %> | 43 | <% end %> |
| 44 | 44 | ||
| @@ -71,8 +71,8 @@ | @@ -71,8 +71,8 @@ | ||
| 71 | 71 | ||
| 72 | <script type="text/javascript"> | 72 | <script type="text/javascript"> |
| 73 | jQuery(function($) { | 73 | jQuery(function($) { |
| 74 | - add_balloon('#community_name', '#name-balloon'); | ||
| 75 | - add_balloon('#software_info_finality', '#finality-balloon'); | 74 | + add_balloon('#community_name', '#name-tag'); |
| 75 | + add_balloon('#software_info_finality', '#finality-tag'); | ||
| 76 | }); | 76 | }); |
| 77 | 77 | ||
| 78 | function add_balloon(input_field, balloon_id){ | 78 | function add_balloon(input_field, balloon_id){ |