index.html 14 KB

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