index.html 14 KB

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