This repository has been archived by the owner on Feb 10, 2023. It is now read-only.
forked from pigsquare/StuAct
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTongji.aspx
168 lines (139 loc) · 8.4 KB
/
Tongji.aspx
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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Tongji.aspx.cs" Inherits="Tongji" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>统计信息</title>
<!-- Favicons -->
<link href="img/favicon.png" rel="icon" />
<link href="img/apple-touch-icon.png" rel="apple-touch-icon" />
<!-- Google Fonts -->
<link href="https://fonts.googleapis.com/css?family=Poppins:300,400,700|Roboto:300,400,700&display=swap"
rel="stylesheet" />
<!-- Bootstrap CSS File -->
<link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet" />
<!-- Vendor CSS Files -->
<link href="vendor/icofont/icofont.min.css" rel="stylesheet" />
<link href="vendor/line-awesome/css/line-awesome.min.css" rel="stylesheet" />
<link href="vendor/aos/aos.css" rel="stylesheet" />
<link href="vendor/owlcarousel/assets/owl.carousel.min.css" rel="stylesheet" />
<!-- Template Main CSS File -->
<link href="css/style.css" rel="stylesheet" />
</head>
<body>
<form id="form1" runat="server">
<div class="site-wrap">
<div class="site-mobile-menu site-navbar-target">
<div class="site-mobile-menu-header">
<div class="site-mobile-menu-close mt-3">
<span class="icofont-close js-menu-toggle"></span>
</div>
</div>
<div class="site-mobile-menu-body"></div>
</div>
<header class="site-navbar js-sticky-header site-navbar-target" role="banner">
<div class="container">
<div class="row align-items-center">
<div class="col-6 col-lg-2">
<h1 class="mb-0 site-logo"><a href="TeacherHome.aspx" class="mb-0">Web开发课程大作业</a></h1>
</div>
<div class="col-12 col-md-10 d-none d-lg-block">
<nav class="site-navigation position-relative text-right" role="navigation">
<ul class="site-menu main-menu js-clone-nav mr-auto d-none d-lg-block">
<li><a href="TeacherHome.aspx" class="nav-link">主页</a></li>
<li><a href="StuManage.aspx" class="nav-link">账号管理</a></li>
<li><a href="ActManage.aspx" class="nav-link">作业管理</a></li>
<li><a href="Score.aspx" class="nav-link">作业评分</a></li>
<li><a href="Tongji.aspx" class="nav-link">统计信息</a></li>
</ul>
</nav>
</div>
<div class="col-6 d-inline-block d-lg-none ml-md-0 py-3" style="position: relative; top: 3px;">
<a href="#" class="burger site-menu-toggle js-menu-toggle" data-toggle="collapse" data-target="#main-navbar">
<span></span>
</a>
</div>
</div>
</div>
</header>
<main id="main">
<div class="hero-section inner-page">
<div class="wave">
<svg width="1920px" height="265px" viewBox="0 0 1920 265" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="Apple-TV" transform="translate(0.000000, -402.000000)" fill="#FFFFFF">
<path d="M0,439.134243 C175.04074,464.89273 327.944386,477.771974 458.710937,477.771974 C654.860765,477.771974 870.645295,442.632362 1205.9828,410.192501 C1429.54114,388.565926 1667.54687,411.092417 1920,477.771974 L1920,667 L1017.15166,667 L0,667 L0,439.134243 Z" id="Path"></path>
</g>
</g>
</svg>
</div>
<div class="container">
<div class="row align-items-center">
<div class="col-12">
<div class="row justify-content-center">
<div class="col-md-7 text-center hero-text">
<h1 data-aos="fade-up" data-aos-delay="">统计信息</h1>
<p class="mb-5" data-aos="fade-up" data-aos-delay="100" id="TeaName" runat="server">欢迎您,123!</p>
<asp:Button ID="Button1" runat="server" OnClick="Logout" Text="退出" />
</div>
</div>
</div>
</div>
</div>
</div>
<div class="site-section">
<div class="container">
<h3>查询</h3>
<table class="table table-striped table-bordered table-hover">
<tr>
<td>按学生查询</td>
<td>按作业查询</td>
</tr>
<tr>
<td>
<asp:DropDownList ID="DropDownList1" runat="server" DataSourceID="SqlDataSource1" DataTextField="stu_name" DataValueField="stu_id"></asp:DropDownList>
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:ActManageConnectionString %>" SelectCommand="SELECT * FROM [Stu]"></asp:SqlDataSource>
<asp:Button ID="Button2" runat="server" Text="查询" OnClick="Button2_Click" />
</td>
<td>
<asp:DropDownList ID="DropDownList2" runat="server" DataSourceID="SqlDataSource2" DataTextField="act_name" DataValueField="act_id"></asp:DropDownList>
<asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:ActManageConnectionString %>" SelectCommand="SELECT * FROM [Act]"></asp:SqlDataSource>
<asp:Button ID="Button3" runat="server" Text="查询" OnClick="Button3_Click" />
</td>
</tr>
</table>
<div id="TableStu" runat="server"></div>
<br /><br />
<h3>学生平均成绩表</h3><br />
<div id="TableAvg" runat="server">
</div>
<div id="TableAct" runat="server"></div>
</div>
</div>
</main>
<footer class="footer" role="contentinfo">
<div class="container">
<div class="row justify-content-center text-center">
<div class="col-md-7">
<p class="copyright">Copyright © 2021 SunnySlopes. All Rights Reserved.</p>
<div class="credits">
</div>
</div>
</div>
</div>
</footer>
</div>
<!-- .site-wrap -->
<!-- Vendor JS Files -->
<script src="vendor/jquery/jquery.min.js"></script>
<script src="vendor/jquery/jquery-migrate.min.js"></script>
<script src="vendor/bootstrap/js/bootstrap.min.js"></script>
<script src="vendor/easing/easing.min.js"></script>
<script src="vendor/sticky/sticky.js"></script>
<script src="vendor/aos/aos.js"></script>
<script src="vendor/owlcarousel/owl.carousel.min.js"></script>
<!-- Template Main JS File -->
<script src="js/main.js"></script>
</form>
</body>
</html>