-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
62 lines (60 loc) · 1.83 KB
/
index.html
File metadata and controls
62 lines (60 loc) · 1.83 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>GramFrame Demo</title>
<style>
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
padding: 40px;
margin: 0;
background: #f5f5f5;
}
h1 { color: #333; }
.cards {
display: flex;
gap: 20px;
margin-top: 30px;
flex-wrap: wrap;
}
.card {
background: #fff;
border: 1px solid #ddd;
border-radius: 8px;
padding: 25px;
width: 300px;
text-decoration: none;
color: inherit;
transition: box-shadow 0.2s;
}
.card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.card h2 { margin-top: 0; }
.card p { color: #666; line-height: 1.5; }
.badge {
display: inline-block;
padding: 3px 10px;
border-radius: 4px;
font-size: 12px;
font-weight: bold;
color: #fff;
}
.badge-student { background: #0d47a1; }
.badge-trainer { background: #1b5e20; }
</style>
</head>
<body>
<h1>GramFrame Demo Pages</h1>
<p>Interactive spectrogram analysis component with browser storage persistence.</p>
<div class="cards">
<a class="card" href="debug.html">
<h2>Student Page <span class="badge badge-student">sessionStorage</span></h2>
<p>Annotations persist within the browser session but are cleared when the browser closes. Simulates a shared-PC training environment.</p>
</a>
<a class="card" href="debug-trainer.html">
<h2>Trainer Page <span class="badge badge-trainer">localStorage</span></h2>
<p>Annotations persist permanently across browser restarts. Includes a "Clear gram" button to reset. Simulates a trainer workstation.</p>
</a>
</div>
</body>
</html>