Files
smeserver-manager/root/usr/share/smanager/themes/default/templates/qmailanalog.html.ep
Brian Read 74c9beb587 * Mon Aug 11 2025 Brian Read <brianr@koozali.org> 11.0.0-113.sme
- Re-factor all template files to make them nicely formatted  [SME: 13103]
2025-08-12 06:20:31 +01:00

44 lines
1.3 KiB
Plaintext

% layout 'default', title => "Sme server 2 - qmailanalog";
% content_for 'module' => begin
<div id='module' class='module qmailanalog-panel'>
% if (config->{debug} == 1) {
<p>
(DBG)route: <%= $c->current_route %><br>
</p>
% }
<h1><%= $title %></h1>
<br>
<%= $modul %>
<% my $btn = l('qma_GENERATE_REPORT'); %>
%= form_for 'qmailanalog' => ( method => 'POST' ) => begin
<p>
<span class=label>
%= l 'qma_REPORT_TYPE'
</span><span class=data>
<!-- (to be sorted) -->
%= select_field 'report_type' => $c->reportType_list(), id => 'analysis_type'
</span>
</p>
<!--And optional parameters, depending on the choice.-->
<div id="message_id_group">
<span class=label>
%= label_for message_id => 'Message ID:'
</span><span class=data>
%= text_field 'message_id', placeholder => 'Enter Postfix Message ID', id => 'message_id_group'
</span>
</div>
<div id="email_address_group">
<span class=label>
%= label_for email_address => 'Email Address:'
</span><span class=data>
%= email_field 'email_address', placeholder => 'Enter email address', id => 'email_address_group';
</span>
</div>
%= submit_button "$btn", class => 'action'
% end
</div>
% end