Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/EjercitarWeb/WebContent/Asignatura.jsp
blob: 602c112cf84cb929f8e09eecb5df73444e75e27f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<%@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 http-equiv="Content-Type" content="text/html; charset=utf-8">
	<title>Asignatura</title>
	<%@include file="templateHEAD.jsp" %>
	<!-- validaciones -->  
	<script src="js/jquery.validate.min.js"></script>
	<script src="js/validaciones.js"></script>
</head>
<body class="e-body">
	<%@page import="model.Curso"  import="java.util.List" %>
	<div class="container e-viewport">
		<div class="row e-panel-header">
			<div class="e-logo"></div>
		</div>
		<div class="row e-panel-center">
			<div class="e-panel-bd panel panel-primary">
				<div class="panel-heading">Nueva Asignatura</div>
				<div class="panel-body">
					<form class="form-horizontal" role="form" id="form1"name="form" method="post" action="">
						<div class="form-group">
							<label for="nombre" class="col-sm-2 control-label">Nombre:</label>
							<div class="col-sm-10">
								<input type="text" class="form-control" name="nombre" id="nombre"/>
							</div>
						</div>
					    <div class="form-group">
					    	<label for="descripcion" class="col-sm-2 control-label">Descripci&oacute;n:</label>
							<div class="col-sm-10">
								<input type="text" class="form-control" name="descripcion" />
							</div>
					    </div>
					    <div class="form-group">
					    	<label for="curso" class="col-sm-2 control-label">Curso:</label>
							<div class="col-sm-10">
								<select class="form-control" id="curso" name="curso">
									<% List<Curso> cursos = (List<Curso>) request.getAttribute("lista_cursos"); %>
									<% for(Curso curso : cursos) {%>
										<option value="<%=curso.getIdCurso()%>"><%=curso.getEscuela().getNombre() + " " + curso.getSeccion() + " " + curso.getTurno()%></option>
									<% } %>
								</select>
							</div>
					    </div>
					    <div class="form-group">
					    	<label for="plantilla" class="col-sm-2 control-label">Usar plantilla:</label>
							<div class="col-sm-10">
								<select class="form-control" id="plantilla" name="plantilla" value="Seleccione una plantilla" default="asdf">
									<option value="0">Seleccione una opción..</option> 
									<option value="1">Matematica </option>
								</select>
							</div>
					    </div>
					    <button class="btn btn-default btn-primary" type="submit" name="Submit">Guardar</button>
					</form>
				</div>
			</div>
		</div>
		<div class="row e-panel-footer">
			<span>Ejercitar: Un Modelo de aprendizaje asistido por computadora</span>
			<span>Cecilia Godoy - Samuel Reyes. Ingeniería en Informática</span>
			<span>Facultad Politécnica - Universidad Nacional de Asunción</span>
		</div>
	</div>
</body>
</html>