mirror of
https://github.com/jhillyerd/inbucket.git
synced 2025-12-22 03:57:02 +00:00
Allow monitoring of a particular mailbox for #44
- No UI to access, just append /mailbox to /monitor URL
- Changed API URLs:
- /api/v1/monitor/messages - all
- /api/v1/monitor/messages/{name} - specific
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<script>
|
||||
$(document).ready(function () {
|
||||
$('#nav-monitor').addClass('active');
|
||||
startMonitor();
|
||||
startMonitor('{{.name}}');
|
||||
});
|
||||
</script>
|
||||
<script type="text/html" id="message-template">
|
||||
@@ -32,7 +32,12 @@ $(document).ready(function () {
|
||||
<button class="btn btn-primary" onclick="clearClick();">Clear</button>
|
||||
</div>
|
||||
|
||||
<p class="small">Messages will be listed here shortly after delivery.</p>
|
||||
<p class="small">
|
||||
Messages will be listed here shortly after delivery.
|
||||
{{with .name}}
|
||||
Only showing messages for mailbox <code>{{.}}</code>.
|
||||
{{end}}
|
||||
</p>
|
||||
|
||||
<div class="table-responsive clearfix">
|
||||
<table class="table table-condensed table-hover">
|
||||
|
||||
Reference in New Issue
Block a user