web/software_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="SoftwareServlet?action=list">教学软件列表</a></li>
        <c:if test="${loginUser.userType == '管理员'}"><li><a href="software_add.jsp">添加</a></li></c:if>
    </ul>
    <br/>
    <form class="form-inline" id="searchForm" action="SoftwareServlet?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="software_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>
            <th>软件购买时间</th>
            <th>状态</th>
            <th>操作</th>
        </tr>
        </thead>
        <tbody>
        <c:forEach items="${list}" var="vo">
            <tr>
                <td><a href="SoftwareServlet?action=get&id=${vo.id}">${vo.softwareName}</a></td>
                <td>${vo.softwareManufactor}</td>
                <td>${vo.softwareTel}</td>
                <td>${vo.softwareLink}</td>
                <td>${vo.softwareNo}</td>
                <td>${vo.softwareNote}</td>
                <td>${vo.softwareTime}</td>
                <td>${vo.softwareStatus}</td>
                <td>
                    <button onclick="window.location.href='SoftwareServlet?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.softwareName}?'))window.location.href='SoftwareServlet?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>
后面还有 11 行代码,购买后查看完整代码

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

AI 解读 AI

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

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