info page
parent
b147f42f0a
commit
0b2f01b8bc
@ -1,24 +1,48 @@
|
||||
<div class="info">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title">Info</h3>
|
||||
<h3 class="panel-title">Info - You are on <strong>{host}:{port}</strong></h3>
|
||||
</div>
|
||||
|
||||
<div class="panel-body">
|
||||
<div class="highlight">
|
||||
<pre>{info}</pre>
|
||||
<table class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<td>host</td>
|
||||
<td>pid</td>
|
||||
<td>nodejs</td>
|
||||
<td>online</td>
|
||||
<td>git</td>
|
||||
<td>load</td>
|
||||
<td>uptime</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<!-- BEGIN info -->
|
||||
<tr>
|
||||
<td>{info.os.hostname}:{info.process.port}</td>
|
||||
<td>{info.process.pid}</td>
|
||||
<td>{info.process.version}</td>
|
||||
<td><span title="Registered">{info.stats.onlineRegisteredCount}</span> / <span title="Guest">{info.stats.onlineGuestCount}</span> / <span title="Sockets">{info.stats.socketCount}</span></td>
|
||||
<td>{info.git.branch}@<a href="https://github.com/NodeBB/NodeBB/commit/{info.git.hash}" target="_blank">{info.git.hash}</a></td>
|
||||
<td>{info.os.load}</td>
|
||||
<td>{info.process.uptime}</td>
|
||||
</tr>
|
||||
<!-- END info -->
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title">Stats</h3>
|
||||
<h3 class="panel-title">Info</h3>
|
||||
</div>
|
||||
|
||||
<div class="panel-body">
|
||||
<div class="highlight">
|
||||
<pre>{stats}</pre>
|
||||
<pre>{infoJSON}</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue