Advertisement
Guest User

Untitled

a guest
Apr 24th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.16 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <head>
  3. <meta name="format-detection" content="telephone=no">
  4. <meta name="msapplication-tap-highlight" content="no">
  5. <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width">
  6. <meta http-equiv="Content-Security-Policy">
  7. <script type="text/javascript" src="cordova.js"></script>
  8. <!-- jQuery -->
  9. <link rel="stylesheet" type="text/css" href="js/jquery-1.5.0.mobile.min.css">
  10. <script type="text/javascript" src="js/jquery-1.11.1.min.js" id="cordova-jquery"></script>
  11. <script type="text/javascript" id="jqm-trans-disable">
  12. /* For having a faster transition */
  13. $(document).on("mobileinit", function() {
  14. $.mobile.defaultPageTransition = "none";
  15. $.mobile.defaultDialogTransition = "none";
  16. });
  17. </script>
  18. <script type="text/javascript" src="js/jquery-1.5.0.mobile.min.js"></script>
  19. <script type="text/javascript" src="js/index.js"></script>
  20. <title>Taxi Sharing</title>
  21. </head>
  22. <body>
  23. <div class="app">
  24. <h1>Taxi Sharing</h1>
  25. <!-- TODO 1(c) Google Map canvas -->
  26. <canvas style="width:90%;height:280px;margin-left:5%;border:1px solid black;" id="map_canvas"></canvas>
  27. <div data-role="controlgroup" data-type="horizontal">
  28. <!-- TODO 1(b)(i)-(v) Input text fields,
  29. OUCU shall have an ID "name",
  30. start time shall have and ID "start",
  31. end time shall have an ID "end",
  32. address shall have and ID "addr" -->
  33. <form>
  34. OUCU:<br>
  35. <input type="text" id="name" placeholder="OUCU"><br>
  36. Start Time:<br>
  37. <input type="text" id="time" placeholder="Start Time"><br>
  38. End Time:<br>
  39. <input type="text" id="time2" placeholder="End Time"><br>
  40. Address:<br>
  41. <input type="text" id="addr" placeholder="Address"><br>
  42. </form>
  43. </div>
  44. <div data-role="controlgroup" data-type="horizontal">
  45. <!-- TODO 1(b)(i)-(v) Function buttons:
  46. (i) register (ii) volunteer (iii) request (iv) cancel (v) start / stop
  47. -->
  48. <form>
  49. <button type="button" id="register" onclick="app.taxiShare.register()">Register</button>
  50. <button type="button" id="volunteer" onclick="app.taxiShare.volunteer()">Volunteer</button>
  51. <button type="button" id="request" onclick="app.taxiShare.request()">Request</button>
  52. <button type="button" id="cancel" onclick="app.taxiShare.cancel()">Cancel</button>
  53. <button type="button" id="start" onclick="app.taxiShare.start()">Start</button>
  54. <button type="button" id="stop" onclick="app.taxiShare.stop()">Stop</button>
  55. </form>
  56. </div>
  57.  
  58. </div>
  59.  
  60. </body>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement