forked from jlubbers08/IPFS-UX
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.html
57 lines (51 loc) · 1.6 KB
/
config.html
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<script>
loadConfigPage();
</script>
</head>
<body>
<div class="py-3">
<div class="container">
<div class="row">
<div class="col-md-12 text-center">
<h1>Config</h1>
</div>
</div>
</div>
</div>
<div class="py-3">
<div class="container">
<div class="row">
<div class="col-md-12">
<form class="">
<div class="form-group">
<label>Hostname or IP</label>
<input type="text" class="form-control" placeholder="Enter Host Name" id="hostName"> </div>
<div class="form-group">
<label>API Port</label>
<input type="text" class="form-control" placeholder="Enter API Port: 5001" id="APIPort"> </div>
<div class="form-group">
<label>Gateway</label>
<input type="text" class="form-control" placeholder="Enter Gateway: http://localhost:8080/ipfs/" id="Gateway"> </div>
<button class="btn btn-warning" onclick="testConfig(); return false;">Test Config Values</button>
<button style="margin-left:100px;" class="btn btn-primary" onclick="pageSaveConfig(); return false;">Save</button>
</form>
</div>
</div>
</div>
</div>
<div class="py-2">
<div class="container">
<div class="row">
<div class="col-md-12">
<p class="mb-0">Response</p>
<pre id="responseArea"> </pre> </div>
</div>
</div>
</div>
</body>
</html>