parent
898d15aa7a
commit
1dc8190aa0
|
@ -70,7 +70,7 @@
|
||||||
<div class="upload_box_" >
|
<div class="upload_box_" >
|
||||||
<h2 class="upload_box_tit">下载文件包太大,分成多个下载包</h2>
|
<h2 class="upload_box_tit">下载文件包太大,分成多个下载包</h2>
|
||||||
<ul class="upload_box_ul" >
|
<ul class="upload_box_ul" >
|
||||||
<li><span class="upload_box_span" >1.</span> <a href="#">前20名学生的作业</a><span class="c_grey"> (共200M)</span> </li>
|
<li><span class="upload_box_span" >1.</span> <a href="javascript:void(0)">前20名学生的作业</a><span class="c_grey"> (共200M)</span> </li>
|
||||||
</ul>
|
</ul>
|
||||||
<div class="cl"></div>
|
<div class="cl"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -44,7 +44,7 @@
|
||||||
<div class="cl"></div>
|
<div class="cl"></div>
|
||||||
</li>
|
</li>
|
||||||
<li class=" ml90" >
|
<li class=" ml90" >
|
||||||
<a class="blue_btn fl c_white" onclick="submit_new_bid('<%= bid_id%>');" href="#"><%= l(:button_create)%></a>
|
<a class="blue_btn fl c_white" onclick="submit_new_bid('<%= bid_id%>');" href="javascript:void(0)"><%= l(:button_create)%></a>
|
||||||
<%= link_to l(:button_cancel), homework_course_path(@course), :class => "blue_btn grey_btn fl c_white"%>
|
<%= link_to l(:button_cancel), homework_course_path(@course), :class => "blue_btn grey_btn fl c_white"%>
|
||||||
<div class="cl"></div>
|
<div class="cl"></div>
|
||||||
</li>
|
</li>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<div class="st_list">
|
<div class="st_list">
|
||||||
<div class="st_box">
|
<div class="st_box">
|
||||||
<a href="#" class="fr fb mb5" >加入时间</a>
|
<a href="javascript:void(0)" class="fr fb mb5" >加入时间</a>
|
||||||
<div class="cl"></div><!--st_box_top end-->
|
<div class="cl"></div><!--st_box_top end-->
|
||||||
|
|
||||||
<% members.each do |member| %>
|
<% members.each do |member| %>
|
||||||
|
|
|
@ -26,9 +26,9 @@
|
||||||
<li class="ml358">
|
<li class="ml358">
|
||||||
<%= link_to '作业积分', member_score_sort_course_path(:sort_by => (@score_sort_by == "desc" ? "asc" : "desc"), :group_id => (@group ? @group.id : 0),:search_name => (@search_name ? @search_name : nil)) ,:result => members,method: 'get', remote: true%>
|
<%= link_to '作业积分', member_score_sort_course_path(:sort_by => (@score_sort_by == "desc" ? "asc" : "desc"), :group_id => (@group ? @group.id : 0),:search_name => (@search_name ? @search_name : nil)) ,:result => members,method: 'get', remote: true%>
|
||||||
<% if @score_sort_by == 'desc' %>
|
<% if @score_sort_by == 'desc' %>
|
||||||
<a id="pic" href="#" class= "st_down"></a>
|
<a id="pic" href="javascript:void(0)" class= "st_down"></a>
|
||||||
<% else %>
|
<% else %>
|
||||||
<a id="pic" href="#" class= "st_up"></a>
|
<a id="pic" href="javascript:void(0)" class= "st_up"></a>
|
||||||
<% end %>
|
<% end %>
|
||||||
</li>
|
</li>
|
||||||
<li class="ml50">
|
<li class="ml50">
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<div class="st_boxlist">
|
<div class="st_boxlist">
|
||||||
<% next if member.new_record? %>
|
<% next if member.new_record? %>
|
||||||
|
|
||||||
<a href="#" class="st_img" style="float:left;"> <%= member.user.nil? ? '' : (image_tag(url_to_avatar(member.user), :width => 40, :height => 40)) %></a>
|
<a href="javascript:void(0)" class="st_img" style="float:left;"> <%= member.user.nil? ? '' : (image_tag(url_to_avatar(member.user), :width => 40, :height => 40)) %></a>
|
||||||
<ul style="margin-left: 15px">
|
<ul style="margin-left: 15px">
|
||||||
<% if @canShowCode %>
|
<% if @canShowCode %>
|
||||||
<% if member.user.show_name == '' && member.user.user_extensions.student_id == '' %>
|
<% if member.user.show_name == '' && member.user.user_extensions.student_id == '' %>
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
<a id="pic" href="javascript:" class= "st_up"></a>
|
<a id="pic" href="javascript:" class= "st_up"></a>
|
||||||
<% end %>
|
<% end %>
|
||||||
</li>
|
</li>
|
||||||
<li class="ml50"><a href="#" >加入时间</a></li>
|
<li class="ml50"><a href="javascript:void(0)" >加入时间</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
<div class="cl"></div><!--st_box_top end-->
|
<div class="cl"></div><!--st_box_top end-->
|
||||||
|
|
||||||
|
|
|
@ -44,11 +44,21 @@
|
||||||
<%= submit_tag "全站搜索", :class => "re_schbtn b_lblue",:name => "insite",:id => "insite",:onmouseover => "presscss('insite')",:onmouseout =>"buttoncss()" %>
|
<%= submit_tag "全站搜索", :class => "re_schbtn b_lblue",:name => "insite",:id => "insite",:onmouseover => "presscss('insite')",:onmouseout =>"buttoncss()" %>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% if is_course_teacher(User.current,@course) %> <!-- show_window('light','fade','20%','35%')-->
|
<% if is_course_teacher(User.current,@course) %> <!-- show_window('light','fade','20%','35%')-->
|
||||||
<a href="javascript:void(0)" class="re_fabu f_r b_lblue" onclick="show_upload();">上传资源</a>
|
<!--<a href="javascript:void(0)" class="re_fabu f_r b_lblue" onclick="show_upload();">上传资源</a>-->
|
||||||
|
|
||||||
|
<p class="c_grey fr mt10 mr5">
|
||||||
|
上传:
|
||||||
|
<a href="javascript:void(0);" class=" c_dblue" >课件</a> |
|
||||||
|
<a href="javascript:void(0);" class=" c_dblue" >软件</a> |
|
||||||
|
<a href="javascript:void(0);" class=" c_dblue" > 媒体</a> |
|
||||||
|
<a href="javascript:void(0);" class=" c_dblue" > 代码</a> |
|
||||||
|
<a href="javascript:void(0);" class=" c_dblue"> 其他</a>
|
||||||
|
</p>
|
||||||
<% end %>
|
<% end %>
|
||||||
</div><!---re_top end-->
|
</div><!---re_top end-->
|
||||||
<div class="cl"></div>
|
<div class="cl"></div>
|
||||||
|
|
||||||
|
|
||||||
<div class="re_con" id="course_list">
|
<div class="re_con" id="course_list">
|
||||||
<%= render :partial => 'course_list',:locals => {course: @course,all_attachments: @all_attachments,sort:@sort,order:@order,curse_attachments:@obj_attachments} %>
|
<%= render :partial => 'course_list',:locals => {course: @course,all_attachments: @all_attachments,sort:@sort,order:@order,curse_attachments:@obj_attachments} %>
|
||||||
</div><!---re_con end-->
|
</div><!---re_con end-->
|
||||||
|
|
|
@ -14,6 +14,13 @@
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="cl"></div>
|
<div class="cl"></div>
|
||||||
|
|
||||||
|
<div class="files_tag">
|
||||||
|
<a href="javascript:void(0);" class="files_tag_icon">实验(<span class="c_red">20</span>)</a>
|
||||||
|
<a href="javascript:void(0);" class="files_tag_icon">软件工程(<span class="c_red">20</span>)</a>
|
||||||
|
</div>
|
||||||
|
<div class="cl"></div>
|
||||||
|
|
||||||
<div class="for_img_thumbnails">
|
<div class="for_img_thumbnails">
|
||||||
<% curse_attachments.each do |file| %>
|
<% curse_attachments.each do |file| %>
|
||||||
<% if file.is_public? || User.current.member_of_course?(course) %>
|
<% if file.is_public? || User.current.member_of_course?(course) %>
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<% if journals.size > 0 %>
|
<% if journals.size > 0 %>
|
||||||
<% for journal in journals %>
|
<% for journal in journals %>
|
||||||
<div class="ping_C" id='word_li_<%= journal.id.to_s %>'>
|
<div class="ping_C" id='word_li_<%= journal.id.to_s %>'>
|
||||||
<div class="ping_dispic"><a target="_blank" href="#"><%= image_tag(url_to_avatar(journal.user)) %></a></div>
|
<div class="ping_dispic"><a target="_blank" href="javascript:void(0)"><%= image_tag(url_to_avatar(journal.user)) %></a></div>
|
||||||
<div class="ping_discon" style="width: 85%;">
|
<div class="ping_discon" style="width: 85%;">
|
||||||
<div class="ping_distop">
|
<div class="ping_distop">
|
||||||
<!-- <a style=" font-weight:bold; color:#15bccf; margin-right:30px; background:none;" target="_blank" href="#">gugu01</a> -->
|
<!-- <a style=" font-weight:bold; color:#15bccf; margin-right:30px; background:none;" target="_blank" href="#">gugu01</a> -->
|
||||||
|
|
|
@ -49,7 +49,7 @@
|
||||||
<div class="search fl">
|
<div class="search fl">
|
||||||
<%= form_tag({:controller => 'courses', :action => 'search'},:id => "course_search_form", :method => :get, :class => "search_form") do %>
|
<%= form_tag({:controller => 'courses', :action => 'search'},:id => "course_search_form", :method => :get, :class => "search_form") do %>
|
||||||
<%= text_field_tag 'name', params[:name], :placeholder => l(:label_course_name), :class => "search_text fl", :onkeyup => "regexName('#{l(:label_search_conditions_not_null)}');" %>
|
<%= text_field_tag 'name', params[:name], :placeholder => l(:label_course_name), :class => "search_text fl", :onkeyup => "regexName('#{l(:label_search_conditions_not_null)}');" %>
|
||||||
<a href="#" onclick="submitSerch('<%= l(:label_search_conditions_not_null) %>');" class="search_btn fl f14 c_white" >
|
<a href="javascript:void(0)" onclick="submitSerch('<%= l(:label_search_conditions_not_null) %>');" class="search_btn fl f14 c_white" >
|
||||||
<%= l(:label_search)%>
|
<%= l(:label_search)%>
|
||||||
</a>
|
</a>
|
||||||
<br />
|
<br />
|
||||||
|
|
|
@ -136,7 +136,7 @@
|
||||||
<% when 1 %>
|
<% when 1 %>
|
||||||
<%= link_to '关闭匿评', alert_anonymous_comment_bid_path(@bid), id: "#{@bid.id}_stop_anonymous_comment", remote: true %>
|
<%= link_to '关闭匿评', alert_anonymous_comment_bid_path(@bid), id: "#{@bid.id}_stop_anonymous_comment", remote: true %>
|
||||||
<% when 2 %>
|
<% when 2 %>
|
||||||
<a href="#" style="background:#8e8e8e;">匿评结束</a>
|
<a href="javascript:void(0)" style="background:#8e8e8e;">匿评结束</a>
|
||||||
<% end %>
|
<% end %>
|
||||||
</span>
|
</span>
|
||||||
<%end%>
|
<%end%>
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
<ul>
|
<ul>
|
||||||
<%= form_for @message, :url => {:action => 'new'}, :html => {:multipart => true, :id => 'message-form'} do |f| %>
|
<%= form_for @message, :url => {:action => 'new'}, :html => {:multipart => true, :id => 'message-form'} do |f| %>
|
||||||
<%= render :partial => 'form_course', :locals => {:f => f,:is_new => true} %>
|
<%= render :partial => 'form_course', :locals => {:f => f,:is_new => true} %>
|
||||||
<a href="#" onclick="submitCoursesBoard();"class="blue_btn fl c_white"><%= l(:button_submit)%></a>
|
<a href="javascript:void(0)" onclick="submitCoursesBoard();"class="blue_btn fl c_white"><%= l(:button_submit)%></a>
|
||||||
<%#= preview_link({:controller => 'messages', :action => 'preview', :board_id => @board}, 'message-form' ,target='preview',{:class => 'blue_btn grey_btn fl c_white'} )%>
|
<%#= preview_link({:controller => 'messages', :action => 'preview', :board_id => @board}, 'message-form' ,target='preview',{:class => 'blue_btn grey_btn fl c_white'} )%>
|
||||||
<%= link_to l(:button_cancel), course_boards_path(@course), :class => "blue_btn grey_btn fl c_white"%>
|
<%= link_to l(:button_cancel), course_boards_path(@course), :class => "blue_btn grey_btn fl c_white"%>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
} do |f| %>
|
} do |f| %>
|
||||||
<%= render :partial => 'form',
|
<%= render :partial => 'form',
|
||||||
:locals => {:f => f, :replying => !@message.parent.nil?} %>
|
:locals => {:f => f, :replying => !@message.parent.nil?} %>
|
||||||
<a href="#" onclick="$('#message-form').submit();" class="ButtonColor m3p10">
|
<a href="javascript:void(0)" onclick="$('#message-form').submit();" class="ButtonColor m3p10">
|
||||||
<%= l(:button_save) %>
|
<%= l(:button_save) %>
|
||||||
</a>
|
</a>
|
||||||
<%= link_to l(:button_cancel), board_message_url(@message.board, @message.root, :r => (@message.parent_id && @message.id)), :class => "ButtonColor m3p10" %>
|
<%= link_to l(:button_cancel), board_message_url(@message.board, @message.root, :r => (@message.parent_id && @message.id)), :class => "ButtonColor m3p10" %>
|
||||||
|
@ -33,7 +33,7 @@
|
||||||
} do |f| %>
|
} do |f| %>
|
||||||
<%= render :partial => 'form_course',
|
<%= render :partial => 'form_course',
|
||||||
:locals => {:f => f, :replying => !@message.parent.nil?} %>
|
:locals => {:f => f, :replying => !@message.parent.nil?} %>
|
||||||
<a href="#" onclick="submitCoursesBoard();"class="blue_btn fl c_white"><%= l(:button_submit)%></a>
|
<a href="javascript:void(0)" onclick="submitCoursesBoard();"class="blue_btn fl c_white"><%= l(:button_submit)%></a>
|
||||||
<%= link_to l(:button_cancel), board_message_url(@message.board, @message.root, :r => (@message.parent_id && @message.id)), :class => "blue_btn grey_btn fl c_white" %>
|
<%= link_to l(:button_cancel), board_message_url(@message.board, @message.root, :r => (@message.parent_id && @message.id)), :class => "blue_btn grey_btn fl c_white" %>
|
||||||
|
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
Loading…
Reference in New Issue