aboutsummaryrefslogtreecommitdiffstats
path: root/index.html
diff options
context:
space:
mode:
authorBrian Cully <bjc@spork.org>2025-07-16 18:48:48 -0400
committerBrian Cully <bjc@spork.org>2025-07-16 18:48:48 -0400
commite1a9e10902de4d927f4c2c87b6c27e6303fa1ead (patch)
tree516d92bd5bf204308919d57698277b7bb9e08078 /index.html
parent5da918119bb2e352f10060a36d9c7e580fa8695e (diff)
downloadpnit-e1a9e10902de4d927f4c2c87b6c27e6303fa1ead.tar.gz
pnit-e1a9e10902de4d927f4c2c87b6c27e6303fa1ead.zip
add js version rendering. still needs download
Diffstat (limited to 'index.html')
-rw-r--r--index.html41
1 files changed, 41 insertions, 0 deletions
diff --git a/index.html b/index.html
new file mode 100644
index 0000000..8ae4fa2
--- /dev/null
+++ b/index.html
@@ -0,0 +1,41 @@
+<!DOCTYPE html>
+<html lang='en'>
+ <head>
+ <meta charset='utf-8'>
+ <meta name='viewport' content='width=device-width, initial-scale=1'>
+ <link rel='stylesheet' href='main.css'>
+ <title>partial nucleotide identity threshold</title>
+ </head>
+
+ <body>
+ <h1>partial nucleotide identity threshold</h1>
+ <x-pnit-form>
+ <form>
+ <label for='pni-threshold'>threshold:</label>
+ <input id='pni-threshold' name='pni-threshold' type='text' size='5' value='90.5'>%
+ <br>
+ <label for='ignore-header'>ignore header line:</label>
+ <input id='ignore-header' name='ignore-header' type=checkbox checked>
+ <br>
+ <label for='csv-input'>upload:</label>
+ <input id='csv-input' name='csv-input' type='file' accept='text/csv' required>
+ </form>
+
+ <button>download pnit csv</button>
+ <table id='pnit-results'>
+ <tr>
+ <td>foo</td>
+ <td>bar</td>
+ <td>pnit</td>
+ </tr>
+ <tr>
+ <td>foo</td>
+ <td>bar</td>
+ <td>pnit</td>
+ </tr>
+ </table>
+ </x-pnit-form>
+
+ <script type='module' src='./main.mjs'></script>
+ </body>
+</html>