Skip to content

Instantly share code, notes, and snippets.

@pbanigo
Created June 19, 2022 05:35
Embed
What would you like to do?
Sliced Index.ejs
<!-- add header -->
<%- include('includes/_header') %>
<!-- end header -->
<!-- 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 -->
<!-- add footer -->
<%- include('includes/_footer') %>
<!-- end footer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment