out/artifacts/multiMedia_war_exploded/class_list.jsp

(开头部分) 3KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>多媒体教室管理</title>
    <%@ include file="include/head.jsp" %>
</head>
<body>
<div class="container-fluid">
    <ul class="nav nav-tabs">
        <li class="active"><a href="ClassServlet?action=list">多媒体教室列表</a></li>
        <c:if test="${loginUser.userType == '管理员'}"><li><a href="class_add.jsp">添加</a></li></c:if>
    </ul>
    <br/>
    <form class="form-inline" id="searchForm" action="ClassServlet?action=list" method="post">
        <div class="form-group">
            <input type="text" class="form-control" name="keyword" id="keyword" placeholder="教室名称">
            <input type="hidden" id="searchColumn" name="searchColumn" value="class_name"/>
        </div>
        <button class="btn btn-pill btn-line btn-warning btn-sm"><span class="glyphicon glyphicon-search" aria-hidden="true"></span>查询
        </button>
    </form>
    <br/>
    <table class="table table-hover table-bordered">
        <thead>
        <tr>
            <th>教室名称</th>
            <th>教室地址</th>
            <th>教室编号</th>
            <th>教室状态</th>
            <th>教室备注</th>
            <th>操作</th>
        </tr>
        </thead>
        <tbody>
        <c:forEach items="${list}" var="vo">
            <tr>
                <td><a href="ClassServlet?action=get&id=${vo.id}">${vo.className}</a></td>
                <td>${vo.classAddress}</td>
                <td>${vo.classNo}</td>
                <td>${vo.classStatus}</td>
                <td>${vo.classNote}</td>

                <td>
                    <button onclick="window.location.href='ClassServlet?action=editPre&id=${vo.id}'"
                            class="btn btn-pill btn-line btn-warning btn-xs"
                            <c:if test="${loginUser.userType != '管理员' && loginUser.userType != '教师'}">disabled="disabled" title="没有权限!!!"</c:if>
                             >
                        <span class="glyphicon glyphicon-pencil" aria-hidden="true"></span>
                        编辑
                    </button>
                    <button onclick="if(window.confirm('将要删除:${vo.className}?'))window.location.href='ClassServlet?action=delete&id=${vo.id}'"
                            class="btn btn-pill btn-line btn-default btn-xs"
                            <c:if test="${loginUser.userType != '管理员'}">disabled="disabled" title="没有权限!!!"</c:if> >
                        <span class="glyphicon glyphicon-remove" aria-hidden="true"></span>
                        删除
                    </button>
                </td>
            </tr>
        </c:forEach>
后面还有 9 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。