Change button style and layout
This commit is contained in:
@@ -129,6 +129,8 @@
|
||||
$rootScope.opened = true;
|
||||
};
|
||||
|
||||
return vm;
|
||||
vm.back = function () {
|
||||
$state.go('SectionList');
|
||||
};
|
||||
};
|
||||
})();
|
||||
@@ -63,7 +63,8 @@
|
||||
<label> </label>
|
||||
<p class="input-group">
|
||||
<span class="input-group-btn">
|
||||
<button type="submit" class="btn-primary btn">Crear Matricula</button>
|
||||
<button type="submit" class="btn-success btn">Crear Sección</button>
|
||||
<button type="button" class="btn-warning btn" style="margin: 10px" ng-click="vm.back()">Regresar</button>
|
||||
</span>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
@@ -77,12 +77,6 @@
|
||||
});
|
||||
};
|
||||
|
||||
vm.eliminarMatriculaSplice = function (index, rsplice) {
|
||||
if(rsplice){
|
||||
|
||||
}
|
||||
};
|
||||
|
||||
/*************************Fin de Eliminar Matricula*******************/
|
||||
|
||||
vm.modificarMatricula = function (index) {
|
||||
@@ -91,12 +85,6 @@
|
||||
$state.go('SectionUpdate');
|
||||
};
|
||||
|
||||
$rootScope.open = function($event) {
|
||||
$event.preventDefault();
|
||||
$event.stopPropagation();
|
||||
$rootScope.opened = true;
|
||||
};
|
||||
|
||||
$scope.ok = function (urlLo) {
|
||||
$state.go('SectionList');
|
||||
$scope.modalInstance.dismiss('cancel');
|
||||
@@ -109,7 +97,5 @@
|
||||
vm.back = function () {
|
||||
$state.go('CourseList');
|
||||
};
|
||||
|
||||
return vm;
|
||||
};
|
||||
})();
|
||||
@@ -1,7 +1,10 @@
|
||||
<div class="row clearfix">
|
||||
<h4>Listado de Secciones</h4></br>
|
||||
<div>
|
||||
<button class="btn-success btn" ng-click="vm.createSection()" style="margin: 10px"> Crear Sección </button>
|
||||
<span class="input-group-btn">
|
||||
<button class="btn-success btn" ng-click="vm.createSection()" style="margin: 10px"> Crear Sección </button>
|
||||
<button type="button" class="btn-warning btn" style="margin: 10px" ng-click="vm.back()">Regresar</button>
|
||||
</span>
|
||||
</br>
|
||||
</br>
|
||||
<table class="table table-bordered table-striped">
|
||||
@@ -57,5 +60,4 @@
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<a class="btn-warning btn" style="margin: 10px" ng-click="vm.back()">Regresar</a>
|
||||
</div>
|
||||
@@ -1,7 +1,11 @@
|
||||
<div class="row clearfix">
|
||||
<h4>Estudiantes Inscritos en {{ vm.section.course }} - Seccion {{ vm.section.name }} - Semestre {{ vm.section.semester }}</h4>
|
||||
<br>
|
||||
<button class="btn-success btn" ng-click="vm.addStudent()" style="margin: 10px"> Agregar Estudiante </button><br><br>
|
||||
<span class="input-group-btn">
|
||||
<button class="btn-success btn" ng-click="vm.addStudent()" style="margin: 10px"> Agregar Estudiante </button>
|
||||
<button type="button" class="btn-warning btn" style="margin: 10px" ng-click="vm.back()">Regresar</button>
|
||||
</span>
|
||||
<br>
|
||||
<div>
|
||||
<table class="table table-bordered table-striped">
|
||||
<thead>
|
||||
@@ -47,7 +51,4 @@
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="container-fluid ">
|
||||
<a class="btn-warning btn" style="margin: 10px" ng-click="vm.back()">Regresar</a>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user