Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
aulaVirtual
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Felipe Escala Torres
aulaVirtual
Commits
4d60bdba
Commit
4d60bdba
authored
Jul 05, 2018
by
Felipe Escala Torres
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[EDIT] acceso vistas
parent
0de8e894
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
14 additions
and
178 deletions
+14
-178
RequestFilter.java
src/main/java/so/aulavirtual/filters/RequestFilter.java
+2
-2
general.css
src/main/webapp/css/general.css
+4
-4
av.png
src/main/webapp/img/av.png
+0
-0
bgLogin2.jpg
src/main/webapp/img/bgLogin2.jpg
+0
-0
index.jsp
src/main/webapp/vistas/index.jsp
+2
-2
main.jsp
src/main/webapp/vistas/main.jsp
+2
-2
prueba.jsp
src/main/webapp/vistas/prueba.jsp
+0
-45
registroMasivo.jsp
src/main/webapp/vistas/registroMasivo.jsp
+0
-120
error.jsp
src/main/webapp/vistas/templates/error.jsp
+2
-1
header.jsp
src/main/webapp/vistas/templates/header.jsp
+2
-2
No files found.
src/main/java/so/aulavirtual/filters/RequestFilter.java
View file @
4d60bdba
...
...
@@ -96,8 +96,8 @@ public class RequestFilter implements Filter {
}
vistas
.
add
(
"main.jsp"
);
//Agregando la vista principal
vistas
.
add
(
"mantenimientoCurso.jsp"
);
vistas
.
add
(
"registroMasivo.jsp"
);
vistas
.
add
(
"prueba.jsp"
);
//
vistas.add("registroMasivo.jsp");
//
vistas.add("prueba.jsp");
String
ruta
=
request
.
getRequestURI
();
int
indice
=
GeneralMethods
.
obtenerIndex
(
ruta
);
String
rutaJsp
=
ruta
.
substring
(
indice
,
ruta
.
length
());
...
...
src/main/webapp/css/general.css
View file @
4d60bdba
...
...
@@ -144,9 +144,9 @@ label {
display
:
flex
;
flex-direction
:
column
;
text-align
:
center
;
/*background: url(../img/bgUser_01.jpg) no-repeat center;*/
background-size
:
600px
600px
;
/*box-shadow: inset 0px 0px 13px 0px rgba(0,0,0,0.85);*/
background
:
url(../img/bgLogin2.jpg)
no-repeat
center
;
background-size
:
cover
;
box-shadow
:
inset
0px
0px
13px
0px
rgba
(
0
,
0
,
0
,
0.85
);
}
.row
{
...
...
@@ -235,7 +235,7 @@ a.disabled {
.sidebar-xs
.header-highlight
.navbar-header
.navbar-brand
{
padding-left
:
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-size
:
40px
;
float
:
none
;
...
...
src/main/webapp/img/av.png
0 → 100644
View file @
4d60bdba
20.9 KB
src/main/webapp/img/bgLogin2.jpg
0 → 100644
View file @
4d60bdba
945 KB
src/main/webapp/vistas/index.jsp
View file @
4d60bdba
...
...
@@ -7,8 +7,8 @@
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<!-- Global stylesheets -->
<title>
LOGÍSTICA
</title>
<link
rel=
"icon"
type=
"image/png"
sizes=
"25x25"
href=
"../img/
logistic
.png"
/>
<title>
AULAVIRTUAL
</title>
<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=
"../plantilla/assets/css/icons/icomoon/styles.css"
rel=
"stylesheet"
type=
"text/css"
>
<link
href=
"../plantilla/assets/css/bootstrap.css"
rel=
"stylesheet"
type=
"text/css"
>
...
...
src/main/webapp/vistas/main.jsp
View file @
4d60bdba
...
...
@@ -8,8 +8,8 @@
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<title>
LOGÍSTICA
</title>
<link
rel=
"icon"
type=
"image/png"
sizes=
"25x25"
href=
"../img/
logistic
.png"
/>
<title>
AULAVIRTUAL
</title>
<link
rel=
"icon"
type=
"image/png"
sizes=
"25x25"
href=
"../img/
av
.png"
/>
<
%@
include
file=
"templates/header.jsp"
%
>
<!--template-core-->
...
...
src/main/webapp/vistas/prueba.jsp
deleted
100644 → 0
View file @
0de8e894
<
%
--
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>
src/main/webapp/vistas/registroMasivo.jsp
deleted
100644 → 0
View file @
0de8e894
<
%
--
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>
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>
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"
>
Nº
</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>
src/main/webapp/vistas/templates/error.jsp
View file @
4d60bdba
...
...
@@ -3,7 +3,8 @@
<head>
<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
href=
"../../css/pages/error.css"
rel=
"stylesheet"
type=
"text/css"
/>
...
...
src/main/webapp/vistas/templates/header.jsp
View file @
4d60bdba
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>
LOGSTICA
</title>
<link rel="icon" type="image/png" sizes="25x25" href="../img/
logistic
.png" />
<title>
AULAVIRTUAL
</title>
<link rel="icon" type="image/png" sizes="25x25" href="../img/
av
.png" />
<!-- Global stylesheets -->
<link href="https://fonts.googleapis.com/css?family=Roboto:400,300,100,500,700,900" rel="stylesheet" type="text/css">
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment