mirror of
https://github.com/pierre42100/ComunicWeb
synced 2025-06-19 04:15:17 +00:00
Prepare login page
This commit is contained in:
@ -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
18
assets/js/pages/login.js
Normal 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 !");
|
||||
}
|
||||
};
|
Reference in New Issue
Block a user