parent
a8cef78ccc
commit
77a8c18a77
|
@ -15,7 +15,7 @@
|
||||||
研制团队认为MOORE的创新人才培养模式(如图1左图)是将互联网大规模协同机理与高校创新实践活动相结合的全新人才培养方法和模式,研制团队并基于本平台的架构形成了对MOORE核心机理的三方面认识(如图1右图)。
|
研制团队认为MOORE的创新人才培养模式(如图1左图)是将互联网大规模协同机理与高校创新实践活动相结合的全新人才培养方法和模式,研制团队并基于本平台的架构形成了对MOORE核心机理的三方面认识(如图1右图)。
|
||||||
</p>
|
</p>
|
||||||
<div class="AgreementImg" >
|
<div class="AgreementImg" >
|
||||||
<img src="images/aboutus_01.jpg" width="820" height="285" />
|
<img src="images/aboutus_01.jpg" width="619" height="215" />
|
||||||
<p class="AgreementTxt T_C fb mt10">图1 基于MOORE的创新人才培养模式与核心机理</p>
|
<p class="AgreementTxt T_C fb mt10">图1 基于MOORE的创新人才培养模式与核心机理</p>
|
||||||
</div>
|
</div>
|
||||||
<p class="AgreementTxt">
|
<p class="AgreementTxt">
|
||||||
|
@ -25,7 +25,7 @@
|
||||||
特别是,根据师生的实际需要,Trustie平台提供了私有模式和公开模式,支持针对未公开成果实施有效知识产权保护为前提的交流分享(如图2)。随着越来越多的高校、课程和研究小组的加入,MOORE创新实践模式的生态效益将不断显现出来。
|
特别是,根据师生的实际需要,Trustie平台提供了私有模式和公开模式,支持针对未公开成果实施有效知识产权保护为前提的交流分享(如图2)。随着越来越多的高校、课程和研究小组的加入,MOORE创新实践模式的生态效益将不断显现出来。
|
||||||
</p>
|
</p>
|
||||||
<div class="AgreementImg" >
|
<div class="AgreementImg" >
|
||||||
<img src="images/aboutus_02.jpg" width="756" height="496" />
|
<img src="images/aboutus_02.jpg" width="616" height="405" />
|
||||||
<p class="AgreementTxt T_C fb mt10">图2 基于MOORE的支撑平台和生态系统</p>
|
<p class="AgreementTxt T_C fb mt10">图2 基于MOORE的支撑平台和生态系统</p>
|
||||||
</div>
|
</div>
|
||||||
<p class="AgreementTxt">
|
<p class="AgreementTxt">
|
||||||
|
|
|
@ -187,7 +187,7 @@
|
||||||
<div class="loginContent">
|
<div class="loginContent">
|
||||||
<div class="loginLeft">
|
<div class="loginLeft">
|
||||||
<div class="loginLogo"><img src="images/trustie_big_log.png" width="100" height="88" alt="Trustie Logo" /></div>
|
<div class="loginLogo"><img src="images/trustie_big_log.png" width="100" height="88" alt="Trustie Logo" /></div>
|
||||||
<div class="loginInro">欢迎加入Trustie高校创新实践社区!老师、学生和科研人员可以在此开展各种在线协同学习、协同作业、协同开发等活动。Trustie是在中国推行大规模开放在线研究模式(MOORE)的支撑平台。</div>
|
<div class="loginInro"> 欢迎加入Trustie高校创新实践社区!老师、学生和科研人员可以在此开展各种在线协同学习、协同作业、协同开发等活动。<br/><br/> Trustie是在中国推行大规模开放在线研究模式(MOORE)的支撑平台。</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="loginRight">
|
<div class="loginRight">
|
||||||
<div id="loginInBox">
|
<div id="loginInBox">
|
||||||
|
|
|
@ -24,7 +24,6 @@
|
||||||
发帖时间:<%= format_time(activity.created_on) %>
|
发帖时间:<%= format_time(activity.created_on) %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="homepagePostIntro break_word upload_img" id="activity_description_<%= user_activity_id%>">
|
<div class="homepagePostIntro break_word upload_img" 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%>
|
||||||
|
@ -67,21 +66,6 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="homepagePostReplyInputContainer">
|
|
||||||
<div nhname='new_message_<%= user_activity_id%>' style="display:none;">
|
|
||||||
<%= form_for('new_form',:url => {:controller=>'messages',:action => 'reply', :id => activity.id, :board_id => activity.board_id, :is_board => 'true'},:method => "post", :remote => true) do |f|%>
|
|
||||||
<input type="hidden" name="quote[quote]" value="">
|
|
||||||
<input type="hidden" name="user_activity_id" value="<%=user_activity_id%>">
|
|
||||||
<textarea placeholder="有问题或有建议,请直接给我留言吧!" style="display: none" nhname='new_message_textarea_<%= user_activity_id%>' name="reply[content]"></textarea>
|
|
||||||
<p nhname='contentmsg_<%= user_activity_id%>'></p>
|
|
||||||
<div nhname='toolbar_container_<%= user_activity_id%>' style="float:left;padding-top:3px;"></div>
|
|
||||||
<a id="new_message_cancel_btn_<%= user_activity_id%>" href="javascript:void(0)" class="grey_n_btn fr " style="margin-top:6px;">取消</a>
|
|
||||||
<a id="new_message_submit_btn_<%= user_activity_id%>" href="javascript:void(0)" class="blue_n_btn fr mr5 " style="margin-top:6px;">发送</a>
|
|
||||||
<% end%>
|
|
||||||
</div>
|
|
||||||
<div class="cl"></div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<% activity= activity.parent ? activity.parent : activity%>
|
<% activity= activity.parent ? activity.parent : activity%>
|
||||||
<% replies_all_i = 0 %>
|
<% replies_all_i = 0 %>
|
||||||
<% if count > 0 %>
|
<% if count > 0 %>
|
||||||
|
@ -91,7 +75,7 @@
|
||||||
<% replies_all_i=replies_all_i+1 %>
|
<% replies_all_i=replies_all_i+1 %>
|
||||||
<li class="homepagePostReplyContainer" nhname="reply_rec" style="display:<%= replies_all_i>2 ? 'none' : '' %>">
|
<li class="homepagePostReplyContainer" nhname="reply_rec" style="display:<%= replies_all_i>2 ? 'none' : '' %>">
|
||||||
<div class="homepagePostReplyPortrait">
|
<div class="homepagePostReplyPortrait">
|
||||||
<%= link_to image_tag(url_to_avatar(reply.author), :width => "45", :height => "45"), user_path(reply.author_id), :alt => "用户头像" %>
|
<%= link_to image_tag(url_to_avatar(reply.author), :width => "33", :height => "33"), user_path(reply.author_id), :alt => "用户头像" %>
|
||||||
</div>
|
</div>
|
||||||
<div class="homepagePostReplyDes">
|
<div class="homepagePostReplyDes">
|
||||||
<div class="homepagePostReplyPublisher">
|
<div class="homepagePostReplyPublisher">
|
||||||
|
@ -112,5 +96,25 @@
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
|
<div class="homepagePostReplyContainer borderBottomNone">
|
||||||
|
<div class="homepagePostReplyPortrait mr15"><%= link_to image_tag(url_to_avatar(activity.author), :width => "33", :height => "33"), user_path(activity.author_id), :alt => "用户头像" %></div>
|
||||||
|
<div class="homepagePostReplyInputContainer">
|
||||||
|
<div nhname='new_message_<%= user_activity_id%>' style="display:none;">
|
||||||
|
<%= form_for('new_form',:url => {:controller=>'messages',:action => 'reply', :id => activity.id, :board_id => activity.board_id, :is_board => 'true'},:method => "post", :remote => true) do |f|%>
|
||||||
|
<input type="hidden" name="quote[quote]" value="">
|
||||||
|
<input type="hidden" name="user_activity_id" value="<%=user_activity_id%>">
|
||||||
|
<textarea placeholder="有问题或有建议,请直接给我留言吧!" style="display: none" nhname='new_message_textarea_<%= user_activity_id%>' name="reply[content]"></textarea>
|
||||||
|
<a id="new_message_submit_btn_<%= user_activity_id%>" href="javascript:void(0)" class="blue_n_btn fr" style="margin-top:6px;">发送</a>
|
||||||
|
<div nhname='toolbar_container_<%= user_activity_id%>' style="float:left; margin-left: 5px; padding-top:3px;"></div>
|
||||||
|
<div class="cl"></div>
|
||||||
|
<p nhname='contentmsg_<%= user_activity_id%>'></p>
|
||||||
|
<% end%>
|
||||||
|
<div class="cl"></div>
|
||||||
|
</div>
|
||||||
|
<div class="cl"></div>
|
||||||
|
</div>
|
||||||
|
<div class="cl"></div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -40,20 +40,6 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="homepagePostReplyInputContainer">
|
|
||||||
<div nhname='new_message_<%= user_activity_id%>' style="display:none;">
|
|
||||||
<%= form_for('new_form',:url => {:controller => 'comments', :action => 'create', :id => activity},:method => "post", :remote => true) do |f|%>
|
|
||||||
<input type="hidden" name="user_activity_id" value="<%=user_activity_id%>">
|
|
||||||
<textarea placeholder="有问题或有建议,请直接给我留言吧!" style="display: none" nhname='new_message_textarea_<%= user_activity_id%>' name="comment"></textarea>
|
|
||||||
<p nhname='contentmsg_<%= user_activity_id%>'></p>
|
|
||||||
<div nhname='toolbar_container_<%= user_activity_id%>' style="float:left;padding-top:3px;"></div>
|
|
||||||
<a id="new_message_cancel_btn_<%= user_activity_id%>" href="javascript:void(0)" class="grey_n_btn fr " style="margin-top:6px;">取消</a>
|
|
||||||
<a id="new_message_submit_btn_<%= user_activity_id%>" href="javascript:void(0)" class="blue_n_btn fr mr5 " style="margin-top:6px;">发送</a>
|
|
||||||
<% end%>
|
|
||||||
</div>
|
|
||||||
<div class="cl"></div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<% replies_all_i = 0 %>
|
<% replies_all_i = 0 %>
|
||||||
<% if count > 0 %>
|
<% if count > 0 %>
|
||||||
<div class="" id="reply_div_<%= user_activity_id %>">
|
<div class="" id="reply_div_<%= user_activity_id %>">
|
||||||
|
@ -62,7 +48,7 @@
|
||||||
<% replies_all_i = replies_all_i + 1 %>
|
<% replies_all_i = replies_all_i + 1 %>
|
||||||
<li class="homepagePostReplyContainer" nhname="reply_rec" style="display:<%= replies_all_i > 2 ? 'none' : '' %>">
|
<li class="homepagePostReplyContainer" nhname="reply_rec" style="display:<%= replies_all_i > 2 ? 'none' : '' %>">
|
||||||
<div class="homepagePostReplyPortrait">
|
<div class="homepagePostReplyPortrait">
|
||||||
<%= link_to image_tag(url_to_avatar(comment.author), :width => "45", :height => "45"), user_path(comment.author_id), :alt => "用户头像" %>
|
<%= link_to image_tag(url_to_avatar(comment.author), :width => "33", :height => "33"), user_path(comment.author_id), :alt => "用户头像" %>
|
||||||
</div>
|
</div>
|
||||||
<div class="homepagePostReplyDes">
|
<div class="homepagePostReplyDes">
|
||||||
<div class="homepagePostReplyPublisher">
|
<div class="homepagePostReplyPublisher">
|
||||||
|
@ -81,5 +67,21 @@
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
|
<div class="homepagePostReplyContainer borderBottomNone">
|
||||||
|
<div class="homepagePostReplyPortrait mr15"><%= link_to image_tag(url_to_avatar(activity.author), :width => "33", :height => "33"), user_path(activity.author_id), :alt => "用户头像" %></div>
|
||||||
|
<div class="homepagePostReplyInputContainer">
|
||||||
|
<div nhname='new_message_<%= user_activity_id%>' style="display:none;">
|
||||||
|
<%= form_for('new_form',:url => {:controller => 'comments', :action => 'create', :id => activity},:method => "post", :remote => true) do |f|%>
|
||||||
|
<input type="hidden" name="user_activity_id" value="<%=user_activity_id%>">
|
||||||
|
<textarea placeholder="有问题或有建议,请直接给我留言吧!" style="display: none" nhname='new_message_textarea_<%= user_activity_id%>' name="comment"></textarea>
|
||||||
|
<div nhname='toolbar_container_<%= user_activity_id%>' style="float:left;padding-top:3px; margin-left: 5px;"></div>
|
||||||
|
<a id="new_message_submit_btn_<%= user_activity_id%>" href="javascript:void(0)" class="blue_n_btn fr" style="margin-top:6px;">发送</a>
|
||||||
|
<p nhname='contentmsg_<%= user_activity_id%>'></p>
|
||||||
|
<% end%>
|
||||||
|
</div>
|
||||||
|
<div class="cl"></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
|
@ -78,20 +78,6 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="homepagePostReplyInputContainer">
|
|
||||||
<div nhname='new_message_<%= user_activity_id%>' style="display:none;">
|
|
||||||
<%= form_for('new_form',:url => add_journal_issue_path(activity.id),:method => "post", :remote => true) do |f|%>
|
|
||||||
<input type="hidden" name="user_activity_id" value="<%=user_activity_id%>">
|
|
||||||
<textarea placeholder="有问题或有建议,请直接给我留言吧!" style="display: none" nhname='new_message_textarea_<%= user_activity_id%>' name="notes"></textarea>
|
|
||||||
<p nhname='contentmsg_<%= user_activity_id%>'></p>
|
|
||||||
<div nhname='toolbar_container_<%= user_activity_id%>' style="float:left;padding-top:3px;"></div>
|
|
||||||
<a id="new_message_cancel_btn_<%= user_activity_id%>" href="javascript:void(0)" class="grey_n_btn fr " style="margin-top:6px;">取消</a>
|
|
||||||
<a id="new_message_submit_btn_<%= user_activity_id%>" href="javascript:void(0)" class="blue_n_btn fr mr5 " style="margin-top:6px;">发送</a>
|
|
||||||
<% end%>
|
|
||||||
</div>
|
|
||||||
<div class="cl"></div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<% replies_all_i = 0 %>
|
<% replies_all_i = 0 %>
|
||||||
<% if count > 0 %>
|
<% if count > 0 %>
|
||||||
<div class="" id="reply_div_<%= user_activity_id %>">
|
<div class="" id="reply_div_<%= user_activity_id %>">
|
||||||
|
@ -100,7 +86,7 @@
|
||||||
<% replies_all_i=replies_all_i + 1 %>
|
<% replies_all_i=replies_all_i + 1 %>
|
||||||
<li class="homepagePostReplyContainer" nhname="reply_rec" style="display:<%= replies_all_i>2 ? 'none' : '' %>">
|
<li class="homepagePostReplyContainer" nhname="reply_rec" style="display:<%= replies_all_i>2 ? 'none' : '' %>">
|
||||||
<div class="homepagePostReplyPortrait">
|
<div class="homepagePostReplyPortrait">
|
||||||
<%= link_to image_tag(url_to_avatar(reply.user), :width => "45", :height => "45"), user_path(reply.user_id), :alt => "用户头像" %>
|
<%= link_to image_tag(url_to_avatar(reply.user), :width => "33", :height => "33"), user_path(reply.user_id), :alt => "用户头像" %>
|
||||||
</div>
|
</div>
|
||||||
<div class="homepagePostReplyDes">
|
<div class="homepagePostReplyDes">
|
||||||
<div class="homepagePostReplyPublisher">
|
<div class="homepagePostReplyPublisher">
|
||||||
|
@ -129,6 +115,23 @@
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
|
<div class="homepagePostReplyContainer borderBottomNone">
|
||||||
|
<div class="homepagePostReplyPortrait mr15"><%= link_to image_tag(url_to_avatar(activity.author), :width => "33", :height => "33"), user_path(activity.author_id), :alt => "用户头像" %></div>
|
||||||
|
<div class="homepagePostReplyInputContainer">
|
||||||
|
<div nhname='new_message_<%= user_activity_id%>' style="display:none;">
|
||||||
|
<%= form_for('new_form',:url => add_journal_issue_path(activity.id),:method => "post", :remote => true) do |f|%>
|
||||||
|
<input type="hidden" name="user_activity_id" value="<%=user_activity_id%>">
|
||||||
|
<textarea placeholder="有问题或有建议,请直接给我留言吧!" style="display: none" nhname='new_message_textarea_<%= user_activity_id%>' name="notes"></textarea>
|
||||||
|
<div nhname='toolbar_container_<%= user_activity_id%>' style="float:left;padding-top:3px; margin-left: 5px;"></div>
|
||||||
|
<a id="new_message_submit_btn_<%= user_activity_id%>" href="javascript:void(0)" class="blue_n_btn fr" style="margin-top:6px;">发送</a>
|
||||||
|
<p nhname='contentmsg_<%= user_activity_id%>'></p>
|
||||||
|
<% end%>
|
||||||
|
</div>
|
||||||
|
<div class="cl"></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
|
|
@ -53,21 +53,6 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="homepagePostReplyInputContainer">
|
|
||||||
<div nhname='new_message_<%= user_activity_id%>' style="display:none;">
|
|
||||||
<%= form_for('new_form',:url => {:controller=>'messages',:action => 'reply', :id => activity.id, :board_id => activity.board_id, :is_board => 'true'},:method => "post", :remote => true) do |f|%>
|
|
||||||
<input type="hidden" name="quote[quote]" value="">
|
|
||||||
<input type="hidden" name="user_activity_id" value="<%=user_activity_id%>">
|
|
||||||
<textarea placeholder="有问题或有建议,请直接给我留言吧!" style="display: none" nhname='new_message_textarea_<%= user_activity_id%>' name="reply[content]"></textarea>
|
|
||||||
<p nhname='contentmsg_<%= user_activity_id%>'></p>
|
|
||||||
<div nhname='toolbar_container_<%= user_activity_id%>' style="float:left;padding-top:3px;"></div>
|
|
||||||
<a id="new_message_cancel_btn_<%= user_activity_id%>" href="javascript:void(0)" class="grey_n_btn fr " style="margin-top:6px;">取消</a>
|
|
||||||
<a id="new_message_submit_btn_<%= user_activity_id%>" href="javascript:void(0)" class="blue_n_btn fr mr5 " style="margin-top:6px;">发送</a>
|
|
||||||
<% end%>
|
|
||||||
</div>
|
|
||||||
<div class="cl"></div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<% activity= activity.parent_id.nil? ? activity : activity.parent %>
|
<% activity= activity.parent_id.nil? ? activity : activity.parent %>
|
||||||
<% replies_all_i = 0 %>
|
<% replies_all_i = 0 %>
|
||||||
<% if count > 0 %>
|
<% if count > 0 %>
|
||||||
|
@ -77,7 +62,7 @@
|
||||||
<% replies_all_i=replies_all_i+1 %>
|
<% replies_all_i=replies_all_i+1 %>
|
||||||
<li class="homepagePostReplyContainer" nhname="reply_rec" style="display:<%= replies_all_i>2 ? 'none' : '' %>">
|
<li class="homepagePostReplyContainer" nhname="reply_rec" style="display:<%= replies_all_i>2 ? 'none' : '' %>">
|
||||||
<div class="homepagePostReplyPortrait">
|
<div class="homepagePostReplyPortrait">
|
||||||
<%= link_to image_tag(url_to_avatar(reply.author), :width => "45", :height => "45"), user_path(reply.author_id), :alt => "用户头像" %>
|
<%= link_to image_tag(url_to_avatar(reply.author), :width => "33", :height => "33"), user_path(reply.author_id), :alt => "用户头像" %>
|
||||||
</div>
|
</div>
|
||||||
<div class="homepagePostReplyDes">
|
<div class="homepagePostReplyDes">
|
||||||
<div class="homepagePostReplyPublisher">
|
<div class="homepagePostReplyPublisher">
|
||||||
|
@ -96,5 +81,24 @@
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
|
<div class="homepagePostReplyContainer borderBottomNone">
|
||||||
|
<div class="homepagePostReplyPortrait mr15"><%= link_to image_tag(url_to_avatar(activity.author), :width => "33", :height => "33"), user_path(activity.author_id), :alt => "用户头像" %></div>
|
||||||
|
<div class="homepagePostReplyInputContainer">
|
||||||
|
<div nhname='new_message_<%= user_activity_id%>' style="display:none;">
|
||||||
|
<%= form_for('new_form',:url => {:controller=>'messages',:action => 'reply', :id => activity.id, :board_id => activity.board_id, :is_board => 'true'},:method => "post", :remote => true) do |f|%>
|
||||||
|
<input type="hidden" name="quote[quote]" value="">
|
||||||
|
<input type="hidden" name="user_activity_id" value="<%=user_activity_id%>">
|
||||||
|
<textarea placeholder="有问题或有建议,请直接给我留言吧!" style="display: none" nhname='new_message_textarea_<%= user_activity_id%>' name="reply[content]"></textarea>
|
||||||
|
<div nhname='toolbar_container_<%= user_activity_id%>' style="float:left;padding-top:3px; margin-left: 5px;"></div>
|
||||||
|
<a id="new_message_submit_btn_<%= user_activity_id%>" href="javascript:void(0)" class="blue_n_btn fr" style="margin-top:6px;">发送</a>
|
||||||
|
<p nhname='contentmsg_<%= user_activity_id%>'></p>
|
||||||
|
<% end%>
|
||||||
|
</div>
|
||||||
|
<div class="cl"></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
|
@ -9,6 +9,7 @@
|
||||||
span.ke-icon-emoticons:hover{background-position:-79px -671px;width:50px;height:26px;}
|
span.ke-icon-emoticons:hover{background-position:-79px -671px;width:50px;height:26px;}
|
||||||
div.ke-toolbar .ke-outline{border:none;}
|
div.ke-toolbar .ke-outline{border:none;}
|
||||||
.ke-inline-block{display: none;}
|
.ke-inline-block{display: none;}
|
||||||
|
div.ke-container{float:left;}
|
||||||
</style>
|
</style>
|
||||||
<% user_activities.each do |user_activity|
|
<% user_activities.each do |user_activity|
|
||||||
if user_activities %>
|
if user_activities %>
|
||||||
|
@ -30,7 +31,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
$(function() {
|
$(function() {
|
||||||
init_KindEditor_data(<%= user_activity.id%>);
|
init_KindEditor_data(<%= user_activity.id%>,"30px","85%");
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
<% act= user_activity.act unless user_activity.act_type == "ProjectCreateInfo" %>
|
<% act= user_activity.act unless user_activity.act_type == "ProjectCreateInfo" %>
|
||||||
|
|
|
@ -1,9 +1,10 @@
|
||||||
function init_editor(params){
|
function init_editor(params){
|
||||||
// var minHeight; //最小高度
|
// var minHeight; //最小高度
|
||||||
var paramsHeight = params.height; //设定的高度
|
var paramsHeight = params.height; //设定的高度
|
||||||
|
var paramsWidth = params.width == undefined ? "100%" : params.width;
|
||||||
|
|
||||||
var editor = params.kindutil.create(params.textarea, {
|
var editor = params.kindutil.create(params.textarea, {
|
||||||
resizeType : 1,minWidth:"1px",width:"100%",
|
resizeType : 1,minWidth:"1px",width:paramsWidth,
|
||||||
height:"30px",// == undefined ? "30px":paramsHeight+"px",
|
height:"30px",// == undefined ? "30px":paramsHeight+"px",
|
||||||
minHeight:"30px",// == undefined ? "30px":paramsHeight+"px",
|
minHeight:"30px",// == undefined ? "30px":paramsHeight+"px",
|
||||||
items:['emoticons'],
|
items:['emoticons'],
|
||||||
|
@ -16,6 +17,7 @@ function init_editor(params){
|
||||||
},
|
},
|
||||||
afterCreate:function(){
|
afterCreate:function(){
|
||||||
var toolbar = $("div[class='ke-toolbar']",params.div_form);
|
var toolbar = $("div[class='ke-toolbar']",params.div_form);
|
||||||
|
toolbar.css('width',24);
|
||||||
$(".ke-outline>.ke-toolbar-icon",toolbar).append('表情');
|
$(".ke-outline>.ke-toolbar-icon",toolbar).append('表情');
|
||||||
params.toolbar_container.append(toolbar);
|
params.toolbar_container.append(toolbar);
|
||||||
//init
|
//init
|
||||||
|
@ -90,6 +92,7 @@ function nh_reset_form(params){
|
||||||
//第二个参数是高度,可以传,可以不传
|
//第二个参数是高度,可以传,可以不传
|
||||||
function init_KindEditor_data(id){
|
function init_KindEditor_data(id){
|
||||||
var height = arguments[1] ? arguments[1] : undefined;
|
var height = arguments[1] ? arguments[1] : undefined;
|
||||||
|
var width = arguments[2] ? arguments[2] : undefined;
|
||||||
KindEditor.ready(function (K) {
|
KindEditor.ready(function (K) {
|
||||||
$("div[nhname='new_message_" + id + "']").each(function () {
|
$("div[nhname='new_message_" + id + "']").each(function () {
|
||||||
var params = {};
|
var params = {};
|
||||||
|
@ -105,6 +108,7 @@ function init_KindEditor_data(id){
|
||||||
params.cancel_btn = $("#new_message_cancel_btn_" + id);
|
params.cancel_btn = $("#new_message_cancel_btn_" + id);
|
||||||
params.submit_btn = $("#new_message_submit_btn_" + id);
|
params.submit_btn = $("#new_message_submit_btn_" + id);
|
||||||
params.height = height;
|
params.height = height;
|
||||||
|
params.width = width;
|
||||||
if (params.textarea.data('init') == undefined) {
|
if (params.textarea.data('init') == undefined) {
|
||||||
params.editor = init_editor(params);
|
params.editor = init_editor(params);
|
||||||
init_form(params);
|
init_form(params);
|
||||||
|
|
|
@ -562,7 +562,7 @@ a.postTypeGrey:hover {color:#269ac9;}
|
||||||
.homepagePostReplyBannerCount{width:255px; display:inline-block; margin-left:20px;}
|
.homepagePostReplyBannerCount{width:255px; display:inline-block; margin-left:20px;}
|
||||||
.homepagePostReplyBannerTime{width:85px; display:inline-block;}
|
.homepagePostReplyBannerTime{width:85px; display:inline-block;}
|
||||||
.homepagePostReplyBannerMore{width:330px; display:inline-block; text-align:right;}
|
.homepagePostReplyBannerMore{width:330px; display:inline-block; text-align:right;}
|
||||||
.homepagePostReplyInputContainer {width:680px; margin: 10px auto 0 auto;}
|
.homepagePostReplyInputContainer {width:630px; float:left;}
|
||||||
.homepagePostReplyInput {width:663px; height:45px; max-width:663px; max-height:45px; border:1px solid #d9d9d9; outline:none; margin:20px auto 10px auto;}
|
.homepagePostReplyInput {width:663px; height:45px; max-width:663px; max-height:45px; border:1px solid #d9d9d9; outline:none; margin:20px auto 10px auto;}
|
||||||
.homepagePostReplyEmotion {background:url(../images/homepage_icon.png) -90px -88px no-repeat; width:50px; height:24px; float:left; padding-left:30px;}
|
.homepagePostReplyEmotion {background:url(../images/homepage_icon.png) -90px -88px no-repeat; width:50px; height:24px; float:left; padding-left:30px;}
|
||||||
.homepagePostReplySubmit {float:right; width:45px; height:24px; text-align:center; line-height:24px; vertical-align:middle; font-size:12px; color:#ffffff; background-color:#269ac9;}
|
.homepagePostReplySubmit {float:right; width:45px; height:24px; text-align:center; line-height:24px; vertical-align:middle; font-size:12px; color:#ffffff; background-color:#269ac9;}
|
||||||
|
@ -582,7 +582,7 @@ a.postReplyCancel:hover {color:#ffffff;}
|
||||||
.homepagePostSettingIcon:hover {background:url(../images/homepage_icon.png) -93px -44px no-repeat;}
|
.homepagePostSettingIcon:hover {background:url(../images/homepage_icon.png) -93px -44px no-repeat;}
|
||||||
a.postOptionLink {color:#616060; display:block; width:55px; padding:0px 15px;}
|
a.postOptionLink {color:#616060; display:block; width:55px; padding:0px 15px;}
|
||||||
a.postOptionLink:hover {color:#ffffff; background-color:#269ac9;}
|
a.postOptionLink:hover {color:#ffffff; background-color:#269ac9;}
|
||||||
.homepagePostReplyPortrait {float:left; width:45px;}
|
.homepagePostReplyPortrait {float:left; width:33px;}
|
||||||
.homepagePostReplyDes {float:left; width:620px; margin-left:15px;}
|
.homepagePostReplyDes {float:left; width:620px; margin-left:15px;}
|
||||||
.homepagePostReplyPublisher {font-size:12px; color:#888888; margin-bottom:5px;}
|
.homepagePostReplyPublisher {font-size:12px; color:#888888; margin-bottom:5px;}
|
||||||
.homepagePostReplyContent {font-size:12px; color:#484848; margin-bottom:12px;}
|
.homepagePostReplyContent {font-size:12px; color:#484848; margin-bottom:12px;}
|
||||||
|
@ -665,16 +665,18 @@ a.referenceTypeBlock {color:#888888; display:inline-block; padding:0px 20px;}
|
||||||
|
|
||||||
|
|
||||||
/*20150826忘记密码 LB*/
|
/*20150826忘记密码 LB*/
|
||||||
.BgBox{ width:968px; border:1px solid #dddddd; background:#fff; padding:15px; padding-top:10px;margin: 10px auto 20px auto;}
|
.BgBox{ width:968px; border:1px solid #dddddd; background:#fff; padding:15px; padding-top:10px; margin:20px auto;}
|
||||||
.BgBox_h2{ font-size:16px; color:#484848; width:968px;border-bottom:1px solid #e3e3e3; padding-bottom:5px;}
|
.BgBox_h2{ font-size:16px; color:#484848; width:968px;border-bottom:1px solid #e3e3e3; padding-bottom:5px;}
|
||||||
.NomalInput{width:308px; height:38px; border:1px solid #98a1a6 !important; outline:none; color:#888888; font-size:14px;}
|
.NomalInput{width:308px; height:38px; border:1px solid #98a1a6; outline:none; color:#888888; font-size:14px;}
|
||||||
.BgBoxCon{ width:310px; margin:80px auto;}
|
.BgBoxCon{ width:310px; margin:140px auto 520px;}
|
||||||
.BgBoxConP{ font-size:14px; color:#484848;}
|
.BgBoxConP{ font-size:14px; color:#484848;}
|
||||||
.LoginButton {width:315px; height:40px; background-color:#269ac9; font-size:14px; text-align:center; line-height:40px; vertical-align:middle;}
|
.LoginButton {width:315px; height:40px; background-color:#269ac9; font-size:14px; text-align:center; line-height:40px; vertical-align:middle;}
|
||||||
.LoginButton:hover {background-color:#297fb8;}
|
.LoginButton:hover {background-color:#297fb8;}
|
||||||
/*20150826协议 LB*/
|
/*20150826协议 LB*/
|
||||||
.AgreementBox{ margin:20px 0; color:#666666; font-size:14px; line-height:1.9;}
|
.AgreementBox{ margin:20px 0; color:#666666; font-size:14px; line-height:1.9;}
|
||||||
.Agreementh4{ color:#2980b9; font-weight:bold; font-size:14px; margin-top:30px; border: none;}
|
.Agreementh4{ color:#2980b9; font-weight:bold; font-size:14px; margin-top:30px;}
|
||||||
|
.AgreementTxt{text-indent:2em; margin-bottom:15px;}
|
||||||
|
.AgreementImg{ margin:0px auto; width:619px;}
|
||||||
|
|
||||||
/*底部*/
|
/*底部*/
|
||||||
#Footer{background-color:#ffffff; padding-bottom:15px; color:#666666;} /*margin-bottom:10px;*/
|
#Footer{background-color:#ffffff; padding-bottom:15px; color:#666666;} /*margin-bottom:10px;*/
|
||||||
|
|
Loading…
Reference in New Issue