2015-09-01 10:43:30 +08:00
|
|
|
<%= javascript_include_tag "/assets/kindeditor/kindeditor",'/assets/kindeditor/pasteimg',"init_KindEditor","user" %>
|
2015-09-01 14:18:44 +08:00
|
|
|
<style type="text/css">
|
|
|
|
/*回复框*/
|
|
|
|
div.ke-toolbar{display:none;width:400px;border:none;background:none;padding:0px 0px;}
|
|
|
|
span.ke-toolbar-icon{line-height:26px;font-size:14px;padding-left:26px;}
|
|
|
|
span.ke-toolbar-icon-url{background-image:url( /images/public_icon.png )}
|
|
|
|
div.ke-toolbar .ke-outline{padding:0px 0px;line-height:26px;font-size:14px;}
|
|
|
|
span.ke-icon-emoticons{background-position:0px -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;}
|
|
|
|
</style>
|
2015-08-28 17:27:51 +08:00
|
|
|
<div >
|
|
|
|
<div class="resources mb10">
|
|
|
|
<div class="homepageRightBanner">
|
|
|
|
<div class="NewsBannerName">留言</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
|
|
|
<div class="message_box mb10" id="users_setting">
|
2015-07-29 17:41:10 +08:00
|
|
|
<div nhname='new_message' style="display:none;">
|
2015-07-29 18:26:04 +08:00
|
|
|
<%= form_for('new_form',:url => leave_user_message_path(@user.id),:method => "post") do |f|%>
|
|
|
|
<textarea placeholder="有问题或有建议,请直接给我留言吧!" nhname='new_message_textarea' name="new_form[user_message]"></textarea>
|
|
|
|
<p nhname='contentmsg'></p>
|
|
|
|
<div nhname='toolbar_container' style="float:left;padding-top:3px;"></div>
|
2015-09-01 17:31:44 +08:00
|
|
|
<a id="new_message_cancel_btn" href="javascript:void(0)" class="grey_n_btn fr " style="margin-top:6px;">取消</a>
|
|
|
|
<a id="new_message_submit_btn" href="javascript:void(0)" class="blue_n_btn fr mr5 " style="margin-top:6px;">留言</a>
|
2015-07-29 18:26:04 +08:00
|
|
|
<% end%>
|
2015-07-29 17:41:10 +08:00
|
|
|
</div>
|
2015-07-29 10:34:04 +08:00
|
|
|
<div class="cl"></div>
|
|
|
|
|
2015-08-28 17:27:51 +08:00
|
|
|
<div class="message_list_box " id="user_jour_list" style="padding: <%= @jour && @jour.count > 0 ? '10' : '0'%>px;">
|
2015-07-29 17:41:10 +08:00
|
|
|
<%if @jour%>
|
|
|
|
<% @jour.each do |jour|%>
|
|
|
|
<%= render :partial => 'user_jours_new', :locals => {:jour => jour} %>
|
|
|
|
<%end%>
|
|
|
|
<% end%>
|
2015-07-29 18:26:04 +08:00
|
|
|
|
|
|
|
<ul class="wlist" style=" border:none;">
|
|
|
|
<%= pagination_links_full @obj_pages, @obj_count, :per_page_links => false, :remote => false, :flag => true%>
|
|
|
|
</ul>
|
|
|
|
<div class="cl"></div>
|
2015-07-29 17:41:10 +08:00
|
|
|
</div>
|
|
|
|
<div class="cl"></div>
|
2015-07-29 10:34:04 +08:00
|
|
|
</div><!--message_box end-->
|
2015-08-26 16:06:15 +08:00
|
|
|
</div>
|