0
Colleagues.
I am now starting to work on the Intel XDK. My first APP used the login template of the program and it is working properly. Adjusted 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: For me to create this page using Template List View APP, I have to create a new project or the program gives me the option to use this template directly?
VNSN, the space you used is intended for answers only. Use the comments to question the author of the question in more detail.
– Ismael
is that my reputation points do not allow... :/
– VNSN
Ready, edited content
– VNSN