Commit 88bfd6a3 authored by D’jalmar Gutierrez Titirico's avatar D’jalmar Gutierrez Titirico 🚲

Merge branch 'iss5797-Crear-la-vista-para-la-migracion-de-datos-del-moodle' into desarrollo

Conflicts:
	client/app/migracionMoodle/migracionMoodle.curso.html
	client/app/migracionMoodle/migracionMoodle.service.js
parents b72e10f6 0b3ce1a1
......@@ -38,7 +38,7 @@
</table>
</div>
<uib-pagination
ng-hide="vm.totalElementos < 10"
ng-hide="vm.totalElementos < 100"
total-items="vm.totalElementos"
items-per-page="10"
max-size="8"
......
......@@ -7,7 +7,6 @@
this.modal = $uibModal;
this.Modal = Modal;
this.service = MigracionMoodleService;
this.categorias = {};
......
......@@ -23,7 +23,6 @@
})
}
}
angular.module('moduloPersonalApp')
.controller('MigracionMoodleCursoCtrl', MigracionMoodleCursoController);
......
......@@ -19,42 +19,42 @@
dismiss-on-timeout="3000">{{alerta.mensaje}}
</uib-alert>
</div>
<div class="row">
<div class="table-responsive col-md-10">
<table class="table table-striped">
<thead>
<tr>
<th><a href="">id</a></th>
<th><a href="" ng-click="vm.ordenar('nombres')">Nombre</a></th>
<th colspan="2" class="text-center">Opciones</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="curso in vm.cursos">
<td>{{curso.idCurso}}</td>
<td>{{curso.nombreCurso}}</td>
<td class="text-center">
<div class="btn-group" role="group">
<a class="btn btn-success-outline btn-xs" href="#" role="button"
ui-sref="migracionMoodle.curso.examen({cargoConvocatoriaId:vm.cargoConvocatoriaId, idCategoria:vm.idCategoria, idCurso:curso.idCurso })">
<i class="fa fa-lg fa-list-ul"></i>
Examenes
</a>
</div>
</td>
</tr>
</tbody>
</table>
<div class="row">
<div class="table-responsive col-md-10">
<table class="table table-striped">
<thead>
<tr>
<th><a href="">id</a></th>
<th><a href="" ng-click="vm.ordenar('nombres')">Nombre</a></th>
<th colspan="2" class="text-center">Opciones</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="curso in vm.cursos">
<td>{{curso.idCurso}}</td>
<td>{{curso.nombreCurso}}</td>
<td class="text-center">
<div class="btn-group" role="group">
<a class="btn btn-success-outline btn-xs" href="#" role="button" ui-sref="migracionMoodle.curso.examen({cargoConvocatoriaId:vm.cargoConvocatoriaId, idCategoria:vm.idCategoria, idCurso:curso.idCurso })">
<i class="fa fa-lg fa-list-ul"></i>
Examenes
</a>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<uib-pagination
ng-hide="vm.totalElementos < 100"
total-items="vm.totalElementos"
items-per-page="10"
max-size="8"
force-ellipses="true"
ng-model="vm.paginaActual"
ng-change="vm.cambiarPagina()"
next-text="Siguiente"
previous-Text="Anterior"></uib-pagination>
</div>
<uib-pagination
ng-hide="vm.totalElementos < 10"
total-items="vm.totalElementos"
items-per-page="10"
max-size="8"
force-ellipses="true"
ng-model="vm.paginaActual"
ng-change="vm.cambiarPagina()"
next-text="Siguiente"
previous-Text="Anterior"></uib-pagination>
</div>
</div>
......@@ -35,6 +35,7 @@
// console.log(examenes);
this.totalElementos = examenes.length;
});
// this.convocatoriaService.cargos(this.convocatoriaId, this.formateo)
// .then(respuesta=> {
// console.log(respuesta.rows);
......
......@@ -15,8 +15,7 @@
</div>
</div>
<div class="col-md-10">
<uib-alert ng-repeat="alerta in vm.alertas" type="{{alerta.tipo}}" close="vm.alertas.splice($index,1)"
dismiss-on-timeout="3000">{{alerta.mensaje}}
<uib-alert ng-repeat="alerta in vm.alertas" type="{{alerta.tipo}}" close="vm.alertas.splice($index,1)" dismiss-on-timeout="3000">{{alerta.mensaje}}
</uib-alert>
</div>
<div class="row">
......
'use strict';
angular.module('moduloPersonalApp')
.config(function ($stateProvider) {
$stateProvider
......
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