Re-uploaded the project in only one repository
This commit is contained in:
1
colegio_web/README.md
Normal file
1
colegio_web/README.md
Normal file
@@ -0,0 +1 @@
|
||||
WebColegio
|
||||
71
colegio_web/build.xml
Normal file
71
colegio_web/build.xml
Normal file
@@ -0,0 +1,71 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- You may freely edit this file. See commented blocks below for -->
|
||||
<!-- some examples of how to customize the build. -->
|
||||
<!-- (If you delete it and reopen the project it will be recreated.) -->
|
||||
<!-- By default, only the Clean and Build commands use this build script. -->
|
||||
<!-- Commands such as Run, Debug, and Test only use this build script if -->
|
||||
<!-- the Compile on Save feature is turned off for the project. -->
|
||||
<!-- You can turn off the Compile on Save (or Deploy on Save) setting -->
|
||||
<!-- in the project's Project Properties dialog box.-->
|
||||
<project name="WebColegio" default="default" basedir=".">
|
||||
<description>Builds, tests, and runs the project WebColegio.</description>
|
||||
<import file="nbproject/build-impl.xml"/>
|
||||
<!--
|
||||
|
||||
There exist several targets which are by default empty and which can be
|
||||
used for execution of your tasks. These targets are usually executed
|
||||
before and after some main targets. They are:
|
||||
|
||||
-pre-init: called before initialization of project properties
|
||||
-post-init: called after initialization of project properties
|
||||
-pre-compile: called before javac compilation
|
||||
-post-compile: called after javac compilation
|
||||
-pre-compile-single: called before javac compilation of single file
|
||||
-post-compile-single: called after javac compilation of single file
|
||||
-pre-compile-test: called before javac compilation of JUnit tests
|
||||
-post-compile-test: called after javac compilation of JUnit tests
|
||||
-pre-compile-test-single: called before javac compilation of single JUnit test
|
||||
-post-compile-test-single: called after javac compilation of single JUunit test
|
||||
-pre-dist: called before archive building
|
||||
-post-dist: called after archive building
|
||||
-post-clean: called after cleaning build products
|
||||
-pre-run-deploy: called before deploying
|
||||
-post-run-deploy: called after deploying
|
||||
|
||||
Example of pluging an obfuscator after the compilation could look like
|
||||
|
||||
<target name="-post-compile">
|
||||
<obfuscate>
|
||||
<fileset dir="${build.classes.dir}"/>
|
||||
</obfuscate>
|
||||
</target>
|
||||
|
||||
For list of available properties check the imported
|
||||
nbproject/build-impl.xml file.
|
||||
|
||||
|
||||
Other way how to customize the build is by overriding existing main targets.
|
||||
The target of interest are:
|
||||
|
||||
init-macrodef-javac: defines macro for javac compilation
|
||||
init-macrodef-junit: defines macro for junit execution
|
||||
init-macrodef-debug: defines macro for class debugging
|
||||
do-dist: archive building
|
||||
run: execution of project
|
||||
javadoc-build: javadoc generation
|
||||
|
||||
Example of overriding the target for project execution could look like
|
||||
|
||||
<target name="run" depends="<PROJNAME>-impl.jar">
|
||||
<exec dir="bin" executable="launcher.exe">
|
||||
<arg file="${dist.jar}"/>
|
||||
</exec>
|
||||
</target>
|
||||
|
||||
Notice that overridden target depends on jar target and not only on
|
||||
compile target as regular run target does. Again, for list of available
|
||||
properties which you can use check the target you are overriding in
|
||||
nbproject/build-impl.xml file.
|
||||
|
||||
-->
|
||||
</project>
|
||||
2
colegio_web/build/web/META-INF/MANIFEST.MF
Normal file
2
colegio_web/build/web/META-INF/MANIFEST.MF
Normal file
@@ -0,0 +1,2 @@
|
||||
Manifest-Version: 1.0
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
10
colegio_web/build/web/WEB-INF/glassfish-web.xml
Normal file
10
colegio_web/build/web/WEB-INF/glassfish-web.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE glassfish-web-app PUBLIC "-//GlassFish.org//DTD GlassFish Application Server 3.1 Servlet 3.0//EN" "http://glassfish.org/dtds/glassfish-web-app_3_0-1.dtd">
|
||||
<glassfish-web-app error-url="">
|
||||
<class-loader delegate="true"/>
|
||||
<jsp-config>
|
||||
<property name="keepgenerated" value="true">
|
||||
<description>Keep a copy of the generated servlet class' java code.</description>
|
||||
</property>
|
||||
</jsp-config>
|
||||
</glassfish-web-app>
|
||||
BIN
colegio_web/build/web/WEB-INF/lib/APIDataBase.jar
Normal file
BIN
colegio_web/build/web/WEB-INF/lib/APIDataBase.jar
Normal file
Binary file not shown.
167
colegio_web/build/web/actividades.jsp
Normal file
167
colegio_web/build/web/actividades.jsp
Normal file
@@ -0,0 +1,167 @@
|
||||
<%--
|
||||
Document : actividades
|
||||
Created on : jun 8, 2017, 3:55:39 p.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>Actividad</title>
|
||||
<link rel="stylesheet" href="css.css"/>
|
||||
<script>
|
||||
function cambiar() {
|
||||
document.getElementById("asignar").submit();
|
||||
}
|
||||
function crear() {
|
||||
var form = document.getElementById("crear");
|
||||
var curso = document.createElement("input");
|
||||
var asignatura = document.createElement("input");
|
||||
curso.type = "hidden";
|
||||
curso.value = document.getElementById("curso").value;
|
||||
curso.name = "cursoCrear";
|
||||
asignatura.type = "hidden";
|
||||
asignatura.value = document.getElementById("asignatura").value;
|
||||
asignatura.name = "asignaturaCrear";
|
||||
form.appendChild(curso);
|
||||
form.appendChild(asignatura);
|
||||
document.getElementById("crear").submit();
|
||||
}
|
||||
function eliminar() {
|
||||
var form = document.getElementById("eliminar");
|
||||
var curso = document.createElement("input");
|
||||
var asignatura = document.createElement("input");
|
||||
curso.type = "hidden";
|
||||
curso.value = document.getElementById("curso").value;
|
||||
curso.name = "cursoEliminar";
|
||||
asignatura.type = "hidden";
|
||||
asignatura.value = document.getElementById("asignatura").value;
|
||||
asignatura.name = "asignaturaEliminar";
|
||||
form.appendChild(curso);
|
||||
form.appendChild(asignatura);
|
||||
document.getElementById("eliminar").submit();
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<%--TOP--%>
|
||||
<ul>
|
||||
<li style="float:right"><a href="AsignaturaServlet">Volver</a></li>
|
||||
</ul>
|
||||
<%--BOT--%>
|
||||
<div class="bottom">
|
||||
<%--Seleccion--%>
|
||||
<div class="query">
|
||||
<form action="ActividadServlet" method="get" id="asignar">
|
||||
<table style="width:20em"/>
|
||||
<tr>
|
||||
<td>Curso</td>
|
||||
<td>Asignatura</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="select">
|
||||
<select name="cursoSelected" onchange="cambiar.call(this, event)" id="curso">
|
||||
<c:forEach items="${cursos}" var="curso">
|
||||
<c:choose>
|
||||
<c:when test = "${cursoSelected==curso}">
|
||||
<option selected="true" value="${curso}"><c:out value="${curso}"/></option>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<option value="${curso}"><c:out value="${curso}"/></option>
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
</c:forEach>
|
||||
</select>
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="select">
|
||||
<select name="asignaturaSelected" onchange="cambiar.call(this, event)" id="asignatura">
|
||||
<c:forEach items="${asignaturas}" var="asignatura">
|
||||
<c:choose>
|
||||
<c:when test = "${asignaturaSelected==asignatura}">
|
||||
<option selected="true" value="${asignatura}"><c:out value="${asignatura}"/></option>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<option value="${asignatura}"><c:out value="${asignatura}"/></option>
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
</c:forEach>
|
||||
</select>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
<%--Table--%>
|
||||
<div class="overflow">
|
||||
<table class="table">
|
||||
<tr>
|
||||
<th class="th">Tipo</th>
|
||||
<th class="th">Fecha</th>
|
||||
</tr>
|
||||
<c:forEach items="${actividades}" var="actividad">
|
||||
<tr>
|
||||
<td class="td"><c:out value="${actividad.tipo}"/></td>
|
||||
<td class="td"><c:out value="${actividad.fecha}"/></td>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="query">
|
||||
<form action="CrearActividad" method="post" id="crear">
|
||||
<table>
|
||||
<tr>
|
||||
<td>Tipo</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><input type="text" name="tipo"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Fecha</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><input type="date" value="${today}" name="fecha"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><button onClick="crear()">Crear</button></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><c:out value="${errorCrear}"/></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
<div class="query">
|
||||
<form action="EliminarActividad" method="post" id="eliminar">
|
||||
<table>
|
||||
<tr>
|
||||
<td>Tipo</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><input type="text" name="tipo"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Fecha</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><input type="date" value="${today}" name="fecha"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><button onClick="eliminar()">Eliminar</button></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><c:out value="${errorEliminar}"/></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
182
colegio_web/build/web/anotaciones.jsp
Normal file
182
colegio_web/build/web/anotaciones.jsp
Normal file
@@ -0,0 +1,182 @@
|
||||
<%--
|
||||
Document : anotaciones
|
||||
Created on : jun 11, 2017, 12:08:21 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>Anotaciones</title>
|
||||
<link rel="stylesheet" href="css.css"/>
|
||||
<script>
|
||||
function cambiar() {
|
||||
document.getElementById("asignar").submit();
|
||||
}
|
||||
function crear() {
|
||||
var form = document.getElementById("crear");
|
||||
var estudiante = document.createElement("input");
|
||||
var curso = document.createElement("input");
|
||||
estudiante.type = "hidden";
|
||||
estudiante.value = document.getElementById("estudiante").value;
|
||||
estudiante.name = "estudianteCrear";
|
||||
curso.type = "hidden";
|
||||
curso.value = document.getElementById("curso").value;
|
||||
curso.name = "cursoCrear";
|
||||
form.appendChild(estudiante);
|
||||
form.appendChild(curso);
|
||||
document.getElementById("crear").submit();
|
||||
}
|
||||
function eliminar() {
|
||||
var form = document.getElementById("eliminar");
|
||||
var estudiante = document.createElement("input");
|
||||
var curso = document.createElement("input");
|
||||
estudiante.type = "hidden";
|
||||
estudiante.value = document.getElementById("estudiante").value;
|
||||
estudiante.name = "estudianteEliminar";
|
||||
curso.type = "hidden";
|
||||
curso.value = document.getElementById("curso").value;
|
||||
curso.name = "cursoEliminar";
|
||||
form.appendChild(estudiante);
|
||||
form.appendChild(curso);
|
||||
document.getElementById("eliminar").submit();
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<ul>
|
||||
<li style="float:right"><a href="EstudiantesServlet">Volver</a></li>
|
||||
</ul>
|
||||
<div class="bottom">
|
||||
<div class="query">
|
||||
<form action="AnotacionesServlet" method="get" id="asignar">
|
||||
<table style="width:20em">
|
||||
<tr>
|
||||
<td>Curso</td>
|
||||
<td>Estudiante</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="select">
|
||||
<select name="cursoSelected" onchange="cambiar.call(this, event)" id="curso">
|
||||
<c:forEach items="${listaCurso}" var="curso">
|
||||
<c:choose>
|
||||
<c:when test = "${cursoSelected==curso}">
|
||||
<option selected="true" value="${curso}"><c:out value="${curso}"/></option>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<option value="${curso}"><c:out value="${curso}"/></option>
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
</c:forEach>
|
||||
</select>
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="select">
|
||||
<select name="estudianteSelected" onchange="cambiar.call(this, event)" id="estudiante">
|
||||
<c:forEach items="${listaEstudiante}" var="estudiante">
|
||||
<c:choose>
|
||||
<c:when test = "${estudianteSelected==estudiante[1]}">
|
||||
<option selected="true" value="${estudiante[1]}"><c:out value="${estudiante[1]}"/></option>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<option value="${estudiante[1]}"><c:out value="${estudiante[1]}"/></option>
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
</c:forEach>
|
||||
</select>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
<div class="overflow">
|
||||
<table class="table">
|
||||
<tr>
|
||||
<th class="th">Profesor</th>
|
||||
<th class="th">Descripcion</th>
|
||||
<th class="th">Tipo</th>
|
||||
</tr>
|
||||
<c:forEach items="${listaAnotaciones}" var="anotacion">
|
||||
<tr>
|
||||
<td class="td"><c:out value="${anotacion[0]}"/></td>
|
||||
<td class="td"><c:out value="${anotacion[1]}"/></td>
|
||||
<td class="td"><c:out value="${anotacion[2]}"/></td>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
</table>
|
||||
</div>
|
||||
<div class="query">
|
||||
<form action="CrearAnotacion" method="post" id="crear">
|
||||
<table>
|
||||
<tr><td>Descripcion</td></tr>
|
||||
<tr><td><textarea name="descripcion" cols="40" rows="5"></textarea></td></tr>
|
||||
<tr><td>Tipo</td></tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="select">
|
||||
<select name="tipo">
|
||||
<option value="positiva">Positiva</option>
|
||||
<option value="negativa">Negativa</option>
|
||||
</select>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td>Profesor</td></tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="select">
|
||||
<select name="profesor">
|
||||
<c:forEach items="${listaProfesor}" var="profesor">
|
||||
<option value="${profesor}"><c:out value="${profesor}"/></option>
|
||||
</c:forEach>
|
||||
</select>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td><button onClick="crear()">Crear</button></td></tr>
|
||||
<tr><td><c:out value="${errorCrear}"/></td></tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
<div class="query">
|
||||
<form action="EliminarAnotacion" method="post" id="eliminar">
|
||||
<table>
|
||||
<tr><td>Descripcion</td></tr>
|
||||
<tr><td><textarea name="descripcion" cols="40" rows="5"></textarea></td></tr>
|
||||
<tr><td>Tipo</td></tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="select">
|
||||
<select name="tipo">
|
||||
<option value="positiva">Positiva</option>
|
||||
<option value="negativa">Negativa</option>
|
||||
</select>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td>Profesor</td></tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="select">
|
||||
<select name="profesor">
|
||||
<c:forEach items="${listaProfesor}" var="profesor">
|
||||
<option value="${profesor}"><c:out value="${profesor}"/></option>
|
||||
</c:forEach>
|
||||
</select>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td><button onClick="eliminar()">Eliminar</button></td></tr>
|
||||
<tr><td><c:out value="${errorEliminar}"/></td></tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
75
colegio_web/build/web/apoderados.jsp
Normal file
75
colegio_web/build/web/apoderados.jsp
Normal file
@@ -0,0 +1,75 @@
|
||||
<%--
|
||||
Document : apoderados
|
||||
Created on : jun 11, 2017, 3:32:35 p.m.
|
||||
Author : ryuuji
|
||||
--%>
|
||||
|
||||
<%@page contentType="text/html" pageEncoding="UTF-8"%>
|
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
||||
<link rel="stylesheet" href="css.css"/>
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Apoderados</title>
|
||||
</head>
|
||||
<body>
|
||||
<ul>
|
||||
<li style="float:right"><a href="index.jsp">Volver</a></li>
|
||||
</ul>
|
||||
<div class="bottom">
|
||||
<div class="overflow">
|
||||
<table class="table">
|
||||
<tr class="tr">
|
||||
<th class="th">Nombre</th>
|
||||
<th class="th">Rut</th>
|
||||
<th class="th" colspan="50">Estudiantes</th>
|
||||
</tr>
|
||||
<c:forEach items="${listaApoderados}" var="apoderado">
|
||||
<tr class="tr">
|
||||
<td class="td"><c:out value="${apoderado.key.nombre}"/></td>
|
||||
<td class="td"><c:out value="${apoderado.key.rut}"/></td>
|
||||
<c:forEach items="${apoderado.value}" var="estudiante">
|
||||
<td class="td"><c:out value="${estudiante.nombre}"/><br><c:out value="${estudiante.rut}"/></td>
|
||||
</c:forEach>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
</table>
|
||||
</div>
|
||||
<div class="query">
|
||||
<form action="CrearApoderado" method="post" id="crear">
|
||||
<table style="width: 20em">
|
||||
<tr><td>Nombre</td></tr>
|
||||
<tr>
|
||||
<td><input type="text" name="nombre"/></td>
|
||||
</tr>
|
||||
<tr><td>Rut</td></tr>
|
||||
<tr>
|
||||
<td><input type="text" name="rut"/></td>
|
||||
<td><input type="text" name="id" maxlength="1" style="width: 5em"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><button onclick="crear()">Crear</button></td>
|
||||
</tr>
|
||||
<tr><td><c:out value="${errorCrear}"/></td></tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
<div class="query">
|
||||
<form action="EliminarApoderado" method="post" id="eliminar">
|
||||
<table style="width: 20em">
|
||||
<tr><td>Rut</td></tr>
|
||||
<tr>
|
||||
<td><input type="text" name="rut"/></td>
|
||||
<td><input type="text" name="id" maxlength="1" style="width: 5em"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><button onclick="eliminar()">Eliminar</button></td>
|
||||
</tr>
|
||||
<tr><td><c:out value="${errorEliminar}"/></td></tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
162
colegio_web/build/web/asignaturas.jsp
Normal file
162
colegio_web/build/web/asignaturas.jsp
Normal file
@@ -0,0 +1,162 @@
|
||||
<%--
|
||||
Document : asignaturas
|
||||
Created on : jun 7, 2017, 9:24:22 p.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>Asignatura</title>
|
||||
<link rel="stylesheet" href="css.css"/>
|
||||
<script>
|
||||
function cambiarCurso() {
|
||||
document.getElementById("asignar").submit();
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<ul>
|
||||
<li><a href="ActividadServlet">Actividades</a></li>
|
||||
<li style="float:right"><a href="CursosServlet">Volver</a></li>
|
||||
</ul>
|
||||
|
||||
<div class="bottom">
|
||||
<div class="query">
|
||||
<form action="AsignaturaServlet" method="get" id="asignar">
|
||||
<table>
|
||||
<tr>
|
||||
<td>Curso</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="select">
|
||||
<select name="selected" onchange="cambiarCurso.call(this, event)">
|
||||
<c:forEach items="${cursos}" var="curso">
|
||||
<c:choose>
|
||||
<c:when test = "${selected==curso}">
|
||||
<option selected="true" value="${curso}"><c:out value="${curso}"/></option>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<option value="${curso}"><c:out value="${curso}"/></option>
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
</c:forEach>
|
||||
</select>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
<div class="overflow">
|
||||
<table class="table">
|
||||
<tr>
|
||||
<th class="th">Nombre</th>
|
||||
<th class="th">Profesor</th>
|
||||
</tr>
|
||||
<c:forEach items="${asignaturas}" var="asignatura">
|
||||
<tr>
|
||||
<td class="td"><c:out value="${asignatura.nombre}"/></td>
|
||||
<td class="td"><c:out value="${asignatura.profesor_id_fk.nombre}"/></td>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
</table>
|
||||
</div>
|
||||
<div class="query">
|
||||
<form action="CrearAsignatura" method="post">
|
||||
<table style="width:20em">
|
||||
<tr>
|
||||
<td>Nombre</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><input type="text" name="nombre"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Curso</td>
|
||||
</tr>
|
||||
<tr><td>
|
||||
<div class="select">
|
||||
<select name="curso">
|
||||
<c:forEach items="${cursos}" var="curso">
|
||||
<c:choose>
|
||||
<c:when test = "${selected==curso}">
|
||||
<option selected="true" value="${curso}"><c:out value="${curso}"/></option>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<option value="${curso}"><c:out value="${curso}"/></option>
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
</c:forEach>
|
||||
</select>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Profesor</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="select">
|
||||
<select name="profesor">
|
||||
<c:forEach items="${profesores}" var="profesor">
|
||||
<option value="${profesor}"><c:out value="${profesor}"/></option>
|
||||
</c:forEach>
|
||||
</select>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><button type="submit">Crear</button></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><c:out value="${errorCrear}"/></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
<div class="query">
|
||||
<form action="EliminarAsignatura" method="post">
|
||||
<table style="width:20em">
|
||||
<tr>
|
||||
<td>Nombre</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><input type="text" name="nombre"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Curso</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="select">
|
||||
<select name="curso">
|
||||
<c:forEach items="${cursos}" var="curso">
|
||||
<c:choose>
|
||||
<c:when test = "${selected==curso}">
|
||||
<option selected="true" value="${curso}"><c:out value="${curso}"/></option>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<option value="${curso}"><c:out value="${curso}"/></option>
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
</c:forEach>
|
||||
</select>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><button type="submit">Eliminar</button></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><c:out value="${errorEliminar}"/></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
157
colegio_web/build/web/asistencias.jsp
Normal file
157
colegio_web/build/web/asistencias.jsp
Normal file
@@ -0,0 +1,157 @@
|
||||
<%--
|
||||
Document : asistencias
|
||||
Created on : jun 11, 2017, 3:08:59 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>Asistencias</title>
|
||||
<link rel="stylesheet" href="css.css"/>
|
||||
<script>
|
||||
function cambiar() {
|
||||
document.getElementById("asignar").submit();
|
||||
}
|
||||
function crear() {
|
||||
var form = document.getElementById("crear");
|
||||
var estudiante = document.createElement("input");
|
||||
var curso = document.createElement("input");
|
||||
estudiante.type = "hidden";
|
||||
estudiante.value = document.getElementById("estudiante").value;
|
||||
estudiante.name = "estudianteCrear";
|
||||
form.appendChild(estudiante);
|
||||
document.getElementById("crear").submit();
|
||||
}
|
||||
function eliminar() {
|
||||
var form = document.getElementById("eliminar");
|
||||
var estudiante = document.createElement("input");
|
||||
var curso = document.createElement("input");
|
||||
estudiante.type = "hidden";
|
||||
estudiante.value = document.getElementById("estudiante").value;
|
||||
estudiante.name = "estudianteEliminar";
|
||||
form.appendChild(estudiante);
|
||||
document.getElementById("eliminar").submit();
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<ul>
|
||||
<li style="float:right"><a href="EstudiantesServlet">Volver</a></li>
|
||||
</ul>
|
||||
<div class="bottom">
|
||||
<div class="query">
|
||||
<form action="AsistenciasServlet" method="get" id="asignar">
|
||||
<table style="width:20em">
|
||||
<tr>
|
||||
<td>Curso</td>
|
||||
<td>Estudiante</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="select">
|
||||
<select name="cursoSelected" onchange="cambiar.call(this, event)" id="curso">
|
||||
<c:forEach items="${listaCurso}" var="curso">
|
||||
<c:choose>
|
||||
<c:when test = "${cursoSelected==curso}">
|
||||
<option selected="true" value="${curso}"><c:out value="${curso}"/></option>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<option value="${curso}"><c:out value="${curso}"/></option>
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
</c:forEach>
|
||||
</select>
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="select">
|
||||
<select name="estudianteSelected" onchange="cambiar.call(this, event)" id="estudiante">
|
||||
<c:forEach items="${listaEstudiante}" var="estudiante">
|
||||
<c:choose>
|
||||
<c:when test = "${estudianteSelected==estudiante[1]}">
|
||||
<option selected="true" value="${estudiante[1]}"><c:out value="${estudiante[1]}"/></option>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<option value="${estudiante[1]}"><c:out value="${estudiante[1]}"/></option>
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
</c:forEach>
|
||||
</select>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<div class="overflow">
|
||||
<table class="table">
|
||||
<tr>
|
||||
<th class="th">Dia</th>
|
||||
<th class="th">Asistio</th>
|
||||
</tr>
|
||||
<c:forEach items="${listaAsistencia}" var="asistio">
|
||||
<tr>
|
||||
<td class="td"><c:out value="${asistio[0]}"/></td>
|
||||
<td class="td"><c:out value="${asistio[1]}"/></td>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
</table>
|
||||
</div>
|
||||
<div class="query">
|
||||
<form action="CrearAsistencia" method="post" id="crear">
|
||||
<table>
|
||||
<tr><td>Fecha</td></tr>
|
||||
<tr>
|
||||
<td>
|
||||
<input type="date" name="fecha" value="${now}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td>Asistio</td></tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="select">
|
||||
<select name="asistio">
|
||||
<option value="si">Si</option>
|
||||
<option value="no">No</option>
|
||||
</select>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td><button onClick="crear()">Crear</button></td></tr>
|
||||
<tr><td><c:out value="${errorCrear}"/></td></tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
<div class="query">
|
||||
<form action="EliminarAsistencia" method="post" id="eliminar">
|
||||
<table>
|
||||
<tr><td>Fecha</td></tr>
|
||||
<tr>
|
||||
<td>
|
||||
<input type="date" name="fecha" value="${now}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td>Asistio</td></tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="select">
|
||||
<select name="asistio">
|
||||
<option value="si">Si</option>
|
||||
<option value="no">No</option>
|
||||
</select>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td><button onClick="eliminar()">Eliminar</button></td></tr>
|
||||
<tr><td><c:out value="${errorEliminar}"/></td></tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
184
colegio_web/build/web/css.css
Normal file
184
colegio_web/build/web/css.css
Normal file
@@ -0,0 +1,184 @@
|
||||
body {
|
||||
margin: 0px;
|
||||
font-family: "Roboto", helvetica, arial, sans-serif;
|
||||
font-size: 16px;
|
||||
font-weight: 400;
|
||||
background-color: #ddd;
|
||||
}
|
||||
|
||||
ul {
|
||||
list-style-type: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
overflow: hidden;
|
||||
background-color: #3F51B5;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
li {
|
||||
float: left;
|
||||
border-right: 1px solid #bbb;
|
||||
}
|
||||
|
||||
li:last-child {
|
||||
border-right: none;
|
||||
}
|
||||
|
||||
li a {
|
||||
display: block;
|
||||
color: white;
|
||||
text-align: center;
|
||||
padding: 14px 16px;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
li a:hover {
|
||||
background-color: #FFC107;
|
||||
}
|
||||
|
||||
|
||||
.bottom{
|
||||
margin-top: 50px;
|
||||
}
|
||||
|
||||
.table{
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
border-radius: 10px;
|
||||
background-color: white;
|
||||
}
|
||||
.th, .td {
|
||||
padding: 15px;
|
||||
text-align: left;
|
||||
border-bottom: 1px solid #ddd;
|
||||
}
|
||||
|
||||
.th{
|
||||
background-color: #3F51B5;
|
||||
border-right: 1px solid #ddd ;
|
||||
color: white;
|
||||
width: 5em;
|
||||
}
|
||||
|
||||
|
||||
.th:hover{
|
||||
background-color: #ff9800;
|
||||
}
|
||||
|
||||
.query{
|
||||
position:relative;
|
||||
border-radius: 10px;
|
||||
padding:10px;
|
||||
background:white;
|
||||
margin-top:10px;
|
||||
border: 2px solid transparent;
|
||||
}
|
||||
|
||||
form input {
|
||||
font-family: "Roboto", sans-serif;
|
||||
outline: 0;
|
||||
background: #f2f2f2;
|
||||
width: 100%;
|
||||
border: 0;
|
||||
margin: 0 0 15px;
|
||||
padding: 15px;
|
||||
box-sizing: border-box;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
form textarea{
|
||||
font-family: "Roboto", sans-serif;
|
||||
outline: 0;
|
||||
background: #f2f2f2;
|
||||
border: 0;
|
||||
margin: 0 0 15px;
|
||||
padding: 15px;
|
||||
box-sizing: border-box;
|
||||
font-size: 14px;
|
||||
}
|
||||
form button {
|
||||
font-family: "Roboto", sans-serif;
|
||||
outline: 0;
|
||||
background: #3F51B5;
|
||||
width: 100%;
|
||||
border: 0;
|
||||
padding: 15px;
|
||||
color: #FFFFFF;
|
||||
font-size: 14px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
form button:hover{
|
||||
background: #FFC107;
|
||||
color:black;
|
||||
}
|
||||
|
||||
form table{
|
||||
width: 10em;
|
||||
}
|
||||
|
||||
.overflow{
|
||||
overflow-y: scroll;
|
||||
max-height: 500px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
|
||||
/* Reset Select */
|
||||
select {
|
||||
-webkit-appearance: none;
|
||||
-moz-appearance: none;
|
||||
-ms-appearance: none;
|
||||
appearance: none;
|
||||
outline: 0;
|
||||
box-shadow: none;
|
||||
border: 0 !important;
|
||||
background: white;
|
||||
background-image: none;
|
||||
}
|
||||
/* Custom Select */
|
||||
.select {
|
||||
position: relative;
|
||||
display: block;
|
||||
width: auto;
|
||||
height: 3em;
|
||||
line-height: 3;
|
||||
background: #bbb;
|
||||
overflow: hidden;
|
||||
border-radius: .25em;
|
||||
}
|
||||
select {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
padding: 0em 0em 0em .35em;
|
||||
color: black;
|
||||
background: #f2f2f2;
|
||||
cursor: pointer;
|
||||
}
|
||||
select::-ms-expand {
|
||||
display: none;
|
||||
}
|
||||
/* Arrow */
|
||||
.select::after {
|
||||
content: '\25BC';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
padding: 0 1em;
|
||||
background: #3F51B5;
|
||||
pointer-events: none;
|
||||
}
|
||||
/* Transition */
|
||||
.select:hover::after {
|
||||
color: #FFC107;
|
||||
}
|
||||
.select::after {
|
||||
-webkit-transition: .25s all ease;
|
||||
-o-transition: .25s all ease;
|
||||
transition: .25s all ease;
|
||||
}
|
||||
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>
|
||||
132
colegio_web/build/web/estudiantes.jsp
Normal file
132
colegio_web/build/web/estudiantes.jsp
Normal file
@@ -0,0 +1,132 @@
|
||||
<%--
|
||||
Document : estudiantes
|
||||
Created on : jun 6, 2017, 2:51:52 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>Estudiantes</title>
|
||||
<link rel="stylesheet" href="css.css"/>
|
||||
<script>
|
||||
function cambiar() {
|
||||
document.getElementById("asignar").submit();
|
||||
}
|
||||
function crear() {
|
||||
var form = document.getElementById("crear");
|
||||
var curso = document.createElement("input");
|
||||
curso.type = "hidden";
|
||||
curso.value = document.getElementById("curso").value;
|
||||
curso.name = "cursoCrear";
|
||||
form.appendChild(curso);
|
||||
document.getElementById("crear").submit();
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<ul>
|
||||
<li><a href="NotasServlet">Notas</a></li>
|
||||
<li><a href="AnotacionesServlet">Anotaciones</a></li>
|
||||
<li><a href="AsistenciasServlet">Asistencia</a></li>
|
||||
<li style="float:right"><a href="index.jsp">Volver</a></li>
|
||||
</ul>
|
||||
<div class="bottom">
|
||||
<div class="query">
|
||||
<form action="EstudiantesServlet" method="get" id="asignar">
|
||||
<table style="width:10em"/>
|
||||
<tr>
|
||||
<td>Curso</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="select">
|
||||
<select name="cursoSelected" onchange="cambiar.call(this, event)" id="curso">
|
||||
<c:forEach items="${listaCursos}" var="curso">
|
||||
<c:choose>
|
||||
<c:when test = "${selected==curso}">
|
||||
<option selected="true" value="${curso}"><c:out value="${curso}"/></option>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<option value="${curso}"><c:out value="${curso}"/></option>
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
</c:forEach>
|
||||
</select>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
<div class="overflow">
|
||||
<table class="table">
|
||||
<tr>
|
||||
<th class="th">Nombre</th>
|
||||
<th class="th">Rut</th>
|
||||
</tr>
|
||||
<c:forEach items="${tablaEstudiantes}" var="estudiante">
|
||||
<tr>
|
||||
<td class="td"><c:out value="${estudiante.nombre}"/></td>
|
||||
<td class="td"><c:out value="${estudiante.rut}"/></td>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
</table>
|
||||
</div>
|
||||
<div class="query">
|
||||
<form action="CrearEstudiante" method="post" id="crear">
|
||||
<table style="width: 15em">
|
||||
<tr><td>Nombre</td></tr>
|
||||
<tr>
|
||||
<td><input type="text" name="nombre"/></td>
|
||||
</tr>
|
||||
<tr><td>Rut</td></tr>
|
||||
<tr>
|
||||
<td><input type="text" name="rut"/></td>
|
||||
<td><input type="text" name="id" maxlength="1" style="width: 5em"/></td>
|
||||
</tr>
|
||||
<tr><td>Apoderado</td></tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="select">
|
||||
<select name="apoderado">
|
||||
<c:forEach items="${listaApoderados}" var="apoderado">
|
||||
<option value="${apoderado[1]}"><c:out value="${apoderado[1]}"/></option>
|
||||
</c:forEach>
|
||||
</select>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><button onClick="crear()">Crear</button></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><c:out value="${errorCrear}"/></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<div class="query">
|
||||
<form action="EliminarEstudiante" method="post" id="eliminar">
|
||||
<table style="width: 15em">
|
||||
<tr><td>Rut</td></tr>
|
||||
<tr>
|
||||
<td><input type="text" name="rut"/></td>
|
||||
<td><input type="text" name="id" maxlength="1" style="width: 5em"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><button type="submit">Eliminar</button></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><c:out value="${errorEliminar}"/></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
0
colegio_web/build/web/gfv3ee6.dpf
Normal file
0
colegio_web/build/web/gfv3ee6.dpf
Normal file
30
colegio_web/build/web/index.jsp
Normal file
30
colegio_web/build/web/index.jsp
Normal file
@@ -0,0 +1,30 @@
|
||||
<%--
|
||||
Document : index
|
||||
Created on : jun 6, 2017, 2:49:53 a.m.
|
||||
Author : ryuuji
|
||||
--%>
|
||||
|
||||
<%@page contentType="text/html" pageEncoding="UTF-8"%>
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Web Colegio</title>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="stylesheet" href="css.css"/>
|
||||
</head>
|
||||
<body>
|
||||
<ul>
|
||||
<li><a href="CursosServlet" >Cursos</a></li>
|
||||
<li><a href="EstudiantesServlet">Estudiantes</a></li>
|
||||
<li><a href="ProfesoresServlet">Profesores</a></li>
|
||||
<li><a href="ApoderadosServlet">Apoderados</a></li>
|
||||
<li><a href="ReporteServlet">Reportes</a></li>
|
||||
|
||||
<li style="float:right"><a href="Delete">Delete DB</a></li>
|
||||
<li style="float:right"><a href="Fill">Fill DB</a></li>
|
||||
<li style="float:right"><a href="DB">Create DB</a></li>
|
||||
|
||||
</ul>
|
||||
</body>
|
||||
</html>
|
||||
165
colegio_web/build/web/notas.jsp
Normal file
165
colegio_web/build/web/notas.jsp
Normal file
@@ -0,0 +1,165 @@
|
||||
<%--
|
||||
Document : notas
|
||||
Created on : jun 10, 2017, 7:53:35 p.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>Notas</title>
|
||||
<link rel="stylesheet" href="css.css"/>
|
||||
<script>
|
||||
function cambiar() {
|
||||
document.getElementById("asignar").submit();
|
||||
}
|
||||
function crear() {
|
||||
var form = document.getElementById("crear");
|
||||
var estudiante = document.createElement("input");
|
||||
var curso = document.createElement("input");
|
||||
var asignatura = document.createElement("input");
|
||||
estudiante.type = "hidden";
|
||||
estudiante.value = document.getElementById("estudiante").value;
|
||||
estudiante.name = "estudianteCrear";
|
||||
asignatura.type = "hidden";
|
||||
asignatura.value = document.getElementById("asignatura").value;
|
||||
asignatura.name = "asignaturaCrear";
|
||||
curso.type = "hidden";
|
||||
curso.value = document.getElementById("curso").value;
|
||||
curso.name = "cursoCrear";
|
||||
form.appendChild(estudiante);
|
||||
form.appendChild(asignatura);
|
||||
form.appendChild(curso);
|
||||
document.getElementById("crear").submit();
|
||||
}
|
||||
function eliminar() {
|
||||
var form = document.getElementById("eliminar");
|
||||
var estudiante = document.createElement("input");
|
||||
var curso = document.createElement("input");
|
||||
var asignatura = document.createElement("input");
|
||||
estudiante.type = "hidden";
|
||||
estudiante.value = document.getElementById("estudiante").value;
|
||||
estudiante.name = "estudianteEliminar";
|
||||
asignatura.type = "hidden";
|
||||
asignatura.value = document.getElementById("asignatura").value;
|
||||
asignatura.name = "asignaturaEliminar";
|
||||
curso.type = "hidden";
|
||||
curso.value = document.getElementById("curso").value;
|
||||
curso.name = "cursoEliminar";
|
||||
form.appendChild(estudiante);
|
||||
form.appendChild(asignatura);
|
||||
form.appendChild(curso);
|
||||
document.getElementById("eliminar").submit();
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<ul>
|
||||
<li style="float:right"><a href="EstudiantesServlet">Volver</a></li>
|
||||
</ul>
|
||||
<div class="bottom">
|
||||
<div class="query">
|
||||
<form action="NotasServlet" method="get" id="asignar">
|
||||
<table style="width:40em">
|
||||
<tr>
|
||||
<td>Curso</td>
|
||||
<td>Estudiante</td>
|
||||
<td>Asignatura</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="select">
|
||||
<select name="cursoSelected" onchange="cambiar.call(this, event)" id="curso">
|
||||
<c:forEach items="${listaCurso}" var="curso">
|
||||
<c:choose>
|
||||
<c:when test = "${cursoSelected==curso}">
|
||||
<option selected="true" value="${curso}"><c:out value="${curso}"/></option>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<option value="${curso}"><c:out value="${curso}"/></option>
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
</c:forEach>
|
||||
</select>
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="select">
|
||||
<select name="estudianteSelected" onchange="cambiar.call(this, event)" id="estudiante">
|
||||
<c:forEach items="${listaEstudiante}" var="estudiante">
|
||||
<c:choose>
|
||||
<c:when test = "${estudianteSelected==estudiante[1]}">
|
||||
<option selected="true" value="${estudiante[1]}"><c:out value="${estudiante[1]}"/></option>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<option value="${estudiante[1]}"><c:out value="${estudiante[1]}"/></option>
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
</c:forEach>
|
||||
</select>
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="select">
|
||||
<select name="asignaturaSelected" onchange="cambiar.call(this, event)" id="asignatura">
|
||||
<c:forEach items="${listaAsignatura}" var="asignatura">
|
||||
<c:choose>
|
||||
<c:when test = "${asignaturaSelected==asignatura}">
|
||||
<option selected="true" value="${asignatura}"><c:out value="${asignatura}"/></option>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<option value="${asignatura}"><c:out value="${asignatura}"/></option>
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
</c:forEach>
|
||||
</select>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
<div class="overflow">
|
||||
<table class="table">
|
||||
<tr>
|
||||
<th class="th">Notas</th>
|
||||
<c:forEach items="${listaNotas}" var="nota">
|
||||
<td style="border-right: 1px solid #ddd " class="td"><c:out value="${nota.valor}"/></td>
|
||||
</c:forEach>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<form action="CrearNota" method="post" id="crear" class="query">
|
||||
<table>
|
||||
<tr><td>Valor</td></tr>
|
||||
<tr>
|
||||
<td><input type="number" name="valor" min="0" max="7" value="5" step="0.1"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><button onClick="crear()">Añadir</button></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><c:out value="${errorCrear}"/></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
<form action="EliminarNota" method="post" id="eliminar" class="query">
|
||||
<table>
|
||||
<tr><td>Valor</td></tr>
|
||||
<tr>
|
||||
<td><input type="number" name="valor" min="0" max="7" value="5" step="0.1"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><button onClick="eliminar()">Eliminar</button></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><c:out value="${errorEliminar}"/></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
83
colegio_web/build/web/profesores.jsp
Normal file
83
colegio_web/build/web/profesores.jsp
Normal file
@@ -0,0 +1,83 @@
|
||||
<%--
|
||||
Document : profesores
|
||||
Created on : jun 6, 2017, 2:51:57 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>Profesores</title>
|
||||
<link rel="stylesheet" href="css.css"/>
|
||||
<script>
|
||||
function crear(){
|
||||
document.getElementById("crear").submit();
|
||||
}
|
||||
function eliminar(){
|
||||
document.getElementById("eliminar").submit();
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<ul>
|
||||
<li style="float: right"><a href="index.jsp">Volver</a></li>
|
||||
</ul>
|
||||
<div class="bottom">
|
||||
<div class="overflow">
|
||||
<table class="table">
|
||||
<tr class="tr">
|
||||
<th class="th">Nombre</th>
|
||||
<th class="th">Rut</th>
|
||||
<th class="th" colspan="50">Asignaturas</th>
|
||||
</tr>
|
||||
<c:forEach items="${profesores}" var="profesor">
|
||||
<tr class="tr">
|
||||
<td class="td"><c:out value="${profesor.key.nombre}"/></td>
|
||||
<td class="td"><c:out value="${profesor.key.rut}"/></td>
|
||||
<c:forEach items="${profesor.value}" var="asignatura">
|
||||
<td class="td"><c:out value="${asignatura.nombre}"/></td>
|
||||
</c:forEach>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
</table>
|
||||
</div>
|
||||
<div class="query">
|
||||
<form action="CrearProfesor" method="post" id="crear">
|
||||
<table style="width: 20em">
|
||||
<tr><td>Nombre</td></tr>
|
||||
<tr>
|
||||
<td><input type="text" name="nombre"/></td>
|
||||
</tr>
|
||||
<tr><td>Rut</td></tr>
|
||||
<tr>
|
||||
<td><input type="text" name="rut"/></td>
|
||||
<td><input type="text" name="id" maxlength="1" style="width: 5em"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><button onclick="crear()">Crear</button></td>
|
||||
</tr>
|
||||
<tr><td><c:out value="${errorCrear}"/></td></tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
<div class="query">
|
||||
<form action="EliminarProfesor" method="post" id="eliminar">
|
||||
<table style="width: 20em">
|
||||
<tr><td>Rut</td></tr>
|
||||
<tr>
|
||||
<td><input type="text" name="rut"/></td>
|
||||
<td><input type="text" name="id" maxlength="1" style="width: 5em"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><button onclick="eliminar()">Eliminar</button></td>
|
||||
</tr>
|
||||
<tr><td><c:out value="${errorEliminar}"/></td></tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
158
colegio_web/build/web/reporte.jsp
Normal file
158
colegio_web/build/web/reporte.jsp
Normal file
@@ -0,0 +1,158 @@
|
||||
<%--
|
||||
Document : reporte
|
||||
Created on : jun 13, 2017, 7:52:59 p.m.
|
||||
Author : ryuuji
|
||||
--%>
|
||||
|
||||
<%@page contentType="text/html" pageEncoding="UTF-8"%>
|
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
||||
<!DOCTYPE html>
|
||||
<html xmlns:h="http://xmlns.jcp.org/jsf/html" xmlns:f="http://xmlns.jcp.org/jsf/core">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Reportes</title>
|
||||
<link rel="stylesheet" href="css.css"/>
|
||||
<script>
|
||||
function cambiar() {
|
||||
document.getElementById("asignar").submit();
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<ul>
|
||||
<li style="float:right"><a href="index.jsp">Volver</a></li>
|
||||
</ul>
|
||||
<div class="bottom">
|
||||
<div class="query">
|
||||
<form action="GenerarReporteGeneral" method="post">
|
||||
<h4>Reporte general para Apoderado</h4>
|
||||
<p>Reporte destinado a un apoderado, muestra todas las notas, planificaciones y anotaciones de sus pupilos.</p>
|
||||
<table style="width: 100%">
|
||||
<tr>
|
||||
<td><button type="submit" name="button" value="xml">Generar XML</button></td>
|
||||
<td><button type="submit" name="button" value="json">Generar JSON</button></td>
|
||||
<td><button type="submit" name="button" value="html">Generar HTML</button></td>
|
||||
<td><button type="submit" name="button" value="xlsx">Generar XLSX</button></td>
|
||||
<td><button type="submit" name="button" value="docx">Generar DOCX</button></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</form>
|
||||
</div>
|
||||
<div class="query">
|
||||
<form action="GenerarReporteProfesor" method="post">
|
||||
<h4>Reporte profesor</h4>
|
||||
<p>Reporte que muestra a los profesores los promedios de notas de los estudiantes de sus asignaturas</p>
|
||||
<table style="width: 20em">
|
||||
<tr><td>Rut profesor:</td></tr>
|
||||
<tr><td><input type="text" name="rut"></td><td style="width:5em"><input type="text" name="id"></td></tr>
|
||||
</table>
|
||||
<table style="width: 100%">
|
||||
<tr>
|
||||
<td><button type="submit" name="button" value="xml">Generar XML</button></td>
|
||||
<td><button type="submit" name="button" value="json">Generar JSON</button></td>
|
||||
<td><button type="submit" name="button" value="html">Generar HTML</button></td>
|
||||
<td><button type="submit" name="button" value="xlsx">Generar XLSX</button></td>
|
||||
<td><button type="submit" name="button" value="docx">Generar DOCX</button></td>
|
||||
</tr>
|
||||
<tr><td><c:out value="${errorReporteProfesor}"/></td></tr>
|
||||
</table>
|
||||
</form>
|
||||
</form>
|
||||
</div>
|
||||
<div class="query">
|
||||
<form action="GenerarReporteAsistenciaYNotas" method="post">
|
||||
<h4>Reporte asistencia y notas</h4>
|
||||
<p>Reporte que muestra el porcentaje de asistencia y las notas de un estudiante</p>
|
||||
<table style="width: 20em">
|
||||
<tr><td>Rut estudiante:</td></tr>
|
||||
<tr><td><input type="text" name="rut"></td><td style="width:5em"><input type="text" name="id"></td></tr>
|
||||
</table>
|
||||
<table style="width: 100%">
|
||||
<tr>
|
||||
<td><button type="submit" name="button" value="xml">Generar XML</button></td>
|
||||
<td><button type="submit" name="button" value="json">Generar JSON</button></td>
|
||||
<td><button type="submit" name="button" value="html">Generar HTML</button></td>
|
||||
<td><button type="submit" name="button" value="xlsx">Generar XLSX</button></td>
|
||||
<td><button type="submit" name="button" value="docx">Generar DOCX</button></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<div class="query">
|
||||
<form action="GenerarReporteBajaAsistencia" method="post">
|
||||
<h4>Reporte baja asistencia</h4>
|
||||
<p>Reporte que muestra los estudiantes que se encuentran bajo un porcentaje indicado de asistencia</p>
|
||||
<table style="width: 10em">
|
||||
<tr><td>Porcentaje Minimo:</td></tr>
|
||||
<tr><td><input type="number" name="porcentaje" min="0" max="100" value="0"></td></tr>
|
||||
</table>
|
||||
<table style="width: 100%">
|
||||
<tr>
|
||||
<td><button type="submit" name="button" value="xml">Generar XML</button></td>
|
||||
<td><button type="submit" name="button" value="json">Generar JSON</button></td>
|
||||
<td><button type="submit" name="button" value="html">Generar HTML</button></td>
|
||||
<td><button type="submit" name="button" value="xlsx">Generar XLSX</button></td>
|
||||
<td><button type="submit" name="button" value="docx">Generar DOCX</button></td>
|
||||
</tr>
|
||||
<tr><td><c:out value="${errorReporteBajaAsistencia}"/></td></tr>
|
||||
</table>
|
||||
</form>
|
||||
</form>
|
||||
</div>
|
||||
<div class="query">
|
||||
<form action="GenerarReporteReprobando" method="post">
|
||||
<h4>Reporte estudiantes reprobando</h4>
|
||||
<p>Reporte que presenta los estudiantes que estan reprobando</p>
|
||||
<table style="width: 100%">
|
||||
<tr>
|
||||
<td><button type="submit" name="button" value="xml">Generar XML</button></td>
|
||||
<td><button type="submit" name="button" value="json">Generar JSON</button></td>
|
||||
<td><button type="submit" name="button" value="html">Generar HTML</button></td>
|
||||
<td><button type="submit" name="button" value="xlsx">Generar XLSX</button></td>
|
||||
<td><button type="submit" name="button" value="docx">Generar DOCX</button></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
<div class="query">
|
||||
<form action="GenerarReporteApoderadoMasPupilos" method="post">
|
||||
<h4>Reporte apoderados con mas de un pupilo</h4>
|
||||
<p>Reporte que muestra los apoderados con mas de un estudiante en el establecimiento</p>
|
||||
<table style="width: 100%">
|
||||
<tr>
|
||||
<td><button type="submit" name="button" value="xml">Generar XML</button></td>
|
||||
<td><button type="submit" name="button" value="json">Generar JSON</button></td>
|
||||
<td><button type="submit" name="button" value="html">Generar HTML</button></td>
|
||||
<td><button type="submit" name="button" value="xlsx">Generar XLSX</button></td>
|
||||
<td><button type="submit" name="button" value="docx">Generar DOCX</button></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</form>
|
||||
</div>
|
||||
<div class="query">
|
||||
<form action="GenerarReportePlanificacion" method="post">
|
||||
<h4>Reporte planificacion de actividades</h4>
|
||||
<p>Reporte con la planificacion de actividades de cada alumno de un apoderado</p>
|
||||
<table style="width: 20em">
|
||||
<tr><td>Rut apoderado:</td></tr>
|
||||
<tr><td><input type="text" name="rut"></td><td style="width:5em"><input type="text" name="id"></td></tr>
|
||||
</table>
|
||||
<table style="width: 100%">
|
||||
<tr>
|
||||
<td><button type="submit" name="button" value="xml">Generar XML</button></td>
|
||||
<td><button type="submit" name="button" value="json">Generar JSON</button></td>
|
||||
<td><button type="submit" name="button" value="html">Generar HTML</button></td>
|
||||
<td><button type="submit" name="button" value="xlsx">Generar XLSX</button></td>
|
||||
<td><button type="submit" name="button" value="docx">Generar DOCX</button></td>
|
||||
</tr>
|
||||
<tr><td><c:out value="${errorReportePlanificacion}"/></td></tr>
|
||||
</table>
|
||||
</form>
|
||||
</form>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
BIN
colegio_web/dist/WebColegio.war
vendored
Normal file
BIN
colegio_web/dist/WebColegio.war
vendored
Normal file
Binary file not shown.
100
colegio_web/files/apellidos.txt
Normal file
100
colegio_web/files/apellidos.txt
Normal file
@@ -0,0 +1,100 @@
|
||||
González
|
||||
Muñoz
|
||||
Rojas
|
||||
Días
|
||||
Pérez
|
||||
Soto
|
||||
Contreras
|
||||
Silva
|
||||
Martínez
|
||||
Sepúlveda
|
||||
Morales
|
||||
Rodríguez
|
||||
López
|
||||
Fuentes
|
||||
Hernándes
|
||||
Torres
|
||||
Araya
|
||||
Flores
|
||||
Espinoza
|
||||
Valenzuela
|
||||
Castillo
|
||||
Ramírez
|
||||
Reyes
|
||||
Gutiérrez
|
||||
Castro
|
||||
Vargas
|
||||
Álvarez
|
||||
Vásquez
|
||||
Tapia
|
||||
Fernández
|
||||
Sánchez
|
||||
Carrasco
|
||||
Gómez
|
||||
Cortés
|
||||
Herrera
|
||||
Núñez
|
||||
Jara
|
||||
Vergara
|
||||
Rivera
|
||||
Figueroa
|
||||
Riquelme
|
||||
García
|
||||
Miranda
|
||||
Bravo
|
||||
Vera
|
||||
Molina
|
||||
Vega
|
||||
Campos
|
||||
Sandoval
|
||||
Orellana
|
||||
Zúñiga
|
||||
Oliares
|
||||
Alarcón
|
||||
Gallardo
|
||||
Ortiz
|
||||
Garrido
|
||||
Salazar
|
||||
Guzmán
|
||||
Henríquez
|
||||
Saavedra
|
||||
Navarro
|
||||
Aguilera
|
||||
Parra
|
||||
Romero
|
||||
Aravena
|
||||
Pizarro
|
||||
Godoy
|
||||
Peña
|
||||
Cáceres
|
||||
Leiva
|
||||
Escobar
|
||||
Yáñez
|
||||
Valdés
|
||||
Vidal
|
||||
Salinas
|
||||
Cárdenas
|
||||
Jimenez
|
||||
Ruiz
|
||||
Lagos
|
||||
Maldonado
|
||||
Bustos
|
||||
Medina
|
||||
Pino
|
||||
Palma
|
||||
Moreno
|
||||
Sanhueza
|
||||
Carvajal
|
||||
Navarrete
|
||||
Sáez
|
||||
Alvarado
|
||||
Donoso
|
||||
Poblete
|
||||
Bustamante
|
||||
Toro
|
||||
Ortega
|
||||
Venegas
|
||||
Guerrero
|
||||
Paredes
|
||||
Farías
|
||||
San Martín
|
||||
199
colegio_web/files/nombre.txt
Normal file
199
colegio_web/files/nombre.txt
Normal file
@@ -0,0 +1,199 @@
|
||||
Agustín
|
||||
Benjamin
|
||||
Vicente
|
||||
Martín
|
||||
Matías
|
||||
Joaquín
|
||||
Tomás
|
||||
Maximiliano
|
||||
Mateo
|
||||
CristóBalfeAlonso
|
||||
Sebastían
|
||||
José
|
||||
Felipe
|
||||
Diego
|
||||
Lucas
|
||||
Nicolás
|
||||
Máximo
|
||||
Juan
|
||||
Bastían
|
||||
Gaspar
|
||||
Gabriel
|
||||
Renato
|
||||
Santiago
|
||||
Emilio
|
||||
Ignacio
|
||||
Francisco
|
||||
Javier
|
||||
Damián
|
||||
Bruno
|
||||
Simón
|
||||
Daniel
|
||||
Luis
|
||||
Facundo
|
||||
Franco
|
||||
Ángel
|
||||
Luciano
|
||||
Julián
|
||||
Pedro
|
||||
Pablo
|
||||
Amaro
|
||||
Fernando
|
||||
Carlos
|
||||
Cristián
|
||||
Thomas
|
||||
Esteban
|
||||
Ian
|
||||
David
|
||||
Alexander
|
||||
León
|
||||
Dante
|
||||
Rafael
|
||||
Jorge
|
||||
Gustavo
|
||||
Emiliano
|
||||
Dylan
|
||||
Rodrigo
|
||||
Víctor
|
||||
Manuel
|
||||
Camilo
|
||||
Alejandro
|
||||
Miguel
|
||||
Elías
|
||||
Álvaro
|
||||
Eduardo
|
||||
Leonardo
|
||||
Fabían
|
||||
Andrés
|
||||
Valentín
|
||||
Gonzalo
|
||||
Cristopher
|
||||
Kevin
|
||||
Isaac
|
||||
Alexis
|
||||
Samuel
|
||||
Aaron
|
||||
Clemente
|
||||
Jean
|
||||
Ricardo
|
||||
Alan
|
||||
Héctor
|
||||
Sergio
|
||||
Óscar
|
||||
Claudio
|
||||
Demian
|
||||
Patricio
|
||||
Iván
|
||||
Guillermo
|
||||
Mathías
|
||||
Marcelo
|
||||
Mauricio
|
||||
Josué
|
||||
Jesús
|
||||
Lukas
|
||||
Isaías
|
||||
César
|
||||
Axel
|
||||
Alfonso
|
||||
Alex
|
||||
Baltazar
|
||||
Sofía
|
||||
Emilia
|
||||
Florencia
|
||||
Antonella
|
||||
Martina
|
||||
Isidora
|
||||
Maite
|
||||
Josefa
|
||||
Amanda
|
||||
Agustina
|
||||
Catalina
|
||||
Antonia
|
||||
Trinidad
|
||||
Fernanda
|
||||
María
|
||||
Valentina
|
||||
Javiera
|
||||
Isabella
|
||||
Ignacia
|
||||
Constanza
|
||||
Julieta
|
||||
Francisca
|
||||
Emily
|
||||
Renata
|
||||
Mia
|
||||
Camila
|
||||
Victoria
|
||||
Matilda
|
||||
Rafaela
|
||||
Belén
|
||||
Pascal
|
||||
Monserrat
|
||||
Laura
|
||||
Magdalena
|
||||
Paz
|
||||
Anaís
|
||||
Josefina
|
||||
Pía
|
||||
Violeta
|
||||
Matilde
|
||||
Dominique
|
||||
Colomba
|
||||
Rocío
|
||||
Amalia
|
||||
Leonor
|
||||
Daniela
|
||||
Pascale
|
||||
Emma
|
||||
Amparo
|
||||
Samantha
|
||||
Gabriela
|
||||
Ámbar
|
||||
Rafaella
|
||||
Amelia
|
||||
Mayra
|
||||
Sophia
|
||||
Génesis
|
||||
Ema
|
||||
Alondra
|
||||
Mariana
|
||||
Dominga
|
||||
Mayte
|
||||
Michelle
|
||||
Rayén
|
||||
Danae
|
||||
Elena
|
||||
Lucía
|
||||
Millaray
|
||||
Paula
|
||||
Elizabeth
|
||||
Anahís
|
||||
Carolina
|
||||
Elisa
|
||||
Amy
|
||||
Bárbara
|
||||
Isabel
|
||||
Ashley
|
||||
Thiare
|
||||
Noemí
|
||||
Aylin
|
||||
Luciana
|
||||
Krishna
|
||||
Ángela
|
||||
Esperanza
|
||||
Sara
|
||||
Carla
|
||||
Noelia
|
||||
Kiara
|
||||
Katalina
|
||||
Celewste
|
||||
Montserrat
|
||||
Denisse
|
||||
Dafne
|
||||
Abigail
|
||||
Antonela
|
||||
Olivia
|
||||
Maura
|
||||
Alejandra
|
||||
Alexandra
|
||||
Consuelo
|
||||
128
colegio_web/files/xslt/toExcelApoderadosMasEstudiantes.xsl
Normal file
128
colegio_web/files/xslt/toExcelApoderadosMasEstudiantes.xsl
Normal file
@@ -0,0 +1,128 @@
|
||||
|
||||
|
||||
<xsl:stylesheet
|
||||
version="1.0"
|
||||
xmlns="urn:schemas-microsoft-com:office:spreadsheet"
|
||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||
xmlns:msxsl="urn:schemas-microsoft-com:xslt"
|
||||
xmlns:user="urn:my-scripts"
|
||||
xmlns:o="urn:schemas-microsoft-com:office:office"
|
||||
xmlns:x="urn:schemas-microsoft-com:office:excel"
|
||||
xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet">
|
||||
|
||||
<xsl:template match="/">
|
||||
<Workbook
|
||||
xmlns="urn:schemas-microsoft-com:office:spreadsheet"
|
||||
xmlns:o="urn:schemas-microsoft-com:office:office"
|
||||
xmlns:x="urn:schemas-microsoft-com:office:excel"
|
||||
xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet"
|
||||
xmlns:html="http://www.w3.org/TR/REC-html40">
|
||||
<DocumentProperties xmlns="urn:schemas-microsoft-com:office:office">
|
||||
<Author>ed woychowsky</Author>
|
||||
<LastAuthor>Edmond Woychowsky</LastAuthor>
|
||||
<Created>2007-01-26T16:54:15Z</Created>
|
||||
<LastSaved>2007-01-27T05:18:54Z</LastSaved>
|
||||
<Company>None</Company>
|
||||
<Version>10.3501</Version>
|
||||
</DocumentProperties>
|
||||
<OfficeDocumentSettings xmlns="urn:schemas-microsoft-com:office:office">
|
||||
<DownloadComponents/>
|
||||
<LocationOfComponents HRef="file:///D:\"/>
|
||||
</OfficeDocumentSettings>
|
||||
<ExcelWorkbook xmlns="urn:schemas-microsoft-com:office:excel">
|
||||
<WindowHeight>8700</WindowHeight>
|
||||
<WindowWidth>11355</WindowWidth>
|
||||
<WindowTopX>480</WindowTopX>
|
||||
<WindowTopY>120</WindowTopY>
|
||||
<ProtectStructure>False</ProtectStructure>
|
||||
<ProtectWindows>False</ProtectWindows>
|
||||
</ExcelWorkbook>
|
||||
<Styles>
|
||||
<Style ss:ID="Default" ss:Name="Normal">
|
||||
<Alignment ss:Vertical="Bottom"/><Borders/><Font/><Interior/><NumberFormat/><Protection/>
|
||||
|
||||
</Style>
|
||||
</Styles>
|
||||
<Worksheet ss:Name="Test">
|
||||
<Table>
|
||||
|
||||
<xsl:for-each select="logica.reportes.ReporteApoderadosMasEstudiantes/apoderadosDuplicados/entry">
|
||||
<!--Apoderado-->
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Apoderado</Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Rut</Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="Apoderado/nombre"/></Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="Apoderado/rut"/></Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
<!--White-->
|
||||
<Row>
|
||||
<Cell></Cell>
|
||||
</Row>
|
||||
<!--Estudiantes-->
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Estudiante</Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Rut</Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
|
||||
<xsl:for-each select="list/Estudiante">
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="nombre"/></Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="rut"/></Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
</xsl:for-each>
|
||||
<!--White-->
|
||||
<Row>
|
||||
<Cell></Cell>
|
||||
</Row>
|
||||
</xsl:for-each>
|
||||
</Table>
|
||||
<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
|
||||
<Print>
|
||||
<ValidPrinterInfo/>
|
||||
<HorizontalResolution>600</HorizontalResolution>
|
||||
<VerticalResolution>0</VerticalResolution>
|
||||
</Print>
|
||||
<Selected/>
|
||||
<Panes>
|
||||
<Pane>
|
||||
<Number>3</Number>
|
||||
<ActiveRow>2</ActiveRow>
|
||||
</Pane>
|
||||
</Panes>
|
||||
<ProtectObjects>False</ProtectObjects>
|
||||
<ProtectScenarios>False</ProtectScenarios>
|
||||
</WorksheetOptions>
|
||||
</Worksheet>
|
||||
<Worksheet ss:Name="Sheet2">
|
||||
<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
|
||||
<ProtectObjects>False</ProtectObjects>
|
||||
<ProtectScenarios>False</ProtectScenarios>
|
||||
</WorksheetOptions>
|
||||
</Worksheet>
|
||||
<Worksheet ss:Name="Sheet3">
|
||||
<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
|
||||
<ProtectObjects>False</ProtectObjects>
|
||||
<ProtectScenarios>False</ProtectScenarios>
|
||||
</WorksheetOptions>
|
||||
</Worksheet>
|
||||
</Workbook>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
89
colegio_web/files/xslt/toExcelAsistenciaBaja.xsl
Normal file
89
colegio_web/files/xslt/toExcelAsistenciaBaja.xsl
Normal file
@@ -0,0 +1,89 @@
|
||||
<xsl:stylesheet version="1.0" xmlns="urn:schemas-microsoft-com:office:spreadsheet" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:user="urn:my-scripts" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet">
|
||||
<xsl:template match="/">
|
||||
<Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:html="http://www.w3.org/TR/REC-html40">
|
||||
<DocumentProperties xmlns="urn:schemas-microsoft-com:office:office">
|
||||
<Author>ed woychowsky</Author>
|
||||
<LastAuthor>Edmond Woychowsky</LastAuthor>
|
||||
<Created>2007-01-26T16:54:15Z</Created>
|
||||
<LastSaved>2007-01-27T05:18:54Z</LastSaved>
|
||||
<Company>None</Company>
|
||||
<Version>10.3501</Version>
|
||||
</DocumentProperties>
|
||||
<OfficeDocumentSettings xmlns="urn:schemas-microsoft-com:office:office">
|
||||
<DownloadComponents/>
|
||||
<LocationOfComponents HRef="file:///D:\" />
|
||||
</OfficeDocumentSettings>
|
||||
<ExcelWorkbook xmlns="urn:schemas-microsoft-com:office:excel">
|
||||
<WindowHeight>8700</WindowHeight>
|
||||
<WindowWidth>11355</WindowWidth>
|
||||
<WindowTopX>480</WindowTopX>
|
||||
<WindowTopY>120</WindowTopY>
|
||||
<ProtectStructure>False</ProtectStructure>
|
||||
<ProtectWindows>False</ProtectWindows>
|
||||
</ExcelWorkbook>
|
||||
<Styles>
|
||||
<Style ss:ID="Default" ss:Name="Normal">
|
||||
<Alignment ss:Vertical="Bottom"/><Borders/><Font/><Interior/><NumberFormat/><Protection/>
|
||||
|
||||
</Style>
|
||||
</Styles>
|
||||
<Worksheet ss:Name="Test">
|
||||
<Table>
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Estudiante</Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Rut</Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Porcentaje</Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
<xsl:for-each select="logica.reportes.ReporteAsistenciaBajo/map/Atribute">
|
||||
<!--Estudiante-->
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="Estudiante/nombre"/></Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="Estudiante/rut"/></Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String">%<xsl:value-of select="PorcentajeAsistencia"/></Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
</xsl:for-each>
|
||||
</Table>
|
||||
<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
|
||||
<Print>
|
||||
<ValidPrinterInfo/>
|
||||
<HorizontalResolution>600</HorizontalResolution>
|
||||
<VerticalResolution>0</VerticalResolution>
|
||||
</Print>
|
||||
<Selected/>
|
||||
<Panes>
|
||||
<Pane>
|
||||
<Number>3</Number>
|
||||
<ActiveRow>2</ActiveRow>
|
||||
</Pane>
|
||||
</Panes>
|
||||
<ProtectObjects>False</ProtectObjects>
|
||||
<ProtectScenarios>False</ProtectScenarios>
|
||||
</WorksheetOptions>
|
||||
</Worksheet>
|
||||
<Worksheet ss:Name="Sheet2">
|
||||
<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
|
||||
<ProtectObjects>False</ProtectObjects>
|
||||
<ProtectScenarios>False</ProtectScenarios>
|
||||
</WorksheetOptions>
|
||||
</Worksheet>
|
||||
<Worksheet ss:Name="Sheet3">
|
||||
<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
|
||||
<ProtectObjects>False</ProtectObjects>
|
||||
<ProtectScenarios>False</ProtectScenarios>
|
||||
</WorksheetOptions>
|
||||
</Worksheet>
|
||||
</Workbook>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
149
colegio_web/files/xslt/toExcelAsistenciaYNotas.xsl
Normal file
149
colegio_web/files/xslt/toExcelAsistenciaYNotas.xsl
Normal file
@@ -0,0 +1,149 @@
|
||||
|
||||
|
||||
<xsl:stylesheet
|
||||
version="1.0"
|
||||
xmlns="urn:schemas-microsoft-com:office:spreadsheet"
|
||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||
xmlns:msxsl="urn:schemas-microsoft-com:xslt"
|
||||
xmlns:user="urn:my-scripts"
|
||||
xmlns:o="urn:schemas-microsoft-com:office:office"
|
||||
xmlns:x="urn:schemas-microsoft-com:office:excel"
|
||||
xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet">
|
||||
|
||||
<xsl:template match="/">
|
||||
<Workbook
|
||||
xmlns="urn:schemas-microsoft-com:office:spreadsheet"
|
||||
xmlns:o="urn:schemas-microsoft-com:office:office"
|
||||
xmlns:x="urn:schemas-microsoft-com:office:excel"
|
||||
xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet"
|
||||
xmlns:html="http://www.w3.org/TR/REC-html40">
|
||||
<DocumentProperties xmlns="urn:schemas-microsoft-com:office:office">
|
||||
<Author>ed woychowsky</Author>
|
||||
<LastAuthor>Edmond Woychowsky</LastAuthor>
|
||||
<Created>2007-01-26T16:54:15Z</Created>
|
||||
<LastSaved>2007-01-27T05:18:54Z</LastSaved>
|
||||
<Company>None</Company>
|
||||
<Version>10.3501</Version>
|
||||
</DocumentProperties>
|
||||
<OfficeDocumentSettings xmlns="urn:schemas-microsoft-com:office:office">
|
||||
<DownloadComponents/>
|
||||
<LocationOfComponents HRef="file:///D:\"/>
|
||||
</OfficeDocumentSettings>
|
||||
<ExcelWorkbook xmlns="urn:schemas-microsoft-com:office:excel">
|
||||
<WindowHeight>8700</WindowHeight>
|
||||
<WindowWidth>11355</WindowWidth>
|
||||
<WindowTopX>480</WindowTopX>
|
||||
<WindowTopY>120</WindowTopY>
|
||||
<ProtectStructure>False</ProtectStructure>
|
||||
<ProtectWindows>False</ProtectWindows>
|
||||
</ExcelWorkbook>
|
||||
<Styles>
|
||||
<Style ss:ID="Default" ss:Name="Normal">
|
||||
<Alignment ss:Vertical="Bottom"/><Borders/><Font/><Interior/><NumberFormat/><Protection/>
|
||||
|
||||
</Style>
|
||||
</Styles>
|
||||
<Worksheet ss:Name="Test">
|
||||
<Table>
|
||||
<!--Estudiante-->
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Estudiante</Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Rut</Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="logica.reportes.ReporteAsistenciaYNotas/estudiante/nombre"/></Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="logica.reportes.ReporteAsistenciaYNotas/estudiante/rut"/></Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
<!--White-->
|
||||
<Row>
|
||||
<Cell></Cell>
|
||||
</Row>
|
||||
|
||||
<xsl:for-each select="logica.reportes.ReporteAsistenciaYNotas/asistencia/Asistencia">
|
||||
<!--Lista De Asistencias-->
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Dia</Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Asistio</Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="dia"/></Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String">
|
||||
|
||||
<xsl:choose>
|
||||
|
||||
<xsl:when test="asistio = 'true'">Si</xsl:when>
|
||||
|
||||
<xsl:otherwise>No</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
<!--White-->
|
||||
<Row>
|
||||
<Cell></Cell>
|
||||
</Row>
|
||||
</xsl:for-each>
|
||||
|
||||
<xsl:for-each select="logica.reportes.ReporteAsistenciaYNotas/notas/entry">
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="Asignatura/nombre"/></Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
|
||||
<xsl:for-each select="list/Nota">
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="valor"/></Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
</xsl:for-each>
|
||||
</xsl:for-each>
|
||||
</Table>
|
||||
<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
|
||||
<Print>
|
||||
<ValidPrinterInfo/>
|
||||
<HorizontalResolution>600</HorizontalResolution>
|
||||
<VerticalResolution>0</VerticalResolution>
|
||||
</Print>
|
||||
<Selected/>
|
||||
<Panes>
|
||||
<Pane>
|
||||
<Number>3</Number>
|
||||
<ActiveRow>2</ActiveRow>
|
||||
</Pane>
|
||||
</Panes>
|
||||
<ProtectObjects>False</ProtectObjects>
|
||||
<ProtectScenarios>False</ProtectScenarios>
|
||||
</WorksheetOptions>
|
||||
</Worksheet>
|
||||
<Worksheet ss:Name="Sheet2">
|
||||
<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
|
||||
<ProtectObjects>False</ProtectObjects>
|
||||
<ProtectScenarios>False</ProtectScenarios>
|
||||
</WorksheetOptions>
|
||||
</Worksheet>
|
||||
<Worksheet ss:Name="Sheet3">
|
||||
<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
|
||||
<ProtectObjects>False</ProtectObjects>
|
||||
<ProtectScenarios>False</ProtectScenarios>
|
||||
</WorksheetOptions>
|
||||
</Worksheet>
|
||||
</Workbook>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
90
colegio_web/files/xslt/toExcelNotasProfesor.xsl
Normal file
90
colegio_web/files/xslt/toExcelNotasProfesor.xsl
Normal file
@@ -0,0 +1,90 @@
|
||||
<xsl:stylesheet version="1.0" xmlns="urn:schemas-microsoft-com:office:spreadsheet" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:user="urn:my-scripts" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet">
|
||||
<xsl:template match="/">
|
||||
<Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:html="http://www.w3.org/TR/REC-html40">
|
||||
<DocumentProperties xmlns="urn:schemas-microsoft-com:office:office">
|
||||
<Author>ed woychowsky</Author>
|
||||
<LastAuthor>Edmond Woychowsky</LastAuthor>
|
||||
<Created>2007-01-26T16:54:15Z</Created>
|
||||
<LastSaved>2007-01-27T05:18:54Z</LastSaved>
|
||||
<Company>None</Company>
|
||||
<Version>10.3501</Version>
|
||||
</DocumentProperties>
|
||||
<OfficeDocumentSettings xmlns="urn:schemas-microsoft-com:office:office">
|
||||
<DownloadComponents/>
|
||||
<LocationOfComponents HRef="file:///D:\" />
|
||||
</OfficeDocumentSettings>
|
||||
<ExcelWorkbook xmlns="urn:schemas-microsoft-com:office:excel">
|
||||
<WindowHeight>8700</WindowHeight>
|
||||
<WindowWidth>11355</WindowWidth>
|
||||
<WindowTopX>480</WindowTopX>
|
||||
<WindowTopY>120</WindowTopY>
|
||||
<ProtectStructure>False</ProtectStructure>
|
||||
<ProtectWindows>False</ProtectWindows>
|
||||
</ExcelWorkbook>
|
||||
<Styles>
|
||||
<Style ss:ID="Default" ss:Name="Normal">
|
||||
<Alignment ss:Vertical="Bottom"/><Borders/><Font/><Interior/><NumberFormat/><Protection/>
|
||||
|
||||
</Style>
|
||||
</Styles>
|
||||
<Worksheet ss:Name="Test">
|
||||
<Table>
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Estudiante</Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Rut</Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Notas</Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
<xsl:for-each select="logica.reportes.ReporteNotasProfesor/lista/entry">
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="Estudiante/nombre"/></Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="Estudiante/rut"/></Data>
|
||||
</Cell>
|
||||
<xsl:for-each select="list/Nota">
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="valor"/></Data>
|
||||
</Cell>
|
||||
</xsl:for-each>
|
||||
</Row>
|
||||
</xsl:for-each>
|
||||
</Table>
|
||||
<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
|
||||
<Print>
|
||||
<ValidPrinterInfo/>
|
||||
<HorizontalResolution>600</HorizontalResolution>
|
||||
<VerticalResolution>0</VerticalResolution>
|
||||
</Print>
|
||||
<Selected/>
|
||||
<Panes>
|
||||
<Pane>
|
||||
<Number>3</Number>
|
||||
<ActiveRow>2</ActiveRow>
|
||||
</Pane>
|
||||
</Panes>
|
||||
<ProtectObjects>False</ProtectObjects>
|
||||
<ProtectScenarios>False</ProtectScenarios>
|
||||
</WorksheetOptions>
|
||||
</Worksheet>
|
||||
<Worksheet ss:Name="Sheet2">
|
||||
<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
|
||||
<ProtectObjects>False</ProtectObjects>
|
||||
<ProtectScenarios>False</ProtectScenarios>
|
||||
</WorksheetOptions>
|
||||
</Worksheet>
|
||||
<Worksheet ss:Name="Sheet3">
|
||||
<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
|
||||
<ProtectObjects>False</ProtectObjects>
|
||||
<ProtectScenarios>False</ProtectScenarios>
|
||||
</WorksheetOptions>
|
||||
</Worksheet>
|
||||
</Workbook>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
118
colegio_web/files/xslt/toExcelPlanificaciones.xsl
Normal file
118
colegio_web/files/xslt/toExcelPlanificaciones.xsl
Normal file
@@ -0,0 +1,118 @@
|
||||
<xsl:stylesheet version="1.0" xmlns="urn:schemas-microsoft-com:office:spreadsheet" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:user="urn:my-scripts" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet">
|
||||
<xsl:template match="/">
|
||||
<Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:html="http://www.w3.org/TR/REC-html40">
|
||||
<DocumentProperties xmlns="urn:schemas-microsoft-com:office:office">
|
||||
<Author>ed woychowsky</Author>
|
||||
<LastAuthor>Edmond Woychowsky</LastAuthor>
|
||||
<Created>2007-01-26T16:54:15Z</Created>
|
||||
<LastSaved>2007-01-27T05:18:54Z</LastSaved>
|
||||
<Company>None</Company>
|
||||
<Version>10.3501</Version>
|
||||
</DocumentProperties>
|
||||
<OfficeDocumentSettings xmlns="urn:schemas-microsoft-com:office:office">
|
||||
<DownloadComponents/>
|
||||
<LocationOfComponents HRef="file:///D:\" />
|
||||
</OfficeDocumentSettings>
|
||||
<ExcelWorkbook xmlns="urn:schemas-microsoft-com:office:excel">
|
||||
<WindowHeight>8700</WindowHeight>
|
||||
<WindowWidth>11355</WindowWidth>
|
||||
<WindowTopX>480</WindowTopX>
|
||||
<WindowTopY>120</WindowTopY>
|
||||
<ProtectStructure>False</ProtectStructure>
|
||||
<ProtectWindows>False</ProtectWindows>
|
||||
</ExcelWorkbook>
|
||||
<Styles>
|
||||
<Style ss:ID="Default" ss:Name="Normal">
|
||||
<Alignment ss:Vertical="Bottom"/><Borders/><Font/><Interior/><NumberFormat/><Protection/>
|
||||
|
||||
</Style>
|
||||
</Styles>
|
||||
<Worksheet ss:Name="Test">
|
||||
<Table>
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Estudiante</Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Rut</Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
<xsl:for-each select="logica.reportes.ReportePlanificaciones/planificaciones/entry">
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="Estudiante/nombre"/></Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="Estudiante/rut"/></Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
<Row>
|
||||
<Cell>
|
||||
</Cell>
|
||||
</Row>
|
||||
<xsl:for-each select="map/entry">
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Asignatura</Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="Asignatura/nombre"/></Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Fecha</Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Tipo</Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
<xsl:for-each select="Actividad-array/Actividad">
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="tipo"/></Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="fecha"/></Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
</xsl:for-each>
|
||||
<Row>
|
||||
<Cell>
|
||||
</Cell>
|
||||
</Row>
|
||||
</xsl:for-each>
|
||||
</xsl:for-each>
|
||||
</Table>
|
||||
<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
|
||||
<Print>
|
||||
<ValidPrinterInfo/>
|
||||
<HorizontalResolution>600</HorizontalResolution>
|
||||
<VerticalResolution>0</VerticalResolution>
|
||||
</Print>
|
||||
<Selected/>
|
||||
<Panes>
|
||||
<Pane>
|
||||
<Number>3</Number>
|
||||
<ActiveRow>2</ActiveRow>
|
||||
</Pane>
|
||||
</Panes>
|
||||
<ProtectObjects>False</ProtectObjects>
|
||||
<ProtectScenarios>False</ProtectScenarios>
|
||||
</WorksheetOptions>
|
||||
</Worksheet>
|
||||
<Worksheet ss:Name="Sheet2">
|
||||
<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
|
||||
<ProtectObjects>False</ProtectObjects>
|
||||
<ProtectScenarios>False</ProtectScenarios>
|
||||
</WorksheetOptions>
|
||||
</Worksheet>
|
||||
<Worksheet ss:Name="Sheet3">
|
||||
<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
|
||||
<ProtectObjects>False</ProtectObjects>
|
||||
<ProtectScenarios>False</ProtectScenarios>
|
||||
</WorksheetOptions>
|
||||
</Worksheet>
|
||||
</Workbook>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
201
colegio_web/files/xslt/toExcelReporteGeneral.xsl
Normal file
201
colegio_web/files/xslt/toExcelReporteGeneral.xsl
Normal file
@@ -0,0 +1,201 @@
|
||||
<xsl:stylesheet version="1.0" xmlns="urn:schemas-microsoft-com:office:spreadsheet" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:user="urn:my-scripts" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet">
|
||||
<xsl:template match="/">
|
||||
<Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:html="http://www.w3.org/TR/REC-html40">
|
||||
<DocumentProperties xmlns="urn:schemas-microsoft-com:office:office">
|
||||
<Author>ed woychowsky</Author>
|
||||
<LastAuthor>Edmond Woychowsky</LastAuthor>
|
||||
<Created>2007-01-26T16:54:15Z</Created>
|
||||
<LastSaved>2007-01-27T05:18:54Z</LastSaved>
|
||||
<Company>None</Company>
|
||||
<Version>10.3501</Version>
|
||||
</DocumentProperties>
|
||||
<OfficeDocumentSettings xmlns="urn:schemas-microsoft-com:office:office">
|
||||
<DownloadComponents/>
|
||||
<LocationOfComponents HRef="file:///D:\" />
|
||||
</OfficeDocumentSettings>
|
||||
<ExcelWorkbook xmlns="urn:schemas-microsoft-com:office:excel">
|
||||
<WindowHeight>8700</WindowHeight>
|
||||
<WindowWidth>11355</WindowWidth>
|
||||
<WindowTopX>480</WindowTopX>
|
||||
<WindowTopY>120</WindowTopY>
|
||||
<ProtectStructure>False</ProtectStructure>
|
||||
<ProtectWindows>False</ProtectWindows>
|
||||
</ExcelWorkbook>
|
||||
<Styles>
|
||||
<Style ss:ID="Default" ss:Name="Normal">
|
||||
<Alignment ss:Vertical="Bottom"/><Borders/><Font/><Interior/><NumberFormat/><Protection/>
|
||||
|
||||
</Style>
|
||||
</Styles>
|
||||
<Worksheet ss:Name="Reporte General">
|
||||
<Table>
|
||||
<xsl:for-each select="map/entry">
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Apoderado</Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Rut</Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="Apoderado/nombre"/></Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String"> <xsl:value-of select="Apoderado/rut"/></Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Notas</Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
<xsl:for-each select="logica.reportes.ReporteApoderado/notas/entry">
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Estudiante</Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Rut</Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="Estudiante/nombre"/></Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String"> <xsl:value-of select="Estudiante/rut"/></Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Asignatura</Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Nota</Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
<xsl:for-each select="Nota-array/Nota">
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="asignatura__id__fk/nombre"/></Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="asignatura__id__fk/valor"/></Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
</xsl:for-each>
|
||||
</xsl:for-each>
|
||||
<xsl:for-each select="logica.reportes.ReporteApoderado/planificaciones/entry">
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Estudiante</Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Rut</Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="Estudiante/nombre"/></Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String"> <xsl:value-of select="Estudiante/rut"/></Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
<xsl:for-each select="map/entry">
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="Asignatura/nombre"/></Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Tipo</Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Fecha</Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
<xsl:for-each select="Actividad-array/Actividad">
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="tipo" /></Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String"> <xsl:value-of select="fecha" /></Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
</xsl:for-each>
|
||||
</xsl:for-each>
|
||||
</xsl:for-each>
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Anotaciones</Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
<xsl:for-each select="logica.reportes.ReporteApoderado/anotaciones/entry">
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Estudiante</Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Nombre</Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="Estudiante/nombre" /></Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="Estudiante/rut" /></Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Profesor</Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Tipo</Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Descripcion</Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
<xsl:for-each select="Anotacion-array/Anotacion">
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="profesor__id__fk/nombre" /></Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:choose><xsl:when test="positiva = 'true'"> Positiva</xsl:when><xsl:otherwise>Negativa</xsl:otherwise></xsl:choose></Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String"> <xsl:value-of select="descripcion" /></Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
</xsl:for-each>
|
||||
</xsl:for-each>
|
||||
</xsl:for-each>
|
||||
</Table>
|
||||
<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
|
||||
<Print>
|
||||
<ValidPrinterInfo/>
|
||||
<HorizontalResolution>600</HorizontalResolution>
|
||||
<VerticalResolution>0</VerticalResolution>
|
||||
</Print>
|
||||
<Selected/>
|
||||
<Panes>
|
||||
<Pane>
|
||||
<Number>3</Number>
|
||||
<ActiveRow>2</ActiveRow>
|
||||
</Pane>
|
||||
</Panes>
|
||||
<ProtectObjects>False</ProtectObjects>
|
||||
<ProtectScenarios>False</ProtectScenarios>
|
||||
</WorksheetOptions>
|
||||
</Worksheet>
|
||||
</Workbook>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
106
colegio_web/files/xslt/toExcelReprobando.xsl
Normal file
106
colegio_web/files/xslt/toExcelReprobando.xsl
Normal file
@@ -0,0 +1,106 @@
|
||||
|
||||
|
||||
<xsl:stylesheet
|
||||
version="1.0"
|
||||
xmlns="urn:schemas-microsoft-com:office:spreadsheet"
|
||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||
xmlns:msxsl="urn:schemas-microsoft-com:xslt"
|
||||
xmlns:user="urn:my-scripts"
|
||||
xmlns:o="urn:schemas-microsoft-com:office:office"
|
||||
xmlns:x="urn:schemas-microsoft-com:office:excel"
|
||||
xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet">
|
||||
|
||||
<xsl:template match="/">
|
||||
<Workbook
|
||||
xmlns="urn:schemas-microsoft-com:office:spreadsheet"
|
||||
xmlns:o="urn:schemas-microsoft-com:office:office"
|
||||
xmlns:x="urn:schemas-microsoft-com:office:excel"
|
||||
xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet"
|
||||
xmlns:html="http://www.w3.org/TR/REC-html40">
|
||||
<DocumentProperties xmlns="urn:schemas-microsoft-com:office:office">
|
||||
<Author>ed woychowsky</Author>
|
||||
<LastAuthor>Edmond Woychowsky</LastAuthor>
|
||||
<Created>2007-01-26T16:54:15Z</Created>
|
||||
<LastSaved>2007-01-27T05:18:54Z</LastSaved>
|
||||
<Company>None</Company>
|
||||
<Version>10.3501</Version>
|
||||
</DocumentProperties>
|
||||
<OfficeDocumentSettings xmlns="urn:schemas-microsoft-com:office:office">
|
||||
<DownloadComponents/>
|
||||
<LocationOfComponents HRef="file:///D:\"/>
|
||||
</OfficeDocumentSettings>
|
||||
<ExcelWorkbook xmlns="urn:schemas-microsoft-com:office:excel">
|
||||
<WindowHeight>8700</WindowHeight>
|
||||
<WindowWidth>11355</WindowWidth>
|
||||
<WindowTopX>480</WindowTopX>
|
||||
<WindowTopY>120</WindowTopY>
|
||||
<ProtectStructure>False</ProtectStructure>
|
||||
<ProtectWindows>False</ProtectWindows>
|
||||
</ExcelWorkbook>
|
||||
<Styles>
|
||||
<Style ss:ID="Default" ss:Name="Normal">
|
||||
<Alignment ss:Vertical="Bottom"/><Borders/><Font/><Interior/><NumberFormat/><Protection/>
|
||||
|
||||
</Style>
|
||||
</Styles>
|
||||
<Worksheet ss:Name="Test">
|
||||
<Table>
|
||||
<!--Estudiante-->
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Estudiante</Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Rut</Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Nota</Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
|
||||
<xsl:for-each select="logica.reportes.ReporteReprobando/estudiantesRepobando/entry">
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="Estudiante/nombre"/></Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="Estudiante/rut"/></Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="float"/></Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
</xsl:for-each>
|
||||
</Table>
|
||||
<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
|
||||
<Print>
|
||||
<ValidPrinterInfo/>
|
||||
<HorizontalResolution>600</HorizontalResolution>
|
||||
<VerticalResolution>0</VerticalResolution>
|
||||
</Print>
|
||||
<Selected/>
|
||||
<Panes>
|
||||
<Pane>
|
||||
<Number>3</Number>
|
||||
<ActiveRow>2</ActiveRow>
|
||||
</Pane>
|
||||
</Panes>
|
||||
<ProtectObjects>False</ProtectObjects>
|
||||
<ProtectScenarios>False</ProtectScenarios>
|
||||
</WorksheetOptions>
|
||||
</Worksheet>
|
||||
<Worksheet ss:Name="Sheet2">
|
||||
<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
|
||||
<ProtectObjects>False</ProtectObjects>
|
||||
<ProtectScenarios>False</ProtectScenarios>
|
||||
</WorksheetOptions>
|
||||
</Worksheet>
|
||||
<Worksheet ss:Name="Sheet3">
|
||||
<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
|
||||
<ProtectObjects>False</ProtectObjects>
|
||||
<ProtectScenarios>False</ProtectScenarios>
|
||||
</WorksheetOptions>
|
||||
</Worksheet>
|
||||
</Workbook>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
48
colegio_web/files/xslt/toHtmlApoderadosMasEstudiantes.xsl
Normal file
48
colegio_web/files/xslt/toHtmlApoderadosMasEstudiantes.xsl
Normal file
@@ -0,0 +1,48 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
||||
|
||||
<xsl:template match="/">
|
||||
<html>
|
||||
|
||||
<body>
|
||||
<h2>Apoderados con mas de un estudiante</h2>
|
||||
|
||||
<xsl:for-each select="logica.reportes.ReporteApoderadosMasEstudiantes/apoderadosDuplicados/entry">
|
||||
<h4>Apoderado</h4>
|
||||
<hr>
|
||||
<h5>Nombre:
|
||||
|
||||
<xsl:value-of select="Apoderado/nombre"/>
|
||||
</h5>
|
||||
<h5>Rut:
|
||||
|
||||
<xsl:value-of select="Apoderado/rut"/>
|
||||
</h5>
|
||||
</hr>
|
||||
<table border="1">
|
||||
<tr bgcolor="#9acd32">
|
||||
<th>Nombre</th>
|
||||
<th>Rut</th>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
<xsl:for-each select="list/Estudiante">
|
||||
<tr>
|
||||
<td>
|
||||
<xsl:value-of select="nombre"/>
|
||||
</td>
|
||||
<td>
|
||||
<xsl:value-of select="rut"/>
|
||||
</td>
|
||||
</tr>
|
||||
</xsl:for-each>
|
||||
</tr>
|
||||
</table>
|
||||
</xsl:for-each>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
||||
36
colegio_web/files/xslt/toHtmlAsistenciaBaja.xsl
Normal file
36
colegio_web/files/xslt/toHtmlAsistenciaBaja.xsl
Normal file
@@ -0,0 +1,36 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
||||
|
||||
<xsl:template match="/">
|
||||
<html>
|
||||
|
||||
<body>
|
||||
<h2>Estudiantes con baja asistencia</h2>
|
||||
<table border="1">
|
||||
<tr bgcolor="#9acd32">
|
||||
<th>Nombre</th>
|
||||
<th>Rut</th>
|
||||
<th>Porcentaje asistencia</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<xsl:for-each select="logica.reportes.ReporteAsistenciaBajo/map/Atribute">
|
||||
<tr>
|
||||
<td>
|
||||
<xsl:value-of select="Estudiante/nombre"/>
|
||||
</td>
|
||||
<td>
|
||||
<xsl:value-of select="Estudiante/rut"/>
|
||||
</td>
|
||||
<td>
|
||||
<xsl:value-of select="PorcentajeAsistencia"/>
|
||||
</td>
|
||||
</tr>
|
||||
</xsl:for-each>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
||||
87
colegio_web/files/xslt/toHtmlAsistenciaYNotas.xsl
Normal file
87
colegio_web/files/xslt/toHtmlAsistenciaYNotas.xsl
Normal file
@@ -0,0 +1,87 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
||||
|
||||
<xsl:template match="/">
|
||||
<html>
|
||||
|
||||
<body>
|
||||
<!--estudiante-->
|
||||
<table border="1">
|
||||
<tr bgcolor="#9acd32">
|
||||
<th>Nombre</th>
|
||||
<th>Rut</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<tr>
|
||||
<td>
|
||||
<xsl:value-of select="logica.reportes.ReporteAsistenciaYNotas/estudiante/nombre"/>
|
||||
</td>
|
||||
<td>
|
||||
<xsl:value-of select="logica.reportes.ReporteAsistenciaYNotas/estudiante/rut"/>
|
||||
</td>
|
||||
</tr>
|
||||
</tr>
|
||||
</table>
|
||||
<!--asistencia-->
|
||||
<table border="1">
|
||||
<tr bgcolor="#9acd32">
|
||||
<th>Fecha</th>
|
||||
<th>Presente</th>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
<xsl:for-each select="logica.reportes.ReporteAsistenciaYNotas/asistencia/Asistencia">
|
||||
<tr>
|
||||
<td>
|
||||
<xsl:value-of select="dia"/>
|
||||
</td>
|
||||
<td>
|
||||
|
||||
<xsl:choose>
|
||||
|
||||
<xsl:when test="asistio = 'true'">
|
||||
Si
|
||||
</xsl:when>
|
||||
|
||||
<xsl:otherwise>
|
||||
No
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</td>
|
||||
</tr>
|
||||
</xsl:for-each>
|
||||
</tr>
|
||||
</table>
|
||||
<!--notas-->
|
||||
<table>
|
||||
<tr>
|
||||
|
||||
<xsl:for-each select="logica.reportes.ReporteAsistenciaYNotas/notas/entry">
|
||||
<td>
|
||||
<table border="1">
|
||||
<tr bgcolor="#9acd32">
|
||||
<th>
|
||||
<xsl:value-of select="Asignatura/nombre"/>
|
||||
</th>
|
||||
</tr>
|
||||
|
||||
<xsl:for-each select="list/Nota">
|
||||
<tr>
|
||||
<td>
|
||||
<xsl:value-of select="valor"/>
|
||||
</td>
|
||||
</tr>
|
||||
</xsl:for-each>
|
||||
</table>
|
||||
</td>
|
||||
</xsl:for-each>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
||||
46
colegio_web/files/xslt/toHtmlNotasProfesor.xsl
Normal file
46
colegio_web/files/xslt/toHtmlNotasProfesor.xsl
Normal file
@@ -0,0 +1,46 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
||||
|
||||
<xsl:template match="/">
|
||||
<html>
|
||||
|
||||
<body>
|
||||
<h2>Notas por asignatura del profesor</h2>
|
||||
<xsl:for-each select="logica.reportes.ReporteNotasProfesor/lista/entry">
|
||||
<table border="1">
|
||||
<tr bgcolor="#9acd32">
|
||||
<th>Nombre</th>
|
||||
<th>Rut</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<tr>
|
||||
<td>
|
||||
<xsl:value-of select="Estudiante/nombre"/>
|
||||
</td>
|
||||
<td>
|
||||
<xsl:value-of select="Estudiante/rut"/>
|
||||
</td>
|
||||
</tr>
|
||||
</tr>
|
||||
</table>
|
||||
<table border="1">
|
||||
<tr bgcolor="#9acd32">
|
||||
<th>Notas</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<xsl:for-each select="list/Nota">
|
||||
<tr>
|
||||
<td>
|
||||
<xsl:value-of select="valor"/>
|
||||
</td>
|
||||
</tr>
|
||||
</xsl:for-each>
|
||||
</tr>
|
||||
</table>
|
||||
</xsl:for-each>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
||||
52
colegio_web/files/xslt/toHtmlPlanificaciones.xsl
Normal file
52
colegio_web/files/xslt/toHtmlPlanificaciones.xsl
Normal file
@@ -0,0 +1,52 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
||||
|
||||
<xsl:template match="/">
|
||||
<html>
|
||||
<body>
|
||||
<h2>Planificaciones</h2>
|
||||
<xsl:for-each select="logica.reportes.ReportePlanificaciones/planificaciones/entry">
|
||||
<table border="1px solid black" class="estudiante">
|
||||
<tr bgcolor="#9acd32">
|
||||
<th>Estudiante</th>
|
||||
<th>Rut</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<xsl:value-of select="Estudiante/nombre"/>
|
||||
</td>
|
||||
<td>
|
||||
<xsl:value-of select="Estudiante/rut"/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<xsl:for-each select="map/entry">
|
||||
<h5>
|
||||
<xsl:value-of select="Asignatura/nombre"/>
|
||||
</h5>
|
||||
<table border="1px solid black" class="planificaciones">
|
||||
<tr bgcolor="#9acd32">
|
||||
<th>Tipo</th>
|
||||
<th>Fecha</th>
|
||||
</tr>
|
||||
<xsl:for-each select="Actividad-array/Actividad">
|
||||
<tr>
|
||||
<td>
|
||||
<xsl:value-of select="tipo"/>
|
||||
</td>
|
||||
<td>
|
||||
<xsl:value-of select="fecha"/>
|
||||
</td>
|
||||
</tr>
|
||||
</xsl:for-each>
|
||||
</table>
|
||||
</xsl:for-each>
|
||||
<div style="height:25px;"></div>
|
||||
</xsl:for-each>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
||||
160
colegio_web/files/xslt/toHtmlReporteGeneral.xsl
Normal file
160
colegio_web/files/xslt/toHtmlReporteGeneral.xsl
Normal file
@@ -0,0 +1,160 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
|
||||
|
||||
|
||||
<xsl:template match="/">
|
||||
<html>
|
||||
<style>
|
||||
.separator {
|
||||
height: 100px;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
<body>
|
||||
<h2>Reporte General Apoderado</h2>
|
||||
<xsl:for-each select="map/entry">
|
||||
<div class="general">
|
||||
<table border="1px solid black" class="apoderado">
|
||||
<tr bgcolor="#9acd32">
|
||||
<th>Apoderado</th>
|
||||
<th>Rut</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<xsl:value-of select="Apoderado/nombre"/>
|
||||
</td>
|
||||
<td>
|
||||
<xsl:value-of select="Apoderado/rut"/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<h3>Notas</h3>
|
||||
<xsl:for-each select="logica.reportes.ReporteApoderado/notas/entry">
|
||||
<table border="1px solid black" class="estudiante">
|
||||
<tr bgcolor="#9acd32">
|
||||
<th>Estudiante</th>
|
||||
<th>Rut</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<xsl:value-of select="Estudiante/nombre"/>
|
||||
</td>
|
||||
<td>
|
||||
<xsl:value-of select="Estudiante/rut"/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table border="1px solid black" class="notas">
|
||||
<tr bgcolor="#9acd32">
|
||||
<th>Asignatura</th>
|
||||
<th>Nota</th>
|
||||
</tr>
|
||||
<xsl:for-each select="Nota-array/Nota">
|
||||
<tr>
|
||||
<td>
|
||||
<xsl:value-of select="asignatura__id__fk/nombre"/>
|
||||
</td>
|
||||
<td>
|
||||
<xsl:value-of select="valor"/>
|
||||
</td>
|
||||
</tr>
|
||||
</xsl:for-each>
|
||||
</table>
|
||||
</xsl:for-each>
|
||||
<h3>Planificaciones</h3>
|
||||
<xsl:for-each select="logica.reportes.ReporteApoderado/planificaciones/entry">
|
||||
<table border="1px solid black" class="estudiante">
|
||||
<tr bgcolor="#9acd32">
|
||||
<th>Estudiante</th>
|
||||
<th>Rut</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<xsl:value-of select="Estudiante/nombre"/>
|
||||
</td>
|
||||
<td>
|
||||
<xsl:value-of select="Estudiante/rut"/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<xsl:for-each select="map/entry">
|
||||
<h5>
|
||||
<xsl:value-of select="Asignatura/nombre"/>
|
||||
</h5>
|
||||
<table border="1px solid black" class="planificaciones">
|
||||
<tr bgcolor="#9acd32">
|
||||
<th>Tipo</th>
|
||||
<th>Fecha</th>
|
||||
</tr>
|
||||
<xsl:for-each select="Actividad-array/Actividad">
|
||||
<tr>
|
||||
<td>
|
||||
<xsl:value-of select="tipo"/>
|
||||
</td>
|
||||
<td>
|
||||
<xsl:value-of select="fecha"/>
|
||||
</td>
|
||||
</tr>
|
||||
</xsl:for-each>
|
||||
</table>
|
||||
</xsl:for-each>
|
||||
</xsl:for-each>
|
||||
<h3>Anotaciones</h3>
|
||||
<xsl:for-each select="logica.reportes.ReporteApoderado/anotaciones/entry">
|
||||
<table border="1px solid black" class="estudiante">
|
||||
<tr bgcolor="#9acd32">
|
||||
<th>Estudiante</th>
|
||||
<th>Rut</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<xsl:value-of select="Estudiante/nombre"/>
|
||||
</td>
|
||||
<td>
|
||||
<xsl:value-of select="Estudiante/rut"/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table border="1px solid black" class="anotaciones">
|
||||
<tr bgcolor="#9acd32">
|
||||
<th>Profesor</th>
|
||||
<th>Tipo</th>
|
||||
<th>Descripcion</th>
|
||||
</tr>
|
||||
<xsl:for-each select="Anotacion-array/Anotacion">
|
||||
<tr>
|
||||
<td>
|
||||
<xsl:value-of select="profesor__id__fk/nombre"/>
|
||||
</td>
|
||||
<td>
|
||||
<xsl:choose>
|
||||
<xsl:when test="positiva = 'true'">
|
||||
Positiva
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
Negativa
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</td>
|
||||
<td>
|
||||
<xsl:value-of select="descripcion"/>
|
||||
</td>
|
||||
</tr>
|
||||
</xsl:for-each>
|
||||
</table>
|
||||
</xsl:for-each>
|
||||
</div>
|
||||
<div class="separator">
|
||||
</div>
|
||||
|
||||
</xsl:for-each>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
</xsl:template>
|
||||
|
||||
|
||||
</xsl:stylesheet>
|
||||
38
colegio_web/files/xslt/toHtmlReprobando.xsl
Normal file
38
colegio_web/files/xslt/toHtmlReprobando.xsl
Normal file
@@ -0,0 +1,38 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
||||
|
||||
<xsl:template match="/">
|
||||
<html>
|
||||
|
||||
<body>
|
||||
<h2>Estudiantes Reprobando</h2>
|
||||
<table border="1">
|
||||
<tr bgcolor="#9acd32">
|
||||
<th>Nombre</th>
|
||||
<th>Rut</th>
|
||||
<th>Promedio</th>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
<xsl:for-each select="logica.reportes.ReporteReprobando/estudiantesRepobando/entry">
|
||||
<tr>
|
||||
<td>
|
||||
<xsl:value-of select="Estudiante/nombre"/>
|
||||
</td>
|
||||
<td>
|
||||
<xsl:value-of select="Estudiante/rut"/>
|
||||
</td>
|
||||
<td>
|
||||
<xsl:value-of select="float"/>
|
||||
</td>
|
||||
</tr>
|
||||
</xsl:for-each>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
||||
48
colegio_web/files/xslt/toWordApoderadosMasEstudiantes.xsl
Normal file
48
colegio_web/files/xslt/toWordApoderadosMasEstudiantes.xsl
Normal file
@@ -0,0 +1,48 @@
|
||||
<?xml version="1.0"?>
|
||||
|
||||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
||||
|
||||
<xsl:template match="/">
|
||||
<w:wordDocument xmlns:w="http://schemas.microsoft.com/office/word/2003/wordml">
|
||||
<w:body>
|
||||
|
||||
<xsl:for-each select="logica.reportes.ReporteApoderadosMasEstudiantes/apoderadosDuplicados/entry">
|
||||
<w:p>
|
||||
<w:r>
|
||||
<w:t>Apoderado:</w:t>
|
||||
</w:r>
|
||||
</w:p>
|
||||
<w:p>
|
||||
<w:r>
|
||||
<w:t>
|
||||
|
||||
<xsl:value-of select="Apoderado/nombre"/>/<xsl:value-of select="Apoderado/rut"/>
|
||||
</w:t>
|
||||
</w:r>
|
||||
</w:p>
|
||||
<w:p>
|
||||
<w:r>
|
||||
<w:t>Estudiantes:</w:t>
|
||||
</w:r>
|
||||
</w:p>
|
||||
|
||||
<xsl:for-each select="list/Estudiante">
|
||||
<w:p>
|
||||
<w:r>
|
||||
<w:t>
|
||||
|
||||
<xsl:value-of select="nombre"/>/<xsl:value-of select="rut"/>
|
||||
</w:t>
|
||||
</w:r>
|
||||
</w:p>
|
||||
</xsl:for-each>
|
||||
<w:p>
|
||||
<w:r>
|
||||
<w:t></w:t>
|
||||
</w:r>
|
||||
</w:p>
|
||||
</xsl:for-each>
|
||||
</w:body>
|
||||
</w:wordDocument>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
30
colegio_web/files/xslt/toWordAsistenciaBaja.xsl
Normal file
30
colegio_web/files/xslt/toWordAsistenciaBaja.xsl
Normal file
@@ -0,0 +1,30 @@
|
||||
<?xml version="1.0"?>
|
||||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
||||
<xsl:template match="/">
|
||||
<w:wordDocument xmlns:w="http://schemas.microsoft.com/office/word/2003/wordml">
|
||||
<w:body>
|
||||
<xsl:for-each select="logica.reportes.ReporteAsistenciaBajo/map/Atribute">
|
||||
<w:p>
|
||||
<w:r>
|
||||
<w:t>Estudiante:
|
||||
<xsl:value-of select="Estudiante/nombre"/>:<xsl:value-of select="Estudiante/rut"/>
|
||||
</w:t>
|
||||
</w:r>
|
||||
</w:p>
|
||||
<w:p>
|
||||
<w:r>
|
||||
<w:t>Asistencia:
|
||||
<xsl:value-of select="PorcentajeAsistencia"/>%
|
||||
</w:t>
|
||||
</w:r>
|
||||
</w:p>
|
||||
<w:p>
|
||||
<w:r>
|
||||
<w:t></w:t>
|
||||
</w:r>
|
||||
</w:p>
|
||||
</xsl:for-each>
|
||||
</w:body>
|
||||
</w:wordDocument>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
57
colegio_web/files/xslt/toWordAsistenciaYNotas.xsl
Normal file
57
colegio_web/files/xslt/toWordAsistenciaYNotas.xsl
Normal file
@@ -0,0 +1,57 @@
|
||||
<?xml version="1.0"?>
|
||||
|
||||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
||||
|
||||
<xsl:template match="/">
|
||||
<w:wordDocument xmlns:w="http://schemas.microsoft.com/office/word/2003/wordml">
|
||||
<w:body>
|
||||
<w:p>
|
||||
<w:r>
|
||||
<w:t>
|
||||
|
||||
<xsl:value-of select="logica.reportes.ReporteAsistenciaYNotas/estudiante/nombre"/>:<xsl:value-of select="logica.reportes.ReporteAsistenciaYNotas/estudiante/rut"/>
|
||||
</w:t>
|
||||
</w:r>
|
||||
</w:p>
|
||||
|
||||
<xsl:for-each select="logica.reportes.ReporteAsistenciaYNotas/asistencia/Asistencia">
|
||||
<w:p>
|
||||
<w:r>
|
||||
<w:t>
|
||||
|
||||
<xsl:value-of select="dia"/>:
|
||||
|
||||
<xsl:choose>
|
||||
|
||||
<xsl:when test="asistio = 'true'">Presente</xsl:when>
|
||||
|
||||
<xsl:otherwise>No presente</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</w:t>
|
||||
</w:r>
|
||||
</w:p>
|
||||
</xsl:for-each>
|
||||
|
||||
<xsl:for-each select="logica.reportes.ReporteAsistenciaYNotas/notas/entry">
|
||||
<w:p>
|
||||
<w:r>
|
||||
<w:t>
|
||||
<xsl:value-of select="Asignatura/nombre"/>
|
||||
</w:t>
|
||||
</w:r>
|
||||
</w:p>
|
||||
|
||||
<xsl:for-each select="list/Nota">
|
||||
<w:p>
|
||||
<w:r>
|
||||
<w:t>
|
||||
<xsl:value-of select="valor"/>
|
||||
</w:t>
|
||||
</w:r>
|
||||
</w:p>
|
||||
</xsl:for-each>
|
||||
</xsl:for-each>
|
||||
</w:body>
|
||||
</w:wordDocument>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
42
colegio_web/files/xslt/toWordNotasProfesor.xsl
Normal file
42
colegio_web/files/xslt/toWordNotasProfesor.xsl
Normal file
@@ -0,0 +1,42 @@
|
||||
<?xml version="1.0"?>
|
||||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
||||
<xsl:template match="/">
|
||||
<w:wordDocument xmlns:w="http://schemas.microsoft.com/office/word/2003/wordml">
|
||||
<w:body>
|
||||
<xsl:for-each select="logica.reportes.ReporteNotasProfesor/lista/entry">
|
||||
<w:p>
|
||||
<w:r>
|
||||
<w:t>Estudiante:</w:t>
|
||||
</w:r>
|
||||
</w:p>
|
||||
<w:p>
|
||||
<w:r>
|
||||
<w:t><xsl:value-of select="Estudiante/nombre"/>/<xsl:value-of select="Estudiante/rut"/>
|
||||
</w:t>
|
||||
</w:r>
|
||||
</w:p>
|
||||
<w:p>
|
||||
<w:r>
|
||||
<w:t>Notas:</w:t>
|
||||
</w:r>
|
||||
</w:p>
|
||||
<xsl:for-each select="list/Nota">
|
||||
<w:p>
|
||||
<w:r>
|
||||
<w:t>
|
||||
<xsl:value-of select="valor"/>
|
||||
</w:t>
|
||||
</w:r>
|
||||
</w:p>
|
||||
</xsl:for-each>
|
||||
<w:p>
|
||||
<w:r>
|
||||
<w:t>
|
||||
</w:t>
|
||||
</w:r>
|
||||
</w:p>
|
||||
</xsl:for-each>
|
||||
</w:body>
|
||||
</w:wordDocument>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
35
colegio_web/files/xslt/toWordPlanificaciones.xsl
Normal file
35
colegio_web/files/xslt/toWordPlanificaciones.xsl
Normal file
@@ -0,0 +1,35 @@
|
||||
<?xml version="1.0"?>
|
||||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
||||
<xsl:template match="/">
|
||||
<w:wordDocument xmlns:w="http://schemas.microsoft.com/office/word/2003/wordml">
|
||||
<w:body>
|
||||
<xsl:for-each select="logica.reportes.ReportePlanificaciones/planificaciones/entry">
|
||||
<w:p>
|
||||
<w:r>
|
||||
<w:t>
|
||||
<xsl:value-of select="Estudiante/nombre"/>/<xsl:value-of select="Estudiante/rut"/>
|
||||
</w:t>
|
||||
</w:r>
|
||||
</w:p>
|
||||
<xsl:for-each select="map/entry">
|
||||
<w:p>
|
||||
<w:r>
|
||||
<w:t>Asignatura:<xsl:value-of select="Asignatura/nombre"/>
|
||||
</w:t>
|
||||
</w:r>
|
||||
</w:p>
|
||||
<xsl:for-each select="Actividad-array/Actividad">
|
||||
<w:p>
|
||||
<w:r>
|
||||
<w:t>
|
||||
<xsl:value-of select="tipo"/>/<xsl:value-of select="fecha"/>
|
||||
</w:t>
|
||||
</w:r>
|
||||
</w:p>
|
||||
</xsl:for-each>
|
||||
</xsl:for-each>
|
||||
</xsl:for-each>
|
||||
</w:body>
|
||||
</w:wordDocument>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
132
colegio_web/files/xslt/toWordReporteGeneral.xsl
Normal file
132
colegio_web/files/xslt/toWordReporteGeneral.xsl
Normal file
@@ -0,0 +1,132 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
||||
|
||||
<xsl:template match="/">
|
||||
<w:wordDocument xmlns:w="http://schemas.microsoft.com/office/word/2003/wordml">
|
||||
<w:body>
|
||||
|
||||
<xsl:for-each select="map/entry">
|
||||
<!--Apoderado-->
|
||||
<w:p>
|
||||
<w:r>
|
||||
<w:t>Apoderado</w:t>
|
||||
</w:r>
|
||||
</w:p>
|
||||
<w:p>
|
||||
<w:r>
|
||||
<w:t>
|
||||
|
||||
<xsl:value-of select="Apoderado/nombre"/>:<xsl:value-of select="Apoderado/rut"/>
|
||||
</w:t>
|
||||
</w:r>
|
||||
</w:p>
|
||||
<!--Notas-->
|
||||
<w:p>
|
||||
<w:r>
|
||||
<w:t>Notas</w:t>
|
||||
</w:r>
|
||||
</w:p>
|
||||
|
||||
<xsl:for-each select="logica.reportes.ReporteApoderado/notas/entry">
|
||||
<w:p>
|
||||
<w:r>
|
||||
<w:t>
|
||||
|
||||
<xsl:value-of select="Estudiante/nombre"/>/<xsl:value-of select="Estudiante/rut"/>
|
||||
</w:t>
|
||||
</w:r>
|
||||
</w:p>
|
||||
|
||||
<xsl:for-each select="Nota-array/Nota">
|
||||
<w:p>
|
||||
<w:r>
|
||||
<w:t>Asignatura:<xsl:value-of select="asignatura__id__fk/nombre"/></w:t>
|
||||
</w:r>
|
||||
</w:p>
|
||||
<w:p>
|
||||
<w:r>
|
||||
<w:t>Nota:<xsl:value-of select="Nota/valor"/></w:t>
|
||||
</w:r>
|
||||
</w:p>
|
||||
</xsl:for-each>
|
||||
</xsl:for-each>
|
||||
<!--Planificaciones-->
|
||||
|
||||
<w:p>
|
||||
<w:r>
|
||||
<w:t>Planificaciones</w:t>
|
||||
</w:r>
|
||||
</w:p>
|
||||
<xsl:for-each select="logica.reportes.ReporteApoderado/planificaciones/entry">
|
||||
<w:p>
|
||||
<w:r>
|
||||
<w:t>
|
||||
|
||||
<xsl:value-of select="Estudiante/nombre"/>/<xsl:value-of select="Estudiante/rut"/>
|
||||
</w:t>
|
||||
</w:r>
|
||||
</w:p>
|
||||
|
||||
<xsl:for-each select="map/entry">
|
||||
<w:p>
|
||||
<w:r>
|
||||
<w:t>
|
||||
<xsl:value-of select="Asignatura/nombre"/>
|
||||
</w:t>
|
||||
</w:r>
|
||||
</w:p>
|
||||
|
||||
<xsl:for-each select="Actividad-array/Actividad">
|
||||
<w:p>
|
||||
<w:r>
|
||||
<w:t>
|
||||
|
||||
<xsl:value-of select="tipo"/>/<xsl:value-of select="fecha"/>
|
||||
</w:t>
|
||||
</w:r>
|
||||
</w:p>
|
||||
</xsl:for-each>
|
||||
</xsl:for-each>
|
||||
</xsl:for-each>
|
||||
<!--Anotaciones-->
|
||||
<w:p>
|
||||
<w:r>
|
||||
<w:t>Anotaciones</w:t>
|
||||
</w:r>
|
||||
</w:p>
|
||||
<xsl:for-each select="logica.reportes.ReporteApoderado/anotaciones/entry">
|
||||
<w:p>
|
||||
<w:r>
|
||||
<w:t>
|
||||
|
||||
<xsl:value-of select="Estudiante/nombre"/>/<xsl:value-of select="Estudiante/rut"/>
|
||||
</w:t>
|
||||
</w:r>
|
||||
</w:p>
|
||||
|
||||
<xsl:for-each select="Anotacion-array/Anotacion">
|
||||
<w:p>
|
||||
<w:r>
|
||||
<w:t>
|
||||
<xsl:value-of select="profesor__id__fk/nombre"/>
|
||||
</w:t>
|
||||
</w:r>
|
||||
</w:p>
|
||||
<w:p>
|
||||
<w:r>
|
||||
<w:t>
|
||||
<xsl:choose>
|
||||
<xsl:when test="positiva = 'true'">Positiva</xsl:when>
|
||||
<xsl:otherwise>Negativa</xsl:otherwise>
|
||||
</xsl:choose>/<xsl:value-of select="descripcion"/>
|
||||
</w:t>
|
||||
</w:r>
|
||||
</w:p>
|
||||
</xsl:for-each>
|
||||
</xsl:for-each>
|
||||
</xsl:for-each>
|
||||
</w:body>
|
||||
</w:wordDocument>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
25
colegio_web/files/xslt/toWordReprobando.xsl
Normal file
25
colegio_web/files/xslt/toWordReprobando.xsl
Normal file
@@ -0,0 +1,25 @@
|
||||
<?xml version="1.0"?>
|
||||
|
||||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
||||
|
||||
<xsl:template match="/">
|
||||
<w:wordDocument xmlns:w="http://schemas.microsoft.com/office/word/2003/wordml">
|
||||
<w:body>
|
||||
|
||||
<xsl:for-each select="logica.reportes.ReporteReprobando/estudiantesRepobando/entry">
|
||||
<w:p>
|
||||
<w:r>
|
||||
<w:t><xsl:value-of select="Estudiante/nombre"/>/<xsl:value-of select="Estudiante/rut"/></w:t>
|
||||
</w:r>
|
||||
</w:p>
|
||||
<w:p>
|
||||
<w:r>
|
||||
<w:t><xsl:value-of select="float"/></w:t>
|
||||
</w:r>
|
||||
</w:p>
|
||||
|
||||
</xsl:for-each>
|
||||
</w:body>
|
||||
</w:wordDocument>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
150
colegio_web/nbproject/ant-deploy.xml
Normal file
150
colegio_web/nbproject/ant-deploy.xml
Normal file
@@ -0,0 +1,150 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
|
||||
|
||||
Copyright (c) 2008, 2016 Oracle and/or its affiliates. All rights reserved.
|
||||
|
||||
Oracle and Java are registered trademarks of Oracle and/or its affiliates.
|
||||
Other names may be trademarks of their respective owners.
|
||||
|
||||
The contents of this file are subject to the terms of either the GNU
|
||||
General Public License Version 2 only ("GPL") or the Common
|
||||
Development and Distribution License("CDDL") (collectively, the
|
||||
"License"). You may not use this file except in compliance with the
|
||||
License. You can obtain a copy of the License at
|
||||
http://www.netbeans.org/cddl-gplv2.html
|
||||
or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
|
||||
specific language governing permissions and limitations under the
|
||||
License. When distributing the software, include this License Header
|
||||
Notice in each file and include the License file at
|
||||
nbbuild/licenses/CDDL-GPL-2-CP. Oracle designates this
|
||||
particular file as subject to the "Classpath" exception as provided
|
||||
by Oracle in the GPL Version 2 section of the License file that
|
||||
accompanied this code. If applicable, add the following below the
|
||||
License Header, with the fields enclosed by brackets [] replaced by
|
||||
your own identifying information:
|
||||
"Portions Copyrighted [year] [name of copyright owner]"
|
||||
|
||||
If you wish your version of this file to be governed by only the CDDL
|
||||
or only the GPL Version 2, indicate your decision by adding
|
||||
"[Contributor] elects to include this software in this distribution
|
||||
under the [CDDL or GPL Version 2] license." If you do not indicate a
|
||||
single choice of license, a recipient has the option to distribute
|
||||
your version of this file under either the CDDL, the GPL Version 2 or
|
||||
to extend the choice of license to its licensees as provided above.
|
||||
However, if you add GPL Version 2 code and therefore, elected the GPL
|
||||
Version 2 license, then the option applies only if the new code is
|
||||
made subject to such option by the copyright holder.
|
||||
|
||||
Contributor(s):
|
||||
-->
|
||||
<project default="-deploy-ant" basedir=".">
|
||||
<target name="-init-cl-deployment-env" if="deploy.ant.enabled">
|
||||
<property file="${deploy.ant.properties.file}" />
|
||||
<available file="${deploy.ant.docbase.dir}/WEB-INF/sun-web.xml" property="sun.web.present"/>
|
||||
<available file="${deploy.ant.docbase.dir}/WEB-INF/glassfish-web.xml" property="glassfish.web.present"/>
|
||||
<available file="${deploy.ant.resource.dir}" property="has.setup"/>
|
||||
<tempfile prefix="gfv3" property="gfv3.password.file" destdir="${java.io.tmpdir}"/> <!-- do not forget to delete this! -->
|
||||
<echo message="AS_ADMIN_PASSWORD=${gfv3.password}" file="${gfv3.password.file}"/>
|
||||
</target>
|
||||
|
||||
<target name="-parse-sun-web" depends="-init-cl-deployment-env" if="sun.web.present">
|
||||
<tempfile prefix="gfv3" property="temp.sun.web" destdir="${java.io.tmpdir}"/>
|
||||
<copy file="${deploy.ant.docbase.dir}/WEB-INF/sun-web.xml" tofile="${temp.sun.web}"/>
|
||||
<!-- The doctype triggers resolution which can fail -->
|
||||
<replace file="${temp.sun.web}">
|
||||
<replacetoken><![CDATA[<!DOCTYPE]]></replacetoken>
|
||||
<replacevalue><![CDATA[<!-- <!DOCTYPE]]></replacevalue>
|
||||
</replace>
|
||||
<replace file="${temp.sun.web}">
|
||||
<replacetoken><![CDATA[<sun-web-app]]></replacetoken>
|
||||
<replacevalue><![CDATA[--> <sun-web-app]]></replacevalue>
|
||||
</replace>
|
||||
<xmlproperty file="${temp.sun.web}" validate="false">
|
||||
</xmlproperty>
|
||||
<delete file="${temp.sun.web}"/>
|
||||
<condition property="deploy.ant.client.url" value="${gfv3.url}${sun-web-app.context-root}" else="${gfv3.url}/${ant.project.name}">
|
||||
<isset property="sun-web-app.context-root"/>
|
||||
</condition>
|
||||
<condition property="deploy.context.root.argument" value="&contextroot=${sun-web-app.context-root}" else="/${ant.project.name}">
|
||||
<isset property="sun-web-app.context-root"/>
|
||||
</condition>
|
||||
</target>
|
||||
<target name="-parse-glassfish-web" depends="-init-cl-deployment-env" if="glassfish.web.present">
|
||||
<tempfile prefix="gfv3" property="temp.gf.web" destdir="${java.io.tmpdir}"/>
|
||||
<copy file="${deploy.ant.docbase.dir}/WEB-INF/glassfish-web.xml" tofile="${temp.gf.web}"/>
|
||||
<!-- The doctype triggers resolution which can fail -->
|
||||
<replace file="${temp.gf.web}">
|
||||
<replacetoken><![CDATA[<!DOCTYPE]]></replacetoken>
|
||||
<replacevalue><![CDATA[<!-- <!DOCTYPE]]></replacevalue>
|
||||
</replace>
|
||||
<replace file="${temp.gf.web}">
|
||||
<replacetoken><![CDATA[<glassfish-web-app]]></replacetoken>
|
||||
<replacevalue><![CDATA[--> <glassfish-web-app]]></replacevalue>
|
||||
</replace>
|
||||
<xmlproperty file="${temp.gf.web}" validate="false">
|
||||
</xmlproperty>
|
||||
<delete file="${temp.gf.web}"/>
|
||||
<condition property="deploy.ant.client.url" value="${gfv3.url}${glassfish-web-app.context-root}" else="${gfv3.url}/${ant.project.name}">
|
||||
<isset property="glassfish-web-app.context-root"/>
|
||||
</condition>
|
||||
<condition property="deploy.context.root.argument" value="&contextroot=${glassfish-web-app.context-root}" else="/${ant.project.name}">
|
||||
<isset property="glassfish-web-app.context-root"/>
|
||||
</condition>
|
||||
</target>
|
||||
<target name="-no-parse-sun-web" depends="-init-cl-deployment-env" unless="sun.web.present">
|
||||
<property name="deploy.context.root.argument" value=""/>
|
||||
</target>
|
||||
<target name="-add-resources" depends="-init-cl-deployment-env" if="has.setup">
|
||||
<tempfile prefix="gfv3" property="gfv3.resources.dir" destdir="${java.io.tmpdir}"/>
|
||||
<mkdir dir="${gfv3.resources.dir}"/>
|
||||
<mkdir dir="${gfv3.resources.dir}/META-INF"/>
|
||||
<copy todir="${gfv3.resources.dir}/META-INF">
|
||||
<fileset dir="${deploy.ant.resource.dir}"/>
|
||||
</copy>
|
||||
<jar destfile="${deploy.ant.archive}" update="true">
|
||||
<fileset dir="${gfv3.resources.dir}"/>
|
||||
</jar>
|
||||
<delete dir="${gfv3.resources.dir}"/>
|
||||
</target>
|
||||
<target name="-deploy-ant" depends="-parse-glassfish-web, -parse-sun-web, -no-parse-sun-web,-add-resources" if="deploy.ant.enabled">
|
||||
<antcall target="-deploy-without-pw"/>
|
||||
<antcall target="-deploy-with-pw"/>
|
||||
</target>
|
||||
|
||||
<target name="-deploy-without-pw" unless="gfv3.password">
|
||||
<echo message="Deploying ${deploy.ant.archive}"/>
|
||||
<tempfile prefix="gfv3" property="gfv3.results.file" destdir="${java.io.tmpdir}"/> <!-- do not forget to delete this! -->
|
||||
<property name="full.deploy.ant.archive" location="${deploy.ant.archive}"/>
|
||||
<get src="${gfv3.admin.url}/__asadmin/deploy?path=${full.deploy.ant.archive}${deploy.context.root.argument}&force=true&name=${ant.project.name}"
|
||||
dest="${gfv3.results.file}"/>
|
||||
<delete file="${gfv3.results.file}"/>
|
||||
</target>
|
||||
<target name="-deploy-with-pw" if="gfv3.password">
|
||||
<echo message="Deploying ${deploy.ant.archive}"/>
|
||||
<tempfile prefix="gfv3" property="gfv3.results.file" destdir="${java.io.tmpdir}"/> <!-- do not forget to delete this! -->
|
||||
<property name="full.deploy.ant.archive" location="${deploy.ant.archive}"/>
|
||||
<get username="${gfv3.username}" password="${gfv3.password}" src="${gfv3.admin.url}/__asadmin/deploy?path=${full.deploy.ant.archive}${deploy.context.root.argument}&force=true&name=${ant.project.name}"
|
||||
dest="${gfv3.results.file}"/>
|
||||
<delete file="${gfv3.results.file}"/>
|
||||
</target>
|
||||
<target name="-undeploy-ant" depends="-init-cl-deployment-env" if="deploy.ant.enabled">
|
||||
<antcall target="-undeploy-without-pw"/>
|
||||
<antcall target="-undeploy-with-pw"/>
|
||||
</target>
|
||||
|
||||
<target name="-undeploy-without-pw" unless="gfv3.password">
|
||||
<echo message="Undeploying ${deploy.ant.archive}"/>
|
||||
<tempfile prefix="gfv3" property="gfv3.results.file" destdir="${java.io.tmpdir}"/> <!-- do not forget to delete this! -->
|
||||
<get src="${gfv3.admin.url}/__asadmin/undeploy?name=${ant.project.name}"
|
||||
dest="${gfv3.results.file}"/>
|
||||
<delete file="${gfv3.results.file}"/>
|
||||
</target>
|
||||
<target name="-undeploy-with-pw" if="gfv3.password">
|
||||
<echo message="Undeploying ${deploy.ant.archive}"/>
|
||||
<tempfile prefix="gfv3" property="gfv3.results.file" destdir="${java.io.tmpdir}"/> <!-- do not forget to delete this! -->
|
||||
<get username="${gfv3.username}" password="${gfv3.password}" src="${gfv3.admin.url}/__asadmin/undeploy?name=${ant.project.name}"
|
||||
dest="${gfv3.results.file}"/>
|
||||
<delete file="${gfv3.results.file}"/>
|
||||
</target>
|
||||
</project>
|
||||
1444
colegio_web/nbproject/build-impl.xml
Normal file
1444
colegio_web/nbproject/build-impl.xml
Normal file
File diff suppressed because it is too large
Load Diff
8
colegio_web/nbproject/genfiles.properties
Normal file
8
colegio_web/nbproject/genfiles.properties
Normal file
@@ -0,0 +1,8 @@
|
||||
build.xml.data.CRC32=a120afaf
|
||||
build.xml.script.CRC32=2f10b7bd
|
||||
build.xml.stylesheet.CRC32=651128d4@1.77.1.1
|
||||
# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
|
||||
# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
|
||||
nbproject/build-impl.xml.data.CRC32=a120afaf
|
||||
nbproject/build-impl.xml.script.CRC32=3e6729d8
|
||||
nbproject/build-impl.xml.stylesheet.CRC32=99ea4b56@1.77.1.1
|
||||
11
colegio_web/nbproject/private/private.properties
Normal file
11
colegio_web/nbproject/private/private.properties
Normal file
@@ -0,0 +1,11 @@
|
||||
deploy.ant.properties.file=C:\\Users\\SkRd\\AppData\\Roaming\\NetBeans\\8.2\\config\\GlassFishEE6\\Properties\\gfv31673059389.properties
|
||||
file.reference.APIDataBase.jar=C:\\Users\\SkRd\\Desktop\\Programacion\\jetbrains-projects\\data-base-api\\out\\artifacts\\colegioApi_jar\\APIDataBase.jar
|
||||
j2ee.platform.is.jsr109=true
|
||||
j2ee.server.domain=C:/Users/SkRd/AppData/Roaming/NetBeans/8.2/config/GF_4.1.1/domain1
|
||||
j2ee.server.home=C:/Program Files/glassfish-4.1.1/glassfish
|
||||
j2ee.server.instance=[C:\\Program Files\\glassfish-4.1.1\\glassfish;C:\\Program Files\\glassfish-4.1.1\\glassfish\\domains\\domain1]deployer:gfv3ee6wc:localhost:4848
|
||||
j2ee.server.middleware=C:/Program Files/glassfish-4.1.1
|
||||
javac.debug=true
|
||||
javadoc.preview=true
|
||||
selected.browser=Chrome
|
||||
user.properties.file=C:\\Users\\SkRd\\AppData\\Roaming\\NetBeans\\8.2\\build.properties
|
||||
7
colegio_web/nbproject/private/private.xml
Normal file
7
colegio_web/nbproject/private/private.xml
Normal file
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project-private xmlns="http://www.netbeans.org/ns/project-private/1">
|
||||
<editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/2" lastBookmarkId="0"/>
|
||||
<open-files xmlns="http://www.netbeans.org/ns/projectui-open-files/2">
|
||||
<group/>
|
||||
</open-files>
|
||||
</project-private>
|
||||
90
colegio_web/nbproject/project.properties
Normal file
90
colegio_web/nbproject/project.properties
Normal file
@@ -0,0 +1,90 @@
|
||||
annotation.processing.enabled=true
|
||||
annotation.processing.enabled.in.editor=true
|
||||
annotation.processing.processors.list=
|
||||
annotation.processing.run.all.processors=true
|
||||
annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output
|
||||
build.classes.dir=${build.web.dir}/WEB-INF/classes
|
||||
build.classes.excludes=**/*.java,**/*.form
|
||||
build.dir=build
|
||||
build.generated.dir=${build.dir}/generated
|
||||
build.generated.sources.dir=${build.dir}/generated-sources
|
||||
build.test.classes.dir=${build.dir}/test/classes
|
||||
build.test.results.dir=${build.dir}/test/results
|
||||
build.web.dir=${build.dir}/web
|
||||
build.web.excludes=${build.classes.excludes}
|
||||
client.urlPart=
|
||||
compile.jsps=false
|
||||
conf.dir=${source.root}/conf
|
||||
debug.classpath=${build.classes.dir}:${javac.classpath}
|
||||
debug.test.classpath=\
|
||||
${run.test.classpath}
|
||||
display.browser=true
|
||||
# Files to be excluded from distribution war
|
||||
dist.archive.excludes=
|
||||
dist.dir=dist
|
||||
dist.ear.war=${dist.dir}/${war.ear.name}
|
||||
dist.javadoc.dir=${dist.dir}/javadoc
|
||||
dist.war=${dist.dir}/${war.name}
|
||||
endorsed.classpath=\
|
||||
${libs.javaee-endorsed-api-7.0.classpath}
|
||||
excludes=
|
||||
file.reference.APIDataBase.jar=/home/ryuuji/jetbrains-projects/data-base-api/out/artifacts/colegioApi_jar/APIDataBase.jar
|
||||
includes=**
|
||||
j2ee.compile.on.save=true
|
||||
j2ee.copy.static.files.on.save=true
|
||||
j2ee.deploy.on.save=true
|
||||
j2ee.platform=1.7-web
|
||||
j2ee.platform.classpath=${j2ee.server.home}/modules/endorsed/javax.annotation-api.jar:${j2ee.server.home}/modules/endorsed/jaxb-api.jar:${j2ee.server.home}/modules/endorsed/webservices-api-osgi.jar:${j2ee.server.home}/modules/bean-validator.jar:${j2ee.server.home}/modules/cdi-api.jar:${j2ee.server.home}/modules/javax.batch-api.jar:${j2ee.server.home}/modules/javax.ejb-api.jar:${j2ee.server.home}/modules/javax.el.jar:${j2ee.server.home}/modules/javax.enterprise.concurrent-api.jar:${j2ee.server.home}/modules/javax.enterprise.concurrent.jar:${j2ee.server.home}/modules/javax.enterprise.deploy-api.jar:${j2ee.server.home}/modules/javax.faces.jar:${j2ee.server.home}/modules/javax.inject.jar:${j2ee.server.home}/modules/javax.interceptor-api.jar:${j2ee.server.home}/modules/javax.jms-api.jar:${j2ee.server.home}/modules/javax.json.jar:${j2ee.server.home}/modules/javax.mail.jar:${j2ee.server.home}/modules/javax.management.j2ee-api.jar:${j2ee.server.home}/modules/javax.persistence.jar:${j2ee.server.home}/modules/javax.resource-api.jar:${j2ee.server.home}/modules/javax.security.auth.message-api.jar:${j2ee.server.home}/modules/javax.security.jacc-api.jar:${j2ee.server.home}/modules/javax.servlet-api.jar:${j2ee.server.home}/modules/javax.servlet.jsp-api.jar:${j2ee.server.home}/modules/javax.servlet.jsp.jar:${j2ee.server.home}/modules/javax.servlet.jsp.jstl-api.jar:${j2ee.server.home}/modules/javax.servlet.jsp.jstl.jar:${j2ee.server.home}/modules/javax.transaction-api.jar:${j2ee.server.home}/modules/javax.websocket-api.jar:${j2ee.server.home}/modules/javax.ws.rs-api.jar:${j2ee.server.home}/modules/javax.xml.registry-api.jar:${j2ee.server.home}/modules/javax.xml.rpc-api.jar:${j2ee.server.home}/modules/jaxb-osgi.jar:${j2ee.server.home}/modules/webservices-osgi.jar:${j2ee.server.home}/modules/weld-osgi-bundle.jar:${j2ee.server.middleware}/mq/lib/jaxm-api.jar
|
||||
j2ee.platform.embeddableejb.classpath=${j2ee.server.home}/lib/embedded/glassfish-embedded-static-shell.jar
|
||||
j2ee.platform.wscompile.classpath=${j2ee.server.home}/modules/webservices-osgi.jar
|
||||
j2ee.platform.wsgen.classpath=${j2ee.server.home}/modules/webservices-osgi.jar:${j2ee.server.home}/modules/endorsed/webservices-api-osgi.jar:${j2ee.server.home}/modules/jaxb-osgi.jar:${j2ee.server.home}/modules/endorsed/jaxb-api.jar
|
||||
j2ee.platform.wsimport.classpath=${j2ee.server.home}/modules/webservices-osgi.jar:${j2ee.server.home}/modules/endorsed/webservices-api-osgi.jar:${j2ee.server.home}/modules/jaxb-osgi.jar:${j2ee.server.home}/modules/endorsed/jaxb-api.jar
|
||||
j2ee.platform.wsit.classpath=
|
||||
j2ee.server.type=gfv3ee6
|
||||
jar.compress=false
|
||||
javac.classpath=\
|
||||
${file.reference.APIDataBase.jar}
|
||||
# Space-separated list of extra javac options
|
||||
javac.compilerargs=
|
||||
javac.debug=true
|
||||
javac.deprecation=false
|
||||
javac.processorpath=\
|
||||
${javac.classpath}
|
||||
javac.source=1.8
|
||||
javac.target=1.8
|
||||
javac.test.classpath=\
|
||||
${javac.classpath}:\
|
||||
${build.classes.dir}
|
||||
javac.test.processorpath=\
|
||||
${javac.test.classpath}
|
||||
javadoc.additionalparam=
|
||||
javadoc.author=false
|
||||
javadoc.encoding=${source.encoding}
|
||||
javadoc.noindex=false
|
||||
javadoc.nonavbar=false
|
||||
javadoc.notree=false
|
||||
javadoc.preview=true
|
||||
javadoc.private=false
|
||||
javadoc.splitindex=true
|
||||
javadoc.use=true
|
||||
javadoc.version=false
|
||||
javadoc.windowtitle=
|
||||
lib.dir=${web.docbase.dir}/WEB-INF/lib
|
||||
persistence.xml.dir=${conf.dir}
|
||||
platform.active=default_platform
|
||||
resource.dir=setup
|
||||
run.test.classpath=\
|
||||
${javac.test.classpath}:\
|
||||
${build.test.classes.dir}
|
||||
# Space-separated list of JVM arguments used when running a class with a main method or a unit test
|
||||
# (you may also define separate properties like run-sys-prop.name=value instead of -Dname=value):
|
||||
runmain.jvmargs=
|
||||
source.encoding=UTF-8
|
||||
source.root=src
|
||||
src.dir=${source.root}/java
|
||||
test.src.dir=test
|
||||
war.content.additional=
|
||||
war.ear.name=${war.name}
|
||||
war.name=WebColegio.war
|
||||
web.docbase.dir=web
|
||||
webinf.dir=web/WEB-INF
|
||||
23
colegio_web/nbproject/project.xml
Normal file
23
colegio_web/nbproject/project.xml
Normal file
@@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://www.netbeans.org/ns/project/1">
|
||||
<type>org.netbeans.modules.web.project</type>
|
||||
<configuration>
|
||||
<data xmlns="http://www.netbeans.org/ns/web-project/3">
|
||||
<name>WebColegio</name>
|
||||
<minimum-ant-version>1.6.5</minimum-ant-version>
|
||||
<web-module-libraries>
|
||||
<library dirs="200">
|
||||
<file>${file.reference.APIDataBase.jar}</file>
|
||||
<path-in-war>WEB-INF/lib</path-in-war>
|
||||
</library>
|
||||
</web-module-libraries>
|
||||
<web-module-additional-libraries/>
|
||||
<source-roots>
|
||||
<root id="src.dir"/>
|
||||
</source-roots>
|
||||
<test-roots>
|
||||
<root id="test.src.dir"/>
|
||||
</test-roots>
|
||||
</data>
|
||||
</configuration>
|
||||
</project>
|
||||
2
colegio_web/src/conf/MANIFEST.MF
Normal file
2
colegio_web/src/conf/MANIFEST.MF
Normal file
@@ -0,0 +1,2 @@
|
||||
Manifest-Version: 1.0
|
||||
|
||||
100
colegio_web/src/files/apellidos.txt
Normal file
100
colegio_web/src/files/apellidos.txt
Normal file
@@ -0,0 +1,100 @@
|
||||
González
|
||||
Muñoz
|
||||
Rojas
|
||||
Días
|
||||
Pérez
|
||||
Soto
|
||||
Contreras
|
||||
Silva
|
||||
Martínez
|
||||
Sepúlveda
|
||||
Morales
|
||||
Rodríguez
|
||||
López
|
||||
Fuentes
|
||||
Hernándes
|
||||
Torres
|
||||
Araya
|
||||
Flores
|
||||
Espinoza
|
||||
Valenzuela
|
||||
Castillo
|
||||
Ramírez
|
||||
Reyes
|
||||
Gutiérrez
|
||||
Castro
|
||||
Vargas
|
||||
Álvarez
|
||||
Vásquez
|
||||
Tapia
|
||||
Fernández
|
||||
Sánchez
|
||||
Carrasco
|
||||
Gómez
|
||||
Cortés
|
||||
Herrera
|
||||
Núñez
|
||||
Jara
|
||||
Vergara
|
||||
Rivera
|
||||
Figueroa
|
||||
Riquelme
|
||||
García
|
||||
Miranda
|
||||
Bravo
|
||||
Vera
|
||||
Molina
|
||||
Vega
|
||||
Campos
|
||||
Sandoval
|
||||
Orellana
|
||||
Zúñiga
|
||||
Oliares
|
||||
Alarcón
|
||||
Gallardo
|
||||
Ortiz
|
||||
Garrido
|
||||
Salazar
|
||||
Guzmán
|
||||
Henríquez
|
||||
Saavedra
|
||||
Navarro
|
||||
Aguilera
|
||||
Parra
|
||||
Romero
|
||||
Aravena
|
||||
Pizarro
|
||||
Godoy
|
||||
Peña
|
||||
Cáceres
|
||||
Leiva
|
||||
Escobar
|
||||
Yáñez
|
||||
Valdés
|
||||
Vidal
|
||||
Salinas
|
||||
Cárdenas
|
||||
Jimenez
|
||||
Ruiz
|
||||
Lagos
|
||||
Maldonado
|
||||
Bustos
|
||||
Medina
|
||||
Pino
|
||||
Palma
|
||||
Moreno
|
||||
Sanhueza
|
||||
Carvajal
|
||||
Navarrete
|
||||
Sáez
|
||||
Alvarado
|
||||
Donoso
|
||||
Poblete
|
||||
Bustamante
|
||||
Toro
|
||||
Ortega
|
||||
Venegas
|
||||
Guerrero
|
||||
Paredes
|
||||
Farías
|
||||
San Martín
|
||||
199
colegio_web/src/files/nombre.txt
Normal file
199
colegio_web/src/files/nombre.txt
Normal file
@@ -0,0 +1,199 @@
|
||||
Agustín
|
||||
Benjamin
|
||||
Vicente
|
||||
Martín
|
||||
Matías
|
||||
Joaquín
|
||||
Tomás
|
||||
Maximiliano
|
||||
Mateo
|
||||
CristóBalfeAlonso
|
||||
Sebastían
|
||||
José
|
||||
Felipe
|
||||
Diego
|
||||
Lucas
|
||||
Nicolás
|
||||
Máximo
|
||||
Juan
|
||||
Bastían
|
||||
Gaspar
|
||||
Gabriel
|
||||
Renato
|
||||
Santiago
|
||||
Emilio
|
||||
Ignacio
|
||||
Francisco
|
||||
Javier
|
||||
Damián
|
||||
Bruno
|
||||
Simón
|
||||
Daniel
|
||||
Luis
|
||||
Facundo
|
||||
Franco
|
||||
Ángel
|
||||
Luciano
|
||||
Julián
|
||||
Pedro
|
||||
Pablo
|
||||
Amaro
|
||||
Fernando
|
||||
Carlos
|
||||
Cristián
|
||||
Thomas
|
||||
Esteban
|
||||
Ian
|
||||
David
|
||||
Alexander
|
||||
León
|
||||
Dante
|
||||
Rafael
|
||||
Jorge
|
||||
Gustavo
|
||||
Emiliano
|
||||
Dylan
|
||||
Rodrigo
|
||||
Víctor
|
||||
Manuel
|
||||
Camilo
|
||||
Alejandro
|
||||
Miguel
|
||||
Elías
|
||||
Álvaro
|
||||
Eduardo
|
||||
Leonardo
|
||||
Fabían
|
||||
Andrés
|
||||
Valentín
|
||||
Gonzalo
|
||||
Cristopher
|
||||
Kevin
|
||||
Isaac
|
||||
Alexis
|
||||
Samuel
|
||||
Aaron
|
||||
Clemente
|
||||
Jean
|
||||
Ricardo
|
||||
Alan
|
||||
Héctor
|
||||
Sergio
|
||||
Óscar
|
||||
Claudio
|
||||
Demian
|
||||
Patricio
|
||||
Iván
|
||||
Guillermo
|
||||
Mathías
|
||||
Marcelo
|
||||
Mauricio
|
||||
Josué
|
||||
Jesús
|
||||
Lukas
|
||||
Isaías
|
||||
César
|
||||
Axel
|
||||
Alfonso
|
||||
Alex
|
||||
Baltazar
|
||||
Sofía
|
||||
Emilia
|
||||
Florencia
|
||||
Antonella
|
||||
Martina
|
||||
Isidora
|
||||
Maite
|
||||
Josefa
|
||||
Amanda
|
||||
Agustina
|
||||
Catalina
|
||||
Antonia
|
||||
Trinidad
|
||||
Fernanda
|
||||
María
|
||||
Valentina
|
||||
Javiera
|
||||
Isabella
|
||||
Ignacia
|
||||
Constanza
|
||||
Julieta
|
||||
Francisca
|
||||
Emily
|
||||
Renata
|
||||
Mia
|
||||
Camila
|
||||
Victoria
|
||||
Matilda
|
||||
Rafaela
|
||||
Belén
|
||||
Pascal
|
||||
Monserrat
|
||||
Laura
|
||||
Magdalena
|
||||
Paz
|
||||
Anaís
|
||||
Josefina
|
||||
Pía
|
||||
Violeta
|
||||
Matilde
|
||||
Dominique
|
||||
Colomba
|
||||
Rocío
|
||||
Amalia
|
||||
Leonor
|
||||
Daniela
|
||||
Pascale
|
||||
Emma
|
||||
Amparo
|
||||
Samantha
|
||||
Gabriela
|
||||
Ámbar
|
||||
Rafaella
|
||||
Amelia
|
||||
Mayra
|
||||
Sophia
|
||||
Génesis
|
||||
Ema
|
||||
Alondra
|
||||
Mariana
|
||||
Dominga
|
||||
Mayte
|
||||
Michelle
|
||||
Rayén
|
||||
Danae
|
||||
Elena
|
||||
Lucía
|
||||
Millaray
|
||||
Paula
|
||||
Elizabeth
|
||||
Anahís
|
||||
Carolina
|
||||
Elisa
|
||||
Amy
|
||||
Bárbara
|
||||
Isabel
|
||||
Ashley
|
||||
Thiare
|
||||
Noemí
|
||||
Aylin
|
||||
Luciana
|
||||
Krishna
|
||||
Ángela
|
||||
Esperanza
|
||||
Sara
|
||||
Carla
|
||||
Noelia
|
||||
Kiara
|
||||
Katalina
|
||||
Celewste
|
||||
Montserrat
|
||||
Denisse
|
||||
Dafne
|
||||
Abigail
|
||||
Antonela
|
||||
Olivia
|
||||
Maura
|
||||
Alejandra
|
||||
Alexandra
|
||||
Consuelo
|
||||
128
colegio_web/src/files/xslt/toExcelApoderadosMasEstudiantes.xsl
Normal file
128
colegio_web/src/files/xslt/toExcelApoderadosMasEstudiantes.xsl
Normal file
@@ -0,0 +1,128 @@
|
||||
|
||||
|
||||
<xsl:stylesheet
|
||||
version="1.0"
|
||||
xmlns="urn:schemas-microsoft-com:office:spreadsheet"
|
||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||
xmlns:msxsl="urn:schemas-microsoft-com:xslt"
|
||||
xmlns:user="urn:my-scripts"
|
||||
xmlns:o="urn:schemas-microsoft-com:office:office"
|
||||
xmlns:x="urn:schemas-microsoft-com:office:excel"
|
||||
xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet">
|
||||
|
||||
<xsl:template match="/">
|
||||
<Workbook
|
||||
xmlns="urn:schemas-microsoft-com:office:spreadsheet"
|
||||
xmlns:o="urn:schemas-microsoft-com:office:office"
|
||||
xmlns:x="urn:schemas-microsoft-com:office:excel"
|
||||
xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet"
|
||||
xmlns:html="http://www.w3.org/TR/REC-html40">
|
||||
<DocumentProperties xmlns="urn:schemas-microsoft-com:office:office">
|
||||
<Author>ed woychowsky</Author>
|
||||
<LastAuthor>Edmond Woychowsky</LastAuthor>
|
||||
<Created>2007-01-26T16:54:15Z</Created>
|
||||
<LastSaved>2007-01-27T05:18:54Z</LastSaved>
|
||||
<Company>None</Company>
|
||||
<Version>10.3501</Version>
|
||||
</DocumentProperties>
|
||||
<OfficeDocumentSettings xmlns="urn:schemas-microsoft-com:office:office">
|
||||
<DownloadComponents/>
|
||||
<LocationOfComponents HRef="file:///D:\"/>
|
||||
</OfficeDocumentSettings>
|
||||
<ExcelWorkbook xmlns="urn:schemas-microsoft-com:office:excel">
|
||||
<WindowHeight>8700</WindowHeight>
|
||||
<WindowWidth>11355</WindowWidth>
|
||||
<WindowTopX>480</WindowTopX>
|
||||
<WindowTopY>120</WindowTopY>
|
||||
<ProtectStructure>False</ProtectStructure>
|
||||
<ProtectWindows>False</ProtectWindows>
|
||||
</ExcelWorkbook>
|
||||
<Styles>
|
||||
<Style ss:ID="Default" ss:Name="Normal">
|
||||
<Alignment ss:Vertical="Bottom"/><Borders/><Font/><Interior/><NumberFormat/><Protection/>
|
||||
|
||||
</Style>
|
||||
</Styles>
|
||||
<Worksheet ss:Name="Test">
|
||||
<Table>
|
||||
|
||||
<xsl:for-each select="logica.reportes.ReporteApoderadosMasEstudiantes/apoderadosDuplicados/entry">
|
||||
<!--Apoderado-->
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Apoderado</Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Rut</Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="Apoderado/nombre"/></Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="Apoderado/rut"/></Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
<!--White-->
|
||||
<Row>
|
||||
<Cell></Cell>
|
||||
</Row>
|
||||
<!--Estudiantes-->
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Estudiante</Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Rut</Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
|
||||
<xsl:for-each select="list/Estudiante">
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="nombre"/></Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="rut"/></Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
</xsl:for-each>
|
||||
<!--White-->
|
||||
<Row>
|
||||
<Cell></Cell>
|
||||
</Row>
|
||||
</xsl:for-each>
|
||||
</Table>
|
||||
<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
|
||||
<Print>
|
||||
<ValidPrinterInfo/>
|
||||
<HorizontalResolution>600</HorizontalResolution>
|
||||
<VerticalResolution>0</VerticalResolution>
|
||||
</Print>
|
||||
<Selected/>
|
||||
<Panes>
|
||||
<Pane>
|
||||
<Number>3</Number>
|
||||
<ActiveRow>2</ActiveRow>
|
||||
</Pane>
|
||||
</Panes>
|
||||
<ProtectObjects>False</ProtectObjects>
|
||||
<ProtectScenarios>False</ProtectScenarios>
|
||||
</WorksheetOptions>
|
||||
</Worksheet>
|
||||
<Worksheet ss:Name="Sheet2">
|
||||
<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
|
||||
<ProtectObjects>False</ProtectObjects>
|
||||
<ProtectScenarios>False</ProtectScenarios>
|
||||
</WorksheetOptions>
|
||||
</Worksheet>
|
||||
<Worksheet ss:Name="Sheet3">
|
||||
<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
|
||||
<ProtectObjects>False</ProtectObjects>
|
||||
<ProtectScenarios>False</ProtectScenarios>
|
||||
</WorksheetOptions>
|
||||
</Worksheet>
|
||||
</Workbook>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
89
colegio_web/src/files/xslt/toExcelAsistenciaBaja.xsl
Normal file
89
colegio_web/src/files/xslt/toExcelAsistenciaBaja.xsl
Normal file
@@ -0,0 +1,89 @@
|
||||
<xsl:stylesheet version="1.0" xmlns="urn:schemas-microsoft-com:office:spreadsheet" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:user="urn:my-scripts" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet">
|
||||
<xsl:template match="/">
|
||||
<Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:html="http://www.w3.org/TR/REC-html40">
|
||||
<DocumentProperties xmlns="urn:schemas-microsoft-com:office:office">
|
||||
<Author>ed woychowsky</Author>
|
||||
<LastAuthor>Edmond Woychowsky</LastAuthor>
|
||||
<Created>2007-01-26T16:54:15Z</Created>
|
||||
<LastSaved>2007-01-27T05:18:54Z</LastSaved>
|
||||
<Company>None</Company>
|
||||
<Version>10.3501</Version>
|
||||
</DocumentProperties>
|
||||
<OfficeDocumentSettings xmlns="urn:schemas-microsoft-com:office:office">
|
||||
<DownloadComponents/>
|
||||
<LocationOfComponents HRef="file:///D:\" />
|
||||
</OfficeDocumentSettings>
|
||||
<ExcelWorkbook xmlns="urn:schemas-microsoft-com:office:excel">
|
||||
<WindowHeight>8700</WindowHeight>
|
||||
<WindowWidth>11355</WindowWidth>
|
||||
<WindowTopX>480</WindowTopX>
|
||||
<WindowTopY>120</WindowTopY>
|
||||
<ProtectStructure>False</ProtectStructure>
|
||||
<ProtectWindows>False</ProtectWindows>
|
||||
</ExcelWorkbook>
|
||||
<Styles>
|
||||
<Style ss:ID="Default" ss:Name="Normal">
|
||||
<Alignment ss:Vertical="Bottom"/><Borders/><Font/><Interior/><NumberFormat/><Protection/>
|
||||
|
||||
</Style>
|
||||
</Styles>
|
||||
<Worksheet ss:Name="Test">
|
||||
<Table>
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Estudiante</Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Rut</Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Porcentaje</Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
<xsl:for-each select="logica.reportes.ReporteAsistenciaBajo/map/Atribute">
|
||||
<!--Estudiante-->
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="Estudiante/nombre"/></Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="Estudiante/rut"/></Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String">%<xsl:value-of select="PorcentajeAsistencia"/></Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
</xsl:for-each>
|
||||
</Table>
|
||||
<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
|
||||
<Print>
|
||||
<ValidPrinterInfo/>
|
||||
<HorizontalResolution>600</HorizontalResolution>
|
||||
<VerticalResolution>0</VerticalResolution>
|
||||
</Print>
|
||||
<Selected/>
|
||||
<Panes>
|
||||
<Pane>
|
||||
<Number>3</Number>
|
||||
<ActiveRow>2</ActiveRow>
|
||||
</Pane>
|
||||
</Panes>
|
||||
<ProtectObjects>False</ProtectObjects>
|
||||
<ProtectScenarios>False</ProtectScenarios>
|
||||
</WorksheetOptions>
|
||||
</Worksheet>
|
||||
<Worksheet ss:Name="Sheet2">
|
||||
<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
|
||||
<ProtectObjects>False</ProtectObjects>
|
||||
<ProtectScenarios>False</ProtectScenarios>
|
||||
</WorksheetOptions>
|
||||
</Worksheet>
|
||||
<Worksheet ss:Name="Sheet3">
|
||||
<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
|
||||
<ProtectObjects>False</ProtectObjects>
|
||||
<ProtectScenarios>False</ProtectScenarios>
|
||||
</WorksheetOptions>
|
||||
</Worksheet>
|
||||
</Workbook>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
149
colegio_web/src/files/xslt/toExcelAsistenciaYNotas.xsl
Normal file
149
colegio_web/src/files/xslt/toExcelAsistenciaYNotas.xsl
Normal file
@@ -0,0 +1,149 @@
|
||||
|
||||
|
||||
<xsl:stylesheet
|
||||
version="1.0"
|
||||
xmlns="urn:schemas-microsoft-com:office:spreadsheet"
|
||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||
xmlns:msxsl="urn:schemas-microsoft-com:xslt"
|
||||
xmlns:user="urn:my-scripts"
|
||||
xmlns:o="urn:schemas-microsoft-com:office:office"
|
||||
xmlns:x="urn:schemas-microsoft-com:office:excel"
|
||||
xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet">
|
||||
|
||||
<xsl:template match="/">
|
||||
<Workbook
|
||||
xmlns="urn:schemas-microsoft-com:office:spreadsheet"
|
||||
xmlns:o="urn:schemas-microsoft-com:office:office"
|
||||
xmlns:x="urn:schemas-microsoft-com:office:excel"
|
||||
xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet"
|
||||
xmlns:html="http://www.w3.org/TR/REC-html40">
|
||||
<DocumentProperties xmlns="urn:schemas-microsoft-com:office:office">
|
||||
<Author>ed woychowsky</Author>
|
||||
<LastAuthor>Edmond Woychowsky</LastAuthor>
|
||||
<Created>2007-01-26T16:54:15Z</Created>
|
||||
<LastSaved>2007-01-27T05:18:54Z</LastSaved>
|
||||
<Company>None</Company>
|
||||
<Version>10.3501</Version>
|
||||
</DocumentProperties>
|
||||
<OfficeDocumentSettings xmlns="urn:schemas-microsoft-com:office:office">
|
||||
<DownloadComponents/>
|
||||
<LocationOfComponents HRef="file:///D:\"/>
|
||||
</OfficeDocumentSettings>
|
||||
<ExcelWorkbook xmlns="urn:schemas-microsoft-com:office:excel">
|
||||
<WindowHeight>8700</WindowHeight>
|
||||
<WindowWidth>11355</WindowWidth>
|
||||
<WindowTopX>480</WindowTopX>
|
||||
<WindowTopY>120</WindowTopY>
|
||||
<ProtectStructure>False</ProtectStructure>
|
||||
<ProtectWindows>False</ProtectWindows>
|
||||
</ExcelWorkbook>
|
||||
<Styles>
|
||||
<Style ss:ID="Default" ss:Name="Normal">
|
||||
<Alignment ss:Vertical="Bottom"/><Borders/><Font/><Interior/><NumberFormat/><Protection/>
|
||||
|
||||
</Style>
|
||||
</Styles>
|
||||
<Worksheet ss:Name="Test">
|
||||
<Table>
|
||||
<!--Estudiante-->
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Estudiante</Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Rut</Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="logica.reportes.ReporteAsistenciaYNotas/estudiante/nombre"/></Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="logica.reportes.ReporteAsistenciaYNotas/estudiante/rut"/></Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
<!--White-->
|
||||
<Row>
|
||||
<Cell></Cell>
|
||||
</Row>
|
||||
|
||||
<xsl:for-each select="logica.reportes.ReporteAsistenciaYNotas/asistencia/Asistencia">
|
||||
<!--Lista De Asistencias-->
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Dia</Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Asistio</Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="dia"/></Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String">
|
||||
|
||||
<xsl:choose>
|
||||
|
||||
<xsl:when test="asistio = 'true'">Si</xsl:when>
|
||||
|
||||
<xsl:otherwise>No</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
<!--White-->
|
||||
<Row>
|
||||
<Cell></Cell>
|
||||
</Row>
|
||||
</xsl:for-each>
|
||||
|
||||
<xsl:for-each select="logica.reportes.ReporteAsistenciaYNotas/notas/entry">
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="Asignatura/nombre"/></Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
|
||||
<xsl:for-each select="list/Nota">
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="valor"/></Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
</xsl:for-each>
|
||||
</xsl:for-each>
|
||||
</Table>
|
||||
<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
|
||||
<Print>
|
||||
<ValidPrinterInfo/>
|
||||
<HorizontalResolution>600</HorizontalResolution>
|
||||
<VerticalResolution>0</VerticalResolution>
|
||||
</Print>
|
||||
<Selected/>
|
||||
<Panes>
|
||||
<Pane>
|
||||
<Number>3</Number>
|
||||
<ActiveRow>2</ActiveRow>
|
||||
</Pane>
|
||||
</Panes>
|
||||
<ProtectObjects>False</ProtectObjects>
|
||||
<ProtectScenarios>False</ProtectScenarios>
|
||||
</WorksheetOptions>
|
||||
</Worksheet>
|
||||
<Worksheet ss:Name="Sheet2">
|
||||
<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
|
||||
<ProtectObjects>False</ProtectObjects>
|
||||
<ProtectScenarios>False</ProtectScenarios>
|
||||
</WorksheetOptions>
|
||||
</Worksheet>
|
||||
<Worksheet ss:Name="Sheet3">
|
||||
<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
|
||||
<ProtectObjects>False</ProtectObjects>
|
||||
<ProtectScenarios>False</ProtectScenarios>
|
||||
</WorksheetOptions>
|
||||
</Worksheet>
|
||||
</Workbook>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
90
colegio_web/src/files/xslt/toExcelNotasProfesor.xsl
Normal file
90
colegio_web/src/files/xslt/toExcelNotasProfesor.xsl
Normal file
@@ -0,0 +1,90 @@
|
||||
<xsl:stylesheet version="1.0" xmlns="urn:schemas-microsoft-com:office:spreadsheet" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:user="urn:my-scripts" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet">
|
||||
<xsl:template match="/">
|
||||
<Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:html="http://www.w3.org/TR/REC-html40">
|
||||
<DocumentProperties xmlns="urn:schemas-microsoft-com:office:office">
|
||||
<Author>ed woychowsky</Author>
|
||||
<LastAuthor>Edmond Woychowsky</LastAuthor>
|
||||
<Created>2007-01-26T16:54:15Z</Created>
|
||||
<LastSaved>2007-01-27T05:18:54Z</LastSaved>
|
||||
<Company>None</Company>
|
||||
<Version>10.3501</Version>
|
||||
</DocumentProperties>
|
||||
<OfficeDocumentSettings xmlns="urn:schemas-microsoft-com:office:office">
|
||||
<DownloadComponents/>
|
||||
<LocationOfComponents HRef="file:///D:\" />
|
||||
</OfficeDocumentSettings>
|
||||
<ExcelWorkbook xmlns="urn:schemas-microsoft-com:office:excel">
|
||||
<WindowHeight>8700</WindowHeight>
|
||||
<WindowWidth>11355</WindowWidth>
|
||||
<WindowTopX>480</WindowTopX>
|
||||
<WindowTopY>120</WindowTopY>
|
||||
<ProtectStructure>False</ProtectStructure>
|
||||
<ProtectWindows>False</ProtectWindows>
|
||||
</ExcelWorkbook>
|
||||
<Styles>
|
||||
<Style ss:ID="Default" ss:Name="Normal">
|
||||
<Alignment ss:Vertical="Bottom"/><Borders/><Font/><Interior/><NumberFormat/><Protection/>
|
||||
|
||||
</Style>
|
||||
</Styles>
|
||||
<Worksheet ss:Name="Test">
|
||||
<Table>
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Estudiante</Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Rut</Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Notas</Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
<xsl:for-each select="logica.reportes.ReporteNotasProfesor/lista/entry">
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="Estudiante/nombre"/></Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="Estudiante/rut"/></Data>
|
||||
</Cell>
|
||||
<xsl:for-each select="list/Nota">
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="valor"/></Data>
|
||||
</Cell>
|
||||
</xsl:for-each>
|
||||
</Row>
|
||||
</xsl:for-each>
|
||||
</Table>
|
||||
<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
|
||||
<Print>
|
||||
<ValidPrinterInfo/>
|
||||
<HorizontalResolution>600</HorizontalResolution>
|
||||
<VerticalResolution>0</VerticalResolution>
|
||||
</Print>
|
||||
<Selected/>
|
||||
<Panes>
|
||||
<Pane>
|
||||
<Number>3</Number>
|
||||
<ActiveRow>2</ActiveRow>
|
||||
</Pane>
|
||||
</Panes>
|
||||
<ProtectObjects>False</ProtectObjects>
|
||||
<ProtectScenarios>False</ProtectScenarios>
|
||||
</WorksheetOptions>
|
||||
</Worksheet>
|
||||
<Worksheet ss:Name="Sheet2">
|
||||
<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
|
||||
<ProtectObjects>False</ProtectObjects>
|
||||
<ProtectScenarios>False</ProtectScenarios>
|
||||
</WorksheetOptions>
|
||||
</Worksheet>
|
||||
<Worksheet ss:Name="Sheet3">
|
||||
<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
|
||||
<ProtectObjects>False</ProtectObjects>
|
||||
<ProtectScenarios>False</ProtectScenarios>
|
||||
</WorksheetOptions>
|
||||
</Worksheet>
|
||||
</Workbook>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
118
colegio_web/src/files/xslt/toExcelPlanificaciones.xsl
Normal file
118
colegio_web/src/files/xslt/toExcelPlanificaciones.xsl
Normal file
@@ -0,0 +1,118 @@
|
||||
<xsl:stylesheet version="1.0" xmlns="urn:schemas-microsoft-com:office:spreadsheet" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:user="urn:my-scripts" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet">
|
||||
<xsl:template match="/">
|
||||
<Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:html="http://www.w3.org/TR/REC-html40">
|
||||
<DocumentProperties xmlns="urn:schemas-microsoft-com:office:office">
|
||||
<Author>ed woychowsky</Author>
|
||||
<LastAuthor>Edmond Woychowsky</LastAuthor>
|
||||
<Created>2007-01-26T16:54:15Z</Created>
|
||||
<LastSaved>2007-01-27T05:18:54Z</LastSaved>
|
||||
<Company>None</Company>
|
||||
<Version>10.3501</Version>
|
||||
</DocumentProperties>
|
||||
<OfficeDocumentSettings xmlns="urn:schemas-microsoft-com:office:office">
|
||||
<DownloadComponents/>
|
||||
<LocationOfComponents HRef="file:///D:\" />
|
||||
</OfficeDocumentSettings>
|
||||
<ExcelWorkbook xmlns="urn:schemas-microsoft-com:office:excel">
|
||||
<WindowHeight>8700</WindowHeight>
|
||||
<WindowWidth>11355</WindowWidth>
|
||||
<WindowTopX>480</WindowTopX>
|
||||
<WindowTopY>120</WindowTopY>
|
||||
<ProtectStructure>False</ProtectStructure>
|
||||
<ProtectWindows>False</ProtectWindows>
|
||||
</ExcelWorkbook>
|
||||
<Styles>
|
||||
<Style ss:ID="Default" ss:Name="Normal">
|
||||
<Alignment ss:Vertical="Bottom"/><Borders/><Font/><Interior/><NumberFormat/><Protection/>
|
||||
|
||||
</Style>
|
||||
</Styles>
|
||||
<Worksheet ss:Name="Test">
|
||||
<Table>
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Estudiante</Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Rut</Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
<xsl:for-each select="logica.reportes.ReportePlanificaciones/planificaciones/entry">
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="Estudiante/nombre"/></Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="Estudiante/rut"/></Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
<Row>
|
||||
<Cell>
|
||||
</Cell>
|
||||
</Row>
|
||||
<xsl:for-each select="map/entry">
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Asignatura</Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="Asignatura/nombre"/></Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Fecha</Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Tipo</Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
<xsl:for-each select="Actividad-array/Actividad">
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="tipo"/></Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="fecha"/></Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
</xsl:for-each>
|
||||
<Row>
|
||||
<Cell>
|
||||
</Cell>
|
||||
</Row>
|
||||
</xsl:for-each>
|
||||
</xsl:for-each>
|
||||
</Table>
|
||||
<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
|
||||
<Print>
|
||||
<ValidPrinterInfo/>
|
||||
<HorizontalResolution>600</HorizontalResolution>
|
||||
<VerticalResolution>0</VerticalResolution>
|
||||
</Print>
|
||||
<Selected/>
|
||||
<Panes>
|
||||
<Pane>
|
||||
<Number>3</Number>
|
||||
<ActiveRow>2</ActiveRow>
|
||||
</Pane>
|
||||
</Panes>
|
||||
<ProtectObjects>False</ProtectObjects>
|
||||
<ProtectScenarios>False</ProtectScenarios>
|
||||
</WorksheetOptions>
|
||||
</Worksheet>
|
||||
<Worksheet ss:Name="Sheet2">
|
||||
<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
|
||||
<ProtectObjects>False</ProtectObjects>
|
||||
<ProtectScenarios>False</ProtectScenarios>
|
||||
</WorksheetOptions>
|
||||
</Worksheet>
|
||||
<Worksheet ss:Name="Sheet3">
|
||||
<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
|
||||
<ProtectObjects>False</ProtectObjects>
|
||||
<ProtectScenarios>False</ProtectScenarios>
|
||||
</WorksheetOptions>
|
||||
</Worksheet>
|
||||
</Workbook>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
201
colegio_web/src/files/xslt/toExcelReporteGeneral.xsl
Normal file
201
colegio_web/src/files/xslt/toExcelReporteGeneral.xsl
Normal file
@@ -0,0 +1,201 @@
|
||||
<xsl:stylesheet version="1.0" xmlns="urn:schemas-microsoft-com:office:spreadsheet" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:user="urn:my-scripts" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet">
|
||||
<xsl:template match="/">
|
||||
<Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:html="http://www.w3.org/TR/REC-html40">
|
||||
<DocumentProperties xmlns="urn:schemas-microsoft-com:office:office">
|
||||
<Author>ed woychowsky</Author>
|
||||
<LastAuthor>Edmond Woychowsky</LastAuthor>
|
||||
<Created>2007-01-26T16:54:15Z</Created>
|
||||
<LastSaved>2007-01-27T05:18:54Z</LastSaved>
|
||||
<Company>None</Company>
|
||||
<Version>10.3501</Version>
|
||||
</DocumentProperties>
|
||||
<OfficeDocumentSettings xmlns="urn:schemas-microsoft-com:office:office">
|
||||
<DownloadComponents/>
|
||||
<LocationOfComponents HRef="file:///D:\" />
|
||||
</OfficeDocumentSettings>
|
||||
<ExcelWorkbook xmlns="urn:schemas-microsoft-com:office:excel">
|
||||
<WindowHeight>8700</WindowHeight>
|
||||
<WindowWidth>11355</WindowWidth>
|
||||
<WindowTopX>480</WindowTopX>
|
||||
<WindowTopY>120</WindowTopY>
|
||||
<ProtectStructure>False</ProtectStructure>
|
||||
<ProtectWindows>False</ProtectWindows>
|
||||
</ExcelWorkbook>
|
||||
<Styles>
|
||||
<Style ss:ID="Default" ss:Name="Normal">
|
||||
<Alignment ss:Vertical="Bottom"/><Borders/><Font/><Interior/><NumberFormat/><Protection/>
|
||||
|
||||
</Style>
|
||||
</Styles>
|
||||
<Worksheet ss:Name="Reporte General">
|
||||
<Table>
|
||||
<xsl:for-each select="map/entry">
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Apoderado</Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Rut</Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="Apoderado/nombre"/></Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String"> <xsl:value-of select="Apoderado/rut"/></Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Notas</Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
<xsl:for-each select="logica.reportes.ReporteApoderado/notas/entry">
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Estudiante</Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Rut</Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="Estudiante/nombre"/></Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String"> <xsl:value-of select="Estudiante/rut"/></Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Asignatura</Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Nota</Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
<xsl:for-each select="Nota-array/Nota">
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="asignatura__id__fk/nombre"/></Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="asignatura__id__fk/valor"/></Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
</xsl:for-each>
|
||||
</xsl:for-each>
|
||||
<xsl:for-each select="logica.reportes.ReporteApoderado/planificaciones/entry">
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Estudiante</Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Rut</Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="Estudiante/nombre"/></Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String"> <xsl:value-of select="Estudiante/rut"/></Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
<xsl:for-each select="map/entry">
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="Asignatura/nombre"/></Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Tipo</Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Fecha</Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
<xsl:for-each select="Actividad-array/Actividad">
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="tipo" /></Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String"> <xsl:value-of select="fecha" /></Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
</xsl:for-each>
|
||||
</xsl:for-each>
|
||||
</xsl:for-each>
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Anotaciones</Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
<xsl:for-each select="logica.reportes.ReporteApoderado/anotaciones/entry">
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Estudiante</Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Nombre</Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="Estudiante/nombre" /></Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="Estudiante/rut" /></Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Profesor</Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Tipo</Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Descripcion</Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
<xsl:for-each select="Anotacion-array/Anotacion">
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="profesor__id__fk/nombre" /></Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:choose><xsl:when test="positiva = 'true'"> Positiva</xsl:when><xsl:otherwise>Negativa</xsl:otherwise></xsl:choose></Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String"> <xsl:value-of select="descripcion" /></Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
</xsl:for-each>
|
||||
</xsl:for-each>
|
||||
</xsl:for-each>
|
||||
</Table>
|
||||
<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
|
||||
<Print>
|
||||
<ValidPrinterInfo/>
|
||||
<HorizontalResolution>600</HorizontalResolution>
|
||||
<VerticalResolution>0</VerticalResolution>
|
||||
</Print>
|
||||
<Selected/>
|
||||
<Panes>
|
||||
<Pane>
|
||||
<Number>3</Number>
|
||||
<ActiveRow>2</ActiveRow>
|
||||
</Pane>
|
||||
</Panes>
|
||||
<ProtectObjects>False</ProtectObjects>
|
||||
<ProtectScenarios>False</ProtectScenarios>
|
||||
</WorksheetOptions>
|
||||
</Worksheet>
|
||||
</Workbook>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
106
colegio_web/src/files/xslt/toExcelReprobando.xsl
Normal file
106
colegio_web/src/files/xslt/toExcelReprobando.xsl
Normal file
@@ -0,0 +1,106 @@
|
||||
|
||||
|
||||
<xsl:stylesheet
|
||||
version="1.0"
|
||||
xmlns="urn:schemas-microsoft-com:office:spreadsheet"
|
||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||
xmlns:msxsl="urn:schemas-microsoft-com:xslt"
|
||||
xmlns:user="urn:my-scripts"
|
||||
xmlns:o="urn:schemas-microsoft-com:office:office"
|
||||
xmlns:x="urn:schemas-microsoft-com:office:excel"
|
||||
xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet">
|
||||
|
||||
<xsl:template match="/">
|
||||
<Workbook
|
||||
xmlns="urn:schemas-microsoft-com:office:spreadsheet"
|
||||
xmlns:o="urn:schemas-microsoft-com:office:office"
|
||||
xmlns:x="urn:schemas-microsoft-com:office:excel"
|
||||
xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet"
|
||||
xmlns:html="http://www.w3.org/TR/REC-html40">
|
||||
<DocumentProperties xmlns="urn:schemas-microsoft-com:office:office">
|
||||
<Author>ed woychowsky</Author>
|
||||
<LastAuthor>Edmond Woychowsky</LastAuthor>
|
||||
<Created>2007-01-26T16:54:15Z</Created>
|
||||
<LastSaved>2007-01-27T05:18:54Z</LastSaved>
|
||||
<Company>None</Company>
|
||||
<Version>10.3501</Version>
|
||||
</DocumentProperties>
|
||||
<OfficeDocumentSettings xmlns="urn:schemas-microsoft-com:office:office">
|
||||
<DownloadComponents/>
|
||||
<LocationOfComponents HRef="file:///D:\"/>
|
||||
</OfficeDocumentSettings>
|
||||
<ExcelWorkbook xmlns="urn:schemas-microsoft-com:office:excel">
|
||||
<WindowHeight>8700</WindowHeight>
|
||||
<WindowWidth>11355</WindowWidth>
|
||||
<WindowTopX>480</WindowTopX>
|
||||
<WindowTopY>120</WindowTopY>
|
||||
<ProtectStructure>False</ProtectStructure>
|
||||
<ProtectWindows>False</ProtectWindows>
|
||||
</ExcelWorkbook>
|
||||
<Styles>
|
||||
<Style ss:ID="Default" ss:Name="Normal">
|
||||
<Alignment ss:Vertical="Bottom"/><Borders/><Font/><Interior/><NumberFormat/><Protection/>
|
||||
|
||||
</Style>
|
||||
</Styles>
|
||||
<Worksheet ss:Name="Test">
|
||||
<Table>
|
||||
<!--Estudiante-->
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Estudiante</Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Rut</Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String">Nota</Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
|
||||
<xsl:for-each select="logica.reportes.ReporteReprobando/estudiantesRepobando/entry">
|
||||
<Row>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="Estudiante/nombre"/></Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="Estudiante/rut"/></Data>
|
||||
</Cell>
|
||||
<Cell>
|
||||
<Data ss:Type="String"><xsl:value-of select="float"/></Data>
|
||||
</Cell>
|
||||
</Row>
|
||||
</xsl:for-each>
|
||||
</Table>
|
||||
<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
|
||||
<Print>
|
||||
<ValidPrinterInfo/>
|
||||
<HorizontalResolution>600</HorizontalResolution>
|
||||
<VerticalResolution>0</VerticalResolution>
|
||||
</Print>
|
||||
<Selected/>
|
||||
<Panes>
|
||||
<Pane>
|
||||
<Number>3</Number>
|
||||
<ActiveRow>2</ActiveRow>
|
||||
</Pane>
|
||||
</Panes>
|
||||
<ProtectObjects>False</ProtectObjects>
|
||||
<ProtectScenarios>False</ProtectScenarios>
|
||||
</WorksheetOptions>
|
||||
</Worksheet>
|
||||
<Worksheet ss:Name="Sheet2">
|
||||
<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
|
||||
<ProtectObjects>False</ProtectObjects>
|
||||
<ProtectScenarios>False</ProtectScenarios>
|
||||
</WorksheetOptions>
|
||||
</Worksheet>
|
||||
<Worksheet ss:Name="Sheet3">
|
||||
<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
|
||||
<ProtectObjects>False</ProtectObjects>
|
||||
<ProtectScenarios>False</ProtectScenarios>
|
||||
</WorksheetOptions>
|
||||
</Worksheet>
|
||||
</Workbook>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
@@ -0,0 +1,48 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
||||
|
||||
<xsl:template match="/">
|
||||
<html>
|
||||
|
||||
<body>
|
||||
<h2>Apoderados con mas de un estudiante</h2>
|
||||
|
||||
<xsl:for-each select="logica.reportes.ReporteApoderadosMasEstudiantes/apoderadosDuplicados/entry">
|
||||
<h4>Apoderado</h4>
|
||||
<hr>
|
||||
<h5>Nombre:
|
||||
|
||||
<xsl:value-of select="Apoderado/nombre"/>
|
||||
</h5>
|
||||
<h5>Rut:
|
||||
|
||||
<xsl:value-of select="Apoderado/rut"/>
|
||||
</h5>
|
||||
</hr>
|
||||
<table border="1">
|
||||
<tr bgcolor="#9acd32">
|
||||
<th>Nombre</th>
|
||||
<th>Rut</th>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
<xsl:for-each select="list/Estudiante">
|
||||
<tr>
|
||||
<td>
|
||||
<xsl:value-of select="nombre"/>
|
||||
</td>
|
||||
<td>
|
||||
<xsl:value-of select="rut"/>
|
||||
</td>
|
||||
</tr>
|
||||
</xsl:for-each>
|
||||
</tr>
|
||||
</table>
|
||||
</xsl:for-each>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user