index.html 15 KB

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