index.html 18 KB

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