12345678910111213141516171819202122 |
- <h1>
- {{title}}
- </h1>
- <form id="login">
- <div>
- Username: <input name="username" type="text"/>
- </div>
- <div>
- Password: <input name="password" type="password"/>
- </div>
- <input type="submit" value="login"/>
- <input type="button" value="cancel" class="cancel"/>
- </form>
- <script>
- $('#login').submit(function(){
- // TODO - Handle login
- return false;
- }).children('.cancel').click(function(){
- loadState('page-index');
- return false;
- });
- </script>
|