/resources/src/main/webapp/index.html

https://github.com/GunioRobot/wcm-mobile-demo · HTML · 138 lines · 97 code · 24 blank · 17 comment · 0 complexity · 19d387a7380d7c125cc4c128cac501f3 MD5 · raw file

  1. <!doctype html>
  2. <html manifest="demo.manifest">
  3. <head>
  4. <meta charset="UTF-8" />
  5. <meta http-equiv="content-script-type" content="text/javascript">
  6. <meta name="apple-mobile-web-app-capable" content="yes" />
  7. <title>WCM News Reader</title>
  8. <style type="text/css" media="screen">@import "/mobile/jqtouch/jqtouch.min.css";</style>
  9. <style type="text/css" media="screen">@import "/mobile/skin/exomobile.css";</style>
  10. <link rel="apple-touch-icon" href="skin/img/exo.png" />
  11. <<<<<<< HEAD
  12. <script src="/mobile/jqtouch/jquery.1.4.2.min.js" type="text/javascript" charset="utf-8"></script>
  13. <script src="/mobile/jqtouch/jqtouch.min.js" type="application/x-javascript" charset="utf-8"> </script>
  14. <script src ="/mobile/js/dataService.js" type="text/javascript" charset="utf-8"></script>
  15. <script src ="/mobile/js/template.js" type="text/javascript" charset="utf-8"></script>
  16. <script src ="/mobile/js/mobileUI.js" type="text/javascript" charset="utf-8"></script>
  17. <!-- Template for category list element -->
  18. <script type="text/html" id="category_li_template">
  19. <li class="forward">
  20. <a class="category_li" href="#<%=parentPath+'_'+name.replace(/ /g, '-')%>"><%=name %></a>
  21. </li>
  22. </script>
  23. =======
  24. <link rel="apple-touch-icon" href="skin/img/exo.png" />
  25. <script src="/mobile/jqtouch/jquery.1.4.2.min.js" type="text/javascript" charset="utf-8"></script>
  26. <script src="/mobile/jqtouch/jqtouch.min.js" type="application/x-javascript" charset="utf-8"></script>
  27. <script src ="/mobile/js/dataService.js" type="text/javascript" charset="utf-8"></script>
  28. <script src ="/mobile/js/template.js" type="text/javascript" charset="utf-8"></script>
  29. <script src ="/mobile/js/mobileUI.js" type="text/javascript" charset="utf-8"></script>
  30. <!-- Template for category list element -->
  31. <script type="text/html" id="category_li_template">
  32. <li class="forward"><a class="category_li" href="#<%=parentPath+'_'+name%>"><%=name%></a></li>
  33. </script>
  34. <!-- Template for a category menu -->
  35. >>>>>>> 7b653f0b28fe86c6f6e85c2c0309a8833d5110d4
  36. <!-- Template for a category menu -->
  37. <script type="text/html" id="category_menu_template">
  38. <div class="category" id="<%=parentPath+'_'+name.replace(/ /g, '-')%>">
  39. <div class="toolbar">
  40. <h1><%=name %></h1>
  41. <a class="back" href="#">Back</a>
  42. </div>
  43. <ul class="rounded">
  44. </ul>
  45. </div>
  46. </script>
  47. <!-- Template for an article list element -->
  48. <script type="text/html" id="article_li_template">
  49. <li class="arrow">
  50. <a class="article_li" href="#<%=parentPath+'_'+name.replace(/ /g, '-')%>"><%=name %></a>
  51. </li>
  52. </script>
  53. <!-- Template for displaying an article -->
  54. <script type="text/html" id="article_menu_template">
  55. <div class="article" id="<%=parentPath+'_'+name.replace(/ /g, '-')%>">
  56. <div class="toolbar">
  57. <h1><%=name %></h1>
  58. <a class="back" href="#">Back</a>
  59. </div>
  60. <div class="article_content">
  61. <h3><%=name %></h3>
  62. </div>
  63. </div>
  64. </script>
  65. </head>
  66. <body>
  67. <!-- ABOUT BUTTON -->
  68. <div id="about" class="selectable">
  69. <!-- TODO <p><img src="eXo.png" /></p> -->
  70. <p>
  71. <strong>eXo Mobile news reader</strong>
  72. <br/>
  73. Version 0.1
  74. <br/>
  75. <a href="http://www.exoplatform.com">By Mark Downey</a>
  76. </p>
  77. <p>
  78. <a href="http://twitter.com/exoplatform" target="_blank">www.exoplatform.com</a>
  79. </p>
  80. <p>
  81. Change taxonomy tree: <br />
  82. <input placeholder="Taxonomy tree" type="text" name="taxonomy" id="taxonomyInput" /><br />
  83. <a class="grayButton" id="taxonomyButton">Submit</a>
  84. </p>
  85. <p>
  86. <br/>
  87. <br/>
  88. <a href="#" class="grayButton goback">Close</a>
  89. </p>
  90. </div>
  91. <!-- HOME PAGE-->
  92. <div id="home" class="current">
  93. <div class="toolbar">
  94. <h1 id="title"></h1>
  95. <a class="button slideup" id="infoButton" href="#about">About</a>
  96. </div>
  97. <ul class="rounded">
  98. <!-- root categories injected here -->
  99. </ul>
  100. <!--
  101. <h2>External Links</h2>
  102. <ul class="rounded">
  103. <li class="forward"><a href="http://www.exoplatform.com/" target="_blank">eXo Website</a></li>
  104. <li class="forward"><a href="http://www.twitter.com/exoplatform" target="_blank">eXo on Twitter</a></li>
  105. </ul>
  106. -->
  107. <div class="info">
  108. <p>
  109. Add this page to your home screen to view the custom icon, startup screen, and full screen mode.
  110. </p>
  111. </div>
  112. </div>
  113. </body>
  114. </html>