Colleagues.
I'm now starting to mess with the Intel XDK. My first APP used the program login template and is working properly. Set it as below:
function signIn(){
var login=$('#loginAcesso').val();
var senha=$('#senhaAcesso').val();
$.ajax({
url:"validar.php",
type:"post",
data: "login="+login+"&senha="+senha,
success: function (result){
if(result==1){
location.href='sistema/index.html'
}else{
valid_login = false;
if(valid_login){
$.afui.loadContent("#main", null, null, "fade");
}
else
{
//Example use of the error toast api
var opts={
message:"Login ou senha inválidos",
position:"tc",
delay:2000,
autoClose:true,
type:"error"
};
$.afui.toast(opts);
} // fim do valid.login
}
}
})
return false;
} // fim da function signIn()
My question is: To create this page using the List View APP Template, do I have to create a new project or does the program give me the option to use this template directly?