-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
80 lines (75 loc) · 2.28 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<!doctype html>
<html>
<head>
<!-- Bootstrap required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="default">
<title>FOODS</title>
<link rel="manifest" href="/manifest.webmanifest">
<link rel="apple-touch-icon" href="/icon192.png">
<link rel="apple-touch-startup-image" href="/icon192.png">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link rel="stylesheet" href="jquery.dataTables.min.css">
<script language="JavaScript" src="jquery-3.5.1.min.js"></script>
<script language="JavaScript" src="jquery.dataTables.min.js"></script>
<style>
@media(prefers-color-scheme:dark) {
body.dark-mode {
background-color: #333 !important;
color: #fff !important;
}
.dark-mode .dataTables_wrapper {
background-color: #444 !important;
color: #fff !important;
}
.dark-mode th, .dark-mode td {
border-color: #666 !important;
}
.dark-mode .odd {
background-color: #555 !important;
}
.dark-mode .even {
background-color: #444 !important;
}
.dark-mode .sorting_1 {
background-color: #444 !important;
}
}
</style>
</head>
<body class="dark-mode-off">
<header>
<h1>FOODS</h1>
</header>
<hr>
<div id="foodstbldiv">
<button onclick="window.location.href='FODMAP/index.html';">FODMAP</button>
<br>
<br>
<button onclick="window.location.href='LOWCARB/index.html';">LOW CARB</button>
</div>
<footer>
<hr>
<div>
Copyright © 2024 <a title='https://ensadi.com' href='https://ensadi.com/home' target='_blank'>Ensadi
LLC</a>
<a href="about.html">(About)</a>
</div>
</footer>
<script>
// make sure that the browser supports Service Workers and register if so.
if ('serviceWorker' in navigator) {
navigator.serviceWorker.register('/fdmp.js').then( function(reg) {
// registration successful
console.log('Registration successful.');
console.log('Scope: ', reg.scope);
}).catch(function(error) {
// failed
console.log('Registration failed: ', error);
});
}
</script>
</body>
</html>