SMTP-Queue: add information about currently processed mails
[citadel.git] / webcit / static / t / view_mailq / header.html
index d028db9dd920239c560623293f3e777f0def26f2..da327ea2748d313ff7007e20b2700c6ce33d4bc3 100644 (file)
@@ -4,7 +4,6 @@
 </h1>
 </div>
 
-<div id="content" class="service">
 <!--
 <table class="smtpqueue_background">
 <tr><td valign=top>
 </div>
 </td></tr></table>
 -->
-<table class="mailbox_summary" rules=rows cellpadding=2 style="width:100%%;">
-<tr><td><b><i>
-<?_("Message ID")>
-</i></b></td><td><b><i>
-<?_("Date/time submitted")>
-</i></b></td><td><b><i>
-<?_("Next attempt")>
-</i></b></td><td><b><i>
-<?_("Sender")>
-</i></b></td><td><b><i>
-<?_("Recipients")>
-</i></b></td></tr>
 
+<div id="runqueue" class="runqueue" style="display:none">
+<?=("box_begin_1")><?_("HINT")><?=("box_begin_2")>
+<?_("Citadel reattempts sending mail per interval; it starts at 60 second, and doubles each time. You can however bypass this mechanism once; all messages will be reattempted on the next queue run.")>
+<a href="javascript:ToggleVisibility('runqueue_help1')"><?_("OK, got you, lets go!")></a>
+<?=("box_end")>
+</div>
+&nbsp;
+
+<div id="runqueue_help1" style="display:none">
+<?=("box_begin_1")><?=("box_begin_2")>
+<br><a href="javascript:SMTPRunQueue();"><?_("Reschedule all messages for delivery on next queue run")></a>
+<?=("box_end")>
+</div>
+&nbsp;
+
+<?=("box_begin_1")><?_("Currently active mail delivery jobs; Remote Sites:")><?=("box_begin_2")>
+<div align="center">
+<?=("who_active_smtpsessions")>
+</div>
+<?=("box_end")>
+&nbsp;
+
+<?=("box_begin_1")><?_("Jobs waiting for further processing:")><?=("box_begin_2")>
+<div align="center">
+<a href="javascript:RefreshSMTPqueueDisplay();"><?_("Refresh this page")></a>
+</div>
+<?=("view_mailq_table")>