test.html 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497
  1. <!doctype html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <title>Lungo Flexbox - SDK</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="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
  10. <meta name="apple-mobile-web-app-capable" content="yes">
  11. <meta name="apple-mobile-web-app-status-bar-style" content="black">
  12. <meta name="format-detection" content="telephone=no">
  13. <meta http-equiv="cleartype" content="on">
  14. <!-- Main Stylesheet -->
  15. <link rel="stylesheet" href="components/lungo.brownie/lungo.css">
  16. <link rel="stylesheet" href="components/lungo.brownie/lungo.theme.css">
  17. <link rel="stylesheet" href="components/lungo.icon/lungo.icon.css">
  18. <!-- App Stylesheet -->
  19. <link rel="stylesheet" href="stylesheets/app.css">
  20. </head>
  21. <body class="app">
  22. <section id="form" data-transition="slide">
  23. <header data-title="Form Elements" data-back="home"></header>
  24. <nav data-control="groupbar">
  25. <a href="#" data-view-article="form-normal" data-label="Normal" class="active"></a>
  26. <a href="#" data-view-article="form-indented" data-label="Indented"></a>
  27. <a href="#" data-view-article="form-special" data-label="Specials"></a>
  28. </nav>
  29. <article id="form-normal" class="scroll">
  30. <div class="form">
  31. <!-- LABEL + INPUT -->
  32. <fieldset>
  33. <label>label</label>
  34. <input type="text" placeholder="value">
  35. <label>label</label>
  36. <input type="text" placeholder="value on right" class="text align_right error">
  37. <label class="absolute">label</label>
  38. <input type="text" placeholder="value on center" class="large text bold align_center">
  39. <label>label</label>
  40. <label class="select ">
  41. <select class="custom">
  42. <option value="1">HTML5 Jedi</option>
  43. <option value="2">Two</option>
  44. <option value="3">Three</option>
  45. </select>
  46. </label>
  47. <label>label</label>
  48. <input type="date" class="align_right" placeholder="Select finish" value="10/04/1980"/>
  49. </fieldset>
  50. <!-- INPUT -->
  51. <fieldset>
  52. <input type="text" id="description" class="text align_center" placeholder="value"/>
  53. </fieldset>
  54. <fieldset>
  55. <textarea placeholder="Write something..."></textarea>
  56. </fieldset>
  57. <fieldset>
  58. <label class="select">
  59. <select class="custom">
  60. <option value="1">HTML5 Jedi</option>
  61. <option value="2">Two</option>
  62. <option value="3">Three</option>
  63. </select>
  64. </label>
  65. </fieldset>
  66. <fieldset>
  67. <input type="date" class="align_right" placeholder="Select finish" value="10/04/1980"/>
  68. </fieldset>
  69. <fieldset data-icon="plus">
  70. <label>label</label>
  71. <input type="text" value="value" />
  72. </fieldset>
  73. </div>
  74. </article>
  75. <article id="form-indented" class="indented scroll">
  76. <div class="form">
  77. <!-- LABEL + INPUT -->
  78. <label>label + input</label>
  79. <fieldset class="radius shadow">
  80. <label>label</label>
  81. <input type="text" placeholder="value">
  82. <label>label</label>
  83. <input type="text" placeholder="value on right" class="text align_right error">
  84. <label class="absolute">label</label>
  85. <input type="text" placeholder="value on center" class="large text align_center">
  86. <label>label</label>
  87. <label class="select ">
  88. <select class="custom">
  89. <option value="1">HTML5 Jedi</option>
  90. <option value="2">Two</option>
  91. <option value="3">Three</option>
  92. </select>
  93. </label>
  94. <label>label</label>
  95. <input type="date" class="align_right" placeholder="Select date" value="10/04/1980"/>
  96. </fieldset>
  97. <!-- INPUT -->
  98. <label>input</label>
  99. <fieldset class="radius-top">
  100. <input type="text" id="description" class="text align_center" placeholder="value"/>
  101. </fieldset>
  102. <fieldset>
  103. <textarea placeholder="Write something..."></textarea>
  104. </fieldset>
  105. <fieldset>
  106. <label class="select">
  107. <select class="custom">
  108. <option value="1">HTML5 Jedi</option>
  109. <option value="2">Two</option>
  110. <option value="3">Three</option>
  111. </select>
  112. </label>
  113. </fieldset>
  114. <fieldset class="radius-bottom shadow">
  115. <input type="date" class="align_right" placeholder="Select finish" value="10/04/1980"/>
  116. </fieldset>
  117. <label>label + input + icon</label>
  118. <fieldset data-icon="plus">
  119. <label>label</label>
  120. <input type="text" value="value" />
  121. </fieldset>
  122. </div>
  123. </article>
  124. <article id="form-special" class=" indented scroll">
  125. <div class="form" >
  126. <label>Specials</label>
  127. <fieldset data-icon="search">
  128. <input type="search" placeholder="Search..."/>
  129. </fieldset>
  130. <label>Address</label>
  131. <input type="text" placeholder="placeholder" class="border" />
  132. <input type="text" placeholder="placeholder" class="border error" value="error" />
  133. <input type="text" placeholder="placeholder" class="border success" value="success" />
  134. <div class="layout horizontal">
  135. <div data-layout="third">
  136. <label>Address</label>
  137. <input type="text" placeholder="placeholder" class="border" />
  138. </div>
  139. <div data-layout="primary">
  140. <label>Pin Code</label>
  141. <input type="password" value="value" class="border" disabled/>
  142. </div>
  143. </div>
  144. <label>Select your skill</label>
  145. <label class="select border">
  146. <select>
  147. <option value="1">HTML5 Jedi</option>
  148. <option value="2">Two</option>
  149. <option value="3">Three</option>
  150. </select>
  151. </label>
  152. <label>Progress</label>
  153. <div id="progress-normal" data-progress="25%"></div>
  154. <label>Range</label>
  155. <input type="range" placeholder="type your name" min="0" max="8" />
  156. <label>Checkbox</label>
  157. <div class="layout horizontal">
  158. <div>
  159. <div data-control-checkbox="normal"></div>
  160. </div>
  161. <div>
  162. <div data-control-checkbox="twit-example" class="twitter"></div>
  163. </div>
  164. <div>
  165. <div data-control-checkbox="ok-example" class="ok"></div>
  166. </div>
  167. </div>
  168. <br/>
  169. <button class="anchor margin-bottom" data-label="Return to normal Elements"></button>
  170. <button class="anchor accept margin-bottom" data-label="Return to normal Elements"></button>
  171. <button class="anchor cancel margin-bottom" data-label="Return to normal Elements"></button>
  172. <button class="anchor secondary margin-bottom" data-label="Return to normal Elements"></button>
  173. <button class="anchor disabled" data-label="Return to normal Elements"></button>
  174. </div>
  175. </article>
  176. </section>
  177. <section id="main" data-transition="slide" data-aside="features" data-children="folk">
  178. <header>
  179. <nav class="left">
  180. <a href="#" data-view-aside="features" data-icon="menu"></a>
  181. <a href="#" data-view-menu="options" data-icon="star"></a>
  182. <a href="#" data-icon="user" class="button" data-article="products" data-label="Folks" data-view-article="folks"></a>
  183. <a href="#" class="button" data-article="products" data-label="Folks" data-view-article="folks"></a>
  184. <a href="#" data-icon="user" class="button" data-article="products" data-view-article="folks"></a>
  185. </nav>
  186. <!-- <img src="http://cdn.tapquo.com/lungo/logo.png" class="title centered"> -->
  187. <div class="title centered">Folks</div>
  188. <nav class="right">
  189. <button data-icon="user" class="button" data-article="folks" data-label="Products" data-view-article="products" data-async="app/articles/products.html"></button>
  190. </nav>
  191. </header>
  192. <nav id="options" data-control="menu" class="icons">
  193. <a href="#" data-view-article="folks" data-icon="star" data-title="Folks">Folks</a>
  194. <a href="#" data-view-article="products" data-icon="heart" data-title="Explore">Explore</a>
  195. <a href="#" data-view-article="article" data-icon="comments">Activity</a>
  196. <a href="#" data-view-article="article" data-icon="user">Profile</a>
  197. <a href="#" data-view-section="folk" data-icon="thumbs-up">Folk</a>
  198. </nav>
  199. <nav data-control="groupbar" data-article="folks">
  200. <a href="#" data-view-article="folks" data-label="Folks" data-count="11"></a>
  201. <a href="#" data-view-article="products" data-async="app/articles/products.html" data-label="Products" id="products"></a>
  202. </nav>
  203. <article id="folks" class="active list scroll indente-d">
  204. <ul>
  205. <li class="thumb selectable arrow" data-view-section="folk" data-image="http://cdn.tapquo.com/photos/javi.jpg">
  206. <a href="#" >
  207. <strong>Javi Jiménez</strong>
  208. <small>Founder & CTO</small>
  209. </a>
  210. </li>
  211. <li class="thumb" data-image="http://cdn.tapquo.com/photos/ina.jpg">
  212. <strong>Ignacio Olalde</strong>
  213. <small>... consectetur adipisicing elit.</small>
  214. </li>
  215. <li class="thumb" data-image="http://cdn.tapquo.com/photos/aitor.jpg">
  216. <strong>Aitor Jimenez</strong>
  217. <small>... consectetur adipisicing elit.</small>
  218. </li>
  219. <li class="thumb" data-image="http://cdn.tapquo.com/photos/manrique.jpg">
  220. <strong>Lorem ipsum dolor sit amet</strong>
  221. <small>... consectetur adipisicing elit.</small>
  222. </li>
  223. <li class="thumb" data-image="http://cdn.tapquo.com/photos/josu.jpg">
  224. <strong>Lorem ipsum dolor sit amet</strong>
  225. <small>... consectetur adipisicing elit.</small>
  226. </li>
  227. <li class="thumb" data-image="http://cdn.tapquo.com/photos/inigo.jpg">
  228. <strong>Lorem ipsum dolor sit amet</strong>
  229. <small>... consectetur adipisicing elit.</small>
  230. </li>
  231. <li class="thumb" data-image="http://cdn.tapquo.com/photos/jany.jpg">
  232. <strong>Lorem ipsum dolor sit amet</strong>
  233. <small>... consectetur adipisicing elit.</small>
  234. </li>
  235. <li class="thumb" data-image="http://cdn.tapquo.com/photos/german.jpg">
  236. <strong>Lorem ipsum dolor sit amet</strong>
  237. <small>... consectetur adipisicing elit.</small>
  238. </li>
  239. <li class="thumb" data-image="http://cdn.tapquo.com/photos/cata.jpg">
  240. <strong>Lorem ipsum dolor sit amet</strong>
  241. <small>... consectetur adipisicing elit.</small>
  242. </li>
  243. <li class="thumb" data-image="http://cdn.tapquo.com/photos/oihane.jpg">
  244. <strong>Lorem ipsum dolor sit amet</strong>
  245. <small>... consectetur adipisicing elit.</small>
  246. </li>
  247. <li class="thumb" data-image="http://cdn.tapquo.com/photos/aritz.jpg">
  248. <strong>Lorem ipsum dolor sit amet</strong>
  249. <small>... consectetur adipisicing elit.</small>
  250. </li>
  251. </ul>
  252. </article>
  253. <article id="sub">
  254. sub
  255. </article>
  256. <!--
  257. <article id="products" class="list scroll">
  258. <ul>
  259. <li class="selectable" data-image="http://cdn.tapquo.com/lungo/icon-144.png">
  260. <a href="#" data-view-section="quojs">
  261. <strong>QuoJS</strong>
  262. <small>Micro Mobile JavaScript Library</small>
  263. </a>
  264. </li>
  265. <li data-image="http://cdn.tapquo.com/lungo/icon-144.png" data-view-section="list" data-async="app/sections/list.html">
  266. <strong>TukTuk</strong>
  267. <small>Lorem ipsum dolor sit amet</small>
  268. </li>
  269. <li data-image="http://cdn.tapquo.com/lungo/icon-144.png">
  270. <strong>Monocle</strong>
  271. <small>Lorem ipsum dolor sit amet</small>
  272. </li>
  273. <li data-image="http://cdn.tapquo.com/lungo/icon-144.png">
  274. <strong>LungoJS</strong>
  275. <small>Lorem ipsum dolor sit amet</small>
  276. </li>
  277. </ul>
  278. </article>
  279. -->
  280. <footer>
  281. <nav>
  282. <a href="#" data-view-article="folks" data-icon="desktop" data-count="11"></a>
  283. <a href="#" data-view-article="products" data-icon="tablet" data-count="5"></a>
  284. </nav>
  285. </footer>
  286. </section>
  287. <section id="test">
  288. <header data-title="Test" data-back="home"></header>
  289. <article></article>
  290. </section>
  291. <section id='folk' data-transition="slide" data-aside="features" data-children="x">
  292. <header data-title='Javi Jimenez'>
  293. <nav>
  294. <a href="#" data-view-section="back" data-label="Back" class="button"></a>
  295. </nav>
  296. </header>
  297. <article id='f1' class='active list scroll'>
  298. <ul>
  299. <li>
  300. <strong>lorem</strong>
  301. </li>
  302. <li>
  303. <strong>lorem</strong>
  304. </li>
  305. <li>
  306. <strong>lorem</strong>
  307. </li>
  308. <li>
  309. <strong>lorem</strong>
  310. </li>
  311. <li>
  312. <strong>lorem</strong>
  313. </li>
  314. <li>
  315. <strong>lorem</strong>
  316. </li>
  317. <li>
  318. <strong>lorem</strong>
  319. </li>
  320. <li>
  321. <strong>lorem</strong>
  322. </li>
  323. <li>
  324. <strong>lorem</strong>
  325. </li>
  326. <li>
  327. <strong>lorem</strong>
  328. </li>
  329. <li>
  330. <strong>lorem</strong>
  331. </li>
  332. <li>
  333. <strong>lorem</strong>
  334. </li>
  335. <li>
  336. <strong>lorem</strong>
  337. </li>
  338. <li>
  339. <strong>lorem</strong>
  340. </li>
  341. <li>
  342. <strong>lorem</strong>
  343. </li>
  344. </ul>
  345. </article>
  346. </section>
  347. <section id='quojs' data-transition="slide" data-aside="features2">
  348. <header data-title='QuoJS'>
  349. <nav>
  350. <a href="#" data-view-section="back" data-label="Back" class="button"></a>
  351. </nav>
  352. </header>
  353. <article id='q1' class='active'></article>
  354. </section>
  355. <aside id="features" >
  356. <header data-title="Features">
  357. <nav class="right">
  358. <a href="#" class="buttons" data-icon="settings"></a>
  359. </nav>
  360. </header>
  361. <article class="list scroll active">
  362. <ul>
  363. <!-- Basic Layout -->
  364. <li data-view-article="folks" data-title="Profile" data-icon="user">
  365. <a href="#">
  366. <div class="tag right">11</div>
  367. <strong>Folks</strong>
  368. <small>Discover our team!</small>
  369. </a>
  370. </li>
  371. <li data-view-article="products" data-title="Third Parties" data-async="app/articles/products.html">
  372. <div class="tag right">5</div>
  373. <strong>Products</strong>
  374. <small>Fueled by coffee</small>
  375. </li>
  376. <li data-view-section="test" data-icon="desktop">
  377. <strong>Section TEST</strong>
  378. </li>
  379. <li data-view-section="folk" data-view-article="f1" data-icon="desktop">
  380. <div class="tag right">5</div>
  381. <strong>Folk F1</strong>
  382. <small>Fueled by coffee</small>
  383. </li>
  384. </ul>
  385. </article>
  386. </aside>
  387. <aside id="features2" class="right">
  388. <header data-title="Features 2"></header>
  389. <article class="list scroll active">
  390. <ul>
  391. <!-- Basic Layout -->
  392. <li class="active">
  393. <a href="#layout-art1" data-router="article" data-title="Profile" class="active">
  394. <strong>Profile</strong></a>
  395. </li>
  396. </ul>
  397. </article>
  398. </aside>
  399. <!-- Lungo dependencies -->
  400. <script src="components/quojs/quo.js"></script>
  401. <script src="components/lungo.brownie/lungo.js"></script>
  402. <!-- LungoJS - Sandbox App -->
  403. <script>
  404. Lungo.init({
  405. name: 'Flexbox',
  406. version: '2.2',
  407. history: false
  408. //,
  409. // resources: ['app/sections/list.html']
  410. });
  411. Lungo.ready(function() {
  412. // Lungo.Router.article("main", "sub");
  413. Lungo.Element.count("section#main nav #products", 5);
  414. });
  415. // Lungo.Notification.show("hola", "user");
  416. // Lungo.Notification.show();
  417. // Lungo.Notification.success('Title', 'Description', 'message', 2);
  418. // Lungo.Notification.confirm({
  419. // icon: 'user',
  420. // title: 'Lorem ipsum dolor sit amet, consectetur adipisicing.',
  421. // description: 'Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nemo amet nulla dolorum hic eum debitis dolorem expedita? Commodi molestiae tempora totam explicabo sed deserunt cum iusto eos perspiciatis ea in.',
  422. // accept: {
  423. // icon: 'checkmark',
  424. // label: 'Accept',
  425. // callback: function(){ alert("Yes!"); }
  426. // },
  427. // cancel: {
  428. // icon: 'close',
  429. // label: 'Cancel',
  430. // callback: function(){ alert("No!"); }
  431. // }
  432. // });
  433. </script>
  434. </body>
  435. </html>