ImportGrade.html 14.6 KB
Newer Older
7
Update  
7wc98#14 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
      xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity4"
      lang="en">
<head>
    <meta charset="UTF-8">
    <title>成绩导入</title>
    <link rel="stylesheet" type="text/css" href="../../static/css/oppo.css">
    <!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap.min.css"
          integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">

    <!-- 可选的 Bootstrap 主题文件(一般不用引入) -->
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap-theme.min.css"
          integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous">

    <!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/js/bootstrap.min.js"
            integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa"
            crossorigin="anonymous"></script>
    <script src="https://cdn.bootcss.com/jquery/1.12.4/jquery.min.js"></script>
7
modify  
7wc98#14 已提交
22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
    <script type="text/javascript">
        $(function () {
            var speed = 800;//滚动速度
            var h=document.body.clientHeight;
            //回到顶部
            $("#toTop").click(function () {

                $('html,body').animate({

                        scrollTop: '0px'
                    },
                    speed);
            });
            //回到底部
            var windowHeight = parseInt($("body").css("height"));//整个页面的高度
            $("#toBottom").click(function () {
                //alert(h);
                $('html,body').animate({
                        scrollTop: h+'px'
                    },
                    speed);
            });
        });
    </script>
7
Update  
7wc98#14 已提交
46
    <style>
7
modify  
7wc98#14 已提交
47 48 49 50 51 52
        #scroll {
            position:fixed; top:300px; right:100px;
        }
        .scrollItem {
            width:20px; height:70px;border:#e1e1e1 1px solid; cursor:pointer; text-align:center; padding-top:10px;
        }
7
Update  
7wc98#14 已提交
53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72
        body {
            font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
            font-size: 14px;
            color: #000;
            margin: 0;
            padding: 0;
            background: #eee url("../../static/images/campus/logo.jpg") center no-repeat fixed;
        }
        .form-box{
            width: 500px;
            height: auto;
        }
        .starter-template {
            padding: 40px 15px;
            text-align: center;
        }
    </style>
</head>
<body>
<!--页面顶部-->
7
modify  
7wc98#14 已提交
73
<!--<div id="top">
7
Update  
7wc98#14 已提交
74
    <div class="container"></div>
7
modify  
7wc98#14 已提交
75
</div>-->
7
Update  
7wc98#14 已提交
76 77 78 79 80 81 82 83
<!-- 页面的头部 -->
<div id="header">
    <div class="container">
        <div class="header_left left">
            <div class="xlwb"></div>
            <div class="txwb"></div>
            <div class="tel">150-1436-6986</div>
        </div>
7
Modify  
7wc98#14 已提交
84
        <ul>
7
Update  
7wc98#14 已提交
85 86 87 88 89 90 91 92 93 94 95 96 97 98
            <li>
                <form th:action="@{/logout}" method="post">
                    <input type="submit" class="btn btn-link" th:value="安全退出">
                </form>
            </li>
        </ul>
    </div>
</div>
<!-- 页面的导航 -->
<div id="nav">
    <div class="container">
        <div class="logo left">
            <h1>Campus</h1>
        </div>
7
Modify  
7wc98#14 已提交
99
        <ul>
7
Update  
7wc98#14 已提交
100
            <li><a href="/home">Home</a></li>
7
Modify  
7wc98#14 已提交
101 102 103 104 105 106 107 108 109 110 111 112
            <li class="dropdown">
                <a class="dropdown-toggle" data-toggle="dropdown" href="learn">
                    学习中心<span class="caret"></span>
                </a>
                <ul class="dropdown-menu">
                    <li><a href="learn">编程学习</a></li>
                    <li><a href="#">英语</a></li>
                    <li><a href="#">数学</a></li>
                    <li class="divider"></li>
                    <li><a href="#">哲学</a></li>
                </ul>
            </li>
7
Update  
7wc98#14 已提交
113
            <li><a href="/news">校内新闻</a></li>
7
commit  
7wc98#14 已提交
114
            <li sec:authorize="hasRole('ROLE_USER')"><a href="/userCenter" style="color: red">用户中心</a>
7
Update  
7wc98#14 已提交
115 116
            </li>
            <li sec:authorize="hasRole('ROLE_ADMIN')"><a href="/admin">网站管理</a></li>
