index.html 17 KB

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