mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-11-26 13:59:23 +00:00
Created components section
This commit is contained in:
parent
c33809cb3a
commit
9d0572cfa7
@ -310,9 +310,9 @@ var ComunicWeb = {
|
|||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Pages controllers
|
* Application components
|
||||||
*/
|
*/
|
||||||
pages:{
|
components: {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Menubar
|
* Menubar
|
||||||
@ -321,6 +321,14 @@ var ComunicWeb = {
|
|||||||
//TODO: implement
|
//TODO: implement
|
||||||
},
|
},
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Pages controllers
|
||||||
|
*/
|
||||||
|
pages:{
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Home page
|
* Home page
|
||||||
*/
|
*/
|
||||||
|
@ -172,7 +172,7 @@ ComunicWeb.common.page = {
|
|||||||
document.body.className="hold-transition skin-blue layout-top-nav";
|
document.body.className="hold-transition skin-blue layout-top-nav";
|
||||||
|
|
||||||
//We load the menubar
|
//We load the menubar
|
||||||
ComunicWeb.pages.menuBar.display();
|
ComunicWeb.components.menuBar.display();
|
||||||
}
|
}
|
||||||
|
|
||||||
//Check if some additionnal data was specified
|
//Check if some additionnal data was specified
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
* @author Pierre HUBERT
|
* @author Pierre HUBERT
|
||||||
*/
|
*/
|
||||||
|
|
||||||
ComunicWeb.pages.menuBar = {
|
ComunicWeb.components.menuBar = {
|
||||||
/**
|
/**
|
||||||
* Display menu bar
|
* Display menu bar
|
||||||
*
|
*
|
@ -52,13 +52,15 @@ $config['JSfiles'] = array(
|
|||||||
"%PATH_ASSETS%js/common/formChecker.js",
|
"%PATH_ASSETS%js/common/formChecker.js",
|
||||||
"%PATH_ASSETS%js/common/system.js",
|
"%PATH_ASSETS%js/common/system.js",
|
||||||
|
|
||||||
|
//Components
|
||||||
|
"%PATH_ASSETS%js/components/menuBar.js",
|
||||||
|
|
||||||
//User scripts
|
//User scripts
|
||||||
"%PATH_ASSETS%js/user/loginTokens.js",
|
"%PATH_ASSETS%js/user/loginTokens.js",
|
||||||
"%PATH_ASSETS%js/user/userLogin.js",
|
"%PATH_ASSETS%js/user/userLogin.js",
|
||||||
"%PATH_ASSETS%js/user/userInfos.js",
|
"%PATH_ASSETS%js/user/userInfos.js",
|
||||||
|
|
||||||
//Pages scripts
|
//Pages scripts
|
||||||
"%PATH_ASSETS%js/pages/menuBar.js",
|
|
||||||
"%PATH_ASSETS%js/pages/home/home.js",
|
"%PATH_ASSETS%js/pages/home/home.js",
|
||||||
"%PATH_ASSETS%js/pages/login.js",
|
"%PATH_ASSETS%js/pages/login.js",
|
||||||
"%PATH_ASSETS%js/pages/logout.js",
|
"%PATH_ASSETS%js/pages/logout.js",
|
||||||
|
Loading…
Reference in New Issue
Block a user