index.html 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  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.2.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 indented">
  29. <div>
  30. <h1>ToDo.<span }
  31. >js<span></h1>
  32. <input type="text" placeholder="Type your user" />
  33. <input type="password" placeholder="Type your password" />
  34. <a href="#" id="btnLogin" class="button big" data-icon="key">Test Demo!</a>
  35. <div class="copyright">Copyright TapQuo Inc, 2011</div>
  36. </div>
  37. </article>
  38. </section>
  39. <section id="main">
  40. <header data-title="ToDo.js">
  41. <nav class="onright">
  42. <a href="#new" data-target="section" class="active" data-icon="plus"><abbr>New Task</abbr></a>
  43. </nav>
  44. </header>
  45. <article id="pending" class="list"></article>
  46. <article id="done" class="list"></article>
  47. <footer class="toolbar with-labels">
  48. <nav>
  49. <a href="#pending" data-target="article" class="current" data-label="Pending" data-icon="folder"></a>
  50. <a href="#done" data-target="article" data-label="Done" data-icon="check"></a>
  51. </nav>
  52. </footer>
  53. </section>
  54. <section id="view">
  55. <header data-title="View" >
  56. <nav class="onleft">
  57. <a href="#back" data-target="section" class="current" data-icon="left"><abbr>Back</abbr></a>
  58. </nav>
  59. <nav class="onright">
  60. <a href="#" id="btnDeleteTodo" class="active" data-icon="trash"><abbr>Delete</abbr></a>
  61. </nav>
  62. </header>
  63. <article class="list indented">
  64. <ul class="form">
  65. <li class="tip dark" data-icon="pencil small">Edit ToDo</li>
  66. <li class="dark">
  67. <label>Name</label>
  68. <input type="text" id="txtEditName" placeholder="Input text"/>
  69. <label>Description</label>
  70. <textarea id="txtEditDescription" placeholder="Textarea sample"></textarea>
  71. </li>
  72. <a href="#" id="btnUpdateTodo" class="button big" data-icon="pencil">Update</a>
  73. <a href="#" id="btnDoneTodo" class="button big red" data-icon="check">Done</a>
  74. </ul>
  75. </article>
  76. </section>
  77. <section id="new">
  78. <header data-title="New ToDo">
  79. <nav>
  80. <a href="#back" data-target="section" class="current" data-icon="left"><abbr>Back</abbr></a>
  81. </nav>
  82. </header>
  83. <article class="list indented">
  84. <ul class="form">
  85. <li>
  86. <label>Name</label>
  87. <input type="text" id="txtNewName" placeholder="Input text"/>
  88. </li>
  89. <li>
  90. <label>Description</label>
  91. <textarea id="txtNewDescription" placeholder="Textarea sample"></textarea>
  92. </li>
  93. <a href="#" id="btnNewTodo" class="button big" data-icon="check">Add ToDo</a>
  94. </ul>
  95. </article>
  96. </section>
  97. <!-- LungoJS (Production mode) -->
  98. <script src="../../release/lungo-1.2.packed.js"></script>
  99. <script src="assets/sugars/lungo.sugar.growl.min.js"></script>
  100. <!-- LungoJS - Sandbox App -->
  101. <script src="app/app.js"></script>
  102. <script src="app/data.js"></script>
  103. <script src="app/events.js"></script>
  104. <script src="app/services.js"></script>
  105. <script src="app/view.js"></script>
  106. </body>
  107. </html>