Files
Alta-Proxy-Tool/index.html
T
peji 0f12915b47 Remove dead code from profile and password proxy systems
Strip ~966 lines of unused code after transitioning to cookie-only
auth: profile CRUD handlers, encryption helpers, username/password
proxy launcher, proxy check/version handlers, dead preload methods,
orphaned CSS (modals, profiles, nav tabs, collapsible sections),
unused DOM elements and renderer functions.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 21:27:11 -05:00

84 lines
3.7 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>
<script src="renderer.js"></script>
</body>
</html>