Skip to content

Instantly share code, notes, and snippets.

@pbanigo
Last active June 19, 2022 05:19
Show Gist options
  • Save pbanigo/92c8fd5738951c61e9805d077f9698d4 to your computer and use it in GitHub Desktop.
Save pbanigo/92c8fd5738951c61e9805d077f9698d4 to your computer and use it in GitHub Desktop.
Index.ejs basic structure
<!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