-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
106 lines (92 loc) · 2.16 KB
/
Copy pathindex.html
File metadata and controls
106 lines (92 loc) · 2.16 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Replane SDK - Browser Example</title>
<style>
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
line-height: 1.6;
padding: 2rem;
max-width: 800px;
margin: 0 auto;
}
h1 {
margin-bottom: 1rem;
color: #1f2937;
}
.status {
padding: 0.5rem 1rem;
border-radius: 4px;
margin-bottom: 1.5rem;
font-weight: 500;
}
.status.loading {
background: #fef3c7;
color: #92400e;
}
.status.connected {
background: #d1fae5;
color: #065f46;
}
.status.error {
background: #fee2e2;
color: #991b1b;
}
.config-section {
margin-bottom: 1.5rem;
}
.config-section h2 {
font-size: 1.125rem;
margin-bottom: 0.5rem;
color: #374151;
}
.config-card {
background: #f9fafb;
border: 1px solid #e5e7eb;
border-radius: 8px;
padding: 1rem;
}
pre {
background: #1f2937;
color: #f9fafb;
padding: 1rem;
border-radius: 4px;
overflow-x: auto;
font-size: 0.875rem;
}
.updates {
margin-top: 2rem;
}
.updates h2 {
margin-bottom: 0.5rem;
}
.updates-log {
background: #1f2937;
color: #10b981;
padding: 1rem;
border-radius: 4px;
font-family: monospace;
font-size: 0.875rem;
height: 200px;
overflow-y: auto;
}
.updates-log:empty::before {
content: "Waiting for config updates...";
color: #6b7280;
}
</style>
</head>
<body>
<h1>Replane SDK - Browser Example</h1>
<div id="status" class="status loading">Connecting...</div>
<div id="app"></div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>