-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
189 lines (152 loc) · 4.7 KB
/
index.html
File metadata and controls
189 lines (152 loc) · 4.7 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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Skript Parser | SKITMC IDE</title>
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://unpkg.com/lucide@latest"></script>
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;700&family=Inter:wght@400;600;800&display=swap" rel="stylesheet">
<style>
:root {
--bg: #020617;
--card: rgba(22, 27, 34, 0.7);
--border: rgba(255,255,255,0.08);
--accent: #58a6ff;
}
/* BASE */
body {
background: radial-gradient(circle at top, #0f172a, #020617);
color: #c9d1d9;
font-family: 'Inter', sans-serif;
height: 100vh;
margin: 0;
display: flex;
flex-direction: column;
overflow: hidden;
}
/* GLASS */
.glass {
background: var(--card);
backdrop-filter: blur(12px);
border: 1px solid var(--border);
}
/* GLOW */
.glow {
box-shadow: 0 0 30px rgba(88,166,255,0.15);
}
/* LOGO */
.logo-text {
font-weight: 800;
font-size: 1.4rem;
letter-spacing: -0.02em;
}
/* FIXED GRADIENT TEXT */
.logo-text span {
background: linear-gradient(90deg, #58a6ff, #3b82f6);
color: #58a6ff; /* fallback */
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
/* EDITOR */
#monaco-editor {
flex: 1;
height: 100%;
}
/* SIDEBAR */
.sidebar {
width: 360px;
display: flex;
flex-direction: column;
}
/* CONSOLE */
.console {
font-family: 'JetBrains Mono', monospace;
font-size: 11px;
overflow-y: auto;
}
/* SCROLLBAR */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-thumb {
background: rgba(255,255,255,0.1);
border-radius: 10px;
}
</style>
</head>
<body>
<!-- HEADER -->
<header class="h-16 flex items-center justify-between px-8 glass border-b border-white/5">
<div class="flex items-center gap-4">
<div class="logo-text">
SKRIPT<span>-PARSER</span>
</div>
<span class="text-[10px] px-3 py-1 rounded-full bg-blue-500/10 text-blue-400 border border-blue-500/20 font-bold tracking-widest">
PRO ENGINE
</span>
</div>
<div class="flex items-center gap-3">
<button onclick="applyAutoFix()"
class="flex items-center gap-2 px-4 py-2 text-xs font-semibold rounded-lg
glass hover:bg-white/10 transition glow">
<i data-lucide="wand-2" class="w-4 h-4 text-orange-400"></i>
FIX CODE
</button>
<button onclick="runDiagnostics()"
class="flex items-center gap-2 px-5 py-2 text-xs font-bold rounded-lg
bg-gradient-to-r from-blue-600 to-blue-500 hover:opacity-90 transition shadow-lg glow">
<i data-lucide="play" class="w-4 h-4"></i>
ANALYZE
</button>
</div>
</header>
<!-- MAIN -->
<main class="flex flex-1 overflow-hidden">
<!-- EDITOR -->
<div class="flex-1 relative">
<div id="monaco-editor"></div>
</div>
<!-- SIDEBAR -->
<aside class="sidebar glass border-l border-white/5">
<!-- STATUS -->
<div class="p-6 border-b border-white/5">
<h3 class="text-[10px] uppercase tracking-widest text-slate-400 mb-4">
SYSTEM STATUS
</h3>
<div class="glass p-4 rounded-xl glow">
<div class="flex items-center gap-3 mb-2">
<div id="status-led" class="w-2.5 h-2.5 rounded-full bg-blue-500 animate-pulse"></div>
<span id="status-text" class="text-sm font-semibold text-white">
Initializing...
</span>
</div>
<p class="text-xs text-slate-400">
Advanced Skript parsing engine optimized for performance & accuracy.
</p>
</div>
</div>
<!-- CONSOLE -->
<div class="p-6 flex-1 flex flex-col min-h-0">
<h3 class="text-[10px] uppercase tracking-widest text-slate-400 mb-4">
CONSOLE
</h3>
<div id="console-logs" class="console space-y-2 flex-1">
<div class="opacity-50 border-l-2 border-white/10 pl-3">
> Booting engine...
</div>
</div>
</div>
<!-- FOOTER -->
<div class="p-5 border-t border-white/5 text-[10px] text-slate-500">
SKITMC Skript Engine • Professional Parsing System
</div>
</aside>
</main>
<!-- SCRIPTS -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/monaco-editor/0.36.1/min/vs/loader.min.js"></script>
<script src="script.js"></script>
<script>
lucide.createIcons();
</script>
</body>
</html>