Index.ejs basic structure
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width , initial-scale=1.0"> | |
<title>Drug Monitor App</title> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css"> | |
</head> | |
<body> | |
<header id="header"> | |
<nav> | |
<span> | |
<a href="">Welcome to the Drug Monitor App.</a> | |
</span> | |
</nav> | |
</header> | |
<!-- Header Ends here --> | |
<!-- Main section --> | |
<main id="main"> | |
<a href="/add-drug"> | |
<span class="text-gradient">New Drug <i class="fas fa-pills"></i></span> | |
</a> | |
<h2>Drugs</h2> | |
<table> | |
<thead> | |
<tr> | |
<th>ID</th> | |
<th>Drug Name</th> | |
<th>Tablets per Card</th> | |
<th>Tablets per Pack</th> | |
<th>Taken per Day</th> | |
<th>Action</th> | |
</tr> | |
</thead> | |
<tbody> | |
<tr> | |
<td>1</td> | |
<td>Vitamin C</td> | |
<td>10</td> | |
<td>100</td> | |
<td>1</td> | |
<td> | |
<span class='fa fa-edit'></span> | |
<span class='fa fa-trash'></span> | |
</td> | |
</tr> | |
</tbody> | |
</table> | |
</main> | |
<!-- End main section --> | |
<!-- Footer Starts here --> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment