Files
DRB-Client/express/views/setup/setup.ejs
Logan Cusano 3e7b387092 Update Setup Process
- Added audio device to setup form
- Implemented 'getDevices.py' into setup form
- Now shows the user their devices to select the correct ID
- Fixed bug in the op25 dir created by new setup
- Finalized the '.env' file creation
2024-05-13 00:41:44 -04:00

33 lines
1.1 KiB
Plaintext

<!-- setup.ejs -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Setup</title>
</head>
<body>
<h1>Setup</h1>
<form action="/setup" method="post">
<label for="clientName">Client Name:</label>
<input type="text" id="clientName" name="clientName" required>
<br>
<label for="clientLocation">Client Location:</label>
<input type="text" id="clientLocation" name="clientLocation" required>
<br>
<label for="clientCapabilities">Client Capabilities (comma-separated):</label>
<input type="text" id="clientCapabilities" name="clientCapabilities" required>
<br>
<label for="audioDeviceId">Audio Device ID (typically 'default'):</label>
<input type="text" id="audioDeviceId" name="audioDeviceId" required>
<br>
<button type="submit">Next</button>
<div>
<h3>Audio Devices</h3>
<p><%- deviceList.replace(/\n/g, '<br>') %> </p>
</div>
</form>
</body>
</html>