index.html 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312
  1. <!doctype html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <title>LungoJS 2.0 - Test</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 name="viewport" content="width=device-width, user-scalable=no">
  12. <meta name="apple-mobile-web-app-capable" content="yes">
  13. <meta name="apple-mobile-web-app-status-bar-style" content="black">
  14. <meta name="format-detection" content="telephone=no">
  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. <meta http-equiv="cleartype" content="on">
  21. <!-- Main Stylesheet -->
  22. <link rel="stylesheet" href="../../src/stylesheets/css/Lungo.base.css">
  23. <link rel="stylesheet" href="../../src/stylesheets/css/Lungo.layout.css">
  24. <link rel="stylesheet" href="../../src/stylesheets/css/Lungo.layout.nav.css">
  25. <link rel="stylesheet" href="../../src/stylesheets/css/Lungo.layout.aside.css">
  26. <link rel="stylesheet" href="../../src/stylesheets/css/Lungo.layout.article.css">
  27. <link rel="stylesheet" href="../../src/stylesheets/css/Lungo.layout.list.css">
  28. <link rel="stylesheet" href="../../src/stylesheets/css/Lungo.widgets.css">
  29. <link rel="stylesheet" href="../../src/stylesheets/css/Lungo.widgets.splash.css">
  30. <link rel="stylesheet" href="../../src/stylesheets/css/Lungo.widgets.button.css">
  31. <link rel="stylesheet" href="../../src/stylesheets/css/Lungo.widgets.form.css">
  32. <link rel="stylesheet" href="../../src/stylesheets/css/Lungo.widgets.colour.css">
  33. <link rel="stylesheet" href="../../src/stylesheets/css/Lungo.widgets.icon.css">
  34. <link rel="stylesheet" href="../../src/stylesheets/css/Lungo.widgets.loading.css">
  35. <link rel="stylesheet" href="../../src/stylesheets/css/Lungo.theme.default.css">
  36. <!-- App Stylesheet -->
  37. <link rel="stylesheet" href="assets/stylesheets/app.css">
  38. </head>
  39. <body class="app">
  40. <section id="test-1" class="pop">
  41. <header class="extended">
  42. <nav class="onleft">
  43. <a href="#kitchen-sink-scroll" data-target="aside" data-icon="user"></a>
  44. <a href="#kitchen-sink-scroll" data-article="nav-2" data-target="aside" data-icon="heart" data-count="8"></a>
  45. </nav>
  46. <div class="onleft">
  47. <span class="title with-subtitle">Javi Jiménez Villar</span>
  48. <span class="subtitle">@soyjavi</span>
  49. </div>
  50. <nav class="onright">
  51. <a href="#profiles" data-target="aside" class="autohide" data-icon="group"></a>
  52. </nav>
  53. </header>
  54. <nav class="groupbar">
  55. <a href="#nav-1" data-target="article" class="current" data-icon="clock">&nbsp;Lists</a>
  56. <a href="#nav-2" data-target="article" data-icon="calendar">&nbsp;Form</a>
  57. </nav>
  58. <footer class="toolbar with-labels">
  59. <nav>
  60. <a href="#nav-1" data-target="article" data-title="d" data-icon="phone" class="current" data-label="boxes" data-count="1"></a>
  61. <a href="#nav-2" data-target="article" data-title="b" data-icon="calendar" data-count="12" data-label="Form"></a>
  62. <a href="#nav-3" data-target="article" data-title="c" data-icon="mail" data-label="Emails" data-count="123"></a>
  63. <a href="#nav-4" data-target="article" data-title="lists" data-icon="clock" data-label="lists"></a>
  64. </nav>
  65. </footer>
  66. <!--
  67. <footer class="toolbar">
  68. <nav>
  69. <a href="#nav-1" data-target="article" class="current" data-icon="clock"></a>
  70. <a href="#nav-2" data-target="article" data-icon="calendar" data-count="17"></a>
  71. <a href="#a" data-target="article" data-icon="mail" data-count="124"></a>
  72. <a href="#a" data-target="article" data-icon="phone" data-count="12"></a>
  73. </nav>
  74. </footer>
  75. -->
  76. <article id="nav-2" class="list indented scroll">
  77. <ul class="form">
  78. <li data-loading="black big"></li>
  79. <li id="loading-code" style="background-color: grey;"></li>
  80. <li class="padding">
  81. <label>type="text"</label>
  82. <input type="text" placeholder="Input text"/>
  83. <textarea placeholder="Textarea sample"></textarea>
  84. <label class="select">
  85. <select class="custom">
  86. <option value="1">One</option>
  87. <option value="2">Two</option>
  88. <option value="3">Three</option>
  89. </select>
  90. </label>
  91. </li>
  92. <li class="padding">
  93. <label class="radio"><input type="radio" name="group-0" id="radio-0" checked="checked"/></label>
  94. <label class="radio"><input type="radio" name="group-0" id="radio-1"/></label>
  95. <label class="radio"><input type="radio" name="group-0" id="radio-2"/></label>
  96. </li>
  97. <li class="padding">
  98. <label class="-pop">Do you like LungoJS forms?</label>
  99. <label class="checkbox onright"><input type="checkbox" id="checkbox-0" checked/></label>
  100. </li>
  101. <li class="padding">
  102. <div id="progress-normal" data-progress="25%"></div>
  103. <div id="progress-big" data-progress="50%" class="big"></div>
  104. <label>type="range"</label>
  105. <input type="range">
  106. </li>
  107. </ul>
  108. <ul>
  109. <li class="tip theme">Examples of tips</li>
  110. <li class="tip" data-icon="home small">Lorem Ipsum is simply dummy text...</li>
  111. <li class="tip dark" data-icon="home small">Lorem Ipsum is simply dummy text...</li>
  112. <li class="tip" data-icon="home">Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's...</li>
  113. <li class="tip dark" data-icon="home">Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's...</li>
  114. <li class="tip dark" data-icon="question small">It's a special form element you must set the label with class "select"</li>
  115. </ul>
  116. </article>
  117. <article id="nav-1" class="lisst">
  118. <div id = "prueba" class="box middle list " style="background: url(http://placehold.it/320x200);">
  119. </div>
  120. <div class="box quarter grey">
  121. <div class="lisst box two-thirds">
  122. <div class="wrapper">
  123. <div class="onright" data-icon="calendar">June 9, 2012</div>
  124. <strong>LungoJS.2 Application</strong>
  125. <small>by Javi Jimenez <div class="bubble grey">PRO</div></small>
  126. </div>
  127. </div>
  128. <div class="box third">
  129. <a href="#" class="col quarter">
  130. <div class="wrapper" data-icon="heart">217 Likes</div>
  131. </a>
  132. <a href="#" class="col quarter">
  133. <div class="wrapper" data-icon="pushpin">4 Buckets</div>
  134. </a>
  135. <a href="#" class="col middle">
  136. <div class="wrapper" data-icon="picture">389 Views</div>
  137. </a>
  138. </div>
  139. </div>
  140. <div class="box quarter white list scroll">
  141. <ul>
  142. <li class=" selectable" >
  143. <a href="#" data-image="http://placehold.it/32x32">
  144. <div class="onright" data-icon="calendar">2 days ago</div>
  145. <strong>List: .selectable</strong>
  146. <small>a: data-image</small>
  147. </a>
  148. </li>
  149. <li class=" selectable" >
  150. <a href="#" data-image="http://placehold.it/32x32">
  151. <div class="onright" data-icon="calendar">2 days ago</div>
  152. <strong>List: .selectable</strong>
  153. <small>a: data-image</small>
  154. </a>
  155. </li>
  156. <li class=" selectable" >
  157. <a href="#" data-image="http://placehold.it/32x32">
  158. <div class="onright" data-icon="calendar">2 days ago</div>
  159. <strong>List: .selectable</strong>
  160. <small>a: data-image</small>
  161. </a>
  162. </li>
  163. </ul>
  164. </div>
  165. </article>
  166. <article id="nav-4" class="list scroll">
  167. <ul>
  168. <li>
  169. <a href="#" >
  170. <strong>List: none</strong>
  171. <small>a: none</small>
  172. </a>
  173. </li>
  174. <li class=" selectable" >
  175. <a href="#" data-image="http://placehold.it/32x32">
  176. <div class="onright" data-icon="calendar">2 days ago</div>
  177. <strong>List: .selectable</strong>
  178. <small>a: data-image</small>
  179. </a>
  180. </li>
  181. <li class="arrow thumb">
  182. <a href="#" data-image="http://placehold.it/48x48">
  183. <strong>List: .arrow .thumb </strong>
  184. <small>a: data-image</small>
  185. </a>
  186. </li>
  187. <li class="red">
  188. <a href="#" data-icon="home">
  189. <div class="bubble red onright"><span class="icon pushpin"></span>125m</div>
  190. <strong>List: .red</strong>
  191. <small data-icon="home">a: data-icon & .bubble</small>
  192. </a>
  193. </li>
  194. <li class="padding" data-icon="user">
  195. <strong>List: .padding & data-icon</strong>
  196. <small><span class="icon home"></span>a: undefined</small>
  197. </li>
  198. <li class="padding">
  199. <input type="text" placeholder="Input text"/>
  200. <textarea placeholder="Textarea sample"></textarea>
  201. <label class="select">
  202. <select class="custom">
  203. <option value="1">One</option>
  204. <option value="2">Two</option>
  205. <option value="3">Three</option>
  206. </select>
  207. </label>
  208. </li>
  209. </ul>
  210. </article>
  211. <article id="nav-3" class="list indented">
  212. <div>
  213. <a href="#test-2" data-target="section" class="button big" data-icon="check">Test 2</a>
  214. <a href="#test-2" class="button big red " data-icon="check">Test 2</a>
  215. <a href="#test-2" class="button big green" data-icon="check">Test 2</a>
  216. </div>
  217. </article>
  218. </section>
  219. <section id="test-2" class="pop">
  220. <header data-title="Auto title centered">
  221. <nav class="onleft">
  222. <a href="#back" data-target="section" class="cancel" data-icon="close" data-label="CANCEL"></a>
  223. </nav>
  224. <nav class="onright ">
  225. <a href="#" class="accept" data-icon="check" data-label="ACCEPT"></a>
  226. </nav>
  227. </header>
  228. <article>
  229. None
  230. </article>
  231. </section>
  232. <!-- Third parties dependencies -->
  233. <script src="../../src/lib/QuoJS.js"></script>
  234. <!-- LungoJS Libraries (Development mode)-->
  235. <script src="../../src/Lungo.js"></script>
  236. <script src="../../src/Lungo.App.js" ></script>
  237. <script src="../../src/Lungo.Core.js"></script>
  238. <script src="../../src/Lungo.Dom.js"></script>
  239. <script src="../../src/Lungo.Service.js"></script>
  240. <script src="../../src/Lungo.Constants.js"></script>
  241. <script src="../../src/Lungo.Element.js"></script>
  242. <script src="../../src/router/Lungo.Router.js"></script>
  243. <script src="../../src/router/Lungo.Router.History.js" ></script>
  244. <script src="../../src/view/Lungo.View.Resize.js"></script>
  245. <script src="../../src/view/Lungo.View.Article.js" ></script>
  246. <script src="../../src/view/Lungo.View.Aside.js" ></script>
  247. <script src="../../src/view/Lungo.View.Element.js"></script>
  248. <script src="../../src/view/Lungo.View.Template.js"></script>
  249. <script src="../../src/view/Lungo.View.Template.Binding.js"></script>
  250. <script src="../../src/view/Lungo.View.Template.List.js"></script>
  251. <script src="../../src/data/Lungo.Data.Cache.js"></script>
  252. <script src="../../src/data/Lungo.Data.Sql.js"></script>
  253. <script src="../../src/data/Lungo.Data.Storage.js"></script>
  254. <script src="../../src/attributes/Lungo.Attributes.Data.js"></script>
  255. <script src="../../src/Lungo.Fallback.js"></script>
  256. <script src="../../src/boot/Lungo.Boot.js"></script>
  257. <script src="../../src/boot/Lungo.Boot.Resources.js" ></script>
  258. <script src="../../src/boot/Lungo.Boot.Stats.js" ></script>
  259. <script src="../../src/boot/Lungo.Boot.Layout.js"></script>
  260. <script src="../../src/boot/Lungo.Boot.Events.js"></script>
  261. <script src="../../src/boot/Lungo.Boot.Data.js"></script>
  262. <script src="../../src/boot/Lungo.Boot.Section.js"></script>
  263. <script src="../../src/boot/Lungo.Boot.Article.js"></script>
  264. <!-- LungoJS - Sandbox App -->
  265. <script src="app/app.js"></script>
  266. <script src="app/events.js"></script>
  267. <script src="app/view.js"></script>
  268. <script src="app/data.js"></script>
  269. <script src="app/services.js"></script>
  270. </body>
  271. </html>