Skip to content

Commit

Permalink
Website: Added download button for example data
Browse files Browse the repository at this point in the history
  • Loading branch information
njbirth committed Jul 17, 2024
1 parent 68d116b commit bdcd08c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Binary file added src/cocopye/ui/web/static/example_data.zip
Binary file not shown.
5 changes: 4 additions & 1 deletion src/cocopye/ui/web/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,10 @@ <h2 class="card-title">Citing CoCoPyE</h2>
<h2 class="card-title justify-center text-2xl">Demo</h2>
<div class="text-center">Upload a FASTA file and let CoCoPyE calculate completeness and contamination.</div>
<div class="form-control w-full flex flex-col items-center">
<input id="file" type="file" class="file-input file-input-bordered file-input-sm w-full max-w-xs m-2" />
<div class="flex flex-row items-center m-2">
<input id="file" type="file" class="file-input file-input-bordered file-input-sm w-full max-w-xs mr-6" />
<a href="example_data.zip" class="btn btn-outline btn-xs w-48 bg-gray-200 border-gray-400">Download example data</a>
</div>
<div class="text-xs text-gray-600">Upload limit: {{ limit }}</div>
<button id="upload-btn"
class="btn btn-outline btn-sm m-2 mt-4 w-48 bg-gray-200 border-gray-400">UPLOAD</button>
Expand Down

0 comments on commit bdcd08c

Please sign in to comment.