Advertisement
Guest User

Untitled

a guest
Jan 29th, 2019
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.58 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="viewport" content="width=device-width, initial-scale=1">
  7. <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
  8. <title>Decentralized Health Care </title>
  9.  
  10. <!-- Bootstrap -->
  11. <link href="css/bootstrap.min.css" rel="stylesheet">
  12.  
  13. <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
  14. <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
  15. <!--[if lt IE 9]>
  16. <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
  17. <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
  18. <![endif]-->
  19. </head>
  20. <body>
  21. <div class="container" style="width: 650px;">
  22. <div class="row">
  23. <div class="col-lg-12">
  24. <h2>Add Patient</h2>
  25. <form action="" onsubmit="addpatient();return false;">
  26. <div class="form-group">
  27. <label for="email">Name:</label>
  28. <input type="text" class="form-control" id="name">
  29. </div>
  30. <div class="form-group">
  31. <label for="pwd">Date of birth:</label>
  32. <input type="date" class="form-control" id="dob">
  33. </div>
  34.  
  35. <div class="form-group">
  36. <label for="email">Phone:</label>
  37. <input type="text" class="form-control" id="phone">
  38. </div>
  39.  
  40. <div class="form-group">
  41. <label for="pwd">Location:</label>
  42. <input type="text" class="form-control" id="gender">
  43. </div>
  44. <div class="form-group">
  45. <label for="sel1">Select Gender:</label>
  46. <select class="form-control" id="gender">
  47. <option value="male">Male</option>
  48. <option value="female">Female</option>
  49.  
  50. </select>
  51. </div>
  52.  
  53.  
  54. <button type="submit" class="btn btn-default">Submit</button>
  55. </form>
  56.  
  57. </div>
  58. </div>
  59.  
  60. <div class="row">
  61. <div class="col-lg-12">
  62. <h2>Patient List</h2>
  63. <table class="table table-bordered">
  64. <thead>
  65. <tr>
  66. <th>Id</th>
  67. <th>Name</th>
  68. <th>Dob</th>
  69. <th>Phone</th>
  70. <th>Gender</th>
  71. <th>Location</th>
  72. </tr>
  73. </thead>
  74. <tbody>
  75. <tr>
  76. <td>John</td>
  77. <td>Doe</td>
  78. <td>john@example.com</td>
  79. <td>John</td>
  80. <td>Doe</td>
  81. <td>john@example.com</td>
  82. </tr>
  83. <tr>
  84. <td>Mary</td>
  85. <td>Moe</td>
  86. <td>mary@example.com</td>
  87. <td>John</td>
  88. <td>Doe</td>
  89. <td>john@example.com</td>
  90. </tr>
  91. <tr>
  92. <td>July</td>
  93. <td>Dooley</td>
  94. <td>july@example.com</td>
  95. <td>John</td>
  96. <td>Doe</td>
  97. <td>john@example.com</td>
  98. </tr>
  99. </tbody>
  100. </table>
  101.  
  102. </div>
  103. </div>
  104. </div>
  105.  
  106. <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
  107. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
  108. <!-- Include all compiled plugins (below), or include individual files as needed -->
  109. <script src="js/bootstrap.min.js"></script>
  110. <script src="js/web3.min.js"></script>
  111. <script src="js/truffle-contract.js"></script>
  112. <script src="js/app.js"></script>
  113. </body>
  114. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement