Переглянути джерело

navigate to dashboard on click

master
Patrick Sun 5 роки тому
джерело
коміт
9bf8518f40
1 змінених файлів з 6 додано та 2 видалено
  1. +6
    -2
      front-end/js/login.js

+ 6
- 2
front-end/js/login.js Переглянути файл

"rows": [ "rows": [
{ "view": "text", "label": "email", "name": "email", "type": "email" }, { "view": "text", "label": "email", "name": "email", "type": "email" },
{ "view": "text", "label": "Password", "name": "pass", "type": "password" }, { "view": "text", "label": "Password", "name": "pass", "type": "password" },
{ "label": "Login", "view": "button", "height": 38, "borderless": 1 }
{ "label": "Login", "view": "button", "height": 38, "borderless": 1 ,
click: function(ev, id){
window.location.href = "dashboard.html";
}
}
], ],
"borderless": 1, "borderless": 1,
"height": null
"height": null,
}, },
{ "template": "Please enter your password and email to login", "view": "template", "borderless": 1 } { "template": "Please enter your password and email to login", "view": "template", "borderless": 1 }
] ]

Завантаження…
Відмінити
Зберегти