index.html 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. <!doctype html>
  2. <html manifest="APP.appcache">
  3. <head>
  4. <meta charset="utf-8">
  5. <title>ToDo.js with LungoJS</title>
  6. <meta name="description" content="">
  7. <meta name="author" content="Javier Jiménez Villar (@soyjavi)">
  8. <!-- Mobile viewport optimization http://goo.gl/b9SaQ -->
  9. <meta name="HandheldFriendly" content="True">
  10. <meta name="MobileOptimized" content="320">
  11. <meta http-equiv="cleartype" content="on">
  12. <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0;">
  13. <meta name="apple-mobile-web-app-capable" content="yes">
  14. <meta name="apple-mobile-web-app-status-bar-style" content="black">
  15. <!-- For iPhone 4 with high-resolution Retina display: -->
  16. <link rel="apple-touch-icon-precomposed" sizes="114x114" href="assets/images/icon@2x.png">
  17. <link rel="apple-touch-icon-precomposed" sizes="72x72" href="assets/images/icon-72.png">
  18. <link rel="apple-touch-icon-precomposed" href="assets/images/icon.png">
  19. <link rel="apple-touch-startup-image" href="assets/images/default.png">
  20. <!-- Main Stylesheet -->
  21. <link rel="stylesheet" href="../../release/lungo-1.1.min.css">
  22. <link rel="stylesheet" href="../../release/lungo.theme.default.css">
  23. <!-- Sugars :) -->
  24. <link rel="stylesheet" href="assets/sugars/lungo.sugar.growl.min.css">
  25. </head>
  26. <body class="app">
  27. <section id="login">
  28. <article class="splash">
  29. <div class="indented">
  30. <h1>ToDo.<span class="semi-opacity">js<span></h1>
  31. <input type="text" placeholder="Type your user" />
  32. <input type="password" placeholder="Type your password" />
  33. <a href="#" id="btnLogin" class="button big" data-icon="key">Test Demo!</a>
  34. <div class="copyright">Copyright TapQuo Inc, 2011</div>
  35. </div>
  36. </article>
  37. </section>
  38. <section id="main">
  39. <header data-title="ToDo.js">
  40. <nav class="onright">
  41. <a href="#new" data-target="section" data-icon="add"></a>
  42. </nav>
  43. </header>
  44. <article id="pending" class="list"></article>
  45. <article id="done" class="list"></article>
  46. <footer class="toolbar">
  47. <nav>
  48. <a href="#pending" data-target="article" class="current" data-title="Pending ToDo's" data-icon="folder"></a>
  49. <a href="#done" data-target="article" data-title="Done ToDo's" data-icon="trash"></a>
  50. </nav>
  51. </footer>
  52. </section>
  53. <section id="view">
  54. <header data-back="home articblue" data-title="View" >
  55. <nav class="onright">
  56. <a href="#" id="btnDeleteTodo" data-icon="trash"></a>
  57. </nav>
  58. </header>
  59. <article class="list">
  60. <div class="indented">
  61. <ul class="form">
  62. <li class="tip dark" data-icon="pencil mini">Edit ToDo</li>
  63. <li class="dark">
  64. <label>Name</label>
  65. <input type="text" id="txtEditName" placeholder="Input text"/>
  66. <label>Description</label>
  67. <textarea id="txtEditDescription" placeholder="Textarea sample"></textarea>
  68. </li>
  69. <li>
  70. <label>Type</label>
  71. <label class="select">
  72. <select id="txtEditType">
  73. <option value="1">One</option>
  74. <option value="2">Two</option>
  75. <option value="3">Three</option>
  76. </select>
  77. </label>
  78. </li>
  79. </ul>
  80. <a href="#" id="btnUpdateTodo" class="button big" data-icon="pencil">Update</a>
  81. <a href="#" id="btnDoneTodo" class="button big red" data-icon="check">Done</a>
  82. </div>
  83. </article>
  84. </section>
  85. <section id="new">
  86. <header data-title="New ToDo">
  87. <nav>
  88. <a href="#back" data-target="section" class="current" data-icon="left"><abbr>Back</abbr></a>
  89. </nav>
  90. </header>
  91. <article class="list">
  92. <div class="indented">
  93. <ul class="form">
  94. <li>
  95. <label>Name</label>
  96. <input type="text" id="txtNewName" placeholder="Input text"/>
  97. </li>
  98. <li>
  99. <label>Description</label>
  100. <textarea id="txtNewDescription" placeholder="Textarea sample"></textarea>
  101. </li>
  102. <li>
  103. <label>Type</label>
  104. <label class="select">
  105. <select id="txtNewType">
  106. <option value="1">Personal</option>
  107. <option value="2">Someday</option>
  108. <option value="3">Tomorrow</option>
  109. </select>
  110. </label>
  111. </li>
  112. </ul>
  113. <a href="#" id="btnNewTodo" class="button big" data-icon="check">Add ToDo</a>
  114. </div>
  115. </article>
  116. </section>
  117. <!-- LungoJS (Production mode) -->
  118. <script src="../../release/lungo-1.1.packed.js"></script>
  119. <script src="assets/sugars/lungo.sugar.growl.min.js"></script>
  120. <!-- LungoJS - Sandbox App -->
  121. <script src="app/app.js"></script>
  122. <script src="app/data.js"></script>
  123. <script src="app/events.js"></script>
  124. <script src="app/services.js"></script>
  125. <script src="app/view.js"></script>
  126. </body>
  127. </html>