-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathform-setup.php
More file actions
32 lines (32 loc) · 1.52 KB
/
Copy pathform-setup.php
File metadata and controls
32 lines (32 loc) · 1.52 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>BibleBox Setup</title>
</head>
<body>
<?php if ( $admin->error ) {
echo "<div class='message'>{$admin->error}</div>";
} else {
echo "<div class='message'> This BibleBox has not been set up . Please Configure it now .</div>";
} ?>
<form method="POST">
<input type="hidden" name="action" value="setup" />
<p><label for="pass1">Password:</label><br/>
<input type="password" name="pass1" id="pass1" /></p>
<p><label for="pass2">Password again:</label><br/>
<input type="password" name="pass2" id="pass2" /></p>
<p><label for="ssid">SSID (Name of the Wi-Fi Network.)</label><br/>
<input type="text" name="ssid" id="ssid" value="<?php echo $admin->config['ssid']; ?>" /></p>
<p><label for="channel">Wi-Fi Channel:</label><br/>
<input type="text" name="channel" id="channel" value="<?php echo $admin->config['channel']; ?>" /></p>
<p><label for="hostname">Host Name (The Domain users will use, like biblebox.lan):</label><br/>
<input type="text" name="hostname" id="hostname" value="<?php echo $admin->config['hostname']; ?>" /></p>
<p><label for="txpower">Tx Power</label><br/>
<input type="text" name="txpower" id="txpower" value="<?php echo $admin->config['txpower']; ?>" /></p>
<p><label for="system_hostname">System Hostname</label><br/>
<input type="text" name="system_hostname" id="system_hostname" value="<?php echo $admin->config['system_hostname']; ?>" /></p>
<input type="submit" value="Run Setup" />
</form>
</body>
</html>