7
commit  
7wc98#14 已提交
117
            <li sec:authorize="hasRole('ROLE_ADMIN')"><a href="/userCenter" style="color: red">用户中心</a>
7
Update  
7wc98#14 已提交
118
            </li>
7
Modify  
7wc98#14 已提交
119
            <li><a href="/toHelp">帮助中心</a> </li>
7
Update  
7wc98#14 已提交
120 121 122
        </ul>
    </div>
</div>
7
modify  
7wc98#14 已提交
123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139
<div class="container">
    <div class="row">
        <div class="col-sm-4">
            <h2>网站管理菜单</h2>
            <ul class="nav nav-pills nav-stacked">
                <li><a href="/publishNews">新闻发布</a> </li>
                <li class="active"><a href="/toImportGrade">成绩导入</a> </li>
                <li><a href="/toPublishQuestion">发布悬赏问题</a> </li>
                <li><a href="/manageUser">管理用户</a> </li>
            </ul>
            <hr class="hidden-sm hidden-md hidden-lg">
        </div>
        <div class="col-md-8">
            <h1>成绩导入</h1>
            <div class="starter-template">
                <h1 th:text="${msg.title}"></h1>
                <p class="bg-primary" th:text="${msg.content}"></p>
7
Update  
7wc98#14 已提交
140
            </div>
7
modify  
7wc98#14 已提交
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 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202
            <div class="form-box">
                <form class="form-horizontal" method="post" th:action="@{saveGrade}" action="/saveGrade" name="form">
                    <div class="form-group">
                        <label for="inputTerm" class="col-sm-2 control-label">学年学期</label>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" id="inputTerm" name="term" placeholder="2020-2021-1">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="inputCourseCode" class="col-sm-2 control-label">课程编号</label>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" id="inputCourseCode" name="courseCode" placeholder="123456">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="inputCourseName" class="col-sm-2 control-label">课程名称</label>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" id="inputCourseName" name="courseName" placeholder="课程名称">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="inputCredit" class="col-sm-2 control-label">课程学分</label>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" id="inputCredit" name="credit" placeholder="学分">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="inputGPA" class="col-sm-2 control-label">成绩绩点</label>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" id="inputGPA" name="GPA" placeholder="绩点">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="inputLearnHour" class="col-sm-2 control-label">课程学时</label>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" id="inputLearnHour" name="LearnHour" placeholder="学时">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="inputGrade" class="col-sm-2 control-label">学生成绩</label>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" id="inputGrade" name="StudentGrade" placeholder="成绩">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="inputName" class="col-sm-2 control-label">学生姓名</label>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" id="inputName" name="studentName" placeholder="学生姓名">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="inputStudentID" class="col-sm-2 control-label">学生学号</label>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" id="inputStudentID" name="studentID" placeholder="11位学号">
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-offset-2 col-sm-10">
                            <button type="submit" class="btn btn-default">保存</button>
                        </div>
                    </div>
                </form>
7
Update  
7wc98#14 已提交
203
            </div>
7
modify  
7wc98#14 已提交
204
        </div>
7
Update  
7wc98#14 已提交
205 206
    </div>
</div>
7
modify  
7wc98#14 已提交
207 208 209 210
<div id="scroll">
    <div class="scrollItem" id="toTop">顶部</div>
    <div class="scrollItem" id="toBottom">底部</div>
