fleetcode/index.html
Amrit Subramanian 272f763e71 sidebar
2025-10-02 13:16:38 -04:00

53 lines
1.6 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>FleetCode Terminal</title>
<link rel="stylesheet" href="node_modules/xterm/css/xterm.css" />
<link rel="stylesheet" href="dist/styles.css" />
<style>
body {
margin: 0;
padding: 0;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
</style>
</head>
<body class="h-screen overflow-hidden bg-gray-900">
<div class="flex h-full">
<!-- Sidebar -->
<div class="w-64 bg-gray-800 border-r border-gray-700 flex flex-col">
<div class="p-4 border-b border-gray-700">
<h1 class="text-white font-semibold text-lg">FleetCode</h1>
</div>
<div class="flex-1 overflow-y-auto">
<div class="p-2">
<div class="text-xs text-gray-400 px-2 py-1 mb-1">TERMINALS</div>
<div id="terminal-list"></div>
</div>
</div>
<div class="p-3 border-t border-gray-700">
<button id="new-terminal" class="w-full bg-blue-600 hover:bg-blue-700 text-white px-4 py-2 rounded text-sm font-medium transition">
+ New Terminal
</button>
</div>
</div>
<!-- Main content -->
<div class="flex-1 flex flex-col bg-black">
<!-- Tabs -->
<div id="tabs" class="flex bg-gray-900 border-b border-gray-700 overflow-x-auto"></div>
<!-- Terminal container -->
<div id="terminal-container" class="flex-1 relative"></div>
</div>
</div>
<script>
require('./dist/renderer.js');
</script>
</body>
</html>