You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
1.5 KiB
42 lines
1.5 KiB
6 years ago
|
<style>body{background-color: #fff!important;}</style>
|
||
|
<script src="/javascripts/educoder/echarts.js"></script>
|
||
|
<div class="subject_statistics_top">
|
||
|
<a href="<%= subject_path(@subject) %>"><p class="color-blue font-32 edu-txt-center pt50"><%= @subject.name %></p></a>
|
||
|
<div class="statistics_position edu-txt-center">
|
||
|
<ul class="clearfix inline count_ul">
|
||
|
<li>
|
||
|
<span>学员人数</span>
|
||
|
<span><%= @learn_count %></span>
|
||
|
</li>
|
||
|
<li>
|
||
|
<span>受用课堂</span>
|
||
|
<span><%= @course_count %></span>
|
||
|
</li>
|
||
|
<li>
|
||
|
<span>受用院校</span>
|
||
|
<span><%= @schools_count %></span>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="educontent">
|
||
|
<div class="white-panel mt30 mb30 clearfix pl0">
|
||
|
<li class="active"><a href="<%= statistics_subject_path(@subject, :type => 1) %>" data-remote="true">课堂使用</a></li>
|
||
|
<li><a href="<%= statistics_subject_path(@subject, :type => 2) %>" data-remote="true">实训使用</a></li>
|
||
|
<li><a href="<%= statistics_subject_path(@subject, :type => 3) %>" data-remote="true">院校学习</a></li>
|
||
|
</div>
|
||
|
<div id="statistics_info">
|
||
|
<%= render :partial => "first_tab_statistics" %>
|
||
|
<%#= render :partial => "secend_tab_statistics" %>
|
||
|
<%#= render :partial => "third_tab_statistics" %>
|
||
|
</div>
|
||
|
<%#= render :partial => "subject_statistics" %>
|
||
|
</div>
|
||
|
<script>
|
||
|
$(function(){
|
||
|
$(".white-panel li").click(function(){
|
||
|
$(".white-panel li").removeClass("active");
|
||
|
$(this).addClass("active");
|
||
|
})
|
||
|
});
|
||
|
</script>
|