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

@@ -7,9 +7,9 @@
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#/listarMateria"><img alt="ucv" src="img/logo_ucv.jpg" class="img-circle" width="60" height="60"></a>
<a class="navbar-brand" href="#/listarMateria"><img alt="ciencias" src="img/logo_ciencias.jpg" class="img-rounded" width="60" height="60"></a>
<a class="navbar-brand" href="#/listarMateria"><img alt="computacion" src="img/logo_computacion.jpg" lass="img-thumbnail" width="270" height="60"></a>
<a class="navbar-brand" href="#/listarMateria"><img alt="ucv" src="static/img/logo_ucv.jpg" class="img-circle" width="60" height="60"></a>
<a class="navbar-brand" href="#/listarMateria"><img alt="ciencias" src="static/img/logo_ciencias.jpg" class="img-rounded" width="60" height="60"></a>
<a class="navbar-brand" href="#/listarMateria"><img alt="computacion" src="static/img/logo_computacion.jpg" lass="img-thumbnail" width="270" height="60"></a>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav navbar-right">

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'
}
]
}
];

View File

@@ -2,7 +2,7 @@
<ul class="nav nav-sidebar">
<div class="container-fluid">
<div class="row">
<div class="col-sm-3 col-md-2 sidebar" data-ng-controller="sidebarCtrl as vm">
<div class="col-sm-3 col-md-2 sidebar" data-ng-controller="SidebarCtrl as vm">
<ul class="nav nav-sidebar">
<li ng-repeat="item in items" ng-click="showChilds(item)">
<a>{{item.text}}</a>