-
Notifications
You must be signed in to change notification settings - Fork 0
/
addnode.php
39 lines (34 loc) · 845 Bytes
/
addnode.php
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
<?php
require_once("auth.php");
?>
<?php
require('cbsd.php');
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>CBSD Project</title>
<style>
body {font-size:80%;font-family:Tahoma,'Sans-Serif',Arial;}
</style>
</head>
<body>
<form action="addnode-fromargs.php" method="post">
<div class="main">
<div class="field">
<label for="address">Node IP or Hostname:</label>
<input type="text" name="address" />
</div>
<div class="field">
<label for="password">CBSD User Password:</label>
<input type="text" name="password" />
</div>
<div class="field">
<label for="sshport">SSH Port:</label>
<input type="text" name="sshport" value="22222" maxlength="5" size="5" />
</div>
<p><input type="submit" name="create" value="Connect" ></p>
</div>
</form>
</body>
</html>