-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9aeb68c
commit 0d91285
Showing
1 changed file
with
50 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Searchable Table</title> | ||
<link rel="stylesheet" href="styles.css"> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/PapaParse/5.3.0/papaparse.min.js"></script> | ||
</head> | ||
<body> | ||
<div id="instructionsBox"> | ||
<h2>Instructions</h2> | ||
<p>Choose database, then accession</p> | ||
<p>ex. [VOG, VOG00001]</p> | ||
<p>Click V-Score header to sort.</p> | ||
<p>Download data, click Export CSV</p> | ||
<p>Databases: KEGG, eggNOG, Pfam, PHROG, VOG</p> | ||
<p>You can also search by protein name</p> | ||
</div> | ||
<img src="LabHeader.jpg" alt="Header of Lab" id="headerImage"> | ||
<h1>V-Score Search</h1> | ||
<div class="search-container"> | ||
<input type="text" id="searchInput" placeholder="Search..."> | ||
</div> | ||
<a href="data.csv" download="data.csv">Export CSV</a> | ||
|
||
<table id="dataTable"> | ||
<thead> | ||
<tr> | ||
<th class="sortable" data-column="Accession">Accession</th> | ||
<th class="sortable" data-column="Protein Function">Protein Function</th> | ||
<th class="sortable" data-column="V-Score">V-Score</th> | ||
<th class="sortable" data-column="Log V-Score">Log V-Score</th> | ||
<th class="sortable" data-column="Database">Database</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<!-- Data will be inserted here dynamically --> | ||
</tbody> | ||
</table> | ||
|
||
<!-- Pagination container --> | ||
<div id="pagination"></div> | ||
|
||
<footer> | ||
<p>Source: Citations Go Here</p> | ||
</footer> | ||
<script src="script.js"></script> | ||
</body> | ||
</html> |