1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2026-01-03 09:57:09 +00:00

Add listener configuration details to status page

This commit is contained in:
James Hillyerd
2013-10-09 16:20:13 -07:00
parent 9c924d5659
commit dcc5d240cb
2 changed files with 29 additions and 1 deletions

View File

@@ -139,6 +139,24 @@
<p>Metrics are polled every 10 seconds. Inbucket does not keep history for the
10 minute graphs, but your web browser will accumulate the data over time.</p>
<div class="box">
<h3>Configuration</h3>
<table class="metrics">
<tr>
<th>SMTP Listener:</th>
<td><span>{{.smtpListener}}</span></td>
</tr>
<tr>
<th>POP3 Listener:</th>
<td><span>{{.pop3Listener}}</span></td>
</tr>
<tr>
<th>HTTP Listener:</th>
<td><span>{{.webListener}}</span></td>
</tr>
</table>
<p class="last">&nbsp;</p>
</div>
<div class="box">
<h3>General Metrics</h3>
<table class="metrics">