Merge branch 'szzh' into develop
This commit is contained in:
commit
bbb3b1c340
|
@ -42,12 +42,19 @@ class BoardsController < ApplicationController
|
||||||
elsif @course
|
elsif @course
|
||||||
if (User.current.admin? || @course.is_public == 1 || (@course.is_public == 0 && User.current.member_of_course?(@course)))
|
if (User.current.admin? || @course.is_public == 1 || (@course.is_public == 0 && User.current.member_of_course?(@course)))
|
||||||
@boards = @course.boards.includes(:last_message => :author).all
|
@boards = @course.boards.includes(:last_message => :author).all
|
||||||
@boards = [] << @boards[0] if @boards.any?
|
if @course.boards.empty?
|
||||||
if @boards.size == 1
|
@board = @course.boards.build
|
||||||
@board = @boards.first
|
@board.name = " #{l(:label_borad_course) }"
|
||||||
show and return
|
@board.description = @course.name.to_s
|
||||||
|
@board.project_id = -1
|
||||||
|
if @board.save
|
||||||
|
@boards = @course.boards.includes(:last_message => :author).all
|
||||||
end
|
end
|
||||||
render :layout => 'base_courses'
|
end
|
||||||
|
if @boards.size == 1
|
||||||
|
@board = @course.boards.first
|
||||||
|
end
|
||||||
|
show and return
|
||||||
else
|
else
|
||||||
render_403
|
render_403
|
||||||
end
|
end
|
||||||
|
@ -65,7 +72,7 @@ class BoardsController < ApplicationController
|
||||||
'replies' => "#{Message.table_name}.replies_count",
|
'replies' => "#{Message.table_name}.replies_count",
|
||||||
'updated_on' => "COALESCE(last_replies_messages.created_on, #{Message.table_name}.created_on)"
|
'updated_on' => "COALESCE(last_replies_messages.created_on, #{Message.table_name}.created_on)"
|
||||||
|
|
||||||
@topic_count = @board.topics.count
|
@topic_count = @board ? @board.topics.count : 0
|
||||||
if @project
|
if @project
|
||||||
@topic_pages = Paginator.new @topic_count, per_page_option, params['page']
|
@topic_pages = Paginator.new @topic_count, per_page_option, params['page']
|
||||||
@topics = @board.topics.
|
@topics = @board.topics.
|
||||||
|
@ -77,14 +84,13 @@ class BoardsController < ApplicationController
|
||||||
preload(:author, {:last_reply => :author}).
|
preload(:author, {:last_reply => :author}).
|
||||||
all
|
all
|
||||||
elsif @course
|
elsif @course
|
||||||
board_topics = @board.topics.
|
board_topics = @board ? @board.topics.reorder("#{Message.table_name}.sticky DESC").
|
||||||
reorder("#{Message.table_name}.sticky DESC").
|
|
||||||
includes(:last_reply).
|
includes(:last_reply).
|
||||||
# limit(@topic_pages.per_page).
|
# limit(@topic_pages.per_page).
|
||||||
# offset(@topic_pages.offset).
|
# offset(@topic_pages.offset).
|
||||||
order(sort_clause).
|
order(sort_clause).
|
||||||
preload(:author, {:last_reply => :author}).
|
preload(:author, {:last_reply => :author}).
|
||||||
all
|
all : []
|
||||||
@topics = paginateHelper board_topics,10
|
@topics = paginateHelper board_topics,10
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -243,8 +243,10 @@ class ProjectsController < ApplicationController
|
||||||
# Author lizanle
|
# Author lizanle
|
||||||
# Description 项目动态展示方法,删除了不必要的代码
|
# Description 项目动态展示方法,删除了不必要的代码
|
||||||
def show
|
def show
|
||||||
|
# params[:login]为邮箱邀请用户加入,主要功能:
|
||||||
# 试图跳转到请求的按钮
|
# 1、自动注册
|
||||||
|
# 2、加入项目、创建角色
|
||||||
|
# 3、用户得分
|
||||||
if params[:login]
|
if params[:login]
|
||||||
login = params[:login]
|
login = params[:login]
|
||||||
login = login.sub(/%40/,'@')
|
login = login.sub(/%40/,'@')
|
||||||
|
@ -252,6 +254,7 @@ class ProjectsController < ApplicationController
|
||||||
password = params[:password]
|
password = params[:password]
|
||||||
us = UsersService.new
|
us = UsersService.new
|
||||||
user = us.register_auto(login,mail, password)
|
user = us.register_auto(login,mail, password)
|
||||||
|
|
||||||
Member.create(:role_ids => [4], :user_id => user.id,:project_id => @project.id)
|
Member.create(:role_ids => [4], :user_id => user.id,:project_id => @project.id)
|
||||||
UserGrade.create(:user_id => user.id, :project_id => @project.id)
|
UserGrade.create(:user_id => user.id, :project_id => @project.id)
|
||||||
User.current = user unless User.current.nil?
|
User.current = user unless User.current.nil?
|
||||||
|
|
|
@ -81,9 +81,10 @@ class WordsController < ApplicationController
|
||||||
@journal_destroyed = JournalsForMessage.delete_message(params[:object_id])
|
@journal_destroyed = JournalsForMessage.delete_message(params[:object_id])
|
||||||
if @journal_destroyed.jour_type == "Bid"
|
if @journal_destroyed.jour_type == "Bid"
|
||||||
@bid = Bid.find(@journal_destroyed.jour_id)
|
@bid = Bid.find(@journal_destroyed.jour_id)
|
||||||
end
|
|
||||||
if @bid
|
|
||||||
@jours_count = @bid.journals_for_messages.where('m_parent_id IS NULL').count
|
@jours_count = @bid.journals_for_messages.where('m_parent_id IS NULL').count
|
||||||
|
elsif @journal_destroyed.jour_type == "Course"
|
||||||
|
@course = Course.find @journal_destroyed.jour_id
|
||||||
|
@jours_count = @course.journals_for_messages.where('m_parent_id IS NULL').count
|
||||||
end
|
end
|
||||||
respond_to do |format|
|
respond_to do |format|
|
||||||
format.js
|
format.js
|
||||||
|
|
|
@ -633,7 +633,7 @@ module ApplicationHelper
|
||||||
def principals_check_box_tags_li(name, principals)
|
def principals_check_box_tags_li(name, principals)
|
||||||
s = ''
|
s = ''
|
||||||
principals.each do |principal|
|
principals.each do |principal|
|
||||||
s << "<li>#{ check_box_tag name, principal.id, false, :id => nil } #{h link_to principal.userInfo, user_path( principal.id), :class => "c_blue" }</li>\n"
|
s << "<li>#{ check_box_tag name, principal.id, false, :id => nil } #{h link_to principal.userInfo, user_path( principal.id) }</li>\n"
|
||||||
end
|
end
|
||||||
s.html_safe
|
s.html_safe
|
||||||
end
|
end
|
||||||
|
|
|
@ -32,7 +32,7 @@ module MembersHelper
|
||||||
|
|
||||||
#获取项目可邀请的成员列表
|
#获取项目可邀请的成员列表
|
||||||
def render_project_members project
|
def render_project_members project
|
||||||
if params[:q] && params[:q] != ""
|
if params[:q] && params[:q].lstrip.rstrip != ""
|
||||||
scope = Principal.active.sorted.not_member_of(project).like(params[:q])
|
scope = Principal.active.sorted.not_member_of(project).like(params[:q])
|
||||||
else
|
else
|
||||||
scope = []
|
scope = []
|
||||||
|
@ -48,7 +48,7 @@ module MembersHelper
|
||||||
# add by nwb
|
# add by nwb
|
||||||
# 课程可添加的成员列表
|
# 课程可添加的成员列表
|
||||||
def render_principals_for_new_course_members(course)
|
def render_principals_for_new_course_members(course)
|
||||||
if params[:q] && params[:q] != ""
|
if params[:q] && params[:q].lstrip.rstrip != ""
|
||||||
scope = Principal.active.sorted.not_member_of_course(course).like(params[:q])
|
scope = Principal.active.sorted.not_member_of_course(course).like(params[:q])
|
||||||
else
|
else
|
||||||
scope = []
|
scope = []
|
||||||
|
@ -63,19 +63,6 @@ module MembersHelper
|
||||||
s + content_tag('ul', links,:class => 'wlist',:id => "course_member_pagination_links")
|
s + content_tag('ul', links,:class => 'wlist',:id => "course_member_pagination_links")
|
||||||
end
|
end
|
||||||
|
|
||||||
# 项目配置中添加成员列表
|
|
||||||
def render_principals_for_new_project_members(project)
|
|
||||||
scope = Principal.active.sorted.not_member_of(project).like(params[:q])
|
|
||||||
principals = paginateHelper scope,10
|
|
||||||
s = content_tag('ul', project_member_check_box_tags_ex('membership[user_ids][]', principals), :class => 'mb5', :id => 'principals')
|
|
||||||
|
|
||||||
links = pagination_links_full(@obj_pages, @obj_count, :per_page_links => false, :remote => false, :flag => true) {|text, parameters, options|
|
|
||||||
link_to text, appliedproject_project_memberships_path(project, parameters.merge(:q => params[:q], :format => 'js')), :remote => true
|
|
||||||
}
|
|
||||||
|
|
||||||
s + content_tag('ul', links,:class => 'wlist',:id => "course_member_pagination_links")
|
|
||||||
end
|
|
||||||
|
|
||||||
# 新申请加入项目成员列表
|
# 新申请加入项目成员列表
|
||||||
def render_principals_for_applied_members_new project
|
def render_principals_for_applied_members_new project
|
||||||
scope = project.applied_projects.map(&:user)
|
scope = project.applied_projects.map(&:user)
|
||||||
|
|
|
@ -53,7 +53,8 @@ class Mailer < ActionMailer::Base
|
||||||
@subject = "#{invitor.name} #{l(:label_invite_project)} #{project.name} "
|
@subject = "#{invitor.name} #{l(:label_invite_project)} #{project.name} "
|
||||||
@password = newpass(6)
|
@password = newpass(6)
|
||||||
@project_url = url_for(:controller => 'projects', :action => 'show', :id => project.id,
|
@project_url = url_for(:controller => 'projects', :action => 'show', :id => project.id,
|
||||||
:password => @password, :login => email)
|
:password => @password,
|
||||||
|
:login => email)
|
||||||
mail :to => email, :subject => @subject
|
mail :to => email, :subject => @subject
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -44,12 +44,14 @@ class UsersService
|
||||||
#location = get_user_location @user
|
#location = get_user_location @user
|
||||||
#{:id => @user.id, :img_url => img_url, :nickname => @user.login, :gender => gender, :work_unit => work_unit, :mail => @user.mail, :location => location, :brief_introduction => @user.user_extensions.brief_introduction}
|
#{:id => @user.id, :img_url => img_url, :nickname => @user.login, :gender => gender, :work_unit => work_unit, :mail => @user.mail, :location => location, :brief_introduction => @user.user_extensions.brief_introduction}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# 自动注册功能 FOR:邮件邀请
|
||||||
def register_auto(login,mail,password)
|
def register_auto(login,mail,password)
|
||||||
@user = User.new
|
@user = User.new
|
||||||
@user.admin = false
|
@user.admin = false
|
||||||
@user.register
|
@user.register
|
||||||
@user.login = login
|
@user.login = login
|
||||||
@user.mail =mail
|
@user.mail = mail
|
||||||
password_confirmation = password
|
password_confirmation = password
|
||||||
should_confirmation_password = true
|
should_confirmation_password = true
|
||||||
if !password.blank? && !password_confirmation.blank? && should_confirmation_password
|
if !password.blank? && !password_confirmation.blank? && should_confirmation_password
|
||||||
|
@ -59,9 +61,7 @@ class UsersService
|
||||||
else
|
else
|
||||||
@user.password = ""
|
@user.password = ""
|
||||||
end
|
end
|
||||||
|
|
||||||
@user = automatically_register(@user)
|
@user = automatically_register(@user)
|
||||||
|
|
||||||
if @user.id != nil
|
if @user.id != nil
|
||||||
ue = @user.user_extensions ||= UserExtensions.new
|
ue = @user.user_extensions ||= UserExtensions.new
|
||||||
ue.user_id = @user.id
|
ue.user_id = @user.id
|
||||||
|
@ -69,6 +69,7 @@ class UsersService
|
||||||
end
|
end
|
||||||
@user
|
@user
|
||||||
end
|
end
|
||||||
|
|
||||||
#显示用户
|
#显示用户
|
||||||
#id用户id
|
#id用户id
|
||||||
def show_user(params)
|
def show_user(params)
|
||||||
|
|
|
@ -64,7 +64,7 @@
|
||||||
<% images = attachments.select(&:thumbnailable?) %>
|
<% images = attachments.select(&:thumbnailable?) %>
|
||||||
<% if images.any? %>
|
<% if images.any? %>
|
||||||
<% images.each do |attachment| %>
|
<% images.each do |attachment| %>
|
||||||
<div class="pro_pic fl "><%= thumbnail_issue_tag(attachment) %></div>
|
<div class="pro_pic fl " width="100" height="73"><%= thumbnail_issue_tag(attachment) %></div>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
|
@ -47,7 +47,6 @@
|
||||||
<a href="javascript:void(0);" class="btn_addPic" style="text-decoration:none;">
|
<a href="javascript:void(0);" class="btn_addPic" style="text-decoration:none;">
|
||||||
<span><%= l(:button_upload_photo) %></span>
|
<span><%= l(:button_upload_photo) %></span>
|
||||||
</a>
|
</a>
|
||||||
<span class="c_orange ml25 f12">(个人头像建议90*90大小,课程和项目logo建议60*60大小,或者等比图像)</span>
|
|
||||||
<!-- :accept => 'image/png,image/gif,image/jpeg', -->
|
<!-- :accept => 'image/png,image/gif,image/jpeg', -->
|
||||||
<span class="add_avatar" style="margin-left: -55px;width: 70px">
|
<span class="add_avatar" style="margin-left: -55px;width: 70px">
|
||||||
<%= file_field_tag 'avatar[image]',
|
<%= file_field_tag 'avatar[image]',
|
||||||
|
@ -69,6 +68,7 @@
|
||||||
:source_id => source.id.to_s
|
:source_id => source.id.to_s
|
||||||
} %>
|
} %>
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<% content_for :header_tags do %>
|
<% content_for :header_tags do %>
|
||||||
<%= javascript_include_tag 'avatars' %>
|
<%= javascript_include_tag 'avatars' %>
|
||||||
|
|
|
@ -3,10 +3,9 @@
|
||||||
</a>
|
</a>
|
||||||
<%#= link_to l(:button_delete_file),{:controller => :avatar,:action => :delete_image,:remote=>true,:source_type=> source.class,:source_id=>source.id},:confirm => l(:text_are_you_sure), :method => :post, :class => "upbtn fl" %>
|
<%#= link_to l(:button_delete_file),{:controller => :avatar,:action => :delete_image,:remote=>true,:source_type=> source.class,:source_id=>source.id},:confirm => l(:text_are_you_sure), :method => :post, :class => "upbtn fl" %>
|
||||||
<a href="javascript:void(0)" class="upbtn fl"><%= l(:button_upload_photo) %></a>
|
<a href="javascript:void(0)" class="upbtn fl"><%= l(:button_upload_photo) %></a>
|
||||||
<span class="c_orange ml25 mt43 f12 fl ">(个人头像建议90*90大小,课程和项目logo建议60*60大小,或者等比图像)</span>
|
|
||||||
<%= file_field_tag 'avatar[image]',
|
<%= file_field_tag 'avatar[image]',
|
||||||
:id => nil,
|
:id => nil,
|
||||||
:class => 'upload_file ',
|
:class => 'upload_file',
|
||||||
:size => "1",
|
:size => "1",
|
||||||
:multiple => false,
|
:multiple => false,
|
||||||
:onchange => 'addInputAvatar(this);',
|
:onchange => 'addInputAvatar(this);',
|
||||||
|
|
|
@ -67,7 +67,7 @@
|
||||||
<%= f.text_field :deadline,
|
<%= f.text_field :deadline,
|
||||||
:required => true,
|
:required => true,
|
||||||
:size => 60,
|
:size => 60,
|
||||||
:style => "width:150px;",
|
:style => "width:150px;float:left;",
|
||||||
:readonly => true,
|
:readonly => true,
|
||||||
:placeholder => "#{l(:label_deadline)}"
|
:placeholder => "#{l(:label_deadline)}"
|
||||||
%>
|
%>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<%= form_tag( searchmembers_course_path(@course), method: 'get',:class => "f_l",:remote=>true,:id => "search_student") do %>
|
<%= form_tag( searchmembers_course_path(@course), method: 'get',:class => "f_l",:remote=>true,:id => "search_student") do %>
|
||||||
<%= text_field_tag 'name', params[:name], name: "name", :class => 'st_search_input', :placeholder => '输入学生姓名、学号进行搜索'%>
|
<%= text_field_tag 'name', params[:name], name: "name", :class => 'st_search_input', :placeholder => '输入学生昵称、姓名、学号进行搜索'%>
|
||||||
<% if @group %>
|
<% if @group %>
|
||||||
<%= hidden_field "search_group_id", params[:search_group_id],:value => "#{@group.id}", name: 'search_group_id' %>
|
<%= hidden_field "search_group_id", params[:search_group_id],:value => "#{@group.id}", name: 'search_group_id' %>
|
||||||
<input type="hidden" name="ingroup">
|
<input type="hidden" name="ingroup">
|
||||||
|
|
|
@ -17,11 +17,12 @@
|
||||||
<p style="color: #ff0000">
|
<p style="color: #ff0000">
|
||||||
(<%= l(:label_memos_max_length) %>)
|
(<%= l(:label_memos_max_length) %>)
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p class="fl" style="margin-top: 5px;">
|
||||||
<%= l(:label_attachment_plural) %>
|
<%= l(:label_attachment_plural) %>
|
||||||
<br />
|
<br />
|
||||||
<%= render :partial => 'attachments/form', :locals => {:container => @memo} %>
|
<%= render :partial => 'attachments/form', :locals => {:container => @memo} %>
|
||||||
</p>
|
</p>
|
||||||
|
<div class="cl"></div>
|
||||||
<%= f.submit :value => l(:label_memo_create) %>
|
<%= f.submit :value => l(:label_memo_create) %>
|
||||||
<%= link_to l(:button_cancel), "#", :onclick => '$("#add-memo").hide(); return false;' %>
|
<%= link_to l(:button_cancel), "#", :onclick => '$("#add-memo").hide(); return false;' %>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -5,12 +5,14 @@
|
||||||
<% if @edit_allowed || !@allowed_statuses.empty? %>
|
<% if @edit_allowed || !@allowed_statuses.empty? %>
|
||||||
<div id="all_attributes" style="display:none;">
|
<div id="all_attributes" style="display:none;">
|
||||||
<%= render :partial => 'form', :locals => {:f => f} %>
|
<%= render :partial => 'form', :locals => {:f => f} %>
|
||||||
|
<div class="ping_C mb10"></div>
|
||||||
<!--<a remote="true" href="javascript:void(0)" class="blue_btn fl" style="margin-left: 80px;margin-bottom: 10px;margin-top: -10px;" onclick="$('#issue-form').submit();">-->
|
<!--<a remote="true" href="javascript:void(0)" class="blue_btn fl" style="margin-left: 80px;margin-bottom: 10px;margin-top: -10px;" onclick="$('#issue-form').submit();">-->
|
||||||
<!--<%#= l(:button_submit) %>-->
|
<!--<%#= l(:button_submit) %>-->
|
||||||
<!--</a>-->
|
<!--</a>-->
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<% end %><!--end-->
|
<% end %><!--end-->
|
||||||
<div class="ping_C mb10"></div>
|
|
||||||
<!--<fieldset><legend><%#= l(:field_notes) %></legend>-->
|
<!--<fieldset><legend><%#= l(:field_notes) %></legend>-->
|
||||||
<!--回复框-->
|
<!--回复框-->
|
||||||
<% if @journals.present? %>
|
<% if @journals.present? %>
|
||||||
|
|
|
@ -16,6 +16,13 @@
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function EnterPress(e){
|
||||||
|
var e = e || window.event;
|
||||||
|
if(e.keyCode == 13){
|
||||||
|
remote_function();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
@ -24,10 +31,10 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="problem_top">
|
<div class="problem_top">
|
||||||
<% unless @project.enabled_modules.where("name = 'issue_tracking'").empty? %>
|
<% unless @project.enabled_modules.where("name = 'issue_tracking'").empty? %>
|
||||||
<%= form_tag({:controller => 'issues', :action => 'index', :project_id => @project}, :method => :get,:id=>"issue_query_form", :class => 'query_form') do %>
|
<%#= form_tag({:controller => 'issues', :action => 'index', :project_id => @project}, :method => :get,:id=>"issue_query_form", :class => 'query_form') do %>
|
||||||
<%= hidden_field_tag 'set_filter', '1' %>
|
<%= hidden_field_tag 'set_filter', '1' %>
|
||||||
<div class="problem_search" >
|
<div class="problem_search" >
|
||||||
<input class="problem_search_input fl" id="v_subject" type="text" name="v[subject]" value="">
|
<input class="problem_search_input fl" id="v_subject" type="text" name="v[subject]" value="" onkeypress="EnterPress(event)" onkeydown="EnterPress()">
|
||||||
<a href="javascript:void(0)" class="problem_search_btn fl" onclick="remote_function();" >搜索</a>
|
<a href="javascript:void(0)" class="problem_search_btn fl" onclick="remote_function();" >搜索</a>
|
||||||
</div><!--problem_search end-->
|
</div><!--problem_search end-->
|
||||||
|
|
||||||
|
@ -58,7 +65,7 @@
|
||||||
%>
|
%>
|
||||||
</div><!--filter_form end-->
|
</div><!--filter_form end-->
|
||||||
<div class="cl"></div>
|
<div class="cl"></div>
|
||||||
<% end %>
|
<%# end %>
|
||||||
<p class="problem_p fl" ><%= l(:label_issues_sum) %>:<a href="javascript:void(0)" class="c_red"><%= @project.issues.count %></a>
|
<p class="problem_p fl" ><%= l(:label_issues_sum) %>:<a href="javascript:void(0)" class="c_red"><%= @project.issues.count %></a>
|
||||||
<%= l(:lable_issues_undo) %>:<a href="javascript:void(0)" class="c_red"><%= @project.issues.where('status_id in (1,2,4,6)').count %> </a>
|
<%= l(:lable_issues_undo) %>:<a href="javascript:void(0)" class="c_red"><%= @project.issues.where('status_id in (1,2,4,6)').count %> </a>
|
||||||
</p>
|
</p>
|
||||||
|
|
|
@ -1,11 +1,4 @@
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
#scrollsidebar{ font-size:12px; font-family:"微软雅黑","宋体"; line-height:1.9; background:#F6F7F8; font-style:normal;}
|
|
||||||
#scrollsidebar div,html,img,ul,li,p,body,h1,h2,h3,h4,p,a,table,tr,td,fieldset,input,span,ol{ }
|
|
||||||
#scrollsidebar div,img,tr,td,table{ border:0;}
|
|
||||||
#scrollsidebar ol,ul,li{ list-style-type:none}
|
|
||||||
#scrollsidebar .cl{ clear:both; overflow:hidden; }
|
|
||||||
#scrollsidebar a{ text-decoration:none;}
|
|
||||||
|
|
||||||
html{ overflow-x:hidden;}
|
html{ overflow-x:hidden;}
|
||||||
.scrollsidebar{ position:fixed;bottom:1px; right:1px; background:none; }
|
.scrollsidebar{ position:fixed;bottom:1px; right:1px; background:none; }
|
||||||
.side_content{width:154px; height:auto; overflow:hidden; float:left; }
|
.side_content{width:154px; height:auto; overflow:hidden; float:left; }
|
||||||
|
@ -36,28 +29,9 @@
|
||||||
.msgserver a {color:#15bccf; }
|
.msgserver a {color:#15bccf; }
|
||||||
.msgserver a:hover { text-decoration:underline; }
|
.msgserver a:hover { text-decoration:underline; }
|
||||||
</style>
|
</style>
|
||||||
<script>
|
|
||||||
/* =================================================
|
|
||||||
//
|
|
||||||
// jQuery Fixed Plugins 1.3.1
|
|
||||||
// author :
|
|
||||||
// Url:
|
|
||||||
// Data : 2012-03-30
|
|
||||||
//
|
|
||||||
// ???? : float --> ????[left or right]
|
|
||||||
// minStatue --> ??С???????show_btn
|
|
||||||
// skin --> ???????
|
|
||||||
// durationTime --> ??????
|
|
||||||
//???? :
|
|
||||||
$("#scrollsidebar2").fix({
|
|
||||||
float : 'right', //default.left or right
|
|
||||||
minStatue : true, //default.false or true
|
|
||||||
skin : 'green', //default.gray or yellow ??blue ??green ??orange ??white
|
|
||||||
durationTime : 1000 //
|
|
||||||
});
|
|
||||||
//
|
|
||||||
// =================================================*/
|
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<script>
|
||||||
(function($){
|
(function($){
|
||||||
$.fn.fix = function(options){
|
$.fn.fix = function(options){
|
||||||
var defaults = {
|
var defaults = {
|
||||||
|
@ -152,15 +126,18 @@ function cookieget(n)
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
||||||
<head>
|
|
||||||
<title><%= l(:label_feedback) %></title>
|
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
<body style="height:auto" >
|
<body>
|
||||||
<!-- ?ú?? ???? -->
|
<script type="text/javascript">
|
||||||
|
$(function() {
|
||||||
|
$("#scrollsidebar").fix({
|
||||||
|
float : 'right', //default.left or right
|
||||||
|
minStatue : cookieget('minStatue'),
|
||||||
|
skin : 'green', //default.gray or blue
|
||||||
|
durationTime : 600
|
||||||
|
});
|
||||||
|
});
|
||||||
|
</script>
|
||||||
<div class="scrollsidebar" id="scrollsidebar" style="float: right">
|
<div class="scrollsidebar" id="scrollsidebar" style="float: right">
|
||||||
<div class="side_content">
|
<div class="side_content">
|
||||||
<div class="side_list">
|
<div class="side_list">
|
||||||
|
@ -184,17 +161,4 @@ function cookieget(n)
|
||||||
</div>
|
</div>
|
||||||
<div class="show_btn"><span><%= l(:label_submit)%></span></div>
|
<div class="show_btn"><span><%= l(:label_submit)%></span></div>
|
||||||
</div>
|
</div>
|
||||||
<!-- ?ú?? ?á?? -->
|
|
||||||
<script type="text/javascript">
|
|
||||||
$(function() {
|
|
||||||
$("#scrollsidebar").fix({
|
|
||||||
float : 'right', //default.left or right
|
|
||||||
minStatue : cookieget('minStatue'),
|
|
||||||
skin : 'green', //default.gray or blue
|
|
||||||
durationTime : 600
|
|
||||||
});
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
|
|
@ -18,8 +18,8 @@
|
||||||
<% if User.current.logged? -%>
|
<% if User.current.logged? -%>
|
||||||
|
|
||||||
<li id="current_user_li">
|
<li id="current_user_li">
|
||||||
<%= link_to_user_header(User.current,false,:class =>'parent')%>
|
<%= link_to "#{User.current.login}<span class='pic_triangle'></span>".html_safe, {:controller=> 'users', :action => 'show', id: User.current.id, host: Setting.user_domain}, :class => "uses_name"%>
|
||||||
<ul id="user_sub_menu">
|
<ul id="user_sub_menu" style="right: 0px;display: none;">
|
||||||
<% unless User.current.projects.empty? %>
|
<% unless User.current.projects.empty? %>
|
||||||
<li id="my_projects_li">
|
<li id="my_projects_li">
|
||||||
<%= link_to l(:label_my_projects), {:controller => 'users', :action => 'user_projects', id: User.current.id, host: Setting.project_domain}, :class => "parent" %>
|
<%= link_to l(:label_my_projects), {:controller => 'users', :action => 'user_projects', id: User.current.id, host: Setting.project_domain}, :class => "parent" %>
|
||||||
|
|
|
@ -132,12 +132,12 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="subNav">
|
<div class="subNav">
|
||||||
<%= link_to l(:label_course_board), course_boards_path(@course), :class => "f14 c_blue02" %>
|
<%= link_to l(:label_course_board), course_boards_path(@course), :class => "f14 c_blue02" %>
|
||||||
<%= link_to "(#{@course.boards[0].topics.count})", course_boards_path(@course), :class => "subnav_num c_orange" %>
|
<%= link_to "(#{@course.boards.first ? @course.boards.first.topics.count : 0})", course_boards_path(@course), :class => "subnav_num c_orange" %>
|
||||||
<%= link_to( "+#{l(:label_message_new)}", new_board_message_path(@course.boards[0]), :class => 'subnav_green ml95 c_white') if User.current.member_of_course?(@course) %>
|
<%= link_to( "+#{l(:label_message_new)}", new_board_message_path(@course.boards.first), :class => 'subnav_green ml95 c_white') if User.current.member_of_course?(@course) && @course.boards.first %>
|
||||||
</div>
|
</div>
|
||||||
<div class="subNav">
|
<div class="subNav">
|
||||||
<%= link_to l(:label_course_feedback), course_feedback_path(@course), :class => "f14 c_blue02" %>
|
<%= link_to l(:label_course_feedback), course_feedback_path(@course), :class => "f14 c_blue02" %>
|
||||||
<%= link_to "(#{course_feedback_count})", course_feedback_path(@course), :class => "subnav_num c_orange" %>
|
<%= link_to "(#{course_feedback_count})", course_feedback_path(@course), :class => "subnav_num c_orange", :id => "course_jour_count"%>
|
||||||
</div>
|
</div>
|
||||||
<div class="subNav">
|
<div class="subNav">
|
||||||
<%= link_to l(:label_poll), poll_index_path(:polls_type => "Course", :polls_group_id => @course.id), :class => " f14 c_blue02"%>
|
<%= link_to l(:label_poll), poll_index_path(:polls_type => "Course", :polls_group_id => @course.id), :class => " f14 c_blue02"%>
|
||||||
|
|
|
@ -228,9 +228,9 @@
|
||||||
<div class=" mt10">
|
<div class=" mt10">
|
||||||
<h3 class="mb10 c_blue">请选择项目类型:</h3>
|
<h3 class="mb10 c_blue">请选择项目类型:</h3>
|
||||||
<ul class="mb10" id="project_type">
|
<ul class="mb10" id="project_type">
|
||||||
<li><input type="radio" name="project_type" <%= @project.project_new_type == 1 ? 'checked' : ''%> id="development_group"/><label > 开发模式</label></li>
|
<li><input type="radio" name="project_type" <%= @project.project_new_type == 1 ? 'checked' : ''%> id="development_group"/><label class="f14"> 开发模式:<span class="f12 ml5 c_grey">为团队开发提供一系列在线协同工具。</span></label></li>
|
||||||
<li><input type="radio" name="project_type" <%= @project.project_new_type == 2 ? 'checked' : ''%> id="research_group"/><label > 研讨模式</label></li>
|
<li><input type="radio" name="project_type" <%= @project.project_new_type == 2 ? 'checked' : ''%> id="research_group"/><label class="f14"> 研讨模式:<span class="f12 ml5 c_grey">为小组研究提供阶段汇报和交流工具。</span></label></li>
|
||||||
<li><input type="radio" name="project_type" <%= @project.project_new_type == 3 ? 'checked' : ''%> id="friend_organization"/><label > 圈子模式</label></li>
|
<li><input type="radio" name="project_type" <%= @project.project_new_type == 3 ? 'checked' : ''%> id="friend_organization"/><label class="f14"> 圈子模式:<span class="f12 ml5 c_grey">为朋友圈提供简洁的交流和分享工具。</span></label></li>
|
||||||
</ul>
|
</ul>
|
||||||
<a href="javascript:void(0)" class="orange_btn" onclick="click_ok('<%= change_project_type_project_path @project%>');" >确定</a>
|
<a href="javascript:void(0)" class="orange_btn" onclick="click_ok('<%= change_project_type_project_path @project%>');" >确定</a>
|
||||||
|
|
||||||
|
|
|
@ -9,10 +9,12 @@
|
||||||
<!-- <p> < %= f.text_area :content, :required => true, :size => "75%", :resize => "none", id: 'editor01' %> </p> -->
|
<!-- <p> < %= f.text_area :content, :required => true, :size => "75%", :resize => "none", id: 'editor01' %> </p> -->
|
||||||
<%= f.kindeditor :content, :cols => 80, :rows => 15, :value => @content %>
|
<%= f.kindeditor :content, :cols => 80, :rows => 15, :value => @content %>
|
||||||
<!--<script type="text/javascript">var ckeditor=CKEDITOR.replace('editor01');</script> -->
|
<!--<script type="text/javascript">var ckeditor=CKEDITOR.replace('editor01');</script> -->
|
||||||
<p>
|
<div class="cl" style="padding-top: 10px;"></div>
|
||||||
|
<p style="float: left;margin-top: 6px;">
|
||||||
<%= l(:label_attachment_plural) %>
|
<%= l(:label_attachment_plural) %>
|
||||||
<br />
|
<br />
|
||||||
<%= render :partial => 'attachments/form' %>
|
<%= render :partial => 'attachments/form' %>
|
||||||
</p>
|
</p>
|
||||||
|
<div class="cl"></div>
|
||||||
<%= f.submit value: l(:label_reply_plural), class: "replies" %>
|
<%= f.submit value: l(:label_reply_plural), class: "replies" %>
|
||||||
<% end %>
|
<% end %>
|
|
@ -7,10 +7,10 @@
|
||||||
<!--<script type="text/javascript">var ckeditor=CKEDITOR.replace('editor01');</script> -->
|
<!--<script type="text/javascript">var ckeditor=CKEDITOR.replace('editor01');</script> -->
|
||||||
<br/>
|
<br/>
|
||||||
|
|
||||||
<p>
|
<p style="margin-right: 10px;" class="fl">
|
||||||
<%= l(:label_attachment_plural) %><br />
|
<%= l(:label_attachment_plural) %><br />
|
||||||
<%= render :partial => 'attachments/form', :locals => {:container => @memo} %>
|
<%= render :partial => 'attachments/form', :locals => {:container => @memo} %>
|
||||||
</p>
|
</p>
|
||||||
<%= f.submit :value => l(:label_memo_create) %> <%= link_to l(:button_back), forum_path(@forum) %>
|
<%= f.submit :value => l(:label_memo_create), :style => "margin-left: 100px;"%> <%= link_to l(:button_back), forum_path(@forum) %>
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
|
@ -43,12 +43,13 @@
|
||||||
<%= f.kindeditor :content, :required => true, :size => 80,:owner_id => @memo.id,:owner_type => 1 %>
|
<%= f.kindeditor :content, :required => true, :size => 80,:owner_id => @memo.id,:owner_type => 1 %>
|
||||||
</p>
|
</p>
|
||||||
<!-- <script type="text/javascript">var ckeditor=CKEDITOR.replace('editor01');</script> -->
|
<!-- <script type="text/javascript">var ckeditor=CKEDITOR.replace('editor01');</script> -->
|
||||||
<p>
|
<p style="float: left;margin-top: 5px;">
|
||||||
<%= l(:label_attachment_plural) %>
|
<%= l(:label_attachment_plural) %>
|
||||||
<br />
|
<br />
|
||||||
<%= render :partial => 'attachments/form', :locals => {:container => @memo} %>
|
<%= render :partial => 'attachments/form', :locals => {:container => @memo} %>
|
||||||
</p>
|
</p>
|
||||||
<br/>
|
<br/>
|
||||||
|
<div class="cl"></div>
|
||||||
<%= f.submit :value => l(:button_change) %> <%= link_to l(:button_back), back_url ,:class => "button-canel",:style => "color: #ffffff;"%>
|
<%= f.submit :value => l(:button_change) %> <%= link_to l(:button_back), back_url ,:class => "button-canel",:style => "color: #ffffff;"%>
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
|
@ -3,13 +3,24 @@
|
||||||
<%= l(:label_board) %>
|
<%= l(:label_board) %>
|
||||||
</h2>
|
</h2>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="topbar_info02 fl">
|
||||||
|
<p class="hiddent">
|
||||||
|
<%= l(:label_user_location) %> :
|
||||||
|
<%= link_to l(:label_borad_course), course_boards_path(@course) %>
|
||||||
|
>
|
||||||
|
<%= link_to @topic.subject, course_board_path(@course, @board) %>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
<div class="cl"></div>
|
||||||
|
|
||||||
<div class="problem_main">
|
<div class="problem_main">
|
||||||
<div class="ping_dispic">
|
<div class="ping_dispic">
|
||||||
<%= link_to image_tag(url_to_avatar(@topic.author),:width => '46',:height => '46'), user_path(@topic.author) %>
|
<%= link_to image_tag(url_to_avatar(@topic.author),:width => '46',:height => '46'), user_path(@topic.author) %>
|
||||||
</div>
|
</div>
|
||||||
<div class="talk_txt fl">
|
<div class="talk_txt fl">
|
||||||
<p class="problem_tit fl fb" >
|
<p class="problem_tit fl fb c_dblue break_word" >
|
||||||
<%= link_to @topic.subject, course_boards_path(@topic.course),title: @topic.subject.to_s %>
|
<%= @topic.subject %>
|
||||||
</p>
|
</p>
|
||||||
<br/>
|
<br/>
|
||||||
<p>
|
<p>
|
||||||
|
@ -51,7 +62,7 @@
|
||||||
<% unless @replies.empty? %>
|
<% unless @replies.empty? %>
|
||||||
<% reply_count = 0 %>
|
<% reply_count = 0 %>
|
||||||
<% @replies.each do |message| %>
|
<% @replies.each do |message| %>
|
||||||
<div class="ping_C mb10" id="<%= "message-#{message.id}" %>">
|
<div class="ping_C mb10 ml50" id="<%= "message-#{message.id}" %>">
|
||||||
<div class="ping_dispic"><%= link_to image_tag(url_to_avatar(message.author), :width => '46',:height => '46'), user_path(message.author) %></div>
|
<div class="ping_dispic"><%= link_to image_tag(url_to_avatar(message.author), :width => '46',:height => '46'), user_path(message.author) %></div>
|
||||||
<div class="ping_discon">
|
<div class="ping_discon">
|
||||||
<div class="ping_distop upload_img">
|
<div class="ping_distop upload_img">
|
||||||
|
|
|
@ -12,19 +12,19 @@
|
||||||
<div class="members_left">
|
<div class="members_left">
|
||||||
<% if members.any? %>
|
<% if members.any? %>
|
||||||
<ul style=" border-bottom:none;">
|
<ul style=" border-bottom:none;">
|
||||||
<li><span class="w90 f_b" ><%= l(:label_user) %></span><span class="w210 f_b"><%= l(:label_role_plural) %></span><span></span></li>
|
<li><span class="w140_h f_b" ><%= l(:label_user) %></span><span class="w180_h f_b"><%= l(:label_role_plural) %></span><span></span></li>
|
||||||
<%= call_hook(:view_projects_settings_members_table_header, :project => @project) %>
|
<%= call_hook(:view_projects_settings_members_table_header, :project => @project) %>
|
||||||
<% members.each do |member| %>
|
<% members.each do |member| %>
|
||||||
<li >
|
<li >
|
||||||
<%= link_to_user_header member.principal,false,:class => "w90 c_orange fl" %>
|
<%= link_to_user_header member.principal,false,:class => "w140_h c_setting_blue fl" %>
|
||||||
<span class="w210 fl">
|
<span class="w180_h fl">
|
||||||
<%= h member.roles.sort.collect(&:to_s).join(', ') %>
|
<%= h member.roles.sort.collect(&:to_s).join(', ') %>
|
||||||
<%= form_for(member, {:as => :membership, :remote => true, :url => membership_path(member),
|
<%= form_for(member, {:as => :membership, :remote => true, :url => membership_path(member),
|
||||||
:method => :put,
|
:method => :put,
|
||||||
:html => {:id => "member-#{member.id}-roles-form", :class => 'hol'}}
|
:html => {:id => "member-#{member.id}-roles-form", :class => 'hol'}}
|
||||||
) do |f| %>
|
) do |f| %>
|
||||||
<% roles.each do |role| %>
|
<% roles.each do |role| %>
|
||||||
<ul class="ml80" style="text-align: left;" >
|
<ul style="text-align: left;" >
|
||||||
<%= check_box_tag 'membership[role_ids][]', role.id, member.roles.include?(role),
|
<%= check_box_tag 'membership[role_ids][]', role.id, member.roles.include?(role),
|
||||||
:disabled => member.member_roles.detect { |mr| mr.role_id == role.id && !mr.inherited_from.nil? } %>
|
:disabled => member.member_roles.detect { |mr| mr.role_id == role.id && !mr.inherited_from.nil? } %>
|
||||||
<label ><%= h role %></label>
|
<label ><%= h role %></label>
|
||||||
|
@ -32,7 +32,7 @@
|
||||||
<!--<br/>-->
|
<!--<br/>-->
|
||||||
<% end %>
|
<% end %>
|
||||||
<%= hidden_field_tag 'membership[role_ids][]', '' %>
|
<%= hidden_field_tag 'membership[role_ids][]', '' %>
|
||||||
<div class="ml80">
|
<div>
|
||||||
<a href="javascript:void(0)" class="member_btn" onclick="$('#member-<%= member.id%>-roles-form').submit();" style="margin-right: 10px;">
|
<a href="javascript:void(0)" class="member_btn" onclick="$('#member-<%= member.id%>-roles-form').submit();" style="margin-right: 10px;">
|
||||||
<%= l(:button_change)%>
|
<%= l(:button_change)%>
|
||||||
</a>
|
</a>
|
||||||
|
@ -43,10 +43,10 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
</span>
|
</span>
|
||||||
<% unless member.user_id == @project.user_id %>
|
<% unless member.user_id == @project.user_id %>
|
||||||
<a href="javascript:void(0) " class="c_dblue ml15 fl" onclick="$('#member-<%= member.id%>-roles-form').show();$(this).parent().height(110);">编辑</a>
|
<a href="javascript:void(0) " class="c_setting_blue ml30 fl" onclick="$('#member-<%= member.id%>-roles-form').show();$(this).parent().height(110);">编辑</a>
|
||||||
<%= delete_link membership_path(member),
|
<%= delete_link membership_path(member),
|
||||||
:remote => true,
|
:remote => true,
|
||||||
:class => "c_dblue ml30 fl",
|
:class => "c_setting_blue ml15 fl",
|
||||||
:data => (!User.current.admin? && member.include?(User.current) ? {:confirm => l(:text_own_membership_for_project_confirmation)} : {confirm: l(:label_delete_confirm)}) if member.deletable? %>
|
:data => (!User.current.admin? && member.include?(User.current) ? {:confirm => l(:text_own_membership_for_project_confirmation)} : {confirm: l(:label_delete_confirm)}) if member.deletable? %>
|
||||||
<% end%>
|
<% end%>
|
||||||
</li>
|
</li>
|
||||||
|
|
|
@ -19,13 +19,13 @@
|
||||||
<td class="w150"> </td>
|
<td class="w150"> </td>
|
||||||
</tr>
|
</tr>
|
||||||
<% @project.repositories.sort.each do |repository| %>
|
<% @project.repositories.sort.each do |repository| %>
|
||||||
<tr class="pro_table_on">
|
<tr class="<%= cycle 'pro_table_on', '' %>">
|
||||||
<td><a href="javascript:viod(0)" title="<%= repository.identifier %>">
|
<td><a href="javascript:viod(0)" title="<%= repository.identifier %>">
|
||||||
<%= link_to truncate(repository.identifier), ({:controller => 'repositories', :action => 'show', :id => @project, :repository_id => repository.identifier_param} if repository.identifier.present?), :class =>"c_blue" %></a></td>
|
<%= link_to truncate(repository.identifier), ({:controller => 'repositories', :action => 'show', :id => @project, :repository_id => repository.identifier_param} if repository.identifier.present?) %></a></td>
|
||||||
<td> <%= checked_image repository.is_default? %></td>
|
<td> <%= checked_image repository.is_default? %></td>
|
||||||
<td><%=h repository.scm_name %></td>
|
<td><%=h repository.scm_name %></td>
|
||||||
<%if repository.scm_name=="Git"%>
|
<%if repository.scm_name=="Git"%>
|
||||||
<td style="white-space:nowrap;overflow:hidden;text-overflow:ellipsis;" class="c_blue" title="http://<%= repository.login.to_s %>_<%= repository.identifier.to_s%>@<%= ip %>
|
<td style="white-space:nowrap;overflow:hidden;text-overflow:ellipsis;" title="http://<%= repository.login.to_s %>_<%= repository.identifier.to_s%>@<%= ip %>
|
||||||
<%=h repository.url.slice(project_path_cut, repository.url.length) %>"> <%=truncate( 'http://' << repository.login.to_s << '_'<< repository.identifier.to_s << '@'<< ip.to_s << h( repository.url.slice(project_path_cut, repository.url.length)),:length=>20)%></td><!--Modified by tanxianbo-->
|
<%=h repository.url.slice(project_path_cut, repository.url.length) %>"> <%=truncate( 'http://' << repository.login.to_s << '_'<< repository.identifier.to_s << '@'<< ip.to_s << h( repository.url.slice(project_path_cut, repository.url.length)),:length=>20)%></td><!--Modified by tanxianbo-->
|
||||||
<%else %>
|
<%else %>
|
||||||
<td style="white-space:nowrap;overflow:hidden;text-overflow:ellipsis;" ><%=h truncate(repository.url,:length=>10) %></td>
|
<td style="white-space:nowrap;overflow:hidden;text-overflow:ellipsis;" ><%=h truncate(repository.url,:length=>10) %></td>
|
||||||
|
@ -33,8 +33,8 @@
|
||||||
<td><a href="javascript:viod(0)" class="c_blue" >
|
<td><a href="javascript:viod(0)" class="c_blue" >
|
||||||
<% if repository.scm_name=="Git"%>
|
<% if repository.scm_name=="Git"%>
|
||||||
<%if User.current.allowed_to?(:manage_repository, @project) %>
|
<%if User.current.allowed_to?(:manage_repository, @project) %>
|
||||||
<%= link_to(l(:label_user_plural), committers_repository_path(repository),
|
<%= link_to(l(:label_user_plural), committers_repository_path(repository)
|
||||||
:class => 'c_blue') %>
|
) %>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% end %>
|
<% end %>
|
||||||
</a></td>
|
</a></td>
|
||||||
|
|
|
@ -18,15 +18,15 @@
|
||||||
<td class="w150"></td>
|
<td class="w150"></td>
|
||||||
</tr>
|
</tr>
|
||||||
<% for version in @project.shared_versions.sort %>
|
<% for version in @project.shared_versions.sort %>
|
||||||
<tr class="pro_table_on">
|
<tr class="<%= cycle 'pro_table_on', '' %>">
|
||||||
<td >
|
<td class="tl">
|
||||||
<a class="c_blue02"><%= 'shared' if version.project != @project %> <%= link_to_version version %></a>
|
<a class="c_blue02"><%= 'shared' if version.project != @project %> <%= link_to_version version %></a>
|
||||||
</td>
|
</td>
|
||||||
<td class="description"><%= format_date(version.effective_date) %></td>
|
<td class="description"><%= format_date(version.effective_date) %></td>
|
||||||
<td class="description" style="word-break:break-all;"><%=h version.description %></td>
|
<td class="description tl" style="word-break:break-all;"><%=h version.description %></td>
|
||||||
<td class="status"><%= l("version_status_#{version.status}") %></td>
|
<td class="status"><%= l("version_status_#{version.status}") %></td>
|
||||||
<td class="sharing"><%=h format_version_sharing(version.sharing) %></td>
|
<td class="sharing"><%=h format_version_sharing(version.sharing) %></td>
|
||||||
<td style="overflow: hidden;text-overflow: ellipsis;white-space: nowrap;" title="">
|
<td class="tl" style="overflow: hidden;text-overflow: ellipsis;white-space: nowrap;" title="">
|
||||||
<%= link_to_if_authorized(h(truncate(version.wiki_page_title,:length=>20)), {:controller => 'wiki',
|
<%= link_to_if_authorized(h(truncate(version.wiki_page_title,:length=>20)), {:controller => 'wiki',
|
||||||
:action => 'show',
|
:action => 'show',
|
||||||
:project_id => version.project,
|
:project_id => version.project,
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
<%= textAreailizable content, :text, :attachments => content.page.attachments,
|
<%= textAreailizable content, :text, :attachments => content.page.attachments,
|
||||||
:edit_section_links => (@sections_editable && {:controller => 'wiki', :action => 'edit', :project_id => @page.project, :id => @page.title}) %>
|
|
||||||
|
|
||||||
|
:edit_section_links => (@sections_editable && {:controller => 'wiki', :action => 'edit', :project_id => @page.project, :id => @page.title, :class =>"break_word_firefox"})
|
||||||
|
%>
|
||||||
<%#= content.text.html_safe %>
|
<%#= content.text.html_safe %>
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,10 @@
|
||||||
<% if @journal_destroyed.nil? %>
|
<% if @journal_destroyed.nil? %>
|
||||||
alert('<%=l(:notice_failed_delete)%>');
|
alert('<%=l(:notice_failed_delete)%>');
|
||||||
<% elsif (['Principal','Project','Course', 'Bid', 'Contest', 'Softapplication'].include? @journal_destroyed.jour_type)%>
|
<% elsif (['Principal','Project','Course', 'Bid', 'Contest', 'Softapplication'].include? @journal_destroyed.jour_type)%>
|
||||||
<% if @jours_count %>
|
<% if @bid && @@jours_count %>
|
||||||
$('#jours_count').html("<%= @jours_count %>");
|
$('#jours_count').html("<%= @jours_count %>");
|
||||||
|
<% elsif @course && @jours_count%>
|
||||||
|
$('#course_jour_count').html("(<%= @jours_count %>)");
|
||||||
<% end %>
|
<% end %>
|
||||||
var destroyedItem = $('#word_li_<%=@journal_destroyed.id%>')
|
var destroyedItem = $('#word_li_<%=@journal_destroyed.id%>')
|
||||||
destroyedItem.fadeOut(600,function(){
|
destroyedItem.fadeOut(600,function(){
|
||||||
|
|
|
@ -354,7 +354,7 @@ zh:
|
||||||
label_feedback_tips: "有什么想说的,尽管来咆哮吧~~"
|
label_feedback_tips: "有什么想说的,尽管来咆哮吧~~"
|
||||||
label_technical_support: "技术支持:"
|
label_technical_support: "技术支持:"
|
||||||
label_feedback_success: "您的意见已经反馈到公共贴吧的新手讨论吧,我们会第一时间解决您的问题,谢谢支持!"
|
label_feedback_success: "您的意见已经反馈到公共贴吧的新手讨论吧,我们会第一时间解决您的问题,谢谢支持!"
|
||||||
label_feedback_value: "用户意见反馈"
|
label_feedback_value: "用户反馈"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -5,17 +5,18 @@
|
||||||
minStatue : true,
|
minStatue : true,
|
||||||
skin : 'blue',
|
skin : 'blue',
|
||||||
durationTime : 1000
|
durationTime : 1000
|
||||||
};
|
}
|
||||||
var options = $.extend(defaults, options);
|
var options = $.extend(defaults, options);
|
||||||
|
|
||||||
this.each(function(){
|
this.each(function(){
|
||||||
|
//???????
|
||||||
var thisBox = $(this),
|
var thisBox = $(this),
|
||||||
closeBtn = thisBox.find('.close_btn' ),
|
closeBtn = thisBox.find('.close_btn' ),
|
||||||
show_btn = thisBox.find('.show_btn' ),
|
show_btn = thisBox.find('.show_btn' ),
|
||||||
sideContent = thisBox.find('.side_content'),
|
sideContent = thisBox.find('.side_content'),
|
||||||
sideList = thisBox.find('.side_list')
|
sideList = thisBox.find('.side_list')
|
||||||
;
|
;
|
||||||
var defaultTop = thisBox.offset().top;
|
var defaultTop = thisBox.offset().top; //????????top
|
||||||
|
|
||||||
thisBox.css(options.float, 0);
|
thisBox.css(options.float, 0);
|
||||||
if(options.minStatue == "true"){
|
if(options.minStatue == "true"){
|
||||||
|
@ -24,34 +25,59 @@
|
||||||
show_btn.css('width', 25);
|
show_btn.css('width', 25);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
//close
|
||||||
closeBtn.bind("click",function(){
|
closeBtn.bind("click",function(){
|
||||||
sideContent.animate({width: '0px'},"fast");
|
sideContent.animate({width: '0px'},"fast");
|
||||||
show_btn.stop(true, true).delay(300).animate({ width: '25px'},"fast");
|
show_btn.stop(true, true).delay(300).animate({ width: '25px'},"fast");
|
||||||
cookiesave('minStatue','false','','','');
|
cookiesave('minStatue','true','','','');
|
||||||
});
|
});
|
||||||
|
//show
|
||||||
show_btn.bind("click",function() {
|
show_btn.bind("click",function() {
|
||||||
$(this).animate({width: '0px'},"fast");
|
$(this).animate({width: '0px'},"fast");
|
||||||
sideContent.stop(true, true).delay(200).animate({ width: '154px'},"fast");
|
sideContent.stop(true, true).delay(200).animate({ width: '154px'},"fast");
|
||||||
cookiesave('minStatue','true','','','');
|
cookiesave('minStatue','false','','','');
|
||||||
});
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}); //end this.each
|
||||||
};
|
};
|
||||||
})(jQuery);
|
})(jQuery);
|
||||||
|
|
||||||
|
|
||||||
|
$(function(){
|
||||||
|
$("#button1").click(function(){
|
||||||
|
myTips("<%= l(:label_feedback_success) %>","success");
|
||||||
|
});
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
|
function f_submit()
|
||||||
|
{
|
||||||
|
var subject = $("#memo_subject").val();
|
||||||
|
var content = $("#memo_content_1").val();
|
||||||
|
$("#memo_subject").val(subject+":"+ content.substr(0,18));
|
||||||
|
$("#new_memo").submit();
|
||||||
|
}
|
||||||
|
|
||||||
function cookiesave(n, v, mins, dn, path)
|
function cookiesave(n, v, mins, dn, path)
|
||||||
{
|
{
|
||||||
if(n)
|
if(n)
|
||||||
{
|
{
|
||||||
|
|
||||||
if(!mins) mins = 365 * 24 * 60;
|
if(!mins) mins = 365 * 24 * 60;
|
||||||
if(!path) path = "/";
|
if(!path) path = "/";
|
||||||
var date = new Date();
|
var date = new Date();
|
||||||
|
|
||||||
date.setTime(date.getTime() + (mins * 60 * 1000));
|
date.setTime(date.getTime() + (mins * 60 * 1000));
|
||||||
|
|
||||||
var expires = "; expires=" + date.toGMTString();
|
var expires = "; expires=" + date.toGMTString();
|
||||||
|
|
||||||
if(dn) dn = "domain=" + dn + "; ";
|
if(dn) dn = "domain=" + dn + "; ";
|
||||||
document.cookie = n + "=" + v + expires + "; " + dn + "path=" + path;
|
document.cookie = n + "=" + v + expires + "; " + dn + "path=" + path;
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function cookieget(n)
|
function cookieget(n)
|
||||||
{
|
{
|
||||||
var name = n + "=";
|
var name = n + "=";
|
||||||
|
@ -61,18 +87,11 @@ function cookieget(n)
|
||||||
while (c.charAt(0)==' ') c = c.substring(1,c.length);
|
while (c.charAt(0)==' ') c = c.substring(1,c.length);
|
||||||
if (c.indexOf(name) == 0){
|
if (c.indexOf(name) == 0){
|
||||||
return c.substring(name.length,c.length);}
|
return c.substring(name.length,c.length);}
|
||||||
|
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
$(function() {
|
|
||||||
$("#scrollsidebar").fix({
|
|
||||||
float : 'right', //default.left or right
|
|
||||||
minStatue : cookieget('minStatue'),
|
|
||||||
skin : 'green', //default.gray or blue
|
|
||||||
durationTime : 600
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
$(function(){
|
$(function(){
|
||||||
$("#button1").click(function(){
|
$("#button1").click(function(){
|
||||||
|
@ -87,3 +106,15 @@ function f_submit()
|
||||||
$("#memo_subject").val(subject+":"+ content.substr(0,18));
|
$("#memo_subject").val(subject+":"+ content.substr(0,18));
|
||||||
$("#new_memo").submit();
|
$("#new_memo").submit();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
$(document).ready(function () {
|
||||||
|
$(function () {
|
||||||
|
$("#scrollsidebar").fix({
|
||||||
|
float: 'right', //default.left or right
|
||||||
|
minStatue: cookieget('minStatue'),
|
||||||
|
skin: 'green', //default.gray or blue
|
||||||
|
durationTime: 600
|
||||||
|
});
|
||||||
|
});
|
||||||
|
});
|
|
@ -3152,6 +3152,18 @@ input[class~='m3p10'], .m3p10 {
|
||||||
.break_word{word-break: break-all;word-wrap: break-word;}
|
.break_word{word-break: break-all;word-wrap: break-word;}
|
||||||
.break_word_firefox{white-space: pre-wrap;word-break: break-all;}
|
.break_word_firefox{white-space: pre-wrap;word-break: break-all;}
|
||||||
|
|
||||||
|
/*日历选择图*/
|
||||||
|
img.ui-datepicker-trigger {
|
||||||
|
display:block;
|
||||||
|
background:url(/images/public_icon.png) -31px 0 no-repeat;
|
||||||
|
cursor: pointer;
|
||||||
|
vertical-align: middle;
|
||||||
|
margin-left: 5px;
|
||||||
|
margin-top: 5px;
|
||||||
|
width:16px;
|
||||||
|
height:15px;
|
||||||
|
float:left;
|
||||||
|
}
|
||||||
|
|
||||||
/*lizanle 日誌搜索結果樣式*/
|
/*lizanle 日誌搜索結果樣式*/
|
||||||
.search_results {
|
.search_results {
|
||||||
|
|
|
@ -331,6 +331,7 @@ a:hover.st_add{ color:#ff8e15;}
|
||||||
.upbtn{ margin:40px 0 0 15px; display:block; padding:2px 5px; border:1px solid #eaeaea;}
|
.upbtn{ margin:40px 0 0 15px; display:block; padding:2px 5px; border:1px solid #eaeaea;}
|
||||||
.upbtn:hover{border:1px solid #64bdd9; color:#64bdd9;cursor: pointer;}
|
.upbtn:hover{border:1px solid #64bdd9; color:#64bdd9;cursor: pointer;}
|
||||||
.upload_file{margin-left: -60px;margin-top: 40px;width: 50px;position: absolute;height: 24px;opacity: 0;cursor: pointer}
|
.upload_file{margin-left: -60px;margin-top: 40px;width: 50px;position: absolute;height: 24px;opacity: 0;cursor: pointer}
|
||||||
|
|
||||||
/* 功能倒计时*/
|
/* 功能倒计时*/
|
||||||
.w_img{ float:left; margin:10px 10px 15px 0px;}
|
.w_img{ float:left; margin:10px 10px 15px 0px;}
|
||||||
.w_p{ float:left; color:#15bccf; font-size:16px; font-weight:bold; margin-top:70px; }
|
.w_p{ float:left; color:#15bccf; font-size:16px; font-weight:bold; margin-top:70px; }
|
||||||
|
|
|
@ -734,7 +734,7 @@ div.actions input[type="text"] {
|
||||||
.replies {
|
.replies {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
float: right;
|
float: left;
|
||||||
/*max-width: 90%;*/
|
/*max-width: 90%;*/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -55,6 +55,9 @@ a:hover.btn_free{ background:#d63502;}
|
||||||
a.invi_search_btn{ background:#15bccf; color:#fff; text-align: center; width:40px; height:22px;border:1px solid #15bccf; padding-top:2px; cursor:pointer;}
|
a.invi_search_btn{ background:#15bccf; color:#fff; text-align: center; width:40px; height:22px;border:1px solid #15bccf; padding-top:2px; cursor:pointer;}
|
||||||
a:hover.invi_search_btn{ background:#0da1b2; border:1px solid #0da1b2;}
|
a:hover.invi_search_btn{ background:#0da1b2; border:1px solid #0da1b2;}
|
||||||
.rolebox{ margin:10px 0;}
|
.rolebox{ margin:10px 0;}
|
||||||
|
.w180_h{ width:180px;overflow:hidden; white-space: nowrap; text-overflow:ellipsis; text-align:left;}
|
||||||
|
.w140_h{ width:119px; overflow:hidden; white-space: nowrap; text-overflow:ellipsis;text-align:left; padding-left:5px;}
|
||||||
|
|
||||||
/*问题跟踪*/
|
/*问题跟踪*/
|
||||||
.problem_top{ margin:10px 0 ;}
|
.problem_top{ margin:10px 0 ;}
|
||||||
.problem_search_input{ border:1px solid #64bdd9; width:180px; height:24px; color:#9b9b9b; padding-left:5px; margin-bottom:5px;}
|
.problem_search_input{ border:1px solid #64bdd9; width:180px; height:24px; color:#9b9b9b; padding-left:5px; margin-bottom:5px;}
|
||||||
|
@ -368,6 +371,7 @@ blockquote {
|
||||||
}
|
}
|
||||||
/*上传项目图片*/
|
/*上传项目图片*/
|
||||||
.upload_file{margin-left: -60px;margin-top: 40px;width: 50px;position: absolute;height: 24px;opacity: 0;cursor: pointer}
|
.upload_file{margin-left: -60px;margin-top: 40px;width: 50px;position: absolute;height: 24px;opacity: 0;cursor: pointer}
|
||||||
|
|
||||||
/*配置*/
|
/*配置*/
|
||||||
.pro_st_ttl{ height:24px;}
|
.pro_st_ttl{ height:24px;}
|
||||||
.pro_st_ctt{height:auto; clear:both;}
|
.pro_st_ctt{height:auto; clear:both;}
|
||||||
|
@ -390,14 +394,14 @@ blockquote {
|
||||||
.box ul li{ line-height:1.9;}
|
.box ul li{ line-height:1.9;}
|
||||||
.members_left{ float:left; width:410px; margin-right:20px; text-align:center;}
|
.members_left{ float:left; width:410px; margin-right:20px; text-align:center;}
|
||||||
.members_left{}
|
.members_left{}
|
||||||
.members_left ul li{ height:30px; border-bottom:1px solid #E4E4E4; width:410px; padding-top:10px; }
|
.members_left ul li{ height:22px; border-bottom:1px solid #E4E4E4; width:410px; padding-top:5px; }
|
||||||
.members_left ul li a{ float:left; text-align:center;}
|
.members_left ul li a{ float:left; text-align:left;}
|
||||||
.members_left ul li span{ float:left; text-align:center; color:#484747;}
|
.members_left ul li span{ float:left; text-align:center; color:#484747;text-align:left;}
|
||||||
.w150{ text-align:center; width:150px;}
|
.w150{ text-align:center; width:150px;}
|
||||||
.f_b{ font-weight: bold;}
|
.f_b{ font-weight: bold;}
|
||||||
.members_right{ float:left; width:240px;}
|
.members_right{ float:left; width:240px;}
|
||||||
.members_right label{ margin-left:15px;}
|
.members_right label{ margin-left:15px;}
|
||||||
.members_jion{ background:#f0fbff; padding:10px; height:200px; margin-bottom:10px;}
|
.members_jion{ background:#f0f0f0; padding:10px; height:200px; margin-bottom:10px;}
|
||||||
.members_add{ padding-left:10px; }
|
.members_add{ padding-left:10px; }
|
||||||
.member_search_input{ border:1px solid #15bccf; background:#fff; width:170px; height:24px; color:#9b9b9b; padding-left:5px; margin-bottom:10px;}
|
.member_search_input{ border:1px solid #15bccf; background:#fff; width:170px; height:24px; color:#9b9b9b; padding-left:5px; margin-bottom:10px;}
|
||||||
.member_search_btn{ background:#15bccf; color:#fff; text-align: center; width:40px; height:22px;border:1px solid #15bccf; padding-top:2px; cursor:pointer;}
|
.member_search_btn{ background:#15bccf; color:#fff; text-align: center; width:40px; height:22px;border:1px solid #15bccf; padding-top:2px; cursor:pointer;}
|
||||||
|
@ -471,6 +475,7 @@ img.ui-datepicker-trigger {
|
||||||
.wiki_con_tit{ font-size:14px; color:#09658c; font-weight:bold;width:630px;overflow:hidden; white-space: nowrap; text-overflow:ellipsis; float:left; margin-bottom:10px;}
|
.wiki_con_tit{ font-size:14px; color:#09658c; font-weight:bold;width:630px;overflow:hidden; white-space: nowrap; text-overflow:ellipsis; float:left; margin-bottom:10px;}
|
||||||
.wiki_con_box{ line-height:1.9; color:#2d2d2d;}
|
.wiki_con_box{ line-height:1.9; color:#2d2d2d;}
|
||||||
.wiki_page_con{ border-bottom:1px dashed #CCC; margin-bottom:10px; padding-bottom:10px;}
|
.wiki_page_con{ border-bottom:1px dashed #CCC; margin-bottom:10px; padding-bottom:10px;}
|
||||||
|
.wiki_page p{word-break: break-all;word-wrap: break-word;}
|
||||||
#wiki_new_box{ display:none;}
|
#wiki_new_box{ display:none;}
|
||||||
/*wiki显示附加*/
|
/*wiki显示附加*/
|
||||||
.wiki-page {font-size: 14px;color: #09658C !important; font-weight: bold;width: 630px;overflow: hidden;white-space: nowrap;text-overflow: ellipsis;margin-bottom: 10px;}
|
.wiki-page {font-size: 14px;color: #09658C !important; font-weight: bold;width: 630px;overflow: hidden;white-space: nowrap;text-overflow: ellipsis;margin-bottom: 10px;}
|
||||||
|
|
|
@ -105,6 +105,7 @@ a:hover.c_orange{color: #d33503;}
|
||||||
a.c_lorange{color:#ff9900;}
|
a.c_lorange{color:#ff9900;}
|
||||||
a:hover.c_lorange{color:#fff;}
|
a:hover.c_lorange{color:#fff;}
|
||||||
a.c_blue{ color:#15bccf;}
|
a.c_blue{ color:#15bccf;}
|
||||||
|
a.c_setting_blue{color: #0781B4}
|
||||||
a.c_dblue{ color:#09658c;}
|
a.c_dblue{ color:#09658c;}
|
||||||
a:hover.c_dblue{ color:#15bccf;}
|
a:hover.c_dblue{ color:#15bccf;}
|
||||||
a.c_white{ color:#fff;}
|
a.c_white{ color:#fff;}
|
||||||
|
@ -131,6 +132,7 @@ a.c_green{ color:#28be6c;}
|
||||||
.c_blue{ color:#15bccf;}
|
.c_blue{ color:#15bccf;}
|
||||||
.c_red{ color:#F00;}
|
.c_red{ color:#F00;}
|
||||||
.c_green{ color:#28be6c;}
|
.c_green{ color:#28be6c;}
|
||||||
|
.c_grey{color:#999;}
|
||||||
.c_dblue{ color:#09658c;}
|
.c_dblue{ color:#09658c;}
|
||||||
.b_blue{background:#64bdd9;}
|
.b_blue{background:#64bdd9;}
|
||||||
.b_green{background:#28be6c;}
|
.b_green{background:#28be6c;}
|
||||||
|
@ -213,14 +215,15 @@ div#menu {height:41px; font-size:14px; font-weight:bold; }
|
||||||
div#menu ul {float: left;}
|
div#menu ul {float: left;}
|
||||||
div#menu ul.menu { padding-left: 30px; }
|
div#menu ul.menu { padding-left: 30px; }
|
||||||
div#menu li {position: relative; z-index: 9; margin: 0; display: block; float: left; }
|
div#menu li {position: relative; z-index: 9; margin: 0; display: block; float: left; }
|
||||||
div#menu li:hover>ul { left: -2px;}
|
/*div#menu li:hover>ul { right: 5px;}*/
|
||||||
div#menu a {position: relative;z-index: 10; height: 41px; display: block; float: left;line-height: 41px; text-decoration: none; font-size:14px; }
|
div#menu a {position: relative;z-index: 10; height: 41px; display: block; float: left;line-height: 41px; text-decoration: none; font-size:14px; }
|
||||||
div#menu a:hover, div#menu a:hover span { color: #a1ebff; }
|
div#menu a:hover, div#menu a:hover span { color: #a1ebff; }
|
||||||
div#menu li.current a {}
|
div#menu li.current a {}
|
||||||
div#menu {display: block; cursor: pointer; background-repeat: no-repeat;background-position: 95% 0;padding-right: 15px; _padding-right: 20px;}
|
div#menu {display: block; cursor: pointer; background-repeat: no-repeat;background-position: 95% 0;padding-right: 15px; _padding-right: 20px;}
|
||||||
div#menu ul a.parent {background: url(../images/item.png) -20px -30px no-repeat; width:60px; overflow:hidden; white-space: nowrap; text-overflow:ellipsis;}
|
div#menu ul a.user_name { width:170px; text-align:right; margin:0; }
|
||||||
div#menu ul a.parent:hover {background: url(../images/item.png) -20px -60px no-repeat;}
|
.pic_triangle{background: url(../images/item.png) -90px -48px no-repeat; float:right; display:block; width:10px; height:10px; margin-top:12px; margin-left:7px;}
|
||||||
div#menu ul ul a.parent {background: url(../images/item.png) -20px 6px no-repeat;}
|
.pic_triangle:hover{background: url(../images/item.png) -90px -78px no-repeat; }
|
||||||
|
div#menu ul ul a.parent {background: url(../images/item.png) -20px 6px no-repeat;width:60px;}
|
||||||
div#menu ul ul a.parent:hover {background: url(../images/item.png) -20px -11px no-repeat;}
|
div#menu ul ul a.parent:hover {background: url(../images/item.png) -20px -11px no-repeat;}
|
||||||
/* menu::level1 */
|
/* menu::level1 */
|
||||||
div#menu a { padding: 5px 12px 0 10px;line-height: 30px; color: #fff;}
|
div#menu a { padding: 5px 12px 0 10px;line-height: 30px; color: #fff;}
|
||||||
|
@ -228,13 +231,13 @@ div#menu a { padding: 5px 12px 0 10px;line-height: 30px; color: #fff;}
|
||||||
div#menu li.last { background: none; }
|
div#menu li.last { background: none; }
|
||||||
/* menu::level2 */
|
/* menu::level2 */
|
||||||
div#menu ul ul li { background: none; }
|
div#menu ul ul li { background: none; }
|
||||||
div#menu ul ul { position: absolute;top: 38px; left: -999em; width: 90px; padding: 5px 0 0 0; background:#fff; border:1px solid #15bccf; margin-top:1px;}
|
div#menu ul ul { position: absolute;top: 38px; width: 90px; padding: 5px 0 0 0; background:#fff; border:1px solid #15bccf; margin-top:1px;}
|
||||||
div#menu ul ul a {padding: 0 0 0 15px; height: auto; float: none;display: block; line-height: 24px; font-size:12px; font-weight:normal;color:#15bccf;}
|
div#menu ul ul a {padding: 0 0 0 15px; height: auto; float: none;display: block; line-height: 24px; font-size:12px; font-weight:normal;color:#15bccf;}
|
||||||
div#menu ul ul a:hover { color:#ff9900;}
|
div#menu ul ul a:hover { color:#ff9900;}
|
||||||
div#menu ul ul li.last { margin-left:15px; }
|
div#menu ul ul li.last { margin-left:15px; }
|
||||||
div#menu ul ul li {width: 100%;}
|
div#menu ul ul li {width: 100%;}
|
||||||
/* menu::level3 */
|
/* menu::level3 */
|
||||||
div#menu ul ul ul {padding: 0;margin: -38px 0 0 92px !important; width:200px; }
|
div#menu ul ul ul {padding: 0;margin: -38px 0 0 90px !important; width:200px; }
|
||||||
div#menu ul ul ul li a{ width:185px; overflow:hidden; white-space: nowrap; text-overflow:ellipsis;color:#15bccf;}
|
div#menu ul ul ul li a{ width:185px; overflow:hidden; white-space: nowrap; text-overflow:ellipsis;color:#15bccf;}
|
||||||
|
|
||||||
/*主类容*/
|
/*主类容*/
|
||||||
|
@ -288,6 +291,7 @@ a.close_btn {background-position:-44px 0;}
|
||||||
a:hover.close_btn {background-position:-66px 0;}
|
a:hover.close_btn {background-position:-66px 0;}
|
||||||
.show_btn {background-position:-119px 0;}
|
.show_btn {background-position:-119px 0;}
|
||||||
.msgserver a {color:#15bccf; }
|
.msgserver a {color:#15bccf; }
|
||||||
|
.msgserver a:hover { text-decoration:underline; }
|
||||||
|
|
||||||
|
|
||||||
.hiddent{ overflow:hidden; white-space: nowrap; text-overflow:ellipsis;}
|
.hiddent{ overflow:hidden; white-space: nowrap; text-overflow:ellipsis;}
|
||||||
|
@ -404,8 +408,10 @@ div.flash.warning, .conflict {
|
||||||
/*弹出框*/
|
/*弹出框*/
|
||||||
.black_overlay{display:none;position:fixed;top:0px;left:0px;width:100%;height:100%;background-color:black;z-index:1001;-moz-opacity:0.8;opacity:.80;filter:alpha(opacity=80);}
|
.black_overlay{display:none;position:fixed;top:0px;left:0px;width:100%;height:100%;background-color:black;z-index:1001;-moz-opacity:0.8;opacity:.80;filter:alpha(opacity=80);}
|
||||||
.white_content{display:none;position:fixed;top:15%;left:30%;width:420px;height: auto; margin-bottom:20px;padding:16px;border:3px solid #15bccf;background-color:white;z-index:1002;overflow:auto;}
|
.white_content{display:none;position:fixed;top:15%;left:30%;width:420px;height: auto; margin-bottom:20px;padding:16px;border:3px solid #15bccf;background-color:white;z-index:1002;overflow:auto;}
|
||||||
.white_content02{display:none;position:fixed;top:15%;left:30%;width:200px;height: auto; margin-bottom:20px;padding:10px;border:3px solid #15bccf;background-color:white;z-index:1002;overflow:auto;}
|
.white_content02{display:none;position:fixed;top:15%;left:30%;width:310px;height: auto; margin-bottom:20px;padding:10px;border:3px solid #15bccf;background-color:white;z-index:1002;overflow:auto;}
|
||||||
.floatbox{ width:420px; border:3px solid #15bccf; background:#fff; padding:5px;}
|
.floatbox{ width:420px; border:3px solid #15bccf; background:#fff; padding:5px;}
|
||||||
a.box_close{ display:block; float:right; width:16px; height:16px; background:url(../images/img_floatbox.png) 0 0 no-repeat;}
|
a.box_close{ display:block; float:right; width:16px; height:16px; background:url(../images/img_floatbox.png) 0 0 no-repeat;}
|
||||||
a.box_close{background:url(../images/img_floatbox.png) -22px 0 no-repeat;}
|
a.box_close{background:url(../images/img_floatbox.png) -22px 0 no-repeat;}
|
||||||
|
|
||||||
|
/*文本左对齐*/
|
||||||
|
.tl{text-align: left;}
|
||||||
|
|
Loading…
Reference in New Issue