index.html 5.4 KB

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