test.html 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364
  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" class="extended">
  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" class="current" 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" ></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. <nav class="groupbar">
  59. <a href="#layout-art1" data-router="article" data-label="Normal" class="current"></a>
  60. <a href="#layout-art3" data-router="article" data-label="Indented"></a>
  61. </nav>
  62. <article id="layout-art1" class="list indented scroll">
  63. <ul>
  64. <li>
  65. <strong>&lt;li&gt; + &lt;strong&gt; </strong>
  66. </li>
  67. <li class="selectable">
  68. <strong>&lt;li .selectable&gt; + &lt;strong&gt; </strong>
  69. </li>
  70. <li>
  71. <a href="#">
  72. <strong>&lt;li&gt; + &lt;a&gt; + &lt;strong&gt; </strong>
  73. </a>
  74. </li>
  75. <li>
  76. <strong>&lt;li&gt; + &lt;strong&gt; </strong>
  77. <small>&lt;small&gt;</small>
  78. </li>
  79. <li class="anchor">colors</li>
  80. <li class="dark">
  81. <strong>&lt;li .dark&gt; + &lt;strong&gt; </strong>
  82. <small>&lt;small&gt;</small>
  83. </li>
  84. <li class="theme">
  85. <strong>&lt;li .theme&gt; + &lt;strong&gt; </strong>
  86. <small>&lt;small&gt;</small>
  87. </li>
  88. <li class="arrow light">
  89. <strong>&lt;li .arrow.light&gt; + &lt;strong&gt; </strong>
  90. <small>&lt;small&gt;</small>
  91. </li>
  92. <li class="anchor">.arrow class</li>
  93. <li class="arrow">
  94. <strong>&lt;li .arrow&gt; + &lt;strong&gt; </strong>
  95. </li>
  96. <li class="arrow">
  97. <strong>&lt;li .arrow&gt; + &lt;strong&gt; </strong>
  98. <small>&lt;small&gt;</small>
  99. <small>&lt;small&gt;</small>
  100. </li>
  101. <li class="anchor">.right element</li>
  102. <li>
  103. <a href="#">
  104. <div class="right">.right</div>
  105. <strong>&lt;strong&gt; element</strong>
  106. <small>with &lt;small&gt; element</small>
  107. </a>
  108. </li>
  109. <li>
  110. <a href="#">
  111. <strong>&lt;strong&gt; element</strong>
  112. <small>with &lt;small&gt; element</small>
  113. <div class="right">.right</div>
  114. </a>
  115. </li>
  116. <li>
  117. <a href="#">
  118. <div class="right bubble blue">.right.bubble</div>
  119. <strong>&lt;strong&gt; element</strong>
  120. <small>with &lt;small&gt; element</small>
  121. </a>
  122. </li>
  123. <li>
  124. <a href="#">
  125. <div class="right bubble blue" data-icon="clock">.right data-icon</div>
  126. <strong>&lt;strong&gt; element</strong>
  127. <small>with &lt;small&gt; element</small>
  128. </a>
  129. </li>
  130. <li class="anchor">With data-icon or data-image attribute</li>
  131. <li data-image="http://lungo.tapquo.com/resources/icon@2x.png">
  132. <strong>&lt;li data-image&gt; + &lt;strong&gt; </strong>
  133. <small>&lt;small&gt;</small>
  134. </li>
  135. <li class=" thumb" data-image="http://lungo.tapquo.com/resources/icon@2x.png">
  136. <strong>&lt;li .thumb data-image&gt; + &lt;strong&gt; </strong>
  137. <small>&lt;small&gt;</small>
  138. </li>
  139. <li data-icon="user">
  140. <strong>&lt;li data-icon&gt; + &lt;strong&gt; </strong>
  141. <small>&lt;small&gt;</small>
  142. </li>
  143. <li class="thumb" data-icon="user">
  144. <strong>&lt;li .thumb data-icon&gt; + &lt;strong&gt; </strong>
  145. <small>&lt;small&gt;</small>
  146. </li>
  147. <li class="anchor">With colours</li>
  148. <li class="blue">
  149. <strong>&lt;li .blue&gt; + &lt;strong&gt; </strong>
  150. <small>&lt;small&gt;</small>
  151. </li>
  152. <li class="green">
  153. <strong>&lt;li .green&gt; + &lt;strong&gt; </strong>
  154. <small>&lt;small&gt;</small>
  155. </li>
  156. <li class="yellow">
  157. <strong>&lt;li .yellow&gt; + &lt;strong&gt; </strong>
  158. <small>&lt;small&gt;</small>
  159. </li>
  160. </ul>
  161. </article>
  162. <article id="layout-art2" class="padding scroll">
  163. <form>
  164. <input type="search" placeholder="type your search" />
  165. <a href="#" class="button theme" data-icon="search"></a>
  166. <label>Progress</label>
  167. <div id="kaka" data-progress="30%"></div>
  168. <div data-loading="black"></div>
  169. <div id="cargador"></div>
  170. <a href="#" class="button big" data-label="Send Email" data-icon="mail"></a>
  171. <div class="four columns left">
  172. <a href="#" class="button big theme" data-label="Accept" data-icon="check"></a>
  173. </div>
  174. <div class="four columns right">
  175. <a href="#" class="button big red" data-label="Cancel" data-icon="close"></a>
  176. </div>
  177. </form>
  178. </article>
  179. <article id="layout-art3" class="list indented">
  180. <ul>
  181. <li data-image="http://lungo.tapquo.com/resources/icon@2x.png">
  182. <strong>&lt;li data-image&gt; + &lt;strong&gt; </strong>
  183. <small>&lt;small&gt;</small>
  184. </li>
  185. <li class=" thumb" data-image="http://lungo.tapquo.com/resources/icon@2x.png">
  186. <strong>&lt;li .thumb data-image&gt; + &lt;strong&gt; </strong>
  187. <small>&lt;small&gt;</small>
  188. <small>&lt;small&gt;</small>
  189. </li>
  190. <li></li>
  191. <li></li>
  192. <li></li>
  193. <li></li>
  194. <li></li>
  195. <li></li>
  196. <li></li>
  197. <li></li>
  198. </ul>
  199. </article>
  200. <article id="layout-art4"></article>
  201. </section>
  202. <aside id="features" class="left">
  203. <header data-title="BETA Features"></header>
  204. <article class="list scroll">
  205. <ul>
  206. <!-- Basic Layout -->
  207. <li>
  208. <strong>Suggestions</strong>
  209. </li>
  210. <li class="current">
  211. <a href="#">
  212. <strong>Jobs</strong>
  213. <small>lorem</small>
  214. </a>
  215. </li>
  216. <li class="arrow">
  217. <strong>Network</strong>
  218. <small>lorem</small>
  219. </li>
  220. <li>
  221. <a href="#">
  222. <div class="right bubble blue">128</div>
  223. <strong>Favorites</strong>
  224. <small>with lorem element</small>
  225. </a>
  226. </li>
  227. <li data-image="http://lungo.tapquo.com/resources/icon@2x.png">
  228. <strong>Javi Jimenez</strong>
  229. <small>small</small>
  230. </li>
  231. <li class=" thumb" data-image="http://lungo.tapquo.com/resources/icon@2x.png">
  232. <strong>Javi Jimenez</strong>
  233. <small>small</small>
  234. </li>
  235. <li data-icon="user">
  236. <strong>Javi Jimenez</strong>
  237. <small>small</small>
  238. </li>
  239. <li class="thumb" data-icon="user">
  240. <strong>Javi Jimenez</strong>
  241. <small>small</small>
  242. </li>
  243. </ul>
  244. </article>
  245. </aside>
  246. <!-- Lungo dependencies -->
  247. <script src="../../src/lib/quo.debug.js"></script>
  248. <!--
  249. <script src="../../release/lungo.js"></script>
  250. -->
  251. <script src="../../src/Lungo.js"></script>
  252. <script src="../../src/Lungo.Init.js"></script>
  253. <script src="../../src/Lungo.Core.js"></script>
  254. <script src="../../src/Lungo.Dom.js"></script>
  255. <script src="../../src/Lungo.Service.js"></script>
  256. <script src="../../src/Lungo.Constants.js"></script>
  257. <script src="../../src/Lungo.Events.js"></script>
  258. <script src="../../src/Lungo.Notification.js"></script>
  259. <script src="../../src/Lungo.Fallback.js"></script>
  260. <script src="../../src/router/Lungo.Router.js"></script>
  261. <script src="../../src/router/Lungo.Router.History.js" ></script>
  262. <script src="../../src/view/Lungo.View.Article.js" ></script>
  263. <script src="../../src/view/Lungo.View.Aside.js" ></script>
  264. <script src="../../src/element/Lungo.Element.Cache.js"></script>
  265. <script src="../../src/element/Lungo.Element.Carousel.js"></script>
  266. <script src="../../src/element/Lungo.Element.Count.js"></script>
  267. <script src="../../src/element/Lungo.Element.Loading.js"></script>
  268. <script src="../../src/element/Lungo.Element.Progress.js"></script>
  269. <script src="../../src/element/Lungo.Element.Pull.js"></script>
  270. <script src="../../src/data/Lungo.Data.Cache.js"></script>
  271. <script src="../../src/data/Lungo.Data.Sql.js"></script>
  272. <script src="../../src/data/Lungo.Data.Storage.js"></script>
  273. <script src="../../src/attributes/Lungo.Attributes.Data.js"></script>
  274. <script src="../../src/boot/Lungo.Boot.Resources.js" ></script>
  275. <script src="../../src/boot/Lungo.Boot.Stats.js" ></script>
  276. <script src="../../src/boot/Lungo.Boot.Layout.js"></script>
  277. <script src="../../src/boot/Lungo.Boot.Events.js"></script>
  278. <script src="../../src/boot/Lungo.Boot.Data.js"></script>
  279. <script src="../../src/boot/Lungo.Boot.Section.js"></script>
  280. <script src="../../src/boot/Lungo.Boot.Article.js"></script>
  281. <!-- LungoJS - Sandbox App -->
  282. <script>
  283. Lungo.init();
  284. Lungo.ready(function() {
  285. // Lungo.View.Aside.show('features');
  286. });
  287. Lungo.Element.count('#bb', 29);
  288. setTimeout(function(){
  289. Lungo.Element.count('#bb', 0);
  290. }, 1000);
  291. setTimeout(function(){
  292. Lungo.Element.progress('#kaka', 70);
  293. }, 300);
  294. setTimeout(function(){
  295. Lungo.Element.loading('#cargador', "black");
  296. }, 300);
  297. setTimeout(function(){
  298. Lungo.Element.loading('#cargador', null);
  299. }, 1300);
  300. </script>
  301. </body>
  302. </html>