I'm developing a staff phone directory app for my work with JQM. I'm using a nested listview that displays names and then when a name is clicked, the phone, mobile, and email address of an idividual is shown.
The listview is 199 entries long and each entry has 3 sub links. This makes the listview very slow to load. I have tried looking into the lazyload widget but I feel it's beyond my skill level to implement it.
Instead, what I would like to do is initially load a login screen that allows the listview to load fully in the background while the user enters a password. The other advantage of this is that if a staff member loses his/her phone, the phone numbers wont be viewable by a stranger.
I want this to work locally however. I do not want to have to compare a password server side as the data is not THAT sensitive and I also don't want to/have the ability to set up the server side code.
So basically, can anybody tell me how to take text enetered into a password box, compare it against a set value stored locally, and if they match, take the user to the listview page or if they don't show a dialogue or reset the password field?
FYI there will be one password for all users of the app rather than different passwords per user.
Thanks in advance for any help :-)
- 7 Replies
- 1205 Views
- 2 Followers