Prepare login page

This commit is contained in:
Pierre
2017-02-18 18:37:36 +01:00
parent 1fb2507742
commit 7ead57ce24
6 changed files with 47 additions and 2 deletions

View File

@ -1,9 +1,12 @@
/**
* Common homes functions
*
* @author Pierre HUBERT
*/
ComunicWeb.pages.home.home = {
/**
* Open home page
*
* @param {Object} additionnalData Additionnal data passed in the method
* @param {element} targetElement Where the template will be applied
* @returns {Boolean} False if it fails

18
assets/js/pages/login.js Normal file
View File

@ -0,0 +1,18 @@
/**
* Login page controller
*
* @author Pierre HUBERT
*/
ComunicWeb.pages.login = {
/**
* Open login page
*
* @param {Object} additionnalData Additionnal data passed in the method
* @param {element} targetElement Where the template will be applied
* @returns {Boolean} False if it fails
*/
openLoginPage: function(additionnalData, targetElement){
alert("login page to open !");
}
};