Skip to content

Instantly share code, notes, and snippets.

@pbanigo
Created June 19, 2022 05:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pbanigo/05b0aee1d84c7271dc5b53250bbd30c6 to your computer and use it in GitHub Desktop.
Save pbanigo/05b0aee1d84c7271dc5b53250bbd30c6 to your computer and use it in GitHub Desktop.
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