You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gdms/web/fill_Information.jsp

56 lines
2.0 KiB

<%@ page import="core.user.User" %>
<%@ page import="java.util.Map" %>
<%@ page import="java.util.HashMap" %><%--
Created by IntelliJ IDEA.
User: lenovo
Date: 2019/1/12
Time: 13:19
To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<html>
<head>
<title>填写信息</title>
<link type="text/css" rel="stylesheet" href="cssFile/fill-style.css">
<script type="text/javascript" src="jsFile/jquery-3.3.1.js"></script>
<script type="text/javascript" src="jsFile/fill-action.js"></script>
</head>
<body>
<%Map<String,String> map2=new HashMap<String,String>();
map2.put("姓名","李先生");
map2.put("学号","201630126050");
map2.put("电话","18711191679");
map2.put("题目","论文");
map2.put("5","李先生2");
map2.put("6","李先生2");
pageContext.setAttribute("map",map2);
String type ="student";
pageContext.setAttribute("type",type);
%>
<div class="updated">
<div class="fill-frame bar-change">
<div class="fill-child">
<div class="fill-name">${map.姓名}</div>
<div class="upload-status"></div>
<div class="download-file"></div>
<div class="other-tips-msgs">
<c:forEach items="${map}" var="z" begin="1">
<div class="tips-msg">${z.key}:${z.value}</div>
</c:forEach>
</div>
<form class="fill-form" action="" method="post">
<textarea class="fill-ipt-text bar-change" name="text" placeholder="请输入信息"></textarea>
<c:if test="${type!='teacher'}">
<input class="score-area" name="score" placeholder="请输入分数">
</c:if>
<input type="button" class="submit-text" value="提交">
</form>
</div>
</div>
</div>
</body>
</html>