parent
9fe6c7322b
commit
597a66b764
@ -0,0 +1,65 @@
|
||||
<table class="edu-pop-table edu-txt-center" cellpadding="0" cellspacing="0" style="table-layout: fixed">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="5%">序号</th>
|
||||
<th width="8%">ID</th>
|
||||
<th width="20%" class="edu-txt-left">单位名称</th>
|
||||
<th width="10%">新增教师<i class="fa <%= @sx_order == "desc" ? "fa-long-arrow-down" : "fa-long-arrow-up" %> color-light-green ml5"></i></th>
|
||||
<th width="10%">新增学生<i class="fa <%= @sx_order == "desc" ? "fa-long-arrow-down" : "fa-long-arrow-up" %> color-light-green ml5"></i></th>
|
||||
<th width="10%">新增课堂<i class="fa <%= @sx_order == "desc" ? "fa-long-arrow-down" : "fa-long-arrow-up" %> color-light-green ml5"></i></th>
|
||||
<th width="10%">新增实训<i class="fa <%= @sx_order == "desc" ? "fa-long-arrow-down" : "fa-long-arrow-up" %> color-light-green ml5"></i></th>
|
||||
<th width="10%">活跃用户<i class="fa <%= @sx_order == "desc" ? "fa-long-arrow-down" : "fa-long-arrow-up" %> color-light-green ml5"></i></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr id="courselist_show_">
|
||||
<td>1</td>
|
||||
<td>2222</td>
|
||||
<td class="edu-txt-left">
|
||||
湖南湘潭大学
|
||||
</td>
|
||||
<td>
|
||||
98
|
||||
</td>
|
||||
<td>
|
||||
98
|
||||
</td>
|
||||
<td>
|
||||
98
|
||||
</td>
|
||||
<td>98</td>
|
||||
<td>98</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<div class="cl"></div>
|
||||
<div style="text-align:center;" class="new_expand">
|
||||
<div class="pages_user_show" style="width:auto; display:inline-block;margin: 18px 0;">
|
||||
<ul id="homework_pository_ref_pages">
|
||||
<%= pagination_links_full @courselist_pages, @courselist_count, :per_page_links => false, :remote => @is_remote, :flag => true, :is_new => true %>
|
||||
</ul>
|
||||
<div class="cl"></div>
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
$(".eud-pointer").on("click", function(ev){
|
||||
var nArrow = $(this).find("i");
|
||||
var sx_order = nArrow.hasClass("fa-long-arrow-down") ? "asc" : "desc";
|
||||
$("input[name='sx_order']").val(sx_order);
|
||||
$.ajax({
|
||||
url:"<%= classroom_managements_path %>",
|
||||
data: $("#classroom").serialize(),
|
||||
dateType: "script"
|
||||
});
|
||||
});
|
||||
$("input[name='support_shixuns_search']").click(function(){
|
||||
var support_shixuns_search_val = $(this).val();
|
||||
$.ajax({
|
||||
url:"<%= support_shixuns_search_managements_path %>",
|
||||
data: {shixun_id: support_shixuns_search_val},
|
||||
type: 'post',
|
||||
dateType: "script"
|
||||
});
|
||||
})
|
||||
</script>
|
||||
|
@ -0,0 +1,70 @@
|
||||
<table class="edu-pop-table edu-txt-center" cellpadding="0" cellspacing="0" style="table-layout: fixed">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="5%">序号</th>
|
||||
<th width="8%">ID</th>
|
||||
<th width="20%" class="edu-txt-left">单位名称</th>
|
||||
<th width="10%">教师总人数<i class="fa <%= @sx_order == "desc" ? "fa-long-arrow-down" : "fa-long-arrow-up" %> color-light-green ml5"></i></th>
|
||||
<th width="10%">学生总人数<i class="fa <%= @sx_order == "desc" ? "fa-long-arrow-down" : "fa-long-arrow-up" %> color-light-green ml5"></i></th>
|
||||
<th width="10%">课堂总数<i class="fa <%= @sx_order == "desc" ? "fa-long-arrow-down" : "fa-long-arrow-up" %> color-light-green ml5"></i></th>
|
||||
<th width="10%">正在进行课堂数<i class="fa <%= @sx_order == "desc" ? "fa-long-arrow-down" : "fa-long-arrow-up" %> color-light-green ml5"></i></th>
|
||||
<th width="10%">实训作业总数<i class="fa <%= @sx_order == "desc" ? "fa-long-arrow-down" : "fa-long-arrow-up" %> color-light-green ml5"></i></th>
|
||||
<th width="10%">其他作业总数<i class="fa <%= @sx_order == "desc" ? "fa-long-arrow-down" : "fa-long-arrow-up" %> color-light-green ml5"></i></th>
|
||||
<th>动态时间<i class="fa <%= @sx_order == "desc" ? "fa-long-arrow-down" : "fa-long-arrow-up" %> color-light-green ml5"></i></th>
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr id="courselist_show_">
|
||||
<td>1</td>
|
||||
<td>2222</td>
|
||||
<td class="edu-txt-left">
|
||||
湖南湘潭大学
|
||||
</td>
|
||||
<td>
|
||||
98
|
||||
</td>
|
||||
<td>
|
||||
98
|
||||
</td>
|
||||
<td>
|
||||
98
|
||||
</td>
|
||||
<td>98</td>
|
||||
<td>98</td>
|
||||
<td>98</td>
|
||||
<td>2019-04-11 16:42</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<div class="cl"></div>
|
||||
<div style="text-align:center;" class="new_expand">
|
||||
<div class="pages_user_show" style="width:auto; display:inline-block;margin: 18px 0;">
|
||||
<ul id="homework_pository_ref_pages">
|
||||
<%= pagination_links_full @courselist_pages, @courselist_count, :per_page_links => false, :remote => @is_remote, :flag => true, :is_new => true %>
|
||||
</ul>
|
||||
<div class="cl"></div>
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
$(".eud-pointer").on("click", function(ev){
|
||||
var nArrow = $(this).find("i");
|
||||
var sx_order = nArrow.hasClass("fa-long-arrow-down") ? "asc" : "desc";
|
||||
$("input[name='sx_order']").val(sx_order);
|
||||
$.ajax({
|
||||
url:"<%= classroom_managements_path %>",
|
||||
data: $("#classroom").serialize(),
|
||||
dateType: "script"
|
||||
});
|
||||
});
|
||||
$("input[name='support_shixuns_search']").click(function(){
|
||||
var support_shixuns_search_val = $(this).val();
|
||||
$.ajax({
|
||||
url:"<%= support_shixuns_search_managements_path %>",
|
||||
data: {shixun_id: support_shixuns_search_val},
|
||||
type: 'post',
|
||||
dateType: "script"
|
||||
});
|
||||
})
|
||||
</script>
|
||||
|
File diff suppressed because one or more lines are too long
Binary file not shown.
After Width: | Height: | Size: 3.0 KiB |
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
@ -0,0 +1,39 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>使用 layDate 独立版</title>
|
||||
<meta name="renderer" content="webkit">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
<meta name="format-detection" content="telephone=no">
|
||||
|
||||
<style>
|
||||
body{padding: 20px;}
|
||||
.demo-input{padding-left: 10px; height: 38px; min-width: 262px; line-height: 38px; border: 1px solid #e6e6e6; background-color: #fff; border-radius: 2px;}
|
||||
.demo-footer{padding: 50px 0; color: #999; font-size: 14px;}
|
||||
.demo-footer a{padding: 0 5px; color: #01AAED;}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<input type="text" class="demo-input" placeholder="请选择日期" id="test1">
|
||||
|
||||
<div class="demo-footer">
|
||||
<a href="http://www.layui.com/laydate/" target="_blank">layDate<cite id="version"></cite></a>
|
||||
<a href="http://www.layui.com/doc/modules/laydate.html" target="_blank">文档</a>
|
||||
<span>© <a href="http://www.layui.com/" target="_blank">layui.com</a> By 贤心<span>
|
||||
</div>
|
||||
|
||||
<script src="laydate/laydate.js"></script> <!-- 改成你的路径 -->
|
||||
<script>
|
||||
lay('#version').html('-v'+ laydate.v);
|
||||
|
||||
//执行一个laydate实例
|
||||
laydate.render({
|
||||
elem: '#test1' //指定元素
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,6 @@
|
||||
[{000214A0-0000-0000-C000-000000000046}]
|
||||
Prop3=19,2
|
||||
[InternetShortcut]
|
||||
URL=http://www.layui.com/laydate/
|
||||
IDList=
|
||||
HotKey=0
|
@ -0,0 +1,8 @@
|
||||
[{000214A0-0000-0000-C000-000000000046}]
|
||||
Prop3=19,2
|
||||
[InternetShortcut]
|
||||
URL=http://www.layui.com/doc/modules/laydate.html
|
||||
IDList=
|
||||
HotKey=0
|
||||
IconIndex=0
|
||||
IconFile=C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
|
@ -0,0 +1,8 @@
|
||||
[{000214A0-0000-0000-C000-000000000046}]
|
||||
Prop3=19,2
|
||||
[InternetShortcut]
|
||||
URL=http://fly.layui.com/
|
||||
IDList=
|
||||
HotKey=0
|
||||
IconIndex=0
|
||||
IconFile=C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
|
@ -0,0 +1,6 @@
|
||||
[{000214A0-0000-0000-C000-000000000046}]
|
||||
Prop3=19,2
|
||||
[InternetShortcut]
|
||||
URL=http://www.layui.com/laydate/changelog.html
|
||||
IDList=
|
||||
HotKey=0
|
Loading…
Reference in new issue