bluecardlogin.js |
Top Previous Next |
The complete code for bluecardlogin.js used in Using HTML page templates is:
(function () { zScope.hostSurfer.register({ id: 'bluecardLogin', match: [ { text: "USERNAME", row: 19, col: 55 }, { text: "PASSWORD", row: 20, col: 55 } ], apply: { fields: [ { name: 'shopsLastUpdate', row: 18, col: 29, len: 8 }, { name: 'accountsLastUpdate', row: 18, col: 62, len: 8 }, { name: 'username', row: 19, col: 67, len: 6 }, { name: 'password', row: 20, col: 67, len: 6 }, { name: 'newPassword', row: 21, col: 67, len: 6 } ], render: { view: { template: 'login.html' } }, actions: { main: function (hs) { hs.enter(); }, exit: function (hs) { hs.pf1(); } } } }); })();
This file have to be included into the screen rule repository declared as baseUrl HostSurfer constructor parameter attribute. |