-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
100 lines (98 loc) · 3.78 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>数据的增删改查2</title>
<link rel="stylesheet" href="bootstrap.min.css">
<script src="data.js"></script>
<script src="jquery-3.2.1.min.js"></script>
<script src="showData.js"></script>
<script src="options.js"></script>
<script src="Add3data.js"></script>
<script src="jquery.tablesorter.min.js"></script>
<script src="jquery.tablesorter.widgets.min.js"></script>
<script>
$(function () {
$('table').tablesorter({
widgets: ['zebra', 'columns'],
usNumberFormat: false,
sortReset: true
// sortRestart: true
});
});
</script>
</head>
<body>
<div class="container">
<div class="panel panel-primary">
<div class="panel-heading">学生成绩</div>
<div class="panel-body">
<p class="p2"></p>
<table class="table table-striped">
<div class="row">
<div class="col-xs-12">
<input type="text" class="form-control" id="searchbox" placeholder="输入要查询的学生学号">
<p class="p1"> </p>
</div>
</div>
<thead>
<tr>
<th>学号</th>
<th>平时成绩</th>
<th>期考成绩</th>
<th>实验成绩</th>
<th>操作</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
<div class="row Fenye" style="text-align: center">
<button class="btn btn-primary" id="FenyeBtn">分页</button>
</div>
</div>
</div>
<div class="panel panel-primary">
<div class="panel-heading">添加学生信息</div>
<div class="panel-body">
<form class="form-horizontal">
<div class="form-group" id="form-group">
<div class="form-group">
<label class="col-sm-1 control-label">学号</label>
<div class="col-sm-11">
<input type="text" id="XH" class="form-control">
<p class="p2" style="color: red"></p>
</div>
</div>
<div class="form-group">
<label class="col-sm-1 control-label">平时成绩</label>
<div class="col-sm-11">
<input type="text" id="Ps" class="form-control cj">
</div>
</div>
<div class="form-group">
<label class="col-sm-1 control-label">期考成绩</label>
<div class="col-sm-11">
<input type="text" id="QK" class="form-control cj">
</div>
</div>
<div class="form-group">
<label class="col-sm-1 control-label">实验成绩</label>
<div class="col-sm-11">
<input type="text" id="SY" class="form-control cj">
</div>
</div>
<p class="p3" style="color: red"></p>
<p class="p4"></p>
<div class="row">
<div class="col-xs-4"></div>
<div><input class="col-xs-4 btn btn-primary" id="submit" readonly value="submit"></div>
<div class="col-xs-4"></div>
</div>
</div>
</form>
</div>
</div>
</div>
</body>
</html>