open-organism-observer/index.html

50 lines
1.8 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<link href="bootstrap-5.0.2-dist/css/bootstrap.min.css" rel="stylesheet" ></link>
<script src="bootstrap-5.0.2-dist/js/bootstrap.bundle.min.js" ></script>
<meta charset="utf-8">
<head>
<body>
<div class="container">
<h1> OpenCompostApp </h1>
<p> hi there - this my fancy website</p>
<h2> first set up your microscope and sample preparation </h2>
<a href="setup_microscope.html">setup your microscope and camera here</a><br>
<a href="sample_prep_protocol.html">add a sample preparation protocol</a><br>
<h2> then you can start taking in samples </h2>
<a href="sample_intake.html">add a sample here</a><br>
<h2> then you can start observing </h2>
<a href="observe_main.html">filamentous and protozoa</a><br>
<a href="observe_nema.html">nematodes</a><br>
<a href="observe_bact.html">bacteria</a><br>
<h2> in the end you can create a report </h2>
<a href="create_report.html"> create a report here</a>
</div>
</body>
<script>
var db;
let openRequest = indexedDB.open("my_db",8);
openRequest.onupgradeneeded = function() {
db = openRequest.result;
db.createObjectStore("microscope_setup", {autoIncrement : true});
db.createObjectStore("prep_protocol", {autoIncrement : true});
db.createObjectStore("defaults", { keyPath: "id" });
db.createObjectStore("sample", {autoIncrement : true});
let nema_scan = db.createObjectStore("nematode_scan", {autoIncrement : true});
let main_scan = db.createObjectStore("main_scan", {autoIncrement : true});
let bact_scan = db.createObjectStore("bacterial_scan", {autoIncrement : true});
main_scan.createIndex("sampleID", "sampleID");
nema_scan.createIndex("sampleID", "sampleID");
bact_scan.createIndex("sampleID", "sampleID");
};
</script>