/assets/www/Horaz_todo_list.html
https://github.com/jjoe64/horaz-todo-list-android · HTML · 84 lines · 73 code · 7 blank · 4 comment · 0 complexity · 20189d99d54a6082bab7c97ed9a11099 MD5 · raw file
- <!doctype html>
- <html>
- <head>
- <title>TODO List</title>
-
- <meta http-equiv="content-type" content="text/html; charset=UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1">
-
- <link rel="stylesheet" href="jquery/jquery.mobile-1.0b3.min.css" />
- <link rel="stylesheet" href="jquery/jquery.mobile.toast.min.css" />
- <link type="text/css" rel="stylesheet" href="Horaz_todo_list.css">
- <link rel="stylesheet" href="jquery/jquery.mobile.android-theme.css" />
-
- <script type="text/javascript" src="horaz_todo_list/horaz_todo_list.nocache.js"></script>
- <script type="text/javascript" src="jquery/jquery-1.6.2.min.js"></script>
- <script type="text/javascript" src="jquery/jquery.mobile-1.0b3.min.js"></script>
- <script type="text/javascript" src="jquery/jquery.mobile.toast.min.js"></script>
- <script type="text/javascript" src="jquery/jquery.mobile.android-theme.js"></script>
-
- <script type="text/javascript" charset="utf-8" src="phonegap.js"></script>
- </head>
- <body>
- <!-- template -->
- <div id="list_todo_template" style="display:none">
- <a href="#dialog_item">
- <h2>{#title#}</h2>
- <p>{#notes#}</p>
- </a>
- </div>
-
- <!-- todo index page -->
- <div data-role="page" id="page_index">
- <div data-role="header" data-theme="b" data-position="fixed">
- <h1>TODO List</h1>
- <a href="#page_item" data-role="button" data-icon="plus" class="ui-btn-right" data-theme="b" id="btn_new">New Item</a>
- </div>
- <div data-role="content">
- <ul id="list_todo" data-role="listview" data-inset="true" data-template="list_todo_template">
- </ul>
- </div>
- <div data-role="footer" data-position="fixed">
- <h4>powered by Horaz</h4>
- </div>
- </div>
-
- <!-- new/edit item page -->
- <div data-role="page" id="page_item">
- <div data-role="header" data-theme="b" data-add-back-btn="true" data-position="fixed">
- <a onclick="history.back()" data-icon="back" class="hide-on-android">Cancel</a>
- <h1>Edit TODO Item</h1>
- <a id="btn_save" href="#page_index" data-role="button" data-icon="check" class="ui-btn-right" data-theme="c">Save</a>
- </div>
- <div data-role="content">
- <form id="form_item">
- <div data-role="fieldcontain">
- <label for="title">Title</label>
- <input type="text" id="title" name="title" />
- </div>
- <div data-role="fieldcontain">
- <label for="notes">Notes</label>
- <textarea id="notes" name="notes"></textarea>
- </div>
- </form>
- </div>
- <div data-role="footer" data-position="fixed">
- <h4>powered by Horaz</h4>
- </div>
- </div>
-
- <!-- item selected dialog -->
- <div data-role="dialog" id="dialog_item">
- <div data-role="header" data-theme="d">
- <h1>Options</h1>
- </div>
- <div data-role="content">
- <p>What to do with <span id="label_item"></span>?</p>
- <a href="#page_item" data-role="button" data-theme="c" id="btn_edit">Edit</a>
- <a href="#" data-role="button" data-rel="back" data-theme="c" id="btn_done">Mark as Done</a>
- <a href="#" data-role="button" data-rel="back" data-theme="c" id="btn_delete">Delete</a>
- <a href="#" data-role="button" data-rel="back">Cancel</a>
- </div>
- </div>
- </body>
- </html>