Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
th-app-java
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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Oscar Enrique Gonzalez Escurra
th-app-java
Commits
13da5dba
Commit
13da5dba
authored
Nov 24, 2021
by
Joel Florentin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
agregar cargo y tech vista corregida
parent
17a9fadc
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
14 deletions
+30
-14
curriculumsearch/src/main/webapp/jsp/cargo-form.jsp
+9
-5
curriculumsearch/src/main/webapp/jsp/tecnologia-form.jsp
+21
-9
No files found.
curriculumsearch/src/main/webapp/jsp/cargo-form.jsp
View file @
13da5dba
...
@@ -5,15 +5,17 @@
...
@@ -5,15 +5,17 @@
<layout:extends name="layouts/base.jsp">
<layout:extends name="layouts/base.jsp">
<layout:put block="cssDeclaracion" type="APPEND"></layout:put>
<layout:put block="cssDeclaracion" type="APPEND"></layout:put>
<layout:put block="contents" type="REPLACE">
<layout:put block="contents" type="REPLACE">
<div class=" justify-content-center align-items-center mx-auto mt-2 p-3 bg-transparent " style="width: 20rem;">
<div class="card justify-content-center mx-auto mt-2" style="width: 20rem;">
<h5 class="card-title">${cargo.id == null ? "Agregar" : "Modificar"} Cargo</h5>
<div class="card-header">
<h5>Cargo</h5>
</div>
<form:form
<form:form
action="/cargo/${cargo.id == null ? '' : cargo.id}"
action="/cargo/${cargo.id == null ? '' : cargo.id}"
method="post"
method="post"
modelAttribute="cargo"
modelAttribute="cargo"
class="
card-body
d-flex flex-column"
class="d-flex flex-column"
>
>
<div class="
">
<div class="card-body
">
<form:label class="form-label visually-hidden" path="nombre"
<form:label class="form-label visually-hidden" path="nombre"
>Nombre del cargo
>Nombre del cargo
</form:label>
</form:label>
...
@@ -28,8 +30,10 @@
...
@@ -28,8 +30,10 @@
Este nombre ya existe
Este nombre ya existe
</div>
</div>
</div>
</div>
<div class="card-footer d-flex flex-column">
<div class="mt-2 align-self-end">
<div class="mt-2 align-self-end">
<input type="submit" value="Guardar" class="btn btn-primary" />
<input type="submit" value='${cargo.id == null ? "Agregar" : "Modificar"}' class="btn btn-primary" />
</div>
</div>
</div>
</form:form>
</form:form>
</div>
</div>
...
...
curriculumsearch/src/main/webapp/jsp/tecnologia-form.jsp
View file @
13da5dba
...
@@ -4,23 +4,34 @@
...
@@ -4,23 +4,34 @@
<%@ taglib uri="http://kwonnam.pe.kr/jsp/template-inheritance" prefix="layout"%>
<%@ taglib uri="http://kwonnam.pe.kr/jsp/template-inheritance" prefix="layout"%>
<layout:extends name="layouts/base.jsp">
<layout:extends name="layouts/base.jsp">
<layout:put block="cssDeclaracion" type="APPEND"></layout:put>
<layout:put block="cssDeclaracion" type="APPEND"></layout:put>
<layout:put block="cssDeclaracion" type="APPEND"></layout:put>
<layout:put block="contents" type="REPLACE">
<layout:put block="contents" type="REPLACE">
<h2>${tecnologia.id == null ? "Agregar" : "Modificar"} Tecnología</h2>
<div class="card justify-content-center mx-auto mt-2" style="width: 20rem;">
<div class="p-3 mb-2 bg-light text-dark bg-transparent">
<div class="card-header">
<h5>Tecnología</h5>
<form:form action="/tecnologia/${tecnologia.id == null ? '' : tecnologia.id}" method="post" modelAttribute="tecnologia" class="row row-cols-lg-auto g-3 align-items-center">
</div>
<div class="col-12">
<form:form
<form:label class="form-label visually-hidden" path="nombre">Nombre: </form:label>
action="/tecnologia/${tecnologia.id == null ? '' : tecnologia.id}"
method="post"
modelAttribute="tecnologia"
class="d-flex flex-column"
>
<div class="card-body">
<form:label class="form-label visually-hidden" path="nombre"
>Nombre
</form:label>
<form:input type="text" path="nombre" class="form-control ${ mismoNombre ? 'is-invalid' : ''}" required="true" placeholder="Nombre de la tecnologia"/>
<form:input type="text" path="nombre" class="form-control ${ mismoNombre ? 'is-invalid' : ''}" required="true" placeholder="Nombre de la tecnologia"/>
<div id="validationServerUsernameFeedback" class="invalid-feedback">
<div id="validationServerUsernameFeedback" class="invalid-feedback">
Este nombre ya existe
Este nombre ya existe
</div>
</div>
</div>
</div>
<div class="col-12">
<div class="card-footer d-flex flex-column">
<input type="submit" value="Guardar" class="btn btn-primary"/>
<div class="mt-2 align-self-end">
<input type="submit" value='${tecnologia.id == null ? "Agregar" : "Modificar"}' class="btn btn-primary" />
</div>
</div>
</div>
</form:form>
</form:form>
</div>
</div>
</layout:put>
</layout:put>
</layout:extends>
</layout:extends>
\ No newline at end of file
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