Re-uploaded the project in only one repository
This commit is contained in:
84
colegio_web/build/web/cursos.jsp
Normal file
84
colegio_web/build/web/cursos.jsp
Normal file
@@ -0,0 +1,84 @@
|
||||
<%--
|
||||
Document : cursos
|
||||
Created on : jun 6, 2017, 2:45:32 a.m.
|
||||
Author : ryuuji
|
||||
--%>
|
||||
|
||||
<%@page contentType="text/html" pageEncoding="UTF-8"%>
|
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Cursos</title>
|
||||
<link rel="stylesheet" href="css.css"/>
|
||||
</head>
|
||||
<body>
|
||||
<ul>
|
||||
<li><a href="AsignaturaServlet">Asignaturas</a></li>
|
||||
<li style="float:right"><a href="index.jsp">Volver</a></li>
|
||||
</ul>
|
||||
<div class="bottom">
|
||||
|
||||
<div class="overflow">
|
||||
<table class="table">
|
||||
<tr>
|
||||
<th class="th">Nivel</th>
|
||||
<c:forEach items="${cursos}" var="curso">
|
||||
<td style="border-right: 1px solid #ddd " class="td"><c:out value="${curso.nivel}"/></td>
|
||||
</c:forEach>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class="th">Letra</th>
|
||||
<c:forEach items="${cursos}" var="curso">
|
||||
<td style="border-right: 1px solid #ddd " class="td"><c:out value="${curso.letra}"/></td>
|
||||
</c:forEach>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="query">
|
||||
<form action="CrearCurso" method="post">
|
||||
<table>
|
||||
<tr>
|
||||
<td>Nivel</td>
|
||||
<td>Letra</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><input type="number" name="nivel" min="1" max="8" value="1"/></td>
|
||||
<td><input type="text" name="letra" maxlength="1" value="A" style="width:70px"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2"><button type="submit">Crear</button></td>
|
||||
</tr>
|
||||
<tr><td><c:out value="${errorCrear}"/></td></tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<div class="query">
|
||||
<form action="EliminarCurso" method="post" id="delete">
|
||||
<table>
|
||||
<tr>
|
||||
<td>Curso</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="select">
|
||||
<select name="curso" form="delete">
|
||||
<c:forEach items="${listas}" var="lista">
|
||||
<option value="${lista}"><c:out value="${lista}"/></option>
|
||||
</c:forEach>
|
||||
</select>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2"><button type="submit">Eliminar</button></td>
|
||||
</tr>
|
||||
<tr><td><c:out value="${errorEliminar}"/></td></tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user