-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
79 lines (79 loc) · 4.12 KB
/
index.html
File metadata and controls
79 lines (79 loc) · 4.12 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Corrently Cloud Browser - Web Interface</title>
<link rel="stylesheet" href="/tasks/style.css">
</head>
<body>
<header>
<h1>🌐 Corrently Cloud Browser</h1>
<nav style="margin-top: 15px;">
<a href="/help.html" style="color: white; text-decoration: none; margin: 0 10px; padding: 8px 15px; background: rgba(255,255,255,0.2); border-radius: 15px; font-size: 0.9rem;">📖 User Guide</a>
<a href="/api-docs.html" style="color: white; text-decoration: none; margin: 0 10px; padding: 8px 15px; background: rgba(255,255,255,0.2); border-radius: 15px; font-size: 0.9rem;">🔧 API Docs</a>
<a href="/install-guide.html" style="color: white; text-decoration: none; margin: 0 10px; padding: 8px 15px; background: rgba(255,255,255,0.2); border-radius: 15px; font-size: 0.9rem;">⚙️ Install Guide</a>
</nav>
</header>
<main class="container">
<div id="control-panel">
<h2>Task List</h2>
<div id="task-input-container">
<input type="text" id="task-input" placeholder="Enter a new question or task...">
<button id="add-task-btn">Add Task</button>
</div>
<ul id="task-list">
<!-- Tasks will be dynamically added here -->
</ul>
<div class="execution-actions">
<button id="run-tasks-btn">Run Tasks</button>
<div id="execution-status"></div>
<div id="session-status" style="margin-top: 10px; font-size: 0.9em; color: #666;"></div>
</div>
<div class="receipt-actions">
<button id="download-receipt-btn">Download Receipt</button>
<div class="receipt-upload">
<input type="file" id="receipt-file-input" accept=".json" style="display: none;">
<button id="upload-receipt-btn">Upload & Run Receipt</button>
<div id="receipt-status" class="status-message" style="display: none;"></div>
</div>
</div>
</div>
<div id="visualizer-panel">
<h2>Browser Visualizer</h2>
<div id="screenshot-container">
<div id="screenshot-display">
<p>Browser screenshots will appear here when tasks are executed.</p>
</div>
<div class="interactive-controls" id="interactive-controls" style="display: none;">
<h3>🎮 Interactive Mode</h3>
<div class="control-buttons">
<button id="enable-live-view" class="btn btn-secondary">📹 Live View</button>
<button id="click-mode" class="btn btn-secondary">🖱️ Click Mode</button>
<button id="type-mode" class="btn btn-secondary">⌨️ Type Mode</button>
<button id="pause-session" class="btn" style="background: #ffc107;">⏸️ Pause</button>
<button id="resume-session" class="btn btn-success">▶️ Resume</button>
</div>
<div class="manual-inputs">
<input type="text" id="type-text" placeholder="Text to type..." style="display: none;">
<div class="interaction-status" id="interaction-status">
<small>💡 Click "Live View" to start, then use Click/Type modes to interact</small>
</div>
</div>
</div>
</div>
<div id="task-response-container" style="display: none;">
<h3>💬 Task Response</h3>
<div id="task-response-display">
<p>Task responses will appear here...</p>
</div>
</div>
<div id="visualizer-content">
<h3>Action Log</h3>
<div id="action-log"></div>
</div>
</div>
</main>
<script src="/tasks/script.js"></script>
</body>
</html>