Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh
This commit is contained in:
commit
655054a8ad
|
@ -627,14 +627,15 @@ class UsersController < ApplicationController
|
||||||
end
|
end
|
||||||
|
|
||||||
def show
|
def show
|
||||||
|
|
||||||
@page = params[:page] ? params[:page].to_i + 1 : 0
|
@page = params[:page] ? params[:page].to_i + 1 : 0
|
||||||
@type = params[:type]
|
|
||||||
user_project_ids = @user.projects.visible.empty? ? "(-1)" : "(" + @user.projects.visible.map{|project| project.id}.join(",") + ")"
|
user_project_ids = @user.projects.visible.empty? ? "(-1)" : "(" + @user.projects.visible.map{|project| project.id}.join(",") + ")"
|
||||||
user_course_ids = @user.courses.visible.empty? ? "(-1)" : "(" + @user.courses.visible.map{|course| course.id}.join(",") + ")"
|
user_course_ids = @user.courses.visible.empty? ? "(-1)" : "(" + @user.courses.visible.map{|course| course.id}.join(",") + ")"
|
||||||
course_types = "('Message','News','HomeworkCommon','poll')"
|
course_types = "('Message','News','HomeworkCommon','poll')"
|
||||||
project_types = "('Message','Issue')"
|
project_types = "('Message','Issue')"
|
||||||
if @type
|
if params[:type].present?
|
||||||
case @type
|
case params[:type]
|
||||||
when "course_homework"
|
when "course_homework"
|
||||||
@user_activities = UserActivity.where("container_type = 'Course' and container_id in #{user_course_ids} and act_type = 'HomeworkCommon'").order('created_at desc').limit(10).offset(@page * 10)
|
@user_activities = UserActivity.where("container_type = 'Course' and container_id in #{user_course_ids} and act_type = 'HomeworkCommon'").order('created_at desc').limit(10).offset(@page * 10)
|
||||||
when "course_news"
|
when "course_news"
|
||||||
|
@ -654,6 +655,7 @@ class UsersController < ApplicationController
|
||||||
@user_activities = UserActivity.where("(container_type = 'Project' and container_id in #{user_project_ids} and act_type in #{project_types}) or (container_type = 'Course' and container_id in #{user_course_ids}) and act_type in #{course_types}").order('created_at desc').limit(10).offset(@page * 10)
|
@user_activities = UserActivity.where("(container_type = 'Project' and container_id in #{user_project_ids} and act_type in #{project_types}) or (container_type = 'Course' and container_id in #{user_course_ids}) and act_type in #{course_types}").order('created_at desc').limit(10).offset(@page * 10)
|
||||||
end
|
end
|
||||||
# @user_activities = paginateHelper @user_activities,500
|
# @user_activities = paginateHelper @user_activities,500
|
||||||
|
@type = params[:type]
|
||||||
respond_to do |format|
|
respond_to do |format|
|
||||||
format.js
|
format.js
|
||||||
format.html {render :layout => 'new_base_user'}
|
format.html {render :layout => 'new_base_user'}
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<div class="ping_dispic">
|
<div class="ping_dispic">
|
||||||
<%= link_to image_tag(url_to_avatar(journal.user),:width => '46',:height => '46'), user_path(journal.user) %>
|
<%= link_to image_tag(url_to_avatar(journal.user),:width => '46',:height => '46'), user_path(journal.user) %>
|
||||||
</div>
|
</div>
|
||||||
<div class="ping_discon upload_img" style="width: 610px;">
|
<div class="ping_discon upload_img" style="width: 670px;">
|
||||||
<div class="ping_distop f14">
|
<div class="ping_distop f14">
|
||||||
<!-- <a style=" font-weight:bold; color:#15bccf; margin-right:30px; background:none;" target="_blank" href="#">gugu01</a> -->
|
<!-- <a style=" font-weight:bold; color:#15bccf; margin-right:30px; background:none;" target="_blank" href="#">gugu01</a> -->
|
||||||
<span>
|
<span>
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
<%= render :partial => 'attachments/new_form', :locals => {:container => @news} %>
|
<%= render :partial => 'attachments/new_form', :locals => {:container => @news} %>
|
||||||
<div class="cl"></div>
|
<div class="cl"></div>
|
||||||
</li>
|
</li>
|
||||||
<li class="ml40" >
|
<li class="ml50" >
|
||||||
<% if is_new %>
|
<% if is_new %>
|
||||||
<%= link_to l(:button_create), "javascript:void(0)", :onclick => 'submitNews();', :onmouseover => 'submitFocus(this);', :class => 'blue_btn fl c_white' %>
|
<%= link_to l(:button_create), "javascript:void(0)", :onclick => 'submitNews();', :onmouseover => 'submitFocus(this);', :class => 'blue_btn fl c_white' %>
|
||||||
<%= link_to l(:button_cancel), course_news_index_path(@course), :onclick => '$("#add-news").hide()', :class => 'blue_btn grey_btn fl c_white' %>
|
<%= link_to l(:button_cancel), course_news_index_path(@course), :onclick => '$("#add-news").hide()', :class => 'blue_btn grey_btn fl c_white' %>
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<% poll_name = poll.polls_name.empty? ? l(:label_poll_new) : poll.polls_name%>
|
<% poll_name = poll.polls_name.empty? ? l(:label_poll_new) : poll.polls_name%>
|
||||||
<% if @is_teacher%>
|
<% if @is_teacher%>
|
||||||
<li title="<%= poll.polls_name %>">
|
<li title="<%= poll.polls_name %>">
|
||||||
<div style="width: 310px;float: left;">
|
<div style="width: 370px;float: left;">
|
||||||
<% if has_commit %>
|
<% if has_commit %>
|
||||||
<%= link_to poll_name, poll_result_poll_path(poll.id), :class => "polls_title polls_title_w fl c_dblue"%>
|
<%= link_to poll_name, poll_result_poll_path(poll.id), :class => "polls_title polls_title_w fl c_dblue"%>
|
||||||
<% else %>
|
<% else %>
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<%= link_to image_tag(url_to_avatar(activity.author), :width => "90", :height => "90"), user_path(activity.author_id), :alt => "用户头像" %>
|
<%= link_to image_tag(url_to_avatar(activity.author), :width => "90", :height => "90"), user_path(activity.author_id), :alt => "用户头像" %>
|
||||||
</div>
|
</div>
|
||||||
<div class="homepagePostDes">
|
<div class="homepagePostDes">
|
||||||
<div class="homepagePostTo">
|
<div class="homepagePostTo mb12">
|
||||||
<% if activity.try(:author).try(:realname) == ' ' %>
|
<% if activity.try(:author).try(:realname) == ' ' %>
|
||||||
<%= link_to activity.try(:author), user_path(activity.author_id), :class => "newsBlue mr15" %>
|
<%= link_to activity.try(:author), user_path(activity.author_id), :class => "newsBlue mr15" %>
|
||||||
<% else %>
|
<% else %>
|
||||||
|
@ -15,7 +15,7 @@
|
||||||
<%= link_to activity.course.name.to_s+"(课程名称)", course_path(activity.container_id), :class => "newsBlue ml15", :style=>"word-break:break-all" %>
|
<%= link_to activity.course.name.to_s+"(课程名称)", course_path(activity.container_id), :class => "newsBlue ml15", :style=>"word-break:break-all" %>
|
||||||
<!--<a href="javascript:void(0);" class="newsBlue ml15">分布式计算环境(课程名称)</a>-->
|
<!--<a href="javascript:void(0);" class="newsBlue ml15">分布式计算环境(课程名称)</a>-->
|
||||||
</div>
|
</div>
|
||||||
<div class="homepagePostTitle">
|
<div class="homepagePostTitle mb12">
|
||||||
<a href="javascript:void(0);" class="postGrey"><%=activity.filename.to_s(附件名称)%></a>
|
<a href="javascript:void(0);" class="postGrey"><%=activity.filename.to_s(附件名称)%></a>
|
||||||
</div>
|
</div>
|
||||||
<div class="homepagePostSubmitContainer">
|
<div class="homepagePostSubmitContainer">
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<%= link_to image_tag(url_to_avatar(activity.user), :width => "90", :height => "90"), user_path(activity.user_id), :alt => "用户头像" %>
|
<%= link_to image_tag(url_to_avatar(activity.user), :width => "90", :height => "90"), user_path(activity.user_id), :alt => "用户头像" %>
|
||||||
</div>
|
</div>
|
||||||
<div class="homepagePostDes">
|
<div class="homepagePostDes">
|
||||||
<div class="homepagePostTo mb8" style="word-break:break-all;">
|
<div class="homepagePostTo mb8 break_word">
|
||||||
<% if activity.try(:user).try(:realname) == ' ' %>
|
<% if activity.try(:user).try(:realname) == ' ' %>
|
||||||
<%= link_to activity.try(:user), user_path(activity.user_id), :class => "newsBlue mr15" %>
|
<%= link_to activity.try(:user), user_path(activity.user_id), :class => "newsBlue mr15" %>
|
||||||
<% else %>
|
<% else %>
|
||||||
|
@ -12,7 +12,7 @@
|
||||||
<% end %> TO <!--+"(课程名称)" -->
|
<% end %> TO <!--+"(课程名称)" -->
|
||||||
<%= link_to activity.course.name.to_s+" | 课程作业", course_path(activity.course_id), :class => "newsBlue ml15", :style=>"word-break:break-all" %>
|
<%= link_to activity.course.name.to_s+" | 课程作业", course_path(activity.course_id), :class => "newsBlue ml15", :style=>"word-break:break-all" %>
|
||||||
</div>
|
</div>
|
||||||
<div class="homepagePostTitle mb8" style="word-break:break-all;"> <!--+"(作业名称)"-->
|
<div class="homepagePostTitle mb8 break_word"> <!--+"(作业名称)"-->
|
||||||
<%= link_to activity.name.to_s, student_work_index_path(:homework => activity.id), :class => "postGrey", :style=>"word-break:break-all" %>
|
<%= link_to activity.name.to_s, student_work_index_path(:homework => activity.id), :class => "postGrey", :style=>"word-break:break-all" %>
|
||||||
</div>
|
</div>
|
||||||
<div class="homepagePostSubmitContainer">
|
<div class="homepagePostSubmitContainer">
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<%= link_to image_tag(url_to_avatar(activity.author), :width => "90", :height => "90"), user_path(activity.author_id), :alt => "用户头像" %>
|
<%= link_to image_tag(url_to_avatar(activity.author), :width => "90", :height => "90"), user_path(activity.author_id), :alt => "用户头像" %>
|
||||||
</div>
|
</div>
|
||||||
<div class="homepagePostDes">
|
<div class="homepagePostDes">
|
||||||
<div class="homepagePostTo mb12" style="word-break:break-all;">
|
<div class="homepagePostTo mb12 break_word">
|
||||||
<% if activity.try(:author).try(:realname) == ' ' %>
|
<% if activity.try(:author).try(:realname) == ' ' %>
|
||||||
<%= link_to activity.try(:author), user_path(activity.author_id), :class => "newsBlue mr15" %>
|
<%= link_to activity.try(:author), user_path(activity.author_id), :class => "newsBlue mr15" %>
|
||||||
<% else %>
|
<% else %>
|
||||||
|
@ -14,7 +14,7 @@
|
||||||
<%= link_to activity.course.name.to_s+" | 课程讨论区", course_path(activity.course), :class => "newsBlue ml15 mr5", :style=>"word-break:break-all"%>
|
<%= link_to activity.course.name.to_s+" | 课程讨论区", course_path(activity.course), :class => "newsBlue ml15 mr5", :style=>"word-break:break-all"%>
|
||||||
<%#= link_to activity.course.name.to_s+"(课程讨论区)", course_path(activity.course), :class => "newsBlue ml15 mr5", :style=>"word-break:break-all"%>
|
<%#= link_to activity.course.name.to_s+"(课程讨论区)", course_path(activity.course), :class => "newsBlue ml15 mr5", :style=>"word-break:break-all"%>
|
||||||
</div>
|
</div>
|
||||||
<div class="homepagePostTitle mb12" style="word-break:break-all;">
|
<div class="homepagePostTitle mb12 break_word">
|
||||||
<% if activity.parent_id.nil? %> <!--+"(帖子标题)"-->
|
<% if activity.parent_id.nil? %> <!--+"(帖子标题)"-->
|
||||||
<%= link_to activity.subject.to_s.html_safe, course_boards_path(activity.course,:parent_id =>activity.id, :topic_id => activity.id), :class=> "postGrey", :style=>"word-break:break-all" %>
|
<%= link_to activity.subject.to_s.html_safe, course_boards_path(activity.course,:parent_id =>activity.id, :topic_id => activity.id), :class=> "postGrey", :style=>"word-break:break-all" %>
|
||||||
<% else %>
|
<% else %>
|
||||||
|
@ -106,7 +106,7 @@
|
||||||
) if reply.course_destroyable_by?(User.current) %>
|
) if reply.course_destroyable_by?(User.current) %>
|
||||||
<!--<a href="javascript:void(0);" class="replyGrey fr ml10">删除</a>-->
|
<!--<a href="javascript:void(0);" class="replyGrey fr ml10">删除</a>-->
|
||||||
</div>
|
</div>
|
||||||
<div class="homepagePostReplyContent"><%= reply.content.html_safe %></div>
|
<div class="homepagePostReplyContent break_word"><%= reply.content.html_safe %></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="cl"></div>
|
<div class="cl"></div>
|
||||||
</li>
|
</li>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<%= link_to image_tag(url_to_avatar(activity.author), :width => "90", :height => "90"), user_path(activity.author_id), :alt => "用户头像" %>
|
<%= link_to image_tag(url_to_avatar(activity.author), :width => "90", :height => "90"), user_path(activity.author_id), :alt => "用户头像" %>
|
||||||
</div>
|
</div>
|
||||||
<div class="homepagePostDes">
|
<div class="homepagePostDes">
|
||||||
<div class="homepagePostTo mb12" style="word-break:break-all;">
|
<div class="homepagePostTo mb12 break_word">
|
||||||
<% if @ctivity.try(:author).try(:realname) == ' ' %>
|
<% if @ctivity.try(:author).try(:realname) == ' ' %>
|
||||||
<%= link_to activity.try(:author), user_path(activity.author_id), :class => "newsBlue mr15" %>
|
<%= link_to activity.try(:author), user_path(activity.author_id), :class => "newsBlue mr15" %>
|
||||||
<% else %>
|
<% else %>
|
||||||
|
@ -12,7 +12,7 @@
|
||||||
<% end %> TO <!--+"(课程名称)"-->
|
<% end %> TO <!--+"(课程名称)"-->
|
||||||
<%= link_to activity.course.name.to_s+" | 课程通知", course_path(activity.course), :class => "newsBlue ml15", :style => "word-break:break-all" %>
|
<%= link_to activity.course.name.to_s+" | 课程通知", course_path(activity.course), :class => "newsBlue ml15", :style => "word-break:break-all" %>
|
||||||
</div>
|
</div>
|
||||||
<div class="homepagePostTitle mb12" style="word-break:break-all;"> <!--+"(通知标题)"-->
|
<div class="homepagePostTitle mb12 break_word"> <!--+"(通知标题)"-->
|
||||||
<%= link_to activity.title.to_s, news_path(activity), :class => "postGrey", :style => "word-break:break-all" %>
|
<%= link_to activity.title.to_s, news_path(activity), :class => "postGrey", :style => "word-break:break-all" %>
|
||||||
</div>
|
</div>
|
||||||
<div class="homepagePostSubmitContainer">
|
<div class="homepagePostSubmitContainer">
|
||||||
|
@ -83,7 +83,7 @@
|
||||||
:data => {:confirm => l(:text_are_you_sure)}, :method => :delete, :title => l(:button_delete) %>
|
:data => {:confirm => l(:text_are_you_sure)}, :method => :delete, :title => l(:button_delete) %>
|
||||||
<!--<a href="javascript:void(0);" class="replyGrey fr ml10">删除</a>-->
|
<!--<a href="javascript:void(0);" class="replyGrey fr ml10">删除</a>-->
|
||||||
</div>
|
</div>
|
||||||
<div class="homepagePostReplyContent"><%= comment.comments.html_safe %></div>
|
<div class="homepagePostReplyContent break_word"><%= comment.comments.html_safe %></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="cl"></div>
|
<div class="cl"></div>
|
||||||
</li>
|
</li>
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
<%= link_to image_tag(url_to_avatar(activity.user), :width => "90", :height => "90"), user_path(activity.user_id), :alt => "用户头像" %>
|
<%= link_to image_tag(url_to_avatar(activity.user), :width => "90", :height => "90"), user_path(activity.user_id), :alt => "用户头像" %>
|
||||||
</div>
|
</div>
|
||||||
<div class="homepagePostDes">
|
<div class="homepagePostDes">
|
||||||
<div class="homepagePostTo" style="word-break:break-all;">
|
<div class="homepagePostTo mb12 break_word">
|
||||||
<% if activity.try(:user).try(:realname) == ' ' %>
|
<% if activity.try(:user).try(:realname) == ' ' %>
|
||||||
<%= link_to activity.try(:user), user_path(activity.user_id), :class => "newsBlue mr15" %>
|
<%= link_to activity.try(:user), user_path(activity.user_id), :class => "newsBlue mr15" %>
|
||||||
<% else %>
|
<% else %>
|
||||||
|
@ -17,7 +17,7 @@
|
||||||
<%= link_to Course.find(activity.polls_group_id).name.to_s+" | 问卷", course_path(activity.polls_group_id), :class => "newsBlue ml15", :style=>"word-break:break-all" %>
|
<%= link_to Course.find(activity.polls_group_id).name.to_s+" | 问卷", course_path(activity.polls_group_id), :class => "newsBlue ml15", :style=>"word-break:break-all" %>
|
||||||
<!--<a href="javascript:void(0);" class="newsBlue ml15">分布式计算环境(课程名称)</a>-->
|
<!--<a href="javascript:void(0);" class="newsBlue ml15">分布式计算环境(课程名称)</a>-->
|
||||||
</div>
|
</div>
|
||||||
<div class="homepagePostTitle" style="word-break:break-all;">
|
<div class="homepagePostTitle break_word" >
|
||||||
<%#= link_to activity.polls_name.to_s/*+"(问卷名称)"*/, %>
|
<%#= link_to activity.polls_name.to_s/*+"(问卷名称)"*/, %>
|
||||||
<% if has_commit %>
|
<% if has_commit %>
|
||||||
<%= link_to poll_name, poll_result_poll_path(activity.id), :class => "postGrey"%>
|
<%= link_to poll_name, poll_result_poll_path(activity.id), :class => "postGrey"%>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<div class="resources mt10">
|
<div class="resources mt10">
|
||||||
<div class="homepagePostBrief" onmouseover="$('#act-<%=user_activity.id %>').css('visibility','visible')" onmouseout="$('.homepagePostSetting').css('visibility','hidden')">
|
<div class="homepagePostBrief mt10" onmouseover="$('#act-<%=user_activity.id %>').css('visibility','visible')" onmouseout="$('.homepagePostSetting').css('visibility','hidden')">
|
||||||
<div class="homepagePostPortrait">
|
<div class="homepagePostPortrait">
|
||||||
<a href="javascript:void(0);"><img src="images/homepageImage.jpg" width="90" height="90" alt="用户头像"/></a></div>
|
<a href="javascript:void(0);"><img src="images/homepageImage.jpg" width="90" height="90" alt="用户头像"/></a></div>
|
||||||
<div class="homepagePostDes">
|
<div class="homepagePostDes">
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<div class="resources mt10">
|
<div class="resources mt10">
|
||||||
<div class="homepagePostBrief" onmouseover="$('#act-<%=user_activity.id %>').css('visibility','visible')" onmouseout="$('.homepagePostSetting').css('visibility','hidden')">
|
<div class="homepagePostBrief mt10" onmouseover="$('#act-<%=user_activity.id %>').css('visibility','visible')" onmouseout="$('.homepagePostSetting').css('visibility','hidden')">
|
||||||
<div class="homepagePostPortrait">
|
<div class="homepagePostPortrait">
|
||||||
<a href="javascript:void(0);"><img src="images/homepageImage.jpg" width="90" height="90" alt="用户头像"/></a></div>
|
<a href="javascript:void(0);"><img src="images/homepageImage.jpg" width="90" height="90" alt="用户头像"/></a></div>
|
||||||
<div class="homepagePostDes">
|
<div class="homepagePostDes">
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<div class="resources mt10">
|
<div class="resources mt10">
|
||||||
<div class="homepagePostBrief" onmouseover="$('#act-<%=user_activity.id %>').css('visibility','visible')" onmouseout="$('.homepagePostSetting').css('visibility','hidden')">
|
<div class="homepagePostBrief mt10" onmouseover="$('#act-<%=user_activity.id %>').css('visibility','visible')" onmouseout="$('.homepagePostSetting').css('visibility','hidden')">
|
||||||
<div class="homepagePostPortrait">
|
<div class="homepagePostPortrait">
|
||||||
<a href="javascript:void(0);"><img src="images/homepageImage.jpg" width="90" height="90" alt="用户头像"/></a></div>
|
<a href="javascript:void(0);"><img src="images/homepageImage.jpg" width="90" height="90" alt="用户头像"/></a></div>
|
||||||
<div class="homepagePostDes">
|
<div class="homepagePostDes">
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<%= link_to image_tag(url_to_avatar(activity.author), :width => "90", :height => "90"), user_path(activity.author_id), :alt => "用户头像" %>
|
<%= link_to image_tag(url_to_avatar(activity.author), :width => "90", :height => "90"), user_path(activity.author_id), :alt => "用户头像" %>
|
||||||
</div>
|
</div>
|
||||||
<div class="homepagePostDes">
|
<div class="homepagePostDes">
|
||||||
<div class="homepagePostTo mb12" style="word-break:break-all;">
|
<div class="homepagePostTo mb12 break_word">
|
||||||
<% if activity.try(:author).try(:realname) == ' ' %>
|
<% if activity.try(:author).try(:realname) == ' ' %>
|
||||||
<%= link_to activity.try(:author), user_path(activity.author_id), :class => "newsBlue mr15" %>
|
<%= link_to activity.try(:author), user_path(activity.author_id), :class => "newsBlue mr15" %>
|
||||||
<% else %>
|
<% else %>
|
||||||
|
@ -12,7 +12,7 @@
|
||||||
<% end %> TO
|
<% end %> TO
|
||||||
<%= link_to activity.project.name.to_s+" | 项目缺陷", project_path(activity.project), :class => "newsBlue ml15", :style=>"word-break:break-all" %>
|
<%= link_to activity.project.name.to_s+" | 项目缺陷", project_path(activity.project), :class => "newsBlue ml15", :style=>"word-break:break-all" %>
|
||||||
</div>
|
</div>
|
||||||
<div class="homepagePostTitle mb12" style="word-break:break-all;">
|
<div class="homepagePostTitle mb12 break_word">
|
||||||
<%= link_to activity.subject.to_s, issue_path(activity), :class => "postGrey", :style=>"word-break:break-all" %>
|
<%= link_to activity.subject.to_s, issue_path(activity), :class => "postGrey", :style=>"word-break:break-all" %>
|
||||||
<span class='<%= get_issue_priority(activity.priority_id)[0] %>'><%= get_issue_priority(activity.priority_id)[1] %></span>
|
<span class='<%= get_issue_priority(activity.priority_id)[0] %>'><%= get_issue_priority(activity.priority_id)[1] %></span>
|
||||||
</div>
|
</div>
|
||||||
|
@ -28,11 +28,11 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="homepagePostDeadline">时间:<%=format_date(activity.created_on) %></div>
|
<div class="homepagePostDeadline">时间:<%=format_date(activity.created_on) %></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="homepagePostIntro" id="activity_description_<%= user_activity.id %>">缺陷描述:<%= activity.description.html_safe %></div>
|
<div class="homepagePostIntro break_word" id="activity_description_<%= user_activity.id %>">缺陷描述:<%= activity.description.html_safe %></div>
|
||||||
<div class="mt10" style="font-weight:normal;">
|
<div class="mt10" style="font-weight:normal;">
|
||||||
<% if activity.attachments.any? %>
|
<% if activity.attachments.any? %>
|
||||||
<% activity.attachments.each do |attachment| %>
|
<% activity.attachments.each do |attachment| %>
|
||||||
<div style="white-space: nowrap; overflow: hidden; text-overflow: ellipsis;">
|
<div class="break_word">
|
||||||
<span title="<%= attachment.filename %>" id="attachment_">
|
<span title="<%= attachment.filename %>" id="attachment_">
|
||||||
<%= link_to_short_attachment attachment, :class => 'homepagePostFileAtt newsBlue', :download => true -%>
|
<%= link_to_short_attachment attachment, :class => 'homepagePostFileAtt newsBlue', :download => true -%>
|
||||||
</span>
|
</span>
|
||||||
|
@ -116,10 +116,10 @@
|
||||||
</div>
|
</div>
|
||||||
<% if reply.details.any? %>
|
<% if reply.details.any? %>
|
||||||
<% details_to_strings(reply.details).each do |string| %>
|
<% details_to_strings(reply.details).each do |string| %>
|
||||||
<div class="homepagePostReplyContent" style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;"><%= string %></div>
|
<div class="homepagePostReplyContent break_word"><%= string %></div>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% else %>
|
<% else %>
|
||||||
<div class="homepagePostReplyContent"><%= reply.notes.html_safe %></div>
|
<div class="homepagePostReplyContent break_word"><%= reply.notes.html_safe %></div>
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
<div class="cl"></div>
|
<div class="cl"></div>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<div class="resources mt10">
|
<div class="resources mt10">
|
||||||
<div class="homepagePostBrief" onmouseover="$('#act-<%=user_activity.id %>').css('visibility','visible')" onmouseout="$('.homepagePostSetting').css('visibility','hidden')">
|
<div class="homepagePostBrief mt10" onmouseover="$('#act-<%=user_activity.id %>').css('visibility','visible')" onmouseout="$('.homepagePostSetting').css('visibility','hidden')">
|
||||||
<div class="homepagePostPortrait">
|
<div class="homepagePostPortrait">
|
||||||
<a href="javascript:void(0);"><img src="images/homepageImage.jpg" width="90" height="90" alt="用户头像"/></a></div>
|
<a href="javascript:void(0);"><img src="images/homepageImage.jpg" width="90" height="90" alt="用户头像"/></a></div>
|
||||||
<div class="homepagePostDes">
|
<div class="homepagePostDes">
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
<div class="resources mt10">
|
<div class="resources mt10">
|
||||||
<div class="homepagePostBrief">
|
<div class="homepagePostBrief mt10">
|
||||||
<div class="homepagePostPortrait">
|
<div class="homepagePostPortrait">
|
||||||
<%= link_to image_tag(url_to_avatar(activity.author), :width => "90", :height => "90"), user_path(activity.author_id), :alt => "用户头像" %>
|
<%= link_to image_tag(url_to_avatar(activity.author), :width => "90", :height => "90"), user_path(activity.author_id), :alt => "用户头像" %>
|
||||||
</div>
|
</div>
|
||||||
<div class="homepagePostDes">
|
<div class="homepagePostDes">
|
||||||
<div class="homepagePostTo mb12" style="word-break:break-all;">
|
<div class="homepagePostTo mb12 break_word">
|
||||||
<% if activity.try(:author).try(:realname) == ' ' %>
|
<% if activity.try(:author).try(:realname) == ' ' %>
|
||||||
<%= link_to activity.try(:author), user_path(activity.author_id), :class => "newsBlue mr15" %>
|
<%= link_to activity.try(:author), user_path(activity.author_id), :class => "newsBlue mr15" %>
|
||||||
<% else %>
|
<% else %>
|
||||||
|
@ -14,7 +14,7 @@
|
||||||
<%= link_to activity.project.name.to_s+" | 项目讨论区",project_path(activity.project), :class => "newsBlue ml15 mr5", :style=>"word-break:break-all"%>
|
<%= link_to activity.project.name.to_s+" | 项目讨论区",project_path(activity.project), :class => "newsBlue ml15 mr5", :style=>"word-break:break-all"%>
|
||||||
<!--<a href="javascript:void(0);" class="newsBlue ml15 mr5"><%= activity.project.name %>(项目讨论区)</a>-->
|
<!--<a href="javascript:void(0);" class="newsBlue ml15 mr5"><%= activity.project.name %>(项目讨论区)</a>-->
|
||||||
</div>
|
</div>
|
||||||
<div class="homepagePostTitle mb12" style="word-break:break-all;">
|
<div class="homepagePostTitle mb12 break_word">
|
||||||
<% if activity.parent_id.nil? %>
|
<% if activity.parent_id.nil? %>
|
||||||
<%= link_to activity.subject.to_s.html_safe, project_boards_path(activity.project,:parent_id =>activity.id, :topic_id => activity.id), :class=> "postGrey", :style=>"word-break:break-all" %>
|
<%= link_to activity.subject.to_s.html_safe, project_boards_path(activity.project,:parent_id =>activity.id, :topic_id => activity.id), :class=> "postGrey", :style=>"word-break:break-all" %>
|
||||||
<% else %>
|
<% else %>
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
<div class="homepagePostSubmitContainer">
|
<div class="homepagePostSubmitContainer">
|
||||||
<div class="homepagePostDeadline">时间:<%= format_date(activity.created_on) %></div>
|
<div class="homepagePostDeadline">时间:<%= format_date(activity.created_on) %></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="homepagePostIntro" id="activity_description_<%= user_activity.id%>">帖子描述:
|
<div class="homepagePostIntro break_word" id="activity_description_<%= user_activity.id%>">帖子描述:
|
||||||
<% if activity.parent_id.nil? %>
|
<% if activity.parent_id.nil? %>
|
||||||
<%= activity.content.to_s.html_safe%>
|
<%= activity.content.to_s.html_safe%>
|
||||||
<% else %>
|
<% else %>
|
||||||
|
@ -103,7 +103,7 @@
|
||||||
) if reply.course_destroyable_by?(User.current) %>
|
) if reply.course_destroyable_by?(User.current) %>
|
||||||
<!--<a href="javascript:void(0);" class="replyGrey fr ml10">删除</a>-->
|
<!--<a href="javascript:void(0);" class="replyGrey fr ml10">删除</a>-->
|
||||||
</div>
|
</div>
|
||||||
<div class="homepagePostReplyContent"><%= reply.content.html_safe %></div>
|
<div class="homepagePostReplyContent break_word"><%= reply.content.html_safe %></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="cl"></div>
|
<div class="cl"></div>
|
||||||
</li>
|
</li>
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
$(window).scroll(scrollHandler);
|
$(window).scroll(scrollHandler);
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<input type="hidden" value="<%= @type%>" id="user_activities_type">
|
<input type="hidden" value="<%= @type%>" name="type" id="user_activities_type">
|
||||||
<div class="resources">
|
<div class="resources">
|
||||||
<div class="homepageRightBanner">
|
<div class="homepageRightBanner">
|
||||||
<div class="NewsBannerName">最新动态</div>
|
<div class="NewsBannerName">最新动态</div>
|
||||||
|
|
|
@ -138,10 +138,10 @@
|
||||||
<div class="homepagePostPortrait">
|
<div class="homepagePostPortrait">
|
||||||
<a href="javascript:void(0);"><img src="images/homepageImage.jpg" width="90" height="90" alt="用户头像"/></a></div>
|
<a href="javascript:void(0);"><img src="images/homepageImage.jpg" width="90" height="90" alt="用户头像"/></a></div>
|
||||||
<div class="homepagePostDes">
|
<div class="homepagePostDes">
|
||||||
<div class="homepagePostTo"><a href="javascript:void(0);" class="newsBlue mr15">尹教授</a> TO
|
<div class="homepagePostTo mb12"><a href="javascript:void(0);" class="newsBlue mr15">尹教授</a> TO
|
||||||
<a href="javascript:void(0);" class="newsBlue ml15 mr5">黄井泉</a><span class="c_blue">,</span><a href="javascript:void(0);" class="newsBlue ml5">陈正东</a>
|
<a href="javascript:void(0);" class="newsBlue ml15 mr5">黄井泉</a><span class="c_blue">,</span><a href="javascript:void(0);" class="newsBlue ml5">陈正东</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="homepagePostTitle"><a href="javascript:void(0);" class="postGrey">假期开心吗?(讨论区内容)</a></div>
|
<div class="homepagePostTitle mb12"><a href="javascript:void(0);" class="postGrey">假期开心吗?(讨论区内容)</a></div>
|
||||||
<div class="homepagePostSubmitContainer">
|
<div class="homepagePostSubmitContainer">
|
||||||
<div class="homepagePostDeadline">时间:2015-07-31</div>
|
<div class="homepagePostDeadline">时间:2015-07-31</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -205,9 +205,9 @@
|
||||||
<div class="homepagePostPortrait">
|
<div class="homepagePostPortrait">
|
||||||
<a href="javascript:void(0);"><img src="images/homepageImage.jpg" width="90" height="90" alt="用户头像"/></a></div>
|
<a href="javascript:void(0);"><img src="images/homepageImage.jpg" width="90" height="90" alt="用户头像"/></a></div>
|
||||||
<div class="homepagePostDes">
|
<div class="homepagePostDes">
|
||||||
<div class="homepagePostTo"><a href="javascript:void(0);" class="newsBlue mr15">尹教授</a> TO
|
<div class="homepagePostTo mb12"><a href="javascript:void(0);" class="newsBlue mr15">尹教授</a> TO
|
||||||
<a href="javascript:void(0);" class="newsBlue ml15">Trustie Forge(项目名称)</a></div>
|
<a href="javascript:void(0);" class="newsBlue ml15">Trustie Forge(项目名称)</a></div>
|
||||||
<div class="homepagePostTitle">
|
<div class="homepagePostTitle mb12">
|
||||||
<a href="javascript:void(0);" class="postGrey">上传资源未显示在项目动态中(缺陷标题)</a><span class="homepagePostProjectState">正常</span>
|
<a href="javascript:void(0);" class="postGrey">上传资源未显示在项目动态中(缺陷标题)</a><span class="homepagePostProjectState">正常</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="homepagePostSubmitContainer">
|
<div class="homepagePostSubmitContainer">
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
|
|
||||||
/*右侧内容--动态*/
|
/*右侧内容--动态*/
|
||||||
.project_r_h{ width:670px; height:40px; background:#eaeaea; margin-bottom:10px;}
|
.project_r_h{ width:730px; height:40px; background:#eaeaea; margin-bottom:10px;}
|
||||||
.project_r_h02{ width:920px; height:40px; background:#eaeaea; margin-bottom:10px;}
|
.project_r_h02{ width:980px; height:40px; background:#eaeaea; margin-bottom:10px;}
|
||||||
.project_h2{ background:#64bdd9; color:#fff; height:33px; width:90px; text-align:center; font-weight:normal; padding-top:7px; font-size:16px;}
|
.project_h2{ background:#64bdd9; color:#fff; height:33px; width:90px; text-align:center; font-weight:normal; padding-top:7px; font-size:16px;}
|
||||||
.project_r_box{ border:1px solid #e2e1e1; width:670px; margin-top:10px;}
|
.project_r_box{ border:1px solid #e2e1e1; width:670px; margin-top:10px;}
|
||||||
.project_h3 { color:#646464; font-size:14px; padding:0 10px; border-bottom:1px solid #e2e1e1;}
|
.project_h3 { color:#646464; font-size:14px; padding:0 10px; border-bottom:1px solid #e2e1e1;}
|
||||||
|
@ -52,7 +52,7 @@ a:hover.problem_new_btn{ background:#ff7143; color:#fff;}
|
||||||
.problem_p span{ color:#ff3e00;}
|
.problem_p span{ color:#ff3e00;}
|
||||||
a.problem_pic{ display:block; width:42px; height:42px; padding:3px; border:1px solid #e3e3e3;}
|
a.problem_pic{ display:block; width:42px; height:42px; padding:3px; border:1px solid #e3e3e3;}
|
||||||
a:hover.problem_pic{border:1px solid #64bdd9;}
|
a:hover.problem_pic{border:1px solid #64bdd9;}
|
||||||
.problem_txt{ width:610px; margin-left:10px; color:#777777;word-break: break-all;word-wrap: break-word;}
|
.problem_txt{ width:670px; margin-left:10px; color:#777777;word-break: break-all;word-wrap: break-word;}
|
||||||
a.problem_name{ color:#ff5722;max-width:60px;overflow: hidden;white-space: nowrap;text-overflow: ellipsis;}
|
a.problem_name{ color:#ff5722;max-width:60px;overflow: hidden;white-space: nowrap;text-overflow: ellipsis;}
|
||||||
a:hover.problem_name{ color:#d33503;}
|
a:hover.problem_name{ color:#d33503;}
|
||||||
a.problem_tit{ color:#0781b4; max-width:410px; display:block; overflow:hidden; white-space: nowrap; text-overflow:ellipsis;vertical-align: top;}
|
a.problem_tit{ color:#0781b4; max-width:410px; display:block; overflow:hidden; white-space: nowrap; text-overflow:ellipsis;vertical-align: top;}
|
||||||
|
@ -105,14 +105,14 @@ a:hover.grey_btn{ background:#717171; color:#fff;}
|
||||||
.w90{width:90px;}
|
.w90{width:90px;}
|
||||||
.ml10{margin-left:10px;}
|
.ml10{margin-left:10px;}
|
||||||
.resource{ width:670px;}
|
.resource{ width:670px;}
|
||||||
.re_top{width:660px; height:40px; background:#eaeaea; padding:5px;}
|
.re_top{width:720px; height:40px; background:#eaeaea; padding:5px;}
|
||||||
.re_top input{ float:left;}
|
.re_top input{ float:left;}
|
||||||
.re_search{ margin-top:7px; margin-left:5px;}
|
.re_search{ margin-top:7px; margin-left:5px;}
|
||||||
.re_schbox{ width:240px; height:24px; border:1px solid #64bdd9; color:#666666;}
|
.re_schbox{ width:240px; height:24px; border:1px solid #64bdd9; color:#666666;}
|
||||||
.re_schbtn{ width:60px; height:26px; color:#fff; margin-right:5px; border:none; margin-left:0px;padding-left: 0px;}
|
.re_schbtn{ width:60px; height:26px; color:#fff; margin-right:5px; border:none; margin-left:0px;padding-left: 0px;}
|
||||||
a.re_fabu { display:block; width:90px; height:30px; font-size:14px; color:#fff; text-align:center; padding-top:10px; }
|
a.re_fabu { display:block; width:90px; height:30px; font-size:14px; color:#fff; text-align:center; padding-top:10px; }
|
||||||
a:hover.re_fabu{background:#55a1b9;}
|
a:hover.re_fabu{background:#55a1b9;}
|
||||||
.re_con{ margin:5px; width:665px;}
|
.re_con{ margin:5px; width:720px;}
|
||||||
.re_con_top{color:#494949; }
|
.re_con_top{color:#494949; }
|
||||||
.re_con_top span{ color:#999999; font-weight:bold;}
|
.re_con_top span{ color:#999999; font-weight:bold;}
|
||||||
a.re_select{ display:block; border:1px solid #ff9900; color:#ff9900; margin-left:10px; padding:1px 5px;}
|
a.re_select{ display:block; border:1px solid #ff9900; color:#ff9900; margin-left:10px; padding:1px 5px;}
|
||||||
|
@ -172,7 +172,7 @@ a:hover.work_edit{color: #fff; background: #64bdd9;}
|
||||||
.wzan a{ display: block;}
|
.wzan a{ display: block;}
|
||||||
a.wzan_img{background:url(images/pic_zan.png) 0 -59px no-repeat; display:block; height:31px; width:30px; color:#fff;}
|
a.wzan_img{background:url(images/pic_zan.png) 0 -59px no-repeat; display:block; height:31px; width:30px; color:#fff;}
|
||||||
a.wzan_visited{background:url(images/pic_zan.png) 0 0 no-repeat;}
|
a.wzan_visited{background:url(images/pic_zan.png) 0 0 no-repeat;}
|
||||||
.msg_box{ width:670px; border-bottom:1px dashed #CCC; padding-top:10px;}
|
.msg_box{ width:728px; border-bottom:1px dashed #CCC; padding-top:10px;}
|
||||||
.msg_box h4{ }
|
.msg_box h4{ }
|
||||||
.msg_box textarea{width:658px;height:90px;padding:5px;overflow:hidden;background-color: #ffffff; border:1px solid #CCC; margin:5px 0px; color:#666; font-size:12px; }
|
.msg_box textarea{width:658px;height:90px;padding:5px;overflow:hidden;background-color: #ffffff; border:1px solid #CCC; margin:5px 0px; color:#666; font-size:12px; }
|
||||||
|
|
||||||
|
@ -212,7 +212,7 @@ a:hover.ping_sub{ background:#14a8b9;}
|
||||||
.ping_C{border-bottom:1px dashed #CCC; padding:10px 0 0px;}
|
.ping_C{border-bottom:1px dashed #CCC; padding:10px 0 0px;}
|
||||||
.ping_dispic a{ display:block; height:46px; width:46px; border:1px solid #CCC; padding:1px; float:left;}
|
.ping_dispic a{ display:block; height:46px; width:46px; border:1px solid #CCC; padding:1px; float:left;}
|
||||||
.ping_dispic a:hover{border:1px solid #15bccf;}
|
.ping_dispic a:hover{border:1px solid #15bccf;}
|
||||||
.ping_discon{ float:left; width:610px; margin-left:10px; }
|
.ping_discon{ float:left; width:670px; margin-left:10px; }
|
||||||
/*.ping_distop span{ float:left;}*/
|
/*.ping_distop span{ float:left;}*/
|
||||||
.ping_distop p{ color:#5f5f5f;word-break: break-all;word-wrap: break-word;}
|
.ping_distop p{ color:#5f5f5f;word-break: break-all;word-wrap: break-word;}
|
||||||
.ping_disfoot a{ float:right; color: #6883b6; margin-left:5px; margin-bottom:5px;}
|
.ping_disfoot a{ float:right; color: #6883b6; margin-left:5px; margin-bottom:5px;}
|
||||||
|
@ -221,16 +221,16 @@ a:hover.ping_sub{ background:#14a8b9;}
|
||||||
/* 创建作品 work */
|
/* 创建作品 work */
|
||||||
.Newwork{ width:668px; height:418px;}
|
.Newwork{ width:668px; height:418px;}
|
||||||
.N_top{ float:right; margin-left:390px; }
|
.N_top{ float:right; margin-left:390px; }
|
||||||
.N_con{ color:#484747; font-weight:bold; width:660px; margin-top:10px; }
|
.N_con{ color:#484747; font-weight:bold; width:710px; margin-top:10px; }
|
||||||
.N_con p{ }
|
.N_con p{ }
|
||||||
.w430{ width:470px;}
|
.w430{ width:470px;}
|
||||||
.w557{ width:557px;}
|
.w557{ width:557px;}
|
||||||
.w350{ width:350px;}
|
.w350{ width:350px;}
|
||||||
.h400{height: 400px !important;}
|
.h400{height: 400px !important;}
|
||||||
.w620{ width:480px; height:160px; border:1px solid #CCC;}
|
.w620{ width:480px; height:160px; border:1px solid #CCC;}
|
||||||
.bo{height:26px; border:1px solid #CCC; padding-left:5px; background:#fff;width:470px; }
|
.bo{height:26px; border:1px solid #CCC; padding-left:5px; background:#fff;width:530px; }
|
||||||
.bo02{height:26px; border:1px solid #CCC; padding-left:5px; background:#fff;width:480px; margin-left:2px; color: #999; }
|
.bo02{height:26px; border:1px solid #CCC; padding-left:5px; background:#fff;width:480px; margin-left:2px; color: #999; }
|
||||||
.hwork_txt{ width:560px; padding-left:5px; background:#fff;}
|
.hwork_txt{ width:610px; padding-left:5px; background:#fff;}
|
||||||
a.tijiao{ height:28px; display:block; width:80px; color:#fff; background:#15bccf; text-align:center; padding-top:4px; float:left; margin-right:10px;}
|
a.tijiao{ height:28px; display:block; width:80px; color:#fff; background:#15bccf; text-align:center; padding-top:4px; float:left; margin-right:10px;}
|
||||||
a:hover.tijiao{ background:#0f99a9;}
|
a:hover.tijiao{ background:#0f99a9;}
|
||||||
.members_left{ float:left; width:410px; margin-right:20px; text-align:center;}
|
.members_left{ float:left; width:410px; margin-right:20px; text-align:center;}
|
||||||
|
@ -556,7 +556,7 @@ a.files_tag_select{ background:#64bdd9; color:#fff; border:1px solid #64bdd9; pa
|
||||||
|
|
||||||
/* 20150423作业评分*/
|
/* 20150423作业评分*/
|
||||||
.ml14{ margin-left:14px;}
|
.ml14{ margin-left:14px;}
|
||||||
.w548{ width:552px;}
|
.w548{ width:600px;}
|
||||||
.w547{ width:544px;}
|
.w547{ width:544px;}
|
||||||
.w196{ width:182px;}
|
.w196{ width:182px;}
|
||||||
.w459{ width:459px;}
|
.w459{ width:459px;}
|
||||||
|
@ -572,18 +572,18 @@ a:hover.icon_add{background:url(../stylesheets/images/icons.png) -20px -310px no
|
||||||
.w664{ width:664px;}
|
.w664{ width:664px;}
|
||||||
.w140{ width:140px;}
|
.w140{ width:140px;}
|
||||||
.talklist_box{ }
|
.talklist_box{ }
|
||||||
.talkmain_box{ width:670px; border-bottom:1px dashed #d9d9d9; margin-bottom:20px; margin-top: 10px;}
|
.talkmain_box{ width:730px; border-bottom:1px dashed #d9d9d9; margin-bottom:20px; margin-top: 10px;}
|
||||||
.talkmain_pic{}
|
.talkmain_pic{}
|
||||||
a.talkmain_pic{ display:block; width:42px; height:42px; padding:2px; border:1px solid #e3e3e3;}
|
a.talkmain_pic{ display:block; width:42px; height:42px; padding:2px; border:1px solid #e3e3e3;}
|
||||||
a:hover.talkmain_pic{border:1px solid #64bdd9;}
|
a:hover.talkmain_pic{border:1px solid #64bdd9;}
|
||||||
.talkmain_txt{ width:610px; margin-left:10px; color:#333;}
|
.talkmain_txt{ width:670px; margin-left:10px; color:#333;}
|
||||||
a.talkmain_name{ color:#ff5722;}
|
a.talkmain_name{ color:#ff5722;}
|
||||||
a:hover.talkmain_name{ color:#d33503;}
|
a:hover.talkmain_name{ color:#d33503;}
|
||||||
.talkmain_tit{ color:#0781b4; width:450px; display:block; }
|
.talkmain_tit{ color:#0781b4; width:450px; display:block; }
|
||||||
.talklist_main{ }
|
.talklist_main{ }
|
||||||
/*.talkWrapArrow{ display:block; float:right; margin-right:10px;background:url(../images/arrow.png) 0 0 no-repeat; height:7px; width:13px;}*/
|
/*.talkWrapArrow{ display:block; float:right; margin-right:10px;background:url(../images/arrow.png) 0 0 no-repeat; height:7px; width:13px;}*/
|
||||||
.talkConIpt{ background:#f2f2f2; }
|
.talkConIpt{ background:#f2f2f2; }
|
||||||
.talkWrapBox{ width:610px; margin-left:60px; }
|
.talkWrapBox{ width:660px; margin-left:60px; }
|
||||||
.inputFeint{ border:1px solid #d9d9d9; background:#fff; width:583px; height:50px; margin:10px; margin-bottom:5px;color:#666;}
|
.inputFeint{ border:1px solid #d9d9d9; background:#fff; width:583px; height:50px; margin:10px; margin-bottom:5px;color:#666;}
|
||||||
.inputFeint02{ border:1px solid #d9d9d9; background:#fff; width:535px; height:30px; margin:5px 0 5px 50px; color:#666;}
|
.inputFeint02{ border:1px solid #d9d9d9; background:#fff; width:535px; height:30px; margin:5px 0 5px 50px; color:#666;}
|
||||||
.inputFeint03{ border:1px solid #d9d9d9; background:#fff; width:490px; height:30px; margin:5px 0 5px 0px; color:#666;}
|
.inputFeint03{ border:1px solid #d9d9d9; background:#fff; width:490px; height:30px; margin:5px 0 5px 0px; color:#666;}
|
||||||
|
@ -592,7 +592,7 @@ a.Msg_pic{ display:block; width:34px; height:34px; padding:2px; border:1px solid
|
||||||
a:hover.Msg_pic{border:1px solid #64bdd9;}
|
a:hover.Msg_pic{border:1px solid #64bdd9;}
|
||||||
a.Reply_pic{ display:block; width:30px; height:30px; padding:2px; border:1px solid #e3e3e3; float:left;}
|
a.Reply_pic{ display:block; width:30px; height:30px; padding:2px; border:1px solid #e3e3e3; float:left;}
|
||||||
a:hover.Reply_pic{border:1px solid #64bdd9;}
|
a:hover.Reply_pic{border:1px solid #64bdd9;}
|
||||||
.Msg_txt{ float:left; width:540px; margin-left:10px;}
|
.Msg_txt{ float:left; width:630px; margin-left:10px;}
|
||||||
.Msg_txt p{ }
|
.Msg_txt p{ }
|
||||||
.talkWrapMsg ul li{border-bottom:1px dashed #d9d9d9; padding-bottom:10px; margin-bottom:10px;}
|
.talkWrapMsg ul li{border-bottom:1px dashed #d9d9d9; padding-bottom:10px; margin-bottom:10px;}
|
||||||
.talkReply{ width:540px; margin-left:50px; border-top:1px dashed #d9d9d9; padding-top:10px; }
|
.talkReply{ width:540px; margin-left:50px; border-top:1px dashed #d9d9d9; padding-top:10px; }
|
||||||
|
@ -604,7 +604,7 @@ a:hover.Reply_pic{border:1px solid #64bdd9;}
|
||||||
|
|
||||||
/* 20150423作业评分*/
|
/* 20150423作业评分*/
|
||||||
.ml14{ margin-left:14px;}
|
.ml14{ margin-left:14px;}
|
||||||
.w548{ width:552px;}
|
.w548{ width:600px;}
|
||||||
.w547{ width:544px;}
|
.w547{ width:544px;}
|
||||||
.w196{ width:196px;}
|
.w196{ width:196px;}
|
||||||
.w186{ width:186px;}
|
.w186{ width:186px;}
|
||||||
|
|
|
@ -90,8 +90,8 @@ li.menuArrow:hover {background:url(../images/item.png) -20px -70px no-repeat;}
|
||||||
a.topnav_login_box:hover {color:#a1ebff;}
|
a.topnav_login_box:hover {color:#a1ebff;}
|
||||||
.navRow1 {margin:0; padding:0;}
|
.navRow1 {margin:0; padding:0;}
|
||||||
.navRow2 {margin:0; padding:0;}
|
.navRow2 {margin:0; padding:0;}
|
||||||
.topnav_login_list{ border:1px solid #15bccf; background:#fff; padding-left:10px; padding-bottom:10px; padding-top:8px; width:60px; left:-7px; position:absolute; z-index:9999; line-height:2;margin-top: -5px;}
|
.topnav_login_list{ border:1px solid #269ac9; background:#fff; padding-left:10px; padding-bottom:10px; padding-top:8px; width:60px; left:-7px; position:absolute; z-index:9999; line-height:2;margin-top: -4px;}
|
||||||
.topnav_login_list a{color:#15bccf;}
|
.topnav_login_list a{color:#269ac9;}
|
||||||
.topnav_login_list li{ }
|
.topnav_login_list li{ }
|
||||||
|
|
||||||
/*底部*/
|
/*底部*/
|
||||||
|
|
|
@ -7,8 +7,8 @@
|
||||||
|
|
||||||
/*问卷列表*/
|
/*问卷列表*/
|
||||||
.polls_content{ width:609px;}
|
.polls_content{ width:609px;}
|
||||||
.polls_content02{ width:670px;}
|
.polls_content02{ width:730px;}
|
||||||
.polls_head{ width:670px; height:48px; background:#eaeaea;}
|
.polls_head{ width:730px; height:48px; background:#eaeaea;}
|
||||||
.polls_head h2{ float:left; font-size:14px; color:#585858; margin:11px 0 0 10px;}
|
.polls_head h2{ float:left; font-size:14px; color:#585858; margin:11px 0 0 10px;}
|
||||||
.polls_head span{ font-weight:normal; color:#15bccf;}
|
.polls_head span{ font-weight:normal; color:#15bccf;}
|
||||||
a.newbtn{ float:right; display:block; width:80px; height:27px; padding-top:3px; background:#64bdd9; color:#fff; font-size:14px; margin:10px; text-align:center;}
|
a.newbtn{ float:right; display:block; width:80px; height:27px; padding-top:3px; background:#64bdd9; color:#fff; font-size:14px; margin:10px; text-align:center;}
|
||||||
|
@ -61,7 +61,7 @@ a:hover.ur_button{ background:#0fa9bb; text-decoration:none;}
|
||||||
/*问卷编辑*/
|
/*问卷编辑*/
|
||||||
.polls_edit{ color:#767676;}
|
.polls_edit{ color:#767676;}
|
||||||
a:hover{ text-decoration:none; cursor:pointer;}
|
a:hover{ text-decoration:none; cursor:pointer;}
|
||||||
.tabs{ width:658px; height: auto; border:1px solid #cbcbcb; padding:10px 0 0 10px; margin-bottom:10px;}
|
.tabs{ width:718px; height: auto; border:1px solid #cbcbcb; padding:10px 0 0 10px; margin-bottom:10px;}
|
||||||
.tab_item { float:left; height:30px; background:#eeeeee; margin-right:4px; padding:0 8px; margin-bottom:10px;}
|
.tab_item { float:left; height:30px; background:#eeeeee; margin-right:4px; padding:0 8px; margin-bottom:10px;}
|
||||||
.icon_delete{ font-size:16px;}
|
.icon_delete{ font-size:16px;}
|
||||||
a:hover.icon_delete{ font-weight: bold;}
|
a:hover.icon_delete{ font-weight: bold;}
|
||||||
|
@ -69,7 +69,7 @@ a:hover.icon_delete{ font-weight: bold;}
|
||||||
.tab_add{float:left; width:22px; height:22px; border:1px solid #cbcbcb; margin-top:6px; }
|
.tab_add{float:left; width:22px; height:22px; border:1px solid #cbcbcb; margin-top:6px; }
|
||||||
.icon_page_add{ background:url(images/icons.png) 4px -314px no-repeat; width:22px; height:27px; display:block;}
|
.icon_page_add{ background:url(images/icons.png) 4px -314px no-repeat; width:22px; height:27px; display:block;}
|
||||||
a:hover.icon_page_add{ background:url(images/icons.png) -16px -314px no-repeat;}
|
a:hover.icon_page_add{ background:url(images/icons.png) -16px -314px no-repeat;}
|
||||||
.tab_item02{ float:left; width:139px; height:30px;background:#eeeeee; margin-right:10px; padding:0 10px; margin-bottom:10px; padding:10px 0 0 15px;}
|
.tab_item02{ float:left; width:154px; height:30px;background:#eeeeee; margin-right:10px; padding:0 10px; margin-bottom:10px; padding:10px 0 0 15px;}
|
||||||
.tab_item02:hover{ background:#c9c9c9;}
|
.tab_item02:hover{ background:#c9c9c9;}
|
||||||
.tab_icon{padding-left:25px;}
|
.tab_icon{padding-left:25px;}
|
||||||
a:hover.tab_item02{ background:#fff;}
|
a:hover.tab_item02{ background:#fff;}
|
||||||
|
@ -78,9 +78,9 @@ a:hover.tab_item02{ background:#fff;}
|
||||||
.icon_text{background:url(images/icons.png) 0px -80px no-repeat; }
|
.icon_text{background:url(images/icons.png) 0px -80px no-repeat; }
|
||||||
.icon_textarea{background:url(images/icons.png) 0px -121px no-repeat; }
|
.icon_textarea{background:url(images/icons.png) 0px -121px no-repeat; }
|
||||||
|
|
||||||
.ur_editor {width:648px; border:1px solid #cbcbcb;background:#eeeeee; padding:10px; margin-bottom:10px;}
|
.ur_editor {width:708px; border:1px solid #cbcbcb;background:#eeeeee; padding:10px; margin-bottom:10px;}
|
||||||
.ur_title_editor_title{ margin-bottom:10px;}
|
.ur_title_editor_title{ margin-bottom:10px;}
|
||||||
.input_title{ width:627px; height:40px; padding:0 10px; text-align:center; font-size:16px; font-weight:bold; background:#fff;border-style:solid; border:1px solid #CBCBCB;}
|
.input_title{ width:688px; height:40px; padding:0 10px; text-align:center; font-size:16px; font-weight:bold; background:#fff;border-style:solid; border:1px solid #CBCBCB;}
|
||||||
.textarea_editor{ width:627px; height:120px; padding:10px; margin-bottom:10px; background:#fff; border-style:solid; border:1px solid #CBCBCB;}
|
.textarea_editor{ width:627px; height:120px; padding:10px; margin-bottom:10px; background:#fff; border-style:solid; border:1px solid #CBCBCB;}
|
||||||
.btn_submit{ width:56px; height:24px; padding-top:4px;background:#15bccf; color:#fff; text-align:center; display:block; float:left; margin-right:10px;}
|
.btn_submit{ width:56px; height:24px; padding-top:4px;background:#15bccf; color:#fff; text-align:center; display:block; float:left; margin-right:10px;}
|
||||||
a:hover.btn_submit{background:#0fa9bb;}
|
a:hover.btn_submit{background:#0fa9bb;}
|
||||||
|
@ -98,7 +98,7 @@ a:hover.icon_add{background:url(images/icons.png) -20px -310px no-repeat;}
|
||||||
a:hover.icon_remove{background:url(images/icons.png) -20px -338px no-repeat;}
|
a:hover.icon_remove{background:url(images/icons.png) -20px -338px no-repeat;}
|
||||||
.ur_editor_toolbar{ margin-bottom:10px;}
|
.ur_editor_toolbar{ margin-bottom:10px;}
|
||||||
.ur_editor_toolbar input{ width:40px; height:20px; background:#fff;}
|
.ur_editor_toolbar input{ width:40px; height:20px; background:#fff;}
|
||||||
.ur_editor02{width:648px; border:1px solid #cbcbcb; padding:10px; margin-bottom:10px;}
|
.ur_editor02{width:708px; border:1px solid #cbcbcb; padding:10px; margin-bottom:10px;}
|
||||||
a.ur_button_submit{ display:block; width:106px; height:31px; margin:0 auto; background:#15bccf; color:#fff; font-size:16px; text-align:center; padding-top:4px; margin-bottom:10px; }
|
a.ur_button_submit{ display:block; width:106px; height:31px; margin:0 auto; background:#15bccf; color:#fff; font-size:16px; text-align:center; padding-top:4px; margin-bottom:10px; }
|
||||||
a:hover.ur_button_submit{ background:#0fa9bb; text-decoration:none;}
|
a:hover.ur_button_submit{ background:#0fa9bb; text-decoration:none;}
|
||||||
|
|
||||||
|
@ -139,7 +139,7 @@ a:hover.btn_pu{ background:#3cb761;}
|
||||||
.polls_n p{ margin-top:-4px;}
|
.polls_n p{ margin-top:-4px;}
|
||||||
|
|
||||||
/***新增20150123***/
|
/***新增20150123***/
|
||||||
.ur_buttons{ width:275px; }
|
.ur_buttons{ width:260px; }
|
||||||
.ur_button_submit{ float:left;}
|
.ur_button_submit{ float:left;}
|
||||||
.polls_cha{float:left; margin-left:15px; margin-top:10px;}
|
.polls_cha{float:left; margin-left:15px; margin-top:10px;}
|
||||||
|
|
||||||
|
|
|
@ -225,7 +225,7 @@ a:hover.blue_n_btn{ background:#329cbd;}
|
||||||
|
|
||||||
|
|
||||||
/*框架主类容*/
|
/*框架主类容*/
|
||||||
#Container{ width:940px; margin:0 auto; }
|
#Container{ width:1000px; margin:0 auto; }
|
||||||
|
|
||||||
/*头部导航*/
|
/*头部导航*/
|
||||||
#Header{ margin:10px 0; background:#15bccf; height:40px; -moz-border-radius:5px; -webkit-border-radius:5px; border-radius:5px; }
|
#Header{ margin:10px 0; background:#15bccf; height:40px; -moz-border-radius:5px; -webkit-border-radius:5px; border-radius:5px; }
|
||||||
|
@ -291,7 +291,7 @@ a:hover.search_btn{ background: #0fa9bb;}
|
||||||
.search_text{ border:1px solid #15bccf; background:#fff; width:220px; height:25px; padding-left:5px; }
|
.search_text{ border:1px solid #15bccf; background:#fff; width:220px; height:25px; padding-left:5px; }
|
||||||
/*主类容左右分栏*/
|
/*主类容左右分栏*/
|
||||||
#LSide{ width:240px; }
|
#LSide{ width:240px; }
|
||||||
#RSide{ width:670px; margin-left:10px; background:#fff; padding:10px; margin-bottom:10px;}
|
#RSide{ width:730px; margin-left:10px; background:#fff; padding:10px; margin-bottom:10px;}
|
||||||
|
|
||||||
|
|
||||||
/*底部*/
|
/*底部*/
|
||||||
|
|
Loading…
Reference in New Issue