5.16每日总结

复制代码
<%--
  Created by IntelliJ IDEA.
  User: 王磊
  Date: 2023/4/24
  Time: 10:27
  To change this template use File | Settings | File Templates.
--%>
<%@ page import="wangzhan.Thesql" %>
<%@ page import="wangzhan.Pd_tea" %>
<%@ page import="wangzhan.Pd_lesson" %>
<%@ page language="java" contentType="text/html; charset=UTF-8"

         pageEncoding="UTF-8"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html>
<head>
    <meta charset="UTF-8">
    <title>课程详情</title>
    <style>
        body {
            font-family: sans-serif;
            margin: 0;
            padding: 0;
        }

        header {
            height: 4%;
            background: #333;
            color: #fff;
            padding: 10px;
            text-align: center;
            font-size: 0.8em;
        }

        main {
            max-width: 800px;
            margin: 0 auto;
            padding: 20px;
            background-color: #f8f8f8;
            border-radius: 5px;
        }

        h1 {
            margin-top: 0;
        }

        ul {
            list-style-type: none;
            padding: 0;
            margin: 0;
        }

        li {
            margin-bottom: 10px;
        }

        label {
            display: block;
            margin-bottom: 5px;
            font-weight: bold;
        }

        p {
            margin-top: 0;
        }

        button[type=submit] {
            background-color: #4CAF50;
            color: white;
            padding: 10px 20px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            margin-top: 10px;
        }

        button[type=submit]:hover {
            background-color: #2292d3;
        }
    </style>
</head>

<body>
<header>
    <h1>课程信息</h1>
</header>
<%
    String les_id=request.getParameter("les_id");
    String id_=request.getParameter("id_");
    Thesql thesql=new Thesql();
    Pd_lesson pd_lesson= thesql.lesson_query(les_id);
    Pd_tea pd_tea= thesql.tea_query(id_);
    String IsPass=request.getParameter("IsPass");
    if(IsPass==null)
    {
        IsPass="未通过";
    }
    if(IsPass.equals("通过")){
        thesql.lesson_examine(les_id,true);
    }
%>
<main>
    <a href=Audit_lesson.jsp?id_=<%=id_%>"><div id="back" style="cursor: pointer">退出</div></a>
    <h2>授课专业</h2>
    <p>2021级软件工程全体学生</p>

    <h2>课程信息</h2>
    <ul>
        <li>
            <label for="professor">教师姓名:</label>
            <p id="professor"><%=pd_lesson.getLesson_teacher()%></p>
        </li>
        <li>
            <label for="credits">学分:</label>
            <p id="credits"><%=pd_lesson.getLesson_credit()%></p>
        </li>
        <li>
            <label for="time">课程目标一:<%=pd_lesson.getLesson_target1()%></label>
            <p id="time">作业:<%=pd_lesson.getT1_task()%></p>
            <p id="time">实验:<%=pd_lesson.getT1_test()%></p>
            <p id="time">期末考试:<%=pd_lesson.getT1_exam()%></p>
            <p id="time">分配分数:<%=pd_lesson.getT1_score()%></p>
        </li>
        <li>
            <label for="time">课程目标二:<%=pd_lesson.getLesson_target2()%></label>
            <p id="time">作业:<%=pd_lesson.getT2_task()%></p>
            <p id="time">实验:<%=pd_lesson.getT2_test()%></p>
            <p id="time">期末考试:<%=pd_lesson.getT2_exam()%></p>
            <p id="time">分配分数:<%=pd_lesson.getT2_score()%></p>
        </li>
        <li>
            <label for="time">课程目标三:<%=pd_lesson.getLesson_target3()%></label>
            <p id="time">作业:<%=pd_lesson.getT3_task()%></p>
            <p id="time">实验:<%=pd_lesson.getT3_test()%></p>
            <p id="time">期末考试:<%=pd_lesson.getT3_exam()%></p>
            <p id="time">分配分数:<%=pd_lesson.getT3_score()%></p>
        </li>
        <li>
            <label for="prerequisites">课程总分:</label>
            <p id="prerequisites"><%=pd_lesson.getLesson_score()%></p>
        </li>
    </ul>
    <h2>课程要求</h2>
    <ul>
        <li>完成所有的课堂作业和实验</li>
        <li>通过期末考试</li>
    </ul>
    <ul>
        <li>课程通过情况:</li>
        <li><%=IsPass%></li>
    </ul>
    <form action="Aduit.jsp">
        <input type="hidden" name="les_id" value="<%=les_id%>">
        <input type="hidden" name="IsPass" value="通过">
        <button type="submit">审核通过</button>
    </form>
</main>
</body>

</html>
复制代码

 

posted @   漏网鲨鱼  阅读(4)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· Manus重磅发布:全球首款通用AI代理技术深度解析与实战指南
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
· 没有Manus邀请码?试试免邀请码的MGX或者开源的OpenManus吧
· 园子的第一款AI主题卫衣上架——"HELLO! HOW CAN I ASSIST YOU TODAY
· 【自荐】一款简洁、开源的在线白板工具 Drawnix
点击右上角即可分享
微信分享提示