Implement basic initial setup and dashboard with web portal
This commit is contained in:
15
express/views/dashboard.ejs
Normal file
15
express/views/dashboard.ejs
Normal file
@@ -0,0 +1,15 @@
|
||||
<!-- dashboard.ejs -->
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Dashboard</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Welcome to the Dashboard</h1>
|
||||
<p>This is a very basic dashboard.</p>
|
||||
<!-- Add more content as needed -->
|
||||
</body>
|
||||
</html>
|
||||
34
express/views/setup/add_system.ejs
Normal file
34
express/views/setup/add_system.ejs
Normal file
@@ -0,0 +1,34 @@
|
||||
<!-- nearby_systems.ejs -->
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Add Nearby Systems</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Add Nearby Systems</h1>
|
||||
<form action="/setup/add-system" method="post">
|
||||
<label for="systemName">System Name:</label>
|
||||
<input type="text" id="systemName" name="systemName" required>
|
||||
<br>
|
||||
<label for="frequencies">Frequencies (comma-separated):</label>
|
||||
<input type="text" id="frequencies" name="frequencies" required>
|
||||
<br>
|
||||
<label for="mode">Mode:</label>
|
||||
<select id="mode" name="mode" required>
|
||||
<option value="p25">P25</option>
|
||||
<option value="nbfm">NBFM</option>
|
||||
</select>
|
||||
<br>
|
||||
<label for="trunkFile">Trunk File:</label>
|
||||
<input type="text" id="trunkFile" name="trunkFile">
|
||||
<br>
|
||||
<label for="whitelistFile">Whitelist File:</label>
|
||||
<input type="text" id="whitelistFile" name="whitelistFile">
|
||||
<br>
|
||||
<button type="submit">Add System</button>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
19
express/views/setup/prompt_add_another_system.ejs
Normal file
19
express/views/setup/prompt_add_another_system.ejs
Normal file
@@ -0,0 +1,19 @@
|
||||
<!-- prompt_add_another_system.ejs -->
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Add Another System?</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Add Another System?</h1>
|
||||
<form action="/setup/add-system" method="get">
|
||||
<button type="submit">Add Another System</button>
|
||||
</form>
|
||||
<form action="/setup/finish-setup" method="post">
|
||||
<button type="submit">Finish Setup</button>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
25
express/views/setup/setup.ejs
Normal file
25
express/views/setup/setup.ejs
Normal file
@@ -0,0 +1,25 @@
|
||||
<!-- 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>
|
||||
<button type="submit">Next</button>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user