calendar.html 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. <!doctype html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <title>Brownie calendar</title>
  6. <meta name="description" content="">
  7. <meta name="author" content="Javier Jiménez Villar (@soyjavi)">
  8. <meta name="HandheldFriendly" content="True">
  9. <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
  10. <meta name="apple-mobile-web-app-capable" content="yes">
  11. <meta name="apple-mobile-web-app-status-bar-style" content="black">
  12. <meta name="format-detection" content="telephone=no">
  13. <meta http-equiv="cleartype" content="on">
  14. <!-- iPhone -->
  15. <link href="http://cdn.tapquo.com/lungo/icon-57.png" sizes="57x57" rel="apple-touch-icon">
  16. <link href="http://cdn.tapquo.com/lungo/startup-image-320x460.png" media="(device-width: 320px) and (device-height: 480px)
  17. and (-webkit-device-pixel-ratio: 1)" rel="apple-touch-startup-image">
  18. <!-- iPhone (Retina) -->
  19. <link href="http://cdn.tapquo.com/lungo/icon-114.png" sizes="114x114" rel="apple-touch-icon">
  20. <link href="http://cdn.tapquo.com/lungo/startup-image-640x920.png" media="(device-width: 320px) and (device-height: 480px)
  21. and (-webkit-device-pixel-ratio: 2)" rel="apple-touch-startup-image">
  22. <!-- iPhone 5 -->
  23. <link href="http://cdn.tapquo.com/lungo/startup-image-640x1096.png" media="(device-width: 320px) and (device-height: 568px)
  24. and (-webkit-device-pixel-ratio: 2)" rel="apple-touch-startup-image">
  25. <!-- iPad -->
  26. <link href="http://cdn.tapquo.com/lungo/icon-72.png" sizes="72x72" rel="apple-touch-icon">
  27. <link href="http://cdn.tapquo.com/lungo/startup-image-768x1004.png" media="(device-width: 768px) and (device-height: 1024px)
  28. and (orientation: portrait)
  29. and (-webkit-device-pixel-ratio: 1)" rel="apple-touch-startup-image">
  30. <link href="http://cdn.tapquo.com/lungo/startup-image-748x1024.png" media="(device-width: 768px) and (device-height: 1024px)
  31. and (orientation: landscape)
  32. and (-webkit-device-pixel-ratio: 1)" rel="apple-touch-startup-image">
  33. <!-- iPad (Retina) -->
  34. <link href="http://cdn.tapquo.com/lungo/icon-144.png" sizes="144x144" rel="apple-touch-icon">
  35. <link href="http://cdn.tapquo.com/lungo/startup-image-1536x2008.png" media="(device-width: 768px) and (device-height: 1024px)
  36. and (orientation: portrait)
  37. and (-webkit-device-pixel-ratio: 2)" rel="apple-touch-startup-image">
  38. <link href="http://cdn.tapquo.com/lungo/startup-image-1496x2048.png" media="(device-width: 768px) and (device-height: 1024px)
  39. and (orientation: landscape)
  40. and (-webkit-device-pixel-ratio: 2)" rel="apple-touch-startup-image">
  41. <!-- Main Stylesheet -->
  42. <link rel="stylesheet" href="components/lungo.brownie/lungo.css">
  43. <link rel="stylesheet" href="components/lungo.brownie/lungo.theme.css" id="theme-stylesheet">
  44. <link rel="stylesheet" href="components/lungo.icon/lungo.icon.css">
  45. <!-- App Stylesheet -->
  46. <link rel="stylesheet" href="static/stylesheets/app.css">
  47. <link rel="stylesheet" href="../packages/lungo.calendar/lungo.calendar.css" />
  48. </head>
  49. <body>
  50. <section id="main" data-transition="" data-aside="features" class="drag">
  51. <header>
  52. <img src="static/images/logo.png" class="title centered">
  53. </header>
  54. <article id="main-article" class="list indented scroll">
  55. <button class="small">show!</button>
  56. <br />
  57. <br />
  58. <input data-type="calendar" value="" />
  59. <input data-type="calendar" value="2000-02-20" />
  60. <input data-type="calendar" value="2200-12-31" />
  61. <input data-type="calendar" value="2150-12-31" />
  62. <input data-type="calendar" value="2140-12-31" />
  63. <input data-type="calendar" value="2130-12-31" />
  64. <input data-type="calendar" value="2120-12-31" />
  65. <input data-type="calendar" value="2110-12-31" />
  66. <input data-type="calendar" value="" />
  67. <input data-type="calendar" value="2000-02-20" />
  68. <input data-type="calendar" value="2200-12-31" />
  69. <input data-type="calendar" value="2150-12-31" />
  70. <input data-type="calendar" value="2140-12-31" />
  71. <input data-type="calendar" value="2130-12-31" />
  72. <input data-type="calendar" value="2120-12-31" />
  73. <input data-type="calendar" value="2110-12-31" />
  74. <input data-type="calendar" value="" />
  75. <input data-type="calendar" value="2000-02-20" />
  76. <input data-type="calendar" value="2200-12-31" />
  77. <input data-type="calendar" value="2150-12-31" />
  78. <input data-type="calendar" value="2140-12-31" />
  79. <input data-type="calendar" value="2130-12-31" />
  80. <input data-type="calendar" value="2120-12-31" />
  81. <input data-type="calendar" value="2110-12-31" />
  82. </article>
  83. </section>
  84. <script src="components/quojs/quo.js"></script>
  85. <script src="components/lungo.brownie/lungo.debug.js"></script>
  86. <script src="../packages/lungo.calendar/lungo.calendar.js"></script>
  87. <script>
  88. Lungo.init({
  89. name: "Calendar test",
  90. version: "1.0",
  91. history: false
  92. });
  93. $$(function() {
  94. $$("button").bind("tap", function() {
  95. Lungo.Sugar.Calendar.show("2012-01-01", function(date) {
  96. alert(date);
  97. // Lungo.Sugar.Calendar.hide();
  98. });
  99. });
  100. });
  101. </script>
  102. </body>
  103. </html>