Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="utf-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
- <title>Decentralized Health Care </title>
- <!-- Bootstrap -->
- <link href="css/bootstrap.min.css" rel="stylesheet">
- <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
- <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
- <!--[if lt IE 9]>
- <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
- <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
- <![endif]-->
- </head>
- <body>
- <div class="container" style="width: 650px;">
- <div class="row">
- <div class="col-lg-12">
- <h2>Add Patient</h2>
- <form action="" onsubmit="addpatient();return false;">
- <div class="form-group">
- <label for="email">Name:</label>
- <input type="text" class="form-control" id="name">
- </div>
- <div class="form-group">
- <label for="pwd">Date of birth:</label>
- <input type="date" class="form-control" id="dob">
- </div>
- <div class="form-group">
- <label for="email">Phone:</label>
- <input type="text" class="form-control" id="phone">
- </div>
- <div class="form-group">
- <label for="pwd">Location:</label>
- <input type="text" class="form-control" id="gender">
- </div>
- <div class="form-group">
- <label for="sel1">Select Gender:</label>
- <select class="form-control" id="gender">
- <option value="male">Male</option>
- <option value="female">Female</option>
- </select>
- </div>
- <button type="submit" class="btn btn-default">Submit</button>
- </form>
- </div>
- </div>
- <div class="row">
- <div class="col-lg-12">
- <h2>Patient List</h2>
- <table class="table table-bordered">
- <thead>
- <tr>
- <th>Id</th>
- <th>Name</th>
- <th>Dob</th>
- <th>Phone</th>
- <th>Gender</th>
- <th>Location</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>John</td>
- <td>Doe</td>
- <td>john@example.com</td>
- <td>John</td>
- <td>Doe</td>
- <td>john@example.com</td>
- </tr>
- <tr>
- <td>Mary</td>
- <td>Moe</td>
- <td>mary@example.com</td>
- <td>John</td>
- <td>Doe</td>
- <td>john@example.com</td>
- </tr>
- <tr>
- <td>July</td>
- <td>Dooley</td>
- <td>july@example.com</td>
- <td>John</td>
- <td>Doe</td>
- <td>john@example.com</td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
- </div>
- <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
- <!-- Include all compiled plugins (below), or include individual files as needed -->
- <script src="js/bootstrap.min.js"></script>
- <script src="js/web3.min.js"></script>
- <script src="js/truffle-contract.js"></script>
- <script src="js/app.js"></script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement