index.html 16 KB

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