old_index.html 18 KB

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