Create M.A.S.A Version 1.0

This commit is contained in:
Reynaldo Reyes
2016-04-11 00:05:59 -04:30
parent 7fff896e43
commit 1ee3577fe4
60 changed files with 1673 additions and 2137 deletions

View File

@@ -3,11 +3,10 @@
angular
.module('app')
.controller('sidebarCtrl', sidebarCtrl)
.controller('SidebarCtrl', SidebarCtrl)
sidebarCtrl.$inject = ['$scope'];
function sidebarCtrl($scope) {
SidebarCtrl.$inject = ['$scope'];
function SidebarCtrl($scope) {
var that = this;
$scope.showChilds = function(item){
item.active = !item.active;
@@ -15,53 +14,38 @@
$scope.items = [
{
text: 'Modulo de Administración',
text: 'Modulo de Administración',
subItems: [
{
state: 'listarProfesor',
state: 'ProfessorList',
text: 'Listar Profesores'
},
{
state: 'crearProfesor',
state: 'ProfessorCreate',
text: 'Agregar Profesores'
}
]
},
{
text: 'Modulo de Materias',
text: 'Modulo de Materias',
subItems: [
{
state: 'listarMateria',
state: 'CourseList',
text: 'Listar Materias'
},
{
state: 'crearMateria',
state: 'CourseCreate',
text: 'Agregar Materia'
}
]
},
{
text: 'Modulo de Reportes',
text: 'Modulo de Reportes',
subItems: [
{
state: 'reportesAlumno',
text: 'Reportes por Alumno'
},
{
state: 'reportesClase',
text: 'Reportes por Clase'
},
{
state: 'reportesSeccion',
text: 'Reportes por Seccion'
},
{
state: 'reportesMateria',
text: 'Reportes por Materia'
}
state: 'courseReport',
text: 'Reportes'
}
]
}
];