diff --git a/app/views/projects/_new_respond.html.erb b/app/views/projects/_new_respond.html.erb index e6b07239..f0d43c43 100644 --- a/app/views/projects/_new_respond.html.erb +++ b/app/views/projects/_new_respond.html.erb @@ -1,5 +1,45 @@ + <%= form_tag({:controller => 'projects', :action => 'project_respond'}) do %> -<%= text_area_tag 'project_respond', "", :class => 'noline', :required => true, :style => "resize: none;", :rows => 6, :placeholder => l(:label_projects_feedback_respond_content) %> +<%= text_area_tag 'project_respond', "", + :class => 'noline', :required => true, + :style => "resize: none;", :rows => 6, + :placeholder => l(:label_projects_feedback_respond_content), + :maxlength => 250 %> <%= hidden_field_tag 'reference_id', params[:reference_id], :value => journal.id %> <%= submit_tag l(:button_projects_feedback_respond), :name => nil , :class => "bid_btn"%> diff --git a/app/views/welcome/index.html.erb b/app/views/welcome/index.html.erb index 2f027957..6141a724 100644 --- a/app/views/welcome/index.html.erb +++ b/app/views/welcome/index.html.erb @@ -74,7 +74,11 @@ $('#' + id).val(''); } } - + + $(function(){ + $("a").attr("target", "_blank"); + }); + function showInfo(id, content) { var text = $('#' + id); if (text.val() == '') { @@ -90,10 +94,10 @@ <%= stylesheet_link_tag 'welcome' %> -
+ -
- <% end %> diff --git a/app/views/words/_new_respond.html.erb b/app/views/words/_new_respond.html.erb index cc0a117f..43049c60 100644 --- a/app/views/words/_new_respond.html.erb +++ b/app/views/words/_new_respond.html.erb @@ -1,9 +1,45 @@ + <%= form_tag({:controller => 'words', :action => 'create_reply'}, :remote => true) do %> -<%= text_area_tag 'user_notes', "", :class => 'noline', :style => "resize: none;", :rows => 4, :placeholder => l(:label_projects_feedback_respond_content) %> +<%= text_area_tag 'user_notes', "", :class => 'noline', + :style => "resize: none;", :rows => 4, + :placeholder => l(:label_projects_feedback_respond_content), + :maxlength => 250 %> <%= hidden_field_tag 'reference_id', params[:reference_id], :value => journal.id %> <%= hidden_field_tag 'reference_user_id', params[:reference_user_id], :value => m_reply_id.user.id %> <%= hidden_field_tag 'reference_message_id', params[:reference_message_id], :value => m_reply_id.id %> -<%= submit_tag l(:button_projects_feedback_respond), :name => nil , :class => "enterprise", :style => "margin-top: 1px;"%> +<%= submit_tag l(:button_projects_feedback_respond), :name => nil , :class => "enterprise", :style => "float: right; margin-top: 1px; margin-right: 4px;"%> <% end %> \ No newline at end of file diff --git a/public/stylesheets/welcome.css b/public/stylesheets/welcome.css index c3e02180..7eeea1b0 100644 --- a/public/stylesheets/welcome.css +++ b/public/stylesheets/welcome.css @@ -159,6 +159,7 @@ li { margin: 0px; padding: 0px; background-color: rgb(252, 252, 252); + margin-top: 6px; } .d-p-index-newsource li,.d-p-index-hotproject ul.d-p-projectlist li{ color: rgb(102, 102, 102); diff --git a/public/themes/redpenny-master/stylesheets/application.css b/public/themes/redpenny-master/stylesheets/application.css index 0dcca361..f57d1055 100644 --- a/public/themes/redpenny-master/stylesheets/application.css +++ b/public/themes/redpenny-master/stylesheets/application.css @@ -2125,7 +2125,7 @@ ul.messages-for-user-reply li { display: none; width: 87%; margin: auto; - clear:both; + clear: both; } .outer-message-for-use p { @@ -2134,10 +2134,20 @@ ul.messages-for-user-reply li { margin-top: 5px; } -.body p { +.message-body p { margin: 0; padding: 0; margin-top: 4px; margin-left: 4px; font-size: 9pt; +} + +.message-body { + margin: 0; + padding: 0; + margin-left: 40px; +} + +.counter { + float: left; } \ No newline at end of file