Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
yotta
/
pictogram
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
60
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
3c935b32
authored
Feb 02, 2017
by
Arturo Montejo Ráez
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
ui-router rearranged
parent
b0215055
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
sails/src/assets/scripts/app.js
sails/src/assets/scripts/app.js
View file @
3c935b32
...
...
@@ -89,11 +89,6 @@ dashboardApp.config(function ($stateProvider, $urlRouterProvider) {
templateUrl
:
'modules/login/views/login_setting_password.html'
,
controller
:
'LoginSettingPasswordCtrl'
})
.
state
(
'loginadmin'
,
{
url
:
'/loginadmin'
,
templateUrl
:
'modules/login/views/login_admin.html'
,
controller
:
'LoginAdminCtrl'
,
})
.
state
(
'signin'
,
{
url
:
'/signin'
,
templateUrl
:
'modules/login/views/signin.html'
,
...
...
@@ -128,7 +123,7 @@ dashboardApp.config(function ($stateProvider, $urlRouterProvider) {
controller
:
'InstructionsCtrl'
,
})
.
state
(
'supervisors_list'
,
{
url
:
'/supervisor
s_
list'
,
url
:
'/supervisor
/
list'
,
parent
:
'supervisor'
,
templateUrl
:
'modules/supervisor/views/supervisors_list.html'
,
controller
:
'SupervisorCtrl'
,
...
...
@@ -177,19 +172,24 @@ dashboardApp.config(function ($stateProvider, $urlRouterProvider) {
controller
:
'AdminCtrl'
,
abstract
:
true
,
})
.
state
(
'licenses'
,
{
.
state
(
'admin_login'
,
{
url
:
'/admin/login'
,
templateUrl
:
'modules/login/views/login_admin.html'
,
// TODO: habría que mover esta vista a modules/admin/views
controller
:
'LoginAdminCtrl'
,
// TODO: y el controlador, también
})
.
state
(
'admin_licenses'
,
{
url
:
'/admin/licenses'
,
parent
:
'admin'
,
templateUrl
:
'modules/admin/views/licenses.html'
,
controller
:
'AdminLicensesCtrl'
,
})
.
state
(
'offices'
,
{
.
state
(
'
admin_
offices'
,
{
url
:
'/admin/offices'
,
parent
:
'admin'
,
templateUrl
:
'modules/admin/views/offices.html'
,
controller
:
'AdminOfficesCtrl'
,
})
.
state
(
'supervisors'
,
{
.
state
(
'
admin_
supervisors'
,
{
url
:
'/admin/supervisors'
,
parent
:
'admin'
,
templateUrl
:
'modules/admin/views/supervisors.html'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment