test.html 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217
  1. <!doctype html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <title>KitchenSink - Lungo 2.0</title>
  6. <meta name="description" content="">
  7. <meta name="author" content="Javier Jiménez Villar (@soyjavi)">
  8. <meta name="HandheldFriendly" content="True">
  9. <meta name="MobileOptimized" content="320">
  10. <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
  11. <meta name="apple-mobile-web-app-capable" content="yes">
  12. <meta name="apple-mobile-web-app-status-bar-style" content="black">
  13. <meta name="format-detection" content="telephone=no">
  14. <meta http-equiv="cleartype" content="on">
  15. <link rel="apple-touch-icon-precomposed" sizes="114x114" href="http://lungo.tapquo.com/resources/icon@2x.png">
  16. <link rel="apple-touch-icon-precomposed" sizes="72x72" href="http://lungo.tapquo.com/resources/icon-72.png">
  17. <link rel="apple-touch-icon-precomposed" href="http://lungo.tapquo.com/resources/icon.png">
  18. <link rel="apple-touch-startup-image" href="http://lungo.tapquo.com/resources/default.png">
  19. <!-- Main Stylesheet -->
  20. <link rel="stylesheet" href="../../src/stylesheets/css/Lungo.base.css">
  21. <link rel="stylesheet" href="../../src/stylesheets/css/Lungo.layout.css">
  22. <link rel="stylesheet" href="../../src/stylesheets/css/Lungo.layout.nav.css">
  23. <link rel="stylesheet" href="../../src/stylesheets/css/Lungo.layout.aside.css">
  24. <link rel="stylesheet" href="../../src/stylesheets/css/Lungo.layout.article.css">
  25. <link rel="stylesheet" href="../../src/stylesheets/css/Lungo.layout.list.css">
  26. <link rel="stylesheet" href="../../src/stylesheets/css/Lungo.layout.grid.css">
  27. <link rel="stylesheet" href="../../src/stylesheets/css/Lungo.widgets.css">
  28. <link rel="stylesheet" href="../../src/stylesheets/css/Lungo.widgets.splash.css">
  29. <link rel="stylesheet" href="../../src/stylesheets/css/Lungo.widgets.button.css">
  30. <link rel="stylesheet" href="../../src/stylesheets/css/Lungo.widgets.form.css">
  31. <link rel="stylesheet" href="../../src/stylesheets/css/Lungo.widgets.colour.css">
  32. <link rel="stylesheet" href="../../src/stylesheets/css/Lungo.widgets.icon.css">
  33. <link rel="stylesheet" href="../../src/stylesheets/css/Lungo.widgets.icon.brand.css">
  34. <link rel="stylesheet" href="../../src/stylesheets/css/Lungo.widgets.loading.css">
  35. <link rel="stylesheet" href="../../src/stylesheets/css/Lungo.widgets.notification.css">
  36. <link rel="stylesheet" href="../../src/stylesheets/css/Lungo.theme.default.css">
  37. </head>
  38. <body class="app">
  39. <section id="layout" data-transition="slide">
  40. <header data-title="Layout">
  41. <nav class="box">
  42. <a href="#features" data-router="aside" data-icon="grid"></a>
  43. <a href="#features" data-router="aside" data-label="User"></a>
  44. </nav>
  45. <nav class="right box">
  46. <a href="#splash" data-router="section" data-icon="inbox" ></a>
  47. <a href="#splash" data-router="section" data-icon="user" data-count="3" ></a>
  48. </nav>
  49. </header>
  50. <footer>
  51. <nav class="with-labelss">
  52. <a href="#layout-art1" data-router="article" data-label="Home" data-icon="home" ></a>
  53. <a href="#layout-art2" data-router="article" data-label="Inbox" data-icon="inbox" data-count="2" class="current" ></a>
  54. <a href="#layout-art3" data-router="article" data-label="Profile" data-icon="user"></a>
  55. <a href="#layout-art4" id="bb" data-router="article" data-label="Settings" data-icon="settings"></a>
  56. </nav>
  57. </footer>
  58. <article id="layout-art1" class="padding scroll">
  59. <form>
  60. <input type="search" placeholder="type your search" />
  61. <a href="#" class="button theme" data-icon="search"></a>
  62. <label>Progress</label>
  63. <div id="kaka" data-progress="30%"></div>
  64. <div data-loading="black"></div>
  65. <div id="cargador"></div>
  66. <a href="#" class="button big" data-label="Send Email" data-icon="mail"></a>
  67. <div class="four columns left">
  68. <a href="#" class="button big theme" data-label="Accept" data-icon="check"></a>
  69. </div>
  70. <div class="four columns right">
  71. <a href="#" class="button big red" data-label="Cancel" data-icon="close"></a>
  72. </div>
  73. </form>
  74. </article>
  75. <article id="layout-art2">
  76. </article>
  77. <article id="layout-art3"></article>
  78. <article id="layout-art4"></article>
  79. </section>
  80. <aside id="features" class="left">
  81. <header data-title="BETA Features"></header>
  82. <article class="list scroll">
  83. <ul>
  84. <!-- Basic Layout -->
  85. <li>
  86. <strong>Suggestions</strong>
  87. </li>
  88. <li class="current">
  89. <a href="#">
  90. <strong>Jobs</strong>
  91. <small>lorem</small>
  92. </a>
  93. </li>
  94. <li class="arrow">
  95. <strong>Network</strong>
  96. <small>lorem</small>
  97. </li>
  98. <li>
  99. <a href="#">
  100. <div class="right bubble blue">128</div>
  101. <strong>Favorites</strong>
  102. <small>with lorem element</small>
  103. </a>
  104. </li>
  105. <li data-image="http://lungo.tapquo.com/resources/icon@2x.png">
  106. <strong>Javi Jimenez</strong>
  107. <small>small</small>
  108. </li>
  109. <li class=" thumb" data-image="http://lungo.tapquo.com/resources/icon@2x.png">
  110. <strong>Javi Jimenez</strong>
  111. <small>small</small>
  112. </li>
  113. <li data-icon="user">
  114. <strong>Javi Jimenez</strong>
  115. <small>small</small>
  116. </li>
  117. <li class="thumb" data-icon="user">
  118. <strong>Javi Jimenez</strong>
  119. <small>small</small>
  120. </li>
  121. </ul>
  122. </article>
  123. </aside>
  124. <!-- Lungo dependencies -->
  125. <script src="../../src/lib/quo.debug.js"></script>
  126. <!--
  127. <script src="../../release/lungo.js"></script>
  128. -->
  129. <script src="../../src/Lungo.js"></script>
  130. <script src="../../src/Lungo.Init.js"></script>
  131. <script src="../../src/Lungo.Core.js"></script>
  132. <script src="../../src/Lungo.Dom.js"></script>
  133. <script src="../../src/Lungo.Service.js"></script>
  134. <script src="../../src/Lungo.Constants.js"></script>
  135. <script src="../../src/Lungo.Events.js"></script>
  136. <script src="../../src/Lungo.Notification.js"></script>
  137. <script src="../../src/Lungo.Fallback.js"></script>
  138. <script src="../../src/router/Lungo.Router.js"></script>
  139. <script src="../../src/router/Lungo.Router.History.js" ></script>
  140. <script src="../../src/view/Lungo.View.Article.js" ></script>
  141. <script src="../../src/view/Lungo.View.Aside.js" ></script>
  142. <script src="../../src/element/Lungo.Element.Cache.js"></script>
  143. <script src="../../src/element/Lungo.Element.Carousel.js"></script>
  144. <script src="../../src/element/Lungo.Element.Count.js"></script>
  145. <script src="../../src/element/Lungo.Element.Loading.js"></script>
  146. <script src="../../src/element/Lungo.Element.Progress.js"></script>
  147. <script src="../../src/element/Lungo.Element.Pull.js"></script>
  148. <script src="../../src/data/Lungo.Data.Cache.js"></script>
  149. <script src="../../src/data/Lungo.Data.Sql.js"></script>
  150. <script src="../../src/data/Lungo.Data.Storage.js"></script>
  151. <script src="../../src/attributes/Lungo.Attributes.Data.js"></script>
  152. <script src="../../src/boot/Lungo.Boot.Resources.js" ></script>
  153. <script src="../../src/boot/Lungo.Boot.Stats.js" ></script>
  154. <script src="../../src/boot/Lungo.Boot.Layout.js"></script>
  155. <script src="../../src/boot/Lungo.Boot.Events.js"></script>
  156. <script src="../../src/boot/Lungo.Boot.Data.js"></script>
  157. <script src="../../src/boot/Lungo.Boot.Section.js"></script>
  158. <script src="../../src/boot/Lungo.Boot.Article.js"></script>
  159. <!-- LungoJS - Sandbox App -->
  160. <script>
  161. Lungo.init();
  162. Lungo.ready(function() {
  163. // Lungo.View.Aside.show('features');
  164. });
  165. Lungo.Element.count('#bb', 29);
  166. setTimeout(function(){
  167. Lungo.Element.count('#bb', 0);
  168. }, 1000);
  169. setTimeout(function(){
  170. Lungo.Element.progress('#kaka', 70);
  171. }, 300);
  172. setTimeout(function(){
  173. Lungo.Element.loading('#cargador', "black");
  174. }, 300);
  175. setTimeout(function(){
  176. Lungo.Element.loading('#cargador', null);
  177. }, 1300);
  178. </script>
  179. </body>
  180. </html>