index.html 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  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.0.0.min.css">
  22. <link rel="stylesheet" href="../../release/lungo.theme.default.css">
  23. <!-- Sugars :) -->
  24. <link rel="stylesheet" href="assets/sugars/lungo.sugar.growl.css">
  25. </head>
  26. <body class="app">
  27. <section id="login" class="splash">
  28. <article>
  29. <h1>ToDo<span class="semi-opacity">.js</span></h1>
  30. <div class="form">
  31. <input type="text" placeholder="Type your user" disabled/>
  32. <input type="password" placeholder="Type your password" disabled/>
  33. <a href="#main" class="section button big blue" data-icon="key">Go to app!</a>
  34. </div>
  35. <div class="copyright">Copyright TapQuo Inc, 2011</div>
  36. </article>
  37. </section>
  38. <section id="main">
  39. <header data-title="ToDo.js">
  40. <a href="#new" class="section button onright articblue" data-icon="add">&nbsp;New</a>
  41. </header>
  42. <article id="pending" class="list"></article>
  43. <article id="done" class="list"><!-- data-search="contrast" --></article>
  44. <footer class="toolbar">
  45. <nav>
  46. <a href="#pending" class="article current" data-title="Pending ToDo's" data-icon="inbox"></a>
  47. <a href="#done" class="article" data-title="Done ToDo's" data-icon="folder"></a>
  48. <a href="#settings" class="section" data-icon="config"></a>
  49. </nav>
  50. </footer>
  51. </section>
  52. <section id="view">
  53. <header data-back="home articblue" data-title="View ToDo's" >
  54. <a href="#" id="btnDoneTodo" class="button onright red" data-icon="check">&nbsp;Done</a>
  55. </header>
  56. <article>
  57. <p class="form">
  58. <label>Name</label>
  59. <input type="text" id="txtEditName" placeholder="Input text"/>
  60. <label>Description</label>
  61. <textarea id="txtEditDescription" placeholder="Textarea sample"></textarea>
  62. <label>Type</label>
  63. <label class="select">
  64. <select id="txtEditType">
  65. <option value="1">One</option>
  66. <option value="2">Two</option>
  67. <option value="3">Three</option>
  68. </select>
  69. </label>
  70. </p>
  71. </article>
  72. <footer class="toolbar">
  73. <nav>
  74. <a href="#" id="btnUpdateTodo" data-icon="write"></a>
  75. <a href="#" id="btnDeleteTodo" data-icon="trash"></a>
  76. </nav>
  77. </footer>
  78. </section>
  79. <section id="new">
  80. <header data-back="home articblue" data-title="New ToDo"></header>
  81. <article>
  82. <p class="form">
  83. <label>Name</label>
  84. <input type="text" id="txtNewName" placeholder="Input text"/>
  85. <label>Description</label>
  86. <textarea id="txtNewDescription" placeholder="Textarea sample"></textarea>
  87. <label>Type</label>
  88. <label class="select">
  89. <select id="txtNewType">
  90. <option value="1">One</option>
  91. <option value="2">Two</option>
  92. <option value="3">Three</option>
  93. </select>
  94. </label>
  95. <br/>
  96. <a href="#" id="btnNewTodo" class="button big articblue" data-icon="check">Add ToDo</a>
  97. <a href="#back" class="section button big red" data-icon="cancel">Cancel</a>
  98. </p>
  99. </article>
  100. </section>
  101. <section id="settings">
  102. <header data-back="home articblue" data-title="Settings"></header>
  103. <article>
  104. <p class="form">
  105. <label>Your name:</label>
  106. <input type="text" id="txtName" placeholder="Type your name"/>
  107. <label>Available task types:</label>
  108. <input type="text" id="txtType" placeholder="Type new type of task"/>
  109. <label class="select">
  110. <select id="txtTypes">
  111. <option value="1">One</option>
  112. <option value="2">Two</option>
  113. <option value="3">Three</option>
  114. </select>
  115. </label>
  116. <a href="#" id="btnNewType" class="button big articblue" data-icon="check">Add new type</a>
  117. </p>
  118. </article>
  119. </section>
  120. <!-- Third parties dependencies -->
  121. <script src="../../src/lib/zepto.js"></script>
  122. <script src="../../src/lib/iscroll.js"></script>
  123. <!-- LungoJS (Production mode) -->
  124. <script src="../../release/lungo-1.0.0.min.js"></script>
  125. <script src="assets/sugars/lungo.sugar.growl.js"></script>
  126. <!-- LungoJS - Sandbox App -->
  127. <script src="app/app.js"></script>
  128. <script src="app/data.js"></script>
  129. <script src="app/events.js"></script>
  130. <script src="app/services.js"></script>
  131. <script src="app/view.js"></script>
  132. </body>
  133. </html>