Advertisement
Guest User

Untitled

a guest
Mar 20th, 2018
432
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.60 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="nl">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width">
  6. <link rel="stylesheet" href="http://fonts.googleapis.com/icon?family=Material+Icons"/>
  7. <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.100.2/css/materialize.min.css"/>
  8. <title>Rocket League Stats</title>
  9. <style>
  10. .spa { display: none; }
  11. #tabDevice { display: block; }
  12. {
  13.  
  14. }
  15. body{
  16. background-image: url("assets/bg.jpg");
  17. background-repeat: no-repeat;
  18. background-size: auto;
  19.  
  20. color: white;
  21. }
  22. .logo{
  23. width: 100%;
  24. }
  25. p{
  26. text-shadow: -2px -2px 25px rgba(0, 0, 0, 1);
  27. }
  28. .titel {
  29. color: white;
  30. font-size: 29px;
  31. font-family: "Libre Baskerville", sans-serif;
  32. line-height: 45px;
  33. text-align: center;
  34. text-shadow: -2px -2px 25px rgba(0, 0, 0, 1);
  35. padding-top: 20px; }
  36. .kleur{
  37. background-color: #0081D5;
  38. }
  39. td, th {
  40. border: 1px solid #ddd;
  41. text-align: left;
  42. }
  43. table {
  44. background-color: rgba(0, 0, 0, 0.3);
  45. border: 1px solid #ddd;
  46. text-align: left;
  47. padding-top: 20px;
  48. border-collapse: collapse;
  49. width: 100%;
  50. }
  51.  
  52. th, td {
  53. padding: 15px;
  54. }
  55. </style>
  56. <script type="text/javascript">
  57.  
  58. document.addEventListener("deviceready", function() {
  59. // Define a div tag with id="map_canvas"
  60. var mapDiv = document.getElementById("map_canvas");
  61.  
  62. // Initialize the map plugin
  63. var map = plugin.google.maps.Map.getMap(mapDiv);
  64.  
  65. map.getMyLocation(function(location) {
  66. var msg = ["Current your location:\n",
  67. "latitude:" + location.latLng.lat,
  68. "longitude:" + location.latLng.lng,
  69. "speed:" + location.speed,
  70. "time:" + location.time,
  71. "bearing:" + location.bearing].join("\n");
  72.  
  73. map.addMarker({
  74. 'position': location.latLng,
  75. 'title': msg
  76. }, function(marker) {
  77. marker.showInfoWindow();
  78. });
  79. });
  80.  
  81. // You have to wait the MAP_READY event.
  82. map.on(plugin.google.maps.event.MAP_READY, onMapInit);
  83. });
  84.  
  85. function onMapInit(map) {
  86. }
  87. </script>
  88. </head>
  89. <body>
  90. <!-- Fixed navbar -->
  91. <div class="navbar-fixed">
  92. <nav class="kleur ">
  93. <div class="nav-wrapper container"><a href="#!" class="brand-logo center">RL Stats</a>
  94. <a href="#!" data-activates="nav-mobile" class="button-collapse show-on-large"><i class="material-icons">menu</i></a>
  95. </div>
  96. </nav>
  97. </div>
  98. <!-- Fixed sideNav -->
  99. <ul id="nav-mobile" class="side-nav">
  100. <li><a href="#!" data-show="tabHome"><i class="material-icons">home</i>Home</a></li>
  101. <li>
  102. <div class="divider"></div>
  103. </li>
  104. <li><a href="#!" data-show="tabStats"><i class="material-icons">timeline</i>Stats</a></li>
  105. <li>
  106. <div class="divider"></div>
  107. </li>
  108. <li><a href="#!" data-show="tabMedia"><i class="material-icons">update</i>Media</a></li>
  109. <li>
  110. <div class="divider"></div>
  111. </li>
  112. <li><a href="#!" data-show="tabInfo"><i class="material-icons">visibility</i>Info</a></li>
  113.  
  114. </ul>
  115. <!-- Grid -->
  116. <div class="container">
  117. <div class="row home" id="tabHome">
  118. <div class="col s12">
  119. <h4><i class="material-icons">home</i> Home</h4>
  120. <p class="titel">Rocket League Stats</p>
  121. <p><img class="logo" src="assets/rllogo.png"/></p>
  122. </div>
  123. </div>
  124. <div class="row spa" id="tabStats">
  125. <div class="col s12">
  126. <h4><i class="material-icons">timeline</i> Stats</h4>
  127. <h5 id="Stats"></h5>
  128. <p class="titel">Personal statistics</p>
  129.  
  130. </div>
  131. </div>
  132. <div class="row spa" id="tabMedia">
  133. <div class="col s12">
  134. <h4><i class="material-icons">update</i> Media</h4>
  135. <p class="titel">Highlighted video:</p>
  136. <iframe width="100%" height="100%" src="https://www.youtube.com/embed/RpYhslQz2l4"> </iframe>
  137. <p>Highlighted picture:</p>
  138. <img class="logo" src="https://images4.alphacoders.com/860/thumb-1920-860666.jpg"/>
  139. </div>
  140. </div>
  141. <div class="row spa" id="tabInfo">
  142. <div class="col s12">
  143. <h4><i class="material-icons">visibility</i> Info</h4>
  144. <p class="titel">Info about the application:</p>
  145. <table>
  146. <tr>
  147. <th>Naam</th>
  148. <th>Thomas Vansprengel</th>
  149. </tr>
  150. <tr>
  151. <td>E-mail</td>
  152. <td>vansprengelthomas@gmail.com</td>
  153. </tr>
  154. <tr>
  155. <td>GSM-Nummer</td>
  156. <td><a href="tel:0493688482">0493688482</a></td>
  157. </tr>
  158. </table>
  159. <p>My home:</p>
  160. <div style="width:100%;height:400px" id="map_canvas"></div>
  161. </div>
  162. </div>
  163. </div>
  164.  
  165. <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
  166. <script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.100.2/js/materialize.min.js"></script>
  167. <script src="cordova.js"></script>
  168. <script src="js/device.js"></script>
  169. <script src="js/network.js"></script>
  170. <script src="js/compass.js"></script>
  171. <script defer src="js/app.js"></script>
  172. </body>
  173. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement