|
<!DOCTYPE html>
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org"
|
|
xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity4">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
|
<title th:text="#{objmd1idDialog}"></title>
|
|
</head>
|
|
<body>
|
|
<div class="content-wrapper" th:fragment="content-wrapper"><!-- /.container -->
|
|
<!-- Content Header (Page header) -->
|
|
<section class="content-header">
|
|
<h1 th:text="#{objetos}"></h1>
|
|
<ol class="breadcrumb">
|
|
<li><a th:href="@{/}"><i class="glyphicon glyphicon-home"></i><span th:text="#{home}"></span></a></li>
|
|
<li class="active"><a href="@{/OBJMD1ID}"><i class="glyphicon glyphicon-gift"></i><span th:text="#{objetos}"></span></a></li>
|
|
<li class="active"><a href="@{/seleccionarObjeto}"><i class="glyphicon glyphicon-gift"></i><span>Criterios de selección</span></a></li>
|
|
</ol>
|
|
</section>
|
|
|
|
<!-- Main content -->
|
|
<section class="content">
|
|
<!-- Error Messages -->
|
|
<div th:replace="fragments/messages :: messages">Alert Error Messages</div>
|
|
<div th:replace="fragments/apiError :: apiError (type='main')">API Error Messages</div>
|
|
|
|
<!-- Titulo -->
|
|
<div class="row" align="center" th:if="${session.dialogo != null}">
|
|
<div class="col-sm-12">
|
|
<h1>
|
|
<span th:text="${session.dialogo.denecv}" th:remove="tag">Subtitulo</span>
|
|
</h1>
|
|
</div>
|
|
</div>
|
|
<!-- Titulo - Fin -->
|
|
|
|
<form id="listaObjetosForm" action="#" th:action="@{/listaObjetos}" th:object="${objmd1idForm}" method="post">
|
|
<input type="hidden" id="numisn" th:field="*{criterioSeleccionObjeto.numisn}" />
|
|
|
|
<!-- Botones -->
|
|
<div class="row">
|
|
<div class="col-xs-12">
|
|
<ul class="pagination pagination-sm no-margin pull-right">
|
|
<li><a href="#lista" id="listaObjetos_btnAnterior" class="btn btn-primary" onclick="leerLista(recorrerListaObjetos, 'obj/Objeto/leerListaAnterior', parametro);"><span class="glyphicon glyphicon-chevron-left"></span></a></li>
|
|
<li><a href="#lista" id="listaObjetos_btnSiguiente" class="btn btn-primary" onclick="leerLista(recorrerListaObjetos, 'obj/Objeto/leerLista', parametro);"><span class="glyphicon glyphicon-chevron-right"></span></a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<!-- Botones - Fin -->
|
|
|
|
<a name="lista"></a>
|
|
<div class="row">
|
|
<div class="col-xs-12">
|
|
<div class="box">
|
|
<div class="box-header">
|
|
<h3 class="box-title">
|
|
<span th:text="#{objetos}" th:remove="tag">Titulo</span>
|
|
</h3>
|
|
<div class="box-tools">
|
|
</div>
|
|
</div>
|
|
<div class="box-body">
|
|
<table class="table table-bordered table-hover">
|
|
<thead>
|
|
<tr>
|
|
<th><span th:text="#{id}"></span><a href="#" onclick="ordenarLista('listaObjetos', parametro, 'coinob'); leerLista(recorrerListaObjetos, 'obj/Objeto/leerLista', parametro);"><i id="listaObjetos_coinob" class="glyphicon glyphicon-sort"></i></a></th>
|
|
<th><span th:text="#{tiobme}"></span><a href="#" onclick="ordenarLista('listaObjetos', parametro, 'tiobme'); leerLista(recorrerListaObjetos, 'obj/Objeto/leerLista', parametro);"><i id="listaObjetos_tiobme" class="glyphicon glyphicon-sort"></i></a></th>
|
|
<th><span th:text="#{coobme}"></span><a href="#" onclick="ordenarLista('listaObjetos', parametro, 'coobme'); leerLista(recorrerListaObjetos, 'obj/Objeto/leerLista', parametro);"><i id="listaObjetos_coobme" class="glyphicon glyphicon-sort"></i></a></th>
|
|
<th><span th:text="#{name}"></span><a href="#" onclick="ordenarLista('listaObjetos', parametro, 'decoob'); leerLista(recorrerListaObjetos, 'obj/Objeto/leerLista', parametro);"><i id="listaObjetos_decoob" class="glyphicon glyphicon-sort"></i></a></th>
|
|
<th><span th:text="#{creationDate}"></span><a href="#" onclick="ordenarLista('listaObjetos', parametro, 'feccre'); leerLista(recorrerListaObjetos, 'obj/Objeto/leerLista', parametro);"><i id="listaObjetos_feccre" class="glyphicon glyphicon-sort"></i></a></th>
|
|
</tr>
|
|
</thead>
|
|
<tfoot>
|
|
<tr>
|
|
<th th:text="#{id}"></th>
|
|
<th th:text="#{tiobme}"></th>
|
|
<th th:text="#{coobme}"></th>
|
|
<th th:text="#{name}"></th>
|
|
<th th:text="#{creationDate}"></th>
|
|
</tr>
|
|
</tfoot>
|
|
<tbody id="listaObjetos">
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Botones -->
|
|
<div class="row" align="center" style="padding-top: 10px;">
|
|
<div class="col-xs-12">
|
|
<a th:href="@{/OBJMD1ID}" th:text="#{close}" class="btn btn-primary"></a>
|
|
<a th:href="@{/}" th:text="#{logout}" class="btn btn-primary"></a>
|
|
</div>
|
|
</div>
|
|
<!-- Botones - Fin -->
|
|
|
|
</form>
|
|
|
|
<!-- Selene scripts -->
|
|
<script type="text/javascript" src="js/model/obj/Objeto.js"></script>
|
|
<script type="text/javascript" src="js/dial/obj/seleccionaObjeto.js"></script>
|
|
|
|
<script type="text/javascript" th:inline="javascript">
|
|
/*<![CDATA[*/
|
|
var parametro = /*[[${objetos.parametro}]]*/ { };
|
|
|
|
parametro.pagina = 0;
|
|
parametro.esfinal = false;
|
|
leerLista(recorrerListaObjetos, "obj/Objeto/leerLista", parametro);
|
|
/*]]>*/
|
|
</script>
|
|
</section><!-- /.content -->
|
|
</div><!-- /.container -->
|
|
</body>
|
|
</html>
|