-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnode.php
More file actions
88 lines (77 loc) · 2.69 KB
/
node.php
File metadata and controls
88 lines (77 loc) · 2.69 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
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<script src="js/dash/node.js?<?php echo $CONFIG['dashversion']; ?>"></script>
<div class="row row-offcanvas row-offcanvas-left">
<div class="col-sm-3 col-md-2 sidebar-offcanvas" id="sidebar" role="navigation">
<ul class="nav nav-sidebar">
<li><a href="?">Overview</a></li>
<li><a href="?page=guldend">Novo-daemon</a></li>
<li class="active"><a href="?page=node">Node</a></li>
<li><a href="?page=wallet">Wallet</a></li>
<li><a href="?page=witness">Holding</a></li>
<li><a href="?page=mining">Mining</a></li>
</ul>
</div><!--/span-->
<div class="col-sm-9 col-md-10 main">
<!--toggle sidebar button-->
<p class="visible-xs">
<button type="button" class="btn btn-primary btn-xs" data-toggle="offcanvas"><i class="glyphicon glyphicon-chevron-left"></i></button>
</p>
<h1 class="page-header">
Node
<p class="lead">Node info</p>
</h1>
<div id="errordiv"></div>
<div class="panel panel-default">
<div class="panel-heading">Node info</div>
<div class="panel-body" id="serverinfopanel">
<img src="images/loading.gif" border="0"> Loading....
</div>
</div>
<hr>
<div class="panel panel-default">
<div class="panel-heading">Node configuration (florin.conf)</div>
<div class="panel-body" id="nodeconfig">
<?php
$nodeconfig = readGuldenConf($CONFIG['datadir']."florin.conf");
if($nodeconfig['maxconnections']=="") { $nodeconfig['maxconnections'] = 0; }
echo "<table class='table table-striped'>";
echo "<tr><td class='col-md-2'><b>Max connections:</b></td><td class='col-md-2'>".$nodeconfig['maxconnections']."</td></tr>";
echo "</table>";
?>
</div>
</div>
<hr>
<div class="panel panel-default">
<div class="panel-heading">Node connections</div>
<div class="panel-body" id="nodeconfig">
<table class="table table-striped" id="tablelocation">
<thead>
<tr>
<th class='col-md-2'>Location</th>
<th class='col-md-2'>Count</th>
</tr>
</thead>
<tbody>
<tr><td colspan="2"><img src="images/loading.gif" border="0"> Loading....</td></tr>
</tbody>
</table>
</div>
</div>
<hr>
<div class="panel panel-default">
<div class="panel-heading">Client Novo versions</div>
<div class="panel-body" id="guldenversions">
<table class="table table-striped" id="tableversion">
<thead>
<tr>
<th class='col-md-2'>Version</th>
<th class='col-md-2'>Count</th>
</tr>
</thead>
<tbody>
<tr><td colspan="2"><img src="images/loading.gif" border="0"> Loading....</td></tr>
</tbody>
</table>
</div>
</div>
</div><!--/row-->
</div>