</div>
7
commit  
7wc98#14 已提交
211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350
<link rel="stylesheet" href="../../static/css/footer.css">
<div class="footer-box">
    <div class="footer-container">
        <div class="footer-service clearfix">
            <div class="footer-service-item footer-icon-001">
                <i></i>
                <span>专注于后端开发</span>
            </div>
            <div class="footer-service-item footer-icon-002">
                <i></i>
                <span>扎实编程能力</span>
            </div>
            <div class="footer-service-item footer-icon-003">
                <i></i>
                <span>学习能力强</span>
            </div>
            <div class="footer-service-item footer-icon-004">
                <i></i>
                <span>掌握多门编程语言</span>
            </div>
        </div>
        <div class="footer-line"></div>
        <div class="footer-links clearfix">
            <dl class="footer-article-item">
                <dt>擅长编程语言</dt>
                <dd>
                    <a href="#">Java</a>
                </dd>
                <dd>
                    <a href="#">C/C++</a>
                </dd>
                <dd>
                    <a href="#">Python</a>
                </dd>
            </dl>
            <dl class="footer-article-item">
                <dt>关于开发者</dt>
                <dd>
                    <a href="https://blog.csdn.net/qq_42896653" target="_blank">CSDN博客</a>
                </dd>
                <dd>
                    <a href="#">专注后端</a>
                </dd>
                <dd>
                    <a href="#">兼为前端</a>
                </dd>
                <dd>
                    <a href="#">数据分析</a>
                </dd>
                <dd>
                    <a href="#">专业出身</a>
                </dd>
                <dd>
                    <a href="https://blog.csdn.net/qq_42896653" target="_blank">联系我</a>
                </dd>
            </dl>
            <dl class="footer-article-item">
                <dt>擅长领域</dt>
                <dd>
                    <a href="#">Java Web</a>
                </dd>
                <dd>
                    <a href="#">MFC客户端</a>
                </dd>
                <dd>
                    <a href="#">PyQT5</a>
                </dd>
                <dd>
                    <a href="#">Python 数据分析</a>
                </dd>
                <dd>
                    <a href="#">C/C++ 数据结构</a>
                </dd>
                <dd>
                    <a href="#">Java 后端</a>
                </dd>
            </dl>
            <dl class="footer-article-item">
                <dt>其他</dt>
                <dd>
                    <a href="https://blog.csdn.net/qq_42896653" target="_blank">博客地址</a>
                </dd>
                <dd>
                    <a href=" https://github.com/pyc-ycy">Github</a>
                </dd>
                <dd>
                    <a href="https://gitee.com/pengyoucongcode">Gitee</a>
                </dd>
            </dl>
            <dl class="footer-contact-item">
                <h3>联系我们</h3>
                <p>150-14366986</p>
                <div class="footer-ewm">
                    <img src="images/vm.png" alt="">
                    <p>关注CSDN博客</p>
                </div>
            </dl>
        </div>
        <div class="footer-friend">
            <div class="footer-friend-title">友情链接:</div>
            <ul class="footer-friend-title-list clearfix">
                <li>
                    <a href="http://www.baidu.com" target="_blank">百度一下</a>
                </li>
                <li>
                    <a href="https://www.runoob.com/" target="_blank">菜鸟教程</a>
                </li>
                <li>
                    <a href="https://mvnrepository.com/" target="_blank">Maven中心仓库</a>
                </li>
                <li>
                    <a href="https://www.bilibili.com/" target="_blank">B站</a>
                </li>
                <li>
                    <a href="http://c.biancheng.net/" target="_blank">C语言中文网</a>
                </li>
                <li>
                    <a href="https://www.w3school.com.cn/" target="_blank">W3Cschool</a>
                </li>
                <li>
                    <a href="https://www.runoob.com/linux/linux-tutorial.html" target="_blank">Linux学习</a>
                </li>
                <li>
                    <a href="https://www.runoob.com/bootstrap/bootstrap-tutorial.html" target="_blank">Bootstrap学习</a>
                </li>
                <li>
                    <a href="https://cn.vuejs.org/" target="_blank">Vuejs</a>
                </li>
            </ul>
            <a href="#" class="footer-friend-more">更多 >></a>
        </div>
        <div class="footer-copyright">
            <p>© 2017-2021 (彭友聪) 开发,并保留所有权利&nbsp;&nbsp;&nbsp;常年法律顾问: (深圳)律师事务所</p>
            <p>
                陆丰市河西街道xxxxx&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <a href="#">
                    <img src="images/icon-footer.png" alt="">**网安备 0008899999xxxx号
                </a>
            </p>
        </div>
7
Update  
7wc98#14 已提交
351 352
    </div>
</div>
7
modify  
7wc98#14 已提交
353

7
Update  
7wc98#14 已提交
354 355 356 357
<script type="text/javascript" src="../../static/js/jquery-1.11.3.js"></script>
<script type="text/javascript" src="../../static/js/oppo.js"></script>
</body>
</html>