Merge branch 'szzh' of http://xianbo_trustie2@repository.trustie.net/xianbo/trustie2.git into szzh
This commit is contained in:
commit
3eddca8c6e
|
@ -64,7 +64,7 @@ class AttachmentsController < ApplicationController
|
||||||
# modify by nwb
|
# modify by nwb
|
||||||
# 下载添加权限设置
|
# 下载添加权限设置
|
||||||
candown = false
|
candown = false
|
||||||
if (@attachment.container.has_attribute?(:project) || @attachment.container.has_attribute?(:project_id)) && @attachment.container.project
|
if @attachment.container.class.to_s != "HomeworkAttach" && (@attachment.container.has_attribute?(:project) || @attachment.container.has_attribute?(:project_id)) && @attachment.container.project
|
||||||
project = @attachment.container.project
|
project = @attachment.container.project
|
||||||
candown= User.current.member_of?(project) || (project.is_public && @attachment.is_public == 1)
|
candown= User.current.member_of?(project) || (project.is_public && @attachment.is_public == 1)
|
||||||
elsif @attachment.container.is_a?(Project)
|
elsif @attachment.container.is_a?(Project)
|
||||||
|
|
|
@ -376,12 +376,13 @@ class UsersController < ApplicationController
|
||||||
"show_changesets" => true
|
"show_changesets" => true
|
||||||
}
|
}
|
||||||
scope = User.logged.status(@status)
|
scope = User.logged.status(@status)
|
||||||
scope = scope.like(params[:name],params[:search_by][:id]) if params[:name].present?
|
@search_by = params[:search_by] ? params[:search_by][:id] : 0
|
||||||
|
scope = scope.like(params[:name],@search_by) if params[:name].present?
|
||||||
@user_count = scope.count
|
@user_count = scope.count
|
||||||
@user_pages = Paginator.new @user_count, @limit, params['page']
|
@user_pages = Paginator.new @user_count, @limit, params['page']
|
||||||
@user_base_tag = params[:id] ? 'base_users':'users_base'
|
@user_base_tag = params[:id] ? 'base_users':'users_base'
|
||||||
@offset ||= @user_pages.reverse_offset
|
@offset ||= @user_pages.reverse_offset
|
||||||
unless @offset == 0
|
unless @offset == 0
|
||||||
@users = scope.offset(@offset).limit(@limit).all.reverse
|
@users = scope.offset(@offset).limit(@limit).all.reverse
|
||||||
else
|
else
|
||||||
limit = @user_count % @limit
|
limit = @user_count % @limit
|
||||||
|
|
|
@ -47,6 +47,7 @@ class WordsController < ApplicationController
|
||||||
# 删除留言功能要调用destroy,也记得在destroy.js中修改
|
# 删除留言功能要调用destroy,也记得在destroy.js中修改
|
||||||
|
|
||||||
# deny api. api useless
|
# deny api. api useless
|
||||||
|
@show_real_name = params[:show_real_name] || false
|
||||||
parent_id = params[:reference_id]
|
parent_id = params[:reference_id]
|
||||||
author_id = User.current.id
|
author_id = User.current.id
|
||||||
reply_user_id = params[:reference_user_id]
|
reply_user_id = params[:reference_user_id]
|
||||||
|
|
|
@ -60,7 +60,7 @@ module HomeworkAttachHelper
|
||||||
memberships = User.current.memberships.all(:conditions => cond)
|
memberships = User.current.memberships.all(:conditions => cond)
|
||||||
projects = memberships.map(&:project)
|
projects = memberships.map(&:project)
|
||||||
not_have_project = []
|
not_have_project = []
|
||||||
not_have_project << "NO PROJECT"
|
not_have_project << Setting.please_chose
|
||||||
not_have_project << 0
|
not_have_project << 0
|
||||||
type = []
|
type = []
|
||||||
type << not_have_project
|
type << not_have_project
|
||||||
|
|
|
@ -58,16 +58,10 @@
|
||||||
<span style="float: right">
|
<span style="float: right">
|
||||||
<% if User.current.logged? && is_cur_course_student(@course) %>
|
<% if User.current.logged? && is_cur_course_student(@course) %>
|
||||||
<% cur_user_homework = cur_user_homework_for_bid(bid) %>
|
<% cur_user_homework = cur_user_homework_for_bid(bid) %>
|
||||||
<% if cur_user_homework!= nil && cur_user_homework.empty? %>
|
<% if cur_user_homework && cur_user_homework.empty? %>
|
||||||
<% if bid.comment_status == 0 || bid.comment_status == 2%>
|
<span class="span_wping">
|
||||||
<span class="span_wping">
|
<%= link_to l(:label_commit_homework),new_exercise_book_path(bid) %>
|
||||||
<%= link_to l(:label_commit_homework),new_exercise_book_path(bid) %>
|
</span>
|
||||||
</span>
|
|
||||||
<% else %>
|
|
||||||
<span title="匿评阶段不可提交作业!" class="span_wping">
|
|
||||||
<a style="width:80px; margin:20px 0 0 350px;background:#8e8e8e;">提交作业</a>
|
|
||||||
</span>
|
|
||||||
<% end %>
|
|
||||||
<% else %>
|
<% else %>
|
||||||
<span style="color: green; float: right">
|
<span style="color: green; float: right">
|
||||||
<%= l(:lable_has_commit_homework)%>
|
<%= l(:lable_has_commit_homework)%>
|
||||||
|
|
|
@ -18,8 +18,9 @@
|
||||||
<%= form_for @message, :url => new_board_message_path(@board), :html => {:multipart => true, :id => 'message-form'} do |f| %>
|
<%= form_for @message, :url => new_board_message_path(@board), :html => {:multipart => true, :id => 'message-form'} do |f| %>
|
||||||
<%= render :partial => 'messages/form', :locals => {:f => f} %>
|
<%= render :partial => 'messages/form', :locals => {:f => f} %>
|
||||||
<p>
|
<p>
|
||||||
<input type="button" onclick="submitProjectBoard();" class = "whiteButton m3p10 h30" value="<%= l(:button_submit)%>">
|
<a herf="#" onclick="submitProjectBoard();" class="ButtonColor m3p10"><%= l(:button_submit)%></a>
|
||||||
<%= link_to l(:button_cancel), "#", :onclick => '$("#add-message").hide(); return false;', :class => 'whiteButton m3p10' %></p>
|
<%= link_to l(:button_cancel), "#", :onclick => '$("#add-message").hide(); return false;', :class => 'ButtonColor m3p10' %>
|
||||||
|
</p>
|
||||||
<% end %>
|
<% end %>
|
||||||
<div id="preview" class="wiki"></div>
|
<div id="preview" class="wiki"></div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
|
@ -9,7 +9,9 @@
|
||||||
<% if User.current.logged? && (User.current.admin? || (!Member.where('user_id = ? and course_id = ?', User.current.id, @course.id).first.nil? && (Member.where('user_id = ? and course_id = ?', User.current.id, @course.id).first.roles&Role.where(id: [3, 4, 7, 9] )).size >0))%>
|
<% if User.current.logged? && (User.current.admin? || (!Member.where('user_id = ? and course_id = ?', User.current.id, @course.id).first.nil? && (Member.where('user_id = ? and course_id = ?', User.current.id, @course.id).first.roles&Role.where(id: [3, 4, 7, 9] )).size >0))%>
|
||||||
<%= link_to(l(:label_course_homework_new), {:controller => 'courses', :action => 'new_homework'}, :class => 'icon icon-add') %>
|
<%= link_to(l(:label_course_homework_new), {:controller => 'courses', :action => 'new_homework'}, :class => 'icon icon-add') %>
|
||||||
<% else %>
|
<% else %>
|
||||||
<span class="font_lighter"><%= l(:label_coursejoin_tip) %></span>
|
<span class="font_lighter">
|
||||||
|
<%= l(:label_coursejoin_tip) %>
|
||||||
|
</span>
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
<div id="bid-show">
|
<div id="bid-show">
|
||||||
|
|
|
@ -49,8 +49,8 @@
|
||||||
<% else %>
|
<% else %>
|
||||||
<!-- 是学生 -->
|
<!-- 是学生 -->
|
||||||
<% if is_my_homework %>
|
<% if is_my_homework %>
|
||||||
<!-- 我的作品,显示为编辑和删除 -->
|
<!-- 我的作品,在未开启匿评和未使用匿评,显示为编辑和删除 -->
|
||||||
<% if @bid.comment_status == 0 %>
|
<% if @bid.comment_status == 0 || @bid.open_anonymous_evaluation == 0 %>
|
||||||
<li class="wmine" style="padding-top: 4px;">
|
<li class="wmine" style="padding-top: 4px;">
|
||||||
<%= link_to l(:button_edit), edit_homework_attach_path(homework) %>
|
<%= link_to l(:button_edit), edit_homework_attach_path(homework) %>
|
||||||
<% if homework.user == User.current || User.current.admin? %>
|
<% if homework.user == User.current || User.current.admin? %>
|
||||||
|
@ -68,10 +68,14 @@
|
||||||
<a style="color:#8e8e8e;"><%= l(:button_edit) %></a>
|
<a style="color:#8e8e8e;"><%= l(:button_edit) %></a>
|
||||||
<% if homework.user == User.current || User.current.admin? %>
|
<% if homework.user == User.current || User.current.admin? %>
|
||||||
<!-- 作业创建者显示删除作业 -->
|
<!-- 作业创建者显示删除作业 -->
|
||||||
<a style="color:#8e8e8e;"><%=l(:label_bid_respond_delete)%></a>
|
<a style="color:#8e8e8e;">
|
||||||
|
<%=l(:label_bid_respond_delete)%>
|
||||||
|
</a>
|
||||||
<% else %>
|
<% else %>
|
||||||
<!-- 作业参与者显示退出作业 -->
|
<!-- 作业参与者显示退出作业 -->
|
||||||
<a style="color:#8e8e8e;"><%=l(:label_logout) %></a>
|
<a style="color:#8e8e8e;">
|
||||||
|
<%=l(:label_logout) %>
|
||||||
|
</a>
|
||||||
<% end %>
|
<% end %>
|
||||||
</li>
|
</li>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
@ -88,7 +92,9 @@
|
||||||
<% elsif @bid.comment_status == 2%>
|
<% elsif @bid.comment_status == 2%>
|
||||||
<!-- 处于匿评已关闭阶段,不容许评分 -->
|
<!-- 处于匿评已关闭阶段,不容许评分 -->
|
||||||
<li class="wping" title="关闭匿评后不可继续评分">
|
<li class="wping" title="关闭匿评后不可继续评分">
|
||||||
<a style="background:#8e8e8e;"><%= l(:label_anonymous_comments) %></a>
|
<a style="background:#8e8e8e;">
|
||||||
|
<%= l(:label_anonymous_comments) %>
|
||||||
|
</a>
|
||||||
<% if Time.parse(@bid.deadline.to_s).strftime("%Y-%m-%d") < Time.parse(homework.created_at.to_s).strftime("%Y-%m-%d") %>
|
<% if Time.parse(@bid.deadline.to_s).strftime("%Y-%m-%d") < Time.parse(homework.created_at.to_s).strftime("%Y-%m-%d") %>
|
||||||
<span class="c_red"> 迟交!</span>
|
<span class="c_red"> 迟交!</span>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
|
@ -35,16 +35,9 @@
|
||||||
</span>
|
</span>
|
||||||
</li>
|
</li>
|
||||||
<li class="c_red" style="margin:25px 0 0 20px;"> 您还没交作业,请创建作业!</li>
|
<li class="c_red" style="margin:25px 0 0 20px;"> 您还没交作业,请创建作业!</li>
|
||||||
<% if @bid.comment_status == 0 || @bid.open_anonymous_evaluation == 0%>
|
|
||||||
<!-- 老师布置的作业在创建和开启匿评这段时间才允许创建作品 -->
|
|
||||||
<li class="wping">
|
<li class="wping">
|
||||||
<%= link_to "提交作业", new_exercise_book_path(@bid), :style => "width:80px; margin:20px 0 0 350px;" %>
|
<%= link_to "提交作业", new_exercise_book_path(@bid), :style => "width:80px; margin:20px 0 0 350px;" %>
|
||||||
</li>
|
</li>
|
||||||
<% else %>
|
|
||||||
<li class="wping" title="匿评阶段不可提交作业!">
|
|
||||||
<a style="width:80px; margin:20px 0 0 350px;background:#8e8e8e;">提交作业</a>
|
|
||||||
</li>
|
|
||||||
<% end %>
|
|
||||||
</ul>
|
</ul>
|
||||||
<div class="cl"></div>
|
<div class="cl"></div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
<% show_real_name ||= false %>
|
||||||
<% reply_allow = JournalsForMessage.create_by_user? User.current %>
|
<% reply_allow = JournalsForMessage.create_by_user? User.current %>
|
||||||
<% ids_r = 'reply_respond_form_'+ reply.id.to_s %>
|
<% ids_r = 'reply_respond_form_'+ reply.id.to_s %>
|
||||||
<div class="recall" id='word_li_<%=reply.id.to_s%>' onmouseover="$('#<%= ids_r %>').show()" onmouseout="$('#<%= ids_r %>').hide()">
|
<div class="recall" id='word_li_<%=reply.id.to_s%>' onmouseover="$('#<%= ids_r %>').show()" onmouseout="$('#<%= ids_r %>').hide()">
|
||||||
|
@ -12,8 +13,13 @@
|
||||||
<% id = 'project_respond_form_'+ reply.id.to_s %>
|
<% id = 'project_respond_form_'+ reply.id.to_s %>
|
||||||
<%= link_to reply.user.name, user_path(reply.user) %>
|
<%= link_to reply.user.name, user_path(reply.user) %>
|
||||||
回复
|
回复
|
||||||
<% if show_name %>
|
<% parent_jour = JournalsForMessage.find reply.m_reply_id %>
|
||||||
<%= link_to reply.at_user.name,user_path(reply.at_user) %>
|
<% if show_name && parent_jour %>
|
||||||
|
<% if show_real_name%>
|
||||||
|
<%= link_to parent_jour.user.lastname+parent_jour.user.firstname, user_path(parent_jour.user) %>
|
||||||
|
<% else %>
|
||||||
|
<%= link_to parent_jour.user.name, user_path(parent_jour.user) %>
|
||||||
|
<% end %>
|
||||||
<% else %>
|
<% else %>
|
||||||
<%= l(:label_anonymous) %>
|
<%= l(:label_anonymous) %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<% if @save_succ %>
|
<% if @save_succ %>
|
||||||
var pre_append = $('<%= j(
|
var pre_append = $('<%= j(
|
||||||
render :partial => "journal_reply_items",
|
render :partial => "journal_reply_items",
|
||||||
:locals => {:reply => @jfm, :journal => @jfm.parent, :m_reply_id => @jfm}
|
:locals => {:reply => @jfm, :journal => @jfm.parent, :m_reply_id => @jfm, :show_real_name => true}
|
||||||
) %>').hide();
|
) %>').hide();
|
||||||
$('#journal_reply_ul_<%=@jfm.m_parent_id%>').append(pre_append);
|
$('#journal_reply_ul_<%=@jfm.m_parent_id%>').append(pre_append);
|
||||||
pre_append.fadeIn(600);
|
pre_append.fadeIn(600);
|
||||||
|
|
|
@ -27,23 +27,26 @@
|
||||||
<p id="attachments_form"><label><%= l(:label_attachment_plural) %></label><%= render :partial => 'attachments/form', :locals => {:container => @issue} %></p>
|
<p id="attachments_form"><label><%= l(:label_attachment_plural) %></label><%= render :partial => 'attachments/form', :locals => {:container => @issue} %></p>
|
||||||
|
|
||||||
<% if @issue.safe_attribute? 'watcher_user_ids' -%>
|
<% if @issue.safe_attribute? 'watcher_user_ids' -%>
|
||||||
<p id="watchers_form"><label><%= l(:label_issue_watchers) %></label>
|
<p id="watchers_form">
|
||||||
<span id="watchers_inputs">
|
<label>
|
||||||
<%= watchers_checkboxes(@issue, @available_watchers) %>
|
<%= l(:label_issue_watchers) %>
|
||||||
</span>
|
</label>
|
||||||
<span class="search_for_watchers">
|
<span id="watchers_inputs">
|
||||||
<%= link_to l(:label_search_for_watchers),
|
<%= watchers_checkboxes(@issue, @available_watchers) %>
|
||||||
{:controller => 'watchers', :action => 'new', :project_id => @issue.project},
|
</span>
|
||||||
:remote => true,
|
<span class="search_for_watchers">
|
||||||
:method => 'get' %>
|
<%= link_to l(:label_search_for_watchers),
|
||||||
</span>
|
{:controller => 'watchers', :action => 'new', :project_id => @issue.project},
|
||||||
|
:remote => true,
|
||||||
|
:method => 'get' %>
|
||||||
|
</span>
|
||||||
</p>
|
</p>
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
|
<a href="#" class="ButtonColor m3p10" onclick="$('#issue-form').submit();">
|
||||||
<%= submit_tag l(:button_create), :class => "ButtonAddTags"%>
|
<%= l(:button_create)%>
|
||||||
<%= submit_tag l(:button_create_and_continue), :class => 'ButtonAddTags' %>
|
</a>
|
||||||
<%= preview_link preview_new_issue_path(:project_id => @project), 'issue-form','preview',{:class => "ButtonColor"}%>
|
<%= preview_link preview_new_issue_path(:project_id => @project), 'issue-form','preview',{:class => "ButtonColor m3p10"}%>
|
||||||
|
|
||||||
<%= javascript_tag "$('#issue_subject').focus();" %>
|
<%= javascript_tag "$('#issue_subject').focus();" %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
|
@ -15,7 +15,9 @@
|
||||||
} do |f| %>
|
} do |f| %>
|
||||||
<%= render :partial => 'form',
|
<%= render :partial => 'form',
|
||||||
:locals => {:f => f, :replying => !@message.parent.nil?} %>
|
:locals => {:f => f, :replying => !@message.parent.nil?} %>
|
||||||
<%= submit_tag l(:button_save) %>
|
<a href="#" onclick="$('#message-form').submit();" class="ButtonColor m3p10">
|
||||||
<%= preview_link({:controller => 'messages', :action => 'preview', :board_id => @board, :id => @message}, 'message-form') %>
|
<%= l(:button_save) %>
|
||||||
|
</a>
|
||||||
|
<%= link_to l(:button_cancel), board_message_url(@message.board, @message.root, :r => (@message.parent_id && @message.id)), :class => "ButtonColor m3p10" %>
|
||||||
<% end %>
|
<% end %>
|
||||||
<div id="preview" class="wiki"></div>
|
<div id="preview" class="wiki"></div>
|
||||||
|
|
|
@ -76,9 +76,11 @@
|
||||||
<%= f.text_field :name ,:id => "tags_name",:size=>"28",:require=>true,:maxlength => Setting.tags_max_length,:minlength=>Setting.tags_min_length %>
|
<%= f.text_field :name ,:id => "tags_name",:size=>"28",:require=>true,:maxlength => Setting.tags_max_length,:minlength=>Setting.tags_min_length %>
|
||||||
<%= f.text_field :object_id,:value=> obj.id,:style=>"display:none"%>
|
<%= f.text_field :object_id,:value=> obj.id,:style=>"display:none"%>
|
||||||
<%= f.text_field :object_flag,:value=> object_flag,:style=>"display:none"%>
|
<%= f.text_field :object_flag,:value=> object_flag,:style=>"display:none"%>
|
||||||
<%= f.submit l(:button_project_tags_add),:class => "ButtonAddTags" %>
|
<!--<%#= f.submit l(:button_project_tags_add),:class => "ButtonColor m3p10" %>-->
|
||||||
<%= link_to_function l(:button_cancel), '$("#put-tag-form").hide();',:class=>'ButtonColor'%>
|
<a href="#" onclick='$("#tags_name").parent().submit();' class="ButtonColor m3p10" >
|
||||||
|
<%= l(:button_project_tags_add)%>
|
||||||
|
</a>
|
||||||
|
<%= link_to_function l(:button_cancel), '$("#put-tag-form").hide();',:class=>'ButtonColor m3p10'%>
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
|
@ -20,8 +20,8 @@
|
||||||
</td>
|
</td>
|
||||||
<td rowspan="2" >
|
<td rowspan="2" >
|
||||||
<div class="project-search" style="float: right">
|
<div class="project-search" style="float: right">
|
||||||
<label for="user_browse_label"><%= l(:label_user_search_type) %></label>
|
<!--label for="user_browse_label"><%#= l(:label_user_search_type) %></label-->
|
||||||
<%= select "search_by", "id",
|
<%#= select "search_by", "id",
|
||||||
{ l(:label_search_by_login) => "0", l(:label_search_by_name) => "1", l(:label_search_by_email) => "2" },
|
{ l(:label_search_by_login) => "0", l(:label_search_by_name) => "1", l(:label_search_by_email) => "2" },
|
||||||
:size => 20 %>
|
:size => 20 %>
|
||||||
<%= text_field_tag 'name', params[:name], :size => 30 %>
|
<%= text_field_tag 'name', params[:name], :size => 30 %>
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
<% parent_jour = JournalsForMessage.find reply.m_reply_id %>
|
<% parent_jour = JournalsForMessage.find reply.m_reply_id %>
|
||||||
<% if show_name && parent_jour %>
|
<% if show_name && parent_jour %>
|
||||||
<% if show_real_name%>
|
<% if show_real_name%>
|
||||||
<%= link_to parent_jour.user.lastname+reply.user.firstname, user_path(parent_jour.user) %>
|
<%= link_to parent_jour.user.lastname+parent_jour.user.firstname, user_path(parent_jour.user) %>
|
||||||
<% else %>
|
<% else %>
|
||||||
<%= link_to parent_jour.user.name, user_path(parent_jour.user) %>
|
<%= link_to parent_jour.user.name, user_path(parent_jour.user) %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
@ -51,7 +51,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div id='<%=id%>' class="respond-form">
|
<div id='<%=id%>' class="respond-form">
|
||||||
<% if reply_allow %>
|
<% if reply_allow %>
|
||||||
<%= render :partial => "words/new_respond", :locals => {:journal => journal, :m_reply_id => m_reply_id,:show_name => show_name} %>
|
<%= render :partial => "words/new_respond", :locals => {:journal => journal, :m_reply_id => m_reply_id,:show_name => show_name, :show_real_name => show_real_name} %>
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
<div style="clear: both;"></div>
|
<div style="clear: both;"></div>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
|
<% show_real_name ||= false%>
|
||||||
<%= form_tag(words_create_reply_path, :remote => true) do %>
|
<%= form_tag(words_create_reply_path(:show_real_name=>show_real_name), :remote => true) do %>
|
||||||
<%= text_area_tag 'user_notes', "", :class => 'noline',
|
<%= text_area_tag 'user_notes', "", :class => 'noline',
|
||||||
:style => "resize: none;", :rows => 4,
|
:style => "resize: none;", :rows => 4,
|
||||||
:placeholder => l(:label_projects_feedback_respond_content),
|
:placeholder => l(:label_projects_feedback_respond_content),
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<% if @save_succ %>
|
<% if @save_succ %>
|
||||||
var pre_append = $('<%= j(
|
var pre_append = $('<%= j(
|
||||||
render :partial => "words/journal_reply_items",
|
render :partial => "words/journal_reply_items",
|
||||||
:locals => {:reply => @jfm, :journal => @jfm.parent, :m_reply_id => @jfm,:show_name => @show_name}
|
:locals => {:reply => @jfm, :journal => @jfm.parent, :m_reply_id => @jfm,:show_name => @show_name, :show_real_name=>@show_real_name}
|
||||||
) %>').hide();
|
) %>').hide();
|
||||||
$('#journal_reply_ul_<%=@jfm.m_parent_id%>').append(pre_append);
|
$('#journal_reply_ul_<%=@jfm.m_parent_id%>').append(pre_append);
|
||||||
pre_append.fadeIn(600);
|
pre_append.fadeIn(600);
|
||||||
|
|
|
@ -256,6 +256,8 @@ course_domain:
|
||||||
default: course.trustie.net
|
default: course.trustie.net
|
||||||
repository_domain:
|
repository_domain:
|
||||||
default: repository.trustie.net
|
default: repository.trustie.net
|
||||||
|
please_chose:
|
||||||
|
default: 请选择
|
||||||
plugin_redmine_ckeditor:
|
plugin_redmine_ckeditor:
|
||||||
serialized: true
|
serialized: true
|
||||||
default: --- !ruby/hash:ActiveSupport::HashWithIndifferentAccess
|
default: --- !ruby/hash:ActiveSupport::HashWithIndifferentAccess
|
||||||
|
|
|
@ -2894,4 +2894,26 @@ div.repos_explain{
|
||||||
#membership_project_id option
|
#membership_project_id option
|
||||||
{
|
{
|
||||||
width: 190px;
|
width: 190px;
|
||||||
|
}
|
||||||
|
|
||||||
|
input[class~='ButtonClolr'],.ButtonColor{
|
||||||
|
|
||||||
|
color: #fffbff !important;
|
||||||
|
padding: 5px;
|
||||||
|
width: auto;
|
||||||
|
height: 24px ;
|
||||||
|
font-family: '微软雅黑',Arial,Helvetica,sans-serif;
|
||||||
|
font-size: 15px;
|
||||||
|
text-align: center;
|
||||||
|
background: #15bccf !important;
|
||||||
|
border: 0px solid #15bccf ;
|
||||||
|
display:inline-block
|
||||||
|
}
|
||||||
|
|
||||||
|
input[class~='m3p10'], .m3p10 {
|
||||||
|
margin: 0;
|
||||||
|
padding: 3px 10px !important;
|
||||||
|
height: 20px;
|
||||||
|
display: inline-block;
|
||||||
|
color: #ffffff;
|
||||||
}
|
}
|
|
@ -55,7 +55,7 @@ ul.wlist{ float:right; border-bottom:none; height:30px; margin-top:20px;line-hei
|
||||||
.c_grey{ color:#999; font-weight:normal;}
|
.c_grey{ color:#999; font-weight:normal;}
|
||||||
.dis ul li.wname02 a{ width:200px; font-size:14px; color:#595959; padding:20px 0 0 15px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;}
|
.dis ul li.wname02 a{ width:200px; font-size:14px; color:#595959; padding:20px 0 0 15px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;}
|
||||||
.dis ul li.wmine{ margin:12px 0 0 10px;}
|
.dis ul li.wmine{ margin:12px 0 0 10px;}
|
||||||
.dis ul li.wmine a{ color:#3d7ec2; text-align:center; width:50px; font-weight: bold;}
|
.dis ul li.wmine a{ color:#3d7ec2; text-align:center; width:50px; font-weight: bold;line-height: 1.9;}
|
||||||
.wzan{ margin:15px 0 0 25px; width:32px; height:44px;}
|
.wzan{ margin:15px 0 0 25px; width:32px; height:44px;}
|
||||||
.wzan a{ display: block;text-align: center;}
|
.wzan a{ display: block;text-align: center;}
|
||||||
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;}
|
||||||
|
|
|
@ -474,20 +474,6 @@ body {
|
||||||
position: relative;
|
position: relative;
|
||||||
top: 1px;
|
top: 1px;
|
||||||
}
|
}
|
||||||
input[class~='ButtonClolr'],.ButtonColor{
|
|
||||||
|
|
||||||
color: #fffbff !important;
|
|
||||||
padding: 5px;
|
|
||||||
width: auto;
|
|
||||||
height: 24px ;
|
|
||||||
font-family: '微软雅黑',Arial,Helvetica,sans-serif;
|
|
||||||
font-size: 15px;
|
|
||||||
text-align: center;
|
|
||||||
background: #15bccf !important;
|
|
||||||
border: 0px solid #15bccf ;
|
|
||||||
display:inline-block
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
input[class~='whiteButton'], .whiteButton {
|
input[class~='whiteButton'], .whiteButton {
|
||||||
-moz-box-shadow: inset 0px 1px 0px 0px #ffffff;
|
-moz-box-shadow: inset 0px 1px 0px 0px #ffffff;
|
||||||
|
@ -537,14 +523,6 @@ input[class~='whiteButton']:active, .whiteButton:active {
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
}
|
}
|
||||||
|
|
||||||
input[class~='m3p10'], .m3p10 {
|
|
||||||
margin: 0;
|
|
||||||
padding: 3px 10px !important;
|
|
||||||
height: 20px;
|
|
||||||
display: inline-block;
|
|
||||||
color: #ffffff;
|
|
||||||
}
|
|
||||||
|
|
||||||
input[class~='h30'], .h30 {
|
input[class~='h30'], .h30 {
|
||||||
height: 30px;
|
height: 30px;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue