ec5989cf02
Strip out User Profiles section, username/password proxy method, and related modals. Cookie proxy section is now always visible and renamed to just "Camera Proxy". Cookie key input hidden (auto-populated by Chrome extension). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
90 lines
3.9 KiB
HTML
90 lines
3.9 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data:;">
|
|
<title>Alta Video Camera Proxy with API</title>
|
|
<link rel="stylesheet" href="styles.css">
|
|
</head>
|
|
<body>
|
|
<div class="app-container">
|
|
<!-- Main Content Layout -->
|
|
<div class="main-layout">
|
|
<!-- Left Sidebar - Available Devices -->
|
|
<aside class="devices-sidebar">
|
|
<div class="sidebar-header">
|
|
<h2>Available Devices</h2>
|
|
</div>
|
|
|
|
<div id="deviceStatus" class="status-message"></div>
|
|
|
|
<!-- Device Search -->
|
|
<div class="device-search-container">
|
|
<input type="text" id="deviceSearch" placeholder="Search devices..." class="device-search-input">
|
|
</div>
|
|
|
|
<div class="device-list-container">
|
|
<div id="deviceList" class="device-list">
|
|
<p class="placeholder-text">Connect to API to load devices</p>
|
|
</div>
|
|
</div>
|
|
</aside>
|
|
|
|
<!-- Main Content Area -->
|
|
<main class="main-content">
|
|
<div class="content-header">
|
|
<h1>Alta Video Camera Proxy</h1>
|
|
</div>
|
|
|
|
<!-- API Connection Section -->
|
|
<section class="content-section">
|
|
<h2>API Connection</h2>
|
|
<div class="connection-status">
|
|
<div class="status-row">
|
|
<label>Status:</label>
|
|
<div class="status-indicator" id="statusIndicator">
|
|
<span class="status-dot offline"></span>
|
|
<span class="status-text">Disconnected</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="connection-controls">
|
|
<button type="button" id="testConnectionBtn" class="btn-outline" disabled>Test Connection</button>
|
|
<button type="button" id="disconnectBtn" class="btn-outline" disabled>Disconnect</button>
|
|
</div>
|
|
<div id="connectionStatus" class="status-message"></div>
|
|
</section>
|
|
|
|
<!-- Cookie-Based Camera Proxy Section -->
|
|
<section class="content-section">
|
|
<h2>Camera Proxy</h2>
|
|
<div class="proxy-controls">
|
|
<div class="input-row">
|
|
<label for="cookieDeviceUUID">Device UUID:</label>
|
|
<input type="text" id="cookieDeviceUUID" placeholder="(Auto-filled when you select a device from the list)" readonly>
|
|
</div>
|
|
<div class="input-row" style="display: none;">
|
|
<label for="cookieKey">Cookie Key:</label>
|
|
<input type="text" id="cookieKey" placeholder="Paste your cookie key here">
|
|
</div>
|
|
<div class="proxy-buttons">
|
|
<button type="button" id="startCookieProxyBtn" class="btn-primary" disabled>Start Cookie Proxy</button>
|
|
<button type="button" id="stopCookieProxyBtn" class="btn-outline" disabled>Stop Cookie Proxy</button>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</main>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Hidden elements for device details display -->
|
|
<div style="display: none;">
|
|
<div id="deviceDetails"></div>
|
|
<div id="mainContent"></div>
|
|
</div>
|
|
|
|
<script src="renderer.js"></script>
|
|
</body>
|
|
</html>
|