Commit 4d60bdba by Felipe Escala Torres

[EDIT] acceso vistas

parent 0de8e894
...@@ -96,8 +96,8 @@ public class RequestFilter implements Filter { ...@@ -96,8 +96,8 @@ public class RequestFilter implements Filter {
} }
vistas.add("main.jsp");//Agregando la vista principal vistas.add("main.jsp");//Agregando la vista principal
vistas.add("mantenimientoCurso.jsp"); vistas.add("mantenimientoCurso.jsp");
vistas.add("registroMasivo.jsp"); // vistas.add("registroMasivo.jsp");
vistas.add("prueba.jsp"); // vistas.add("prueba.jsp");
String ruta = request.getRequestURI(); String ruta = request.getRequestURI();
int indice = GeneralMethods.obtenerIndex(ruta); int indice = GeneralMethods.obtenerIndex(ruta);
String rutaJsp = ruta.substring(indice, ruta.length()); String rutaJsp = ruta.substring(indice, ruta.length());
......
...@@ -144,9 +144,9 @@ label { ...@@ -144,9 +144,9 @@ label {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
text-align: center; text-align: center;
/*background: url(../img/bgUser_01.jpg) no-repeat center;*/ background: url(../img/bgLogin2.jpg) no-repeat center;
background-size: 600px 600px; background-size: cover;
/*box-shadow: inset 0px 0px 13px 0px rgba(0,0,0,0.85);*/ box-shadow: inset 0px 0px 13px 0px rgba(0,0,0,0.85);
} }
.row { .row {
...@@ -235,7 +235,7 @@ a.disabled { ...@@ -235,7 +235,7 @@ a.disabled {
.sidebar-xs .header-highlight .navbar-header .navbar-brand { .sidebar-xs .header-highlight .navbar-header .navbar-brand {
padding-left: 0; padding-left: 0;
padding-right: 0; padding-right: 0;
background: url(../../../img/bgLogin.png) no-repeat center center; /*background: url(../img/av.png) no-repeat center center;*/
background-position-x: 45%; background-position-x: 45%;
background-size: 40px; background-size: 40px;
float: none; float: none;
......
...@@ -7,8 +7,8 @@ ...@@ -7,8 +7,8 @@
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Global stylesheets --> <!-- Global stylesheets -->
<title>LOGÍSTICA</title> <title>AULAVIRTUAL</title>
<link rel="icon" type="image/png" sizes="25x25" href="../img/logistic.png" /> <link rel="icon" type="image/png" sizes="25x25" href="../img/av.png" />
<link href="https://fonts.googleapis.com/css?family=Roboto:400,300,100,500,700,900" rel="stylesheet" type="text/css"> <link href="https://fonts.googleapis.com/css?family=Roboto:400,300,100,500,700,900" rel="stylesheet" type="text/css">
<link href="../plantilla/assets/css/icons/icomoon/styles.css" rel="stylesheet" type="text/css"> <link href="../plantilla/assets/css/icons/icomoon/styles.css" rel="stylesheet" type="text/css">
<link href="../plantilla/assets/css/bootstrap.css" rel="stylesheet" type="text/css"> <link href="../plantilla/assets/css/bootstrap.css" rel="stylesheet" type="text/css">
......
...@@ -8,8 +8,8 @@ ...@@ -8,8 +8,8 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<title>LOGÍSTICA</title> <title>AULAVIRTUAL</title>
<link rel="icon" type="image/png" sizes="25x25" href="../img/logistic.png" /> <link rel="icon" type="image/png" sizes="25x25" href="../img/av.png" />
<%@include file="templates/header.jsp" %> <%@include file="templates/header.jsp" %>
<!--template-core--> <!--template-core-->
......
<%--
Document : index.jsp
Created on : 22-jun-2018, 12:51:27
Author : sistem17user
--%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>JSP Page</title>
</head>
<body>
<input type="file" accept=".csv" id="filePrueba">
<button id="btnCargar">Cargar</button>
<pre id="txtJson">
</pre>
<script src="../plantilla/assets/js/core/libraries/jquery.min.js" type="text/javascript"></script>
<script src="../plantilla/assets/js/core/libraries/bootstrap.min.js" type="text/javascript"></script>
<script src="../plantilla/assets/js/plugins/papaparse/papaparse.js" type="text/javascript"></script>
<script type="text/javascript">
$('#btnCargar').click(function () {
var archivo;
$('#filePrueba').parse({
header: true,
dynamicTyping: false,
encoding: "ISO-8859-1",
before: function (file) {
archivo = file;
}
});
Papa.parse(archivo, {
header: true,
dynamicTyping: false,
encoding: "ISO-8859-1",
complete: function (results) {
$('#txtJson').html(JSON.stringify(results.data, undefined, 2))
}
})
})
</script>
</body>
</html>
<%--
Document : index
Created on : 05-ene-2018, 20:49:32
Author : Felipe Escala
--%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html lang="en">
<head>
<!--template-core-->
<%@include file="templates/header.jsp" %>
<!--template-core-->
<script src="../js/pages/checkDataRequest.js" type="text/javascript"></script>
<!--css-->
<link href="../css/general.css" rel="stylesheet" type="text/css"/>
<!--css-->
</head>
<body>
<%@include file="templates/header-body.jsp" %>
<!-- content -->
<div class="row">
<div class="col-sm-12 col-md-12 col-lg-7 col-centered">
<div class="panel panel-primary card-3" style="margin-top: 30px">
<div class="panel-heading" style="padding: 8px 15px">
<h6 class="panel-title" style="font-size: 15px; font-family: inherit"><i class="icon icon-books"></i>&nbsp; REGISTRO DE CURSOS</h6>
<div class="heading-elements">
<ul class="icons-list">
<li><a data-action="collapse"></a></li>
</ul>
</div>
</div>
<div class="panel-body" id="panelSearch">
<form id="frmBusqRequ" onsubmit="return false" autocomplete="off">
<div class="row">
<div class='col-md-4'>
<div class="form-group">
<label>
NIVEL:
</label>
<span class="asterisk">(*)</span>
<select class="form-control" id="cboNivel" name="cboNivel">
<option value="">[SELECCIONE]</option>
</select>
</div>
</div>
<div class='col-md-4'>
<div class="form-group">
<label>
GRADO:
</label>
<span class="asterisk">(*)</span>
<select class="form-control" id="cboGrado" name="cboGrado" disabled="">
<option value="">[SELECCIONE]</option>
</select>
</div>
</div>
<div class='col-md-4'>
<div class="form-group">
<label>
CURSO:
</label>
<span class="asterisk">(*)</span>
<select class="form-control" id="cboCurso" name="cboCurso" disabled="">
<option value="">[SELECCIONE]</option>
</select>
</div>
</div>
</div>
</form>
<div class="row">
<div class="col-md-12">
<div class="form-group">
<div class="text-right">
<span class="text-danger">(*) </span> Campo obligatorio
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div class="text-right">
<button class="btn bg-success border-success-600 btn-xs" type="button" id="btnRegistrar"><i class="fa fa-search"></i> Registrar</button>
<button class="btn bg-orange border-orange-600 btn-xs" type="button" id="btnLimpiar"><i class="fa fa-refresh"></i> Limpiar</button>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="col-sm-12 col-md-12 col-lg-7 col-centered hide">
<div class="panel panel-primary card-3" style="margin-top: 30px">
<div class="panel-heading" style="padding: 8px 15px">
<h6 class="panel-title" style="font-size: 15px; font-family: inherit"><i class="fa fa-list"></i>&nbsp; LISTADO DE USUARIOS</h6>
</div>
<div class="table-responsive">
<table class="table dataTable table-striped table-hover table-sm table-bordered" id="tblUsuarios">
<thead>
<tr>
<th class="text-center"></th>
<th class="text-center">GRADO</th>
<th class="text-center">CURSO</th>
<th class="text-center">ACCIONES</th>
</tr>
</thead>
</table>
</div>
</div>
</div>
</div>
<!-- / content -->
<%@include file="templates/footer-body.jsp" %>
<!--js-->
<script src="../plantilla/assets/js/plugins/papaparse/papaparse.js" type="text/javascript"></script>
<script src="../js/pages/registroMasivo.js" type="text/javascript"></script>
<!--js-->
</body>
</html>
...@@ -3,7 +3,8 @@ ...@@ -3,7 +3,8 @@
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<title>Hacker themed error page</title> <title>AULAVIRTUAL</title>
<link rel="icon" type="image/png" sizes="25x25" href="../img/av.png" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css">
<link href="../../css/pages/error.css" rel="stylesheet" type="text/css"/> <link href="../../css/pages/error.css" rel="stylesheet" type="text/css"/>
......
<meta charset="utf-8"> <meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<title>LOGSTICA</title> <title>AULAVIRTUAL</title>
<link rel="icon" type="image/png" sizes="25x25" href="../img/logistic.png" /> <link rel="icon" type="image/png" sizes="25x25" href="../img/av.png" />
<!-- Global stylesheets --> <!-- Global stylesheets -->
<link href="https://fonts.googleapis.com/css?family=Roboto:400,300,100,500,700,900" rel="stylesheet" type="text/css"> <link href="https://fonts.googleapis.com/css?family=Roboto:400,300,100,500,700,900" rel="stylesheet" type="text/css">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment