44 lines
1.1 KiB
Plaintext
Raw Normal View History

% layout 'default', title => "Sme server 2 - qmailanalog";
% content_for 'module' => begin
%= javascript '/js/qmailanalog.js'
<div id="" class="">
%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="">
%=l 'qma_REPORT_TYPE'
</span><span class="">
<!-- (to be sorted) -->
%= select_field 'report_type' => $c->reportType_list(), id => ""
</span>
</p>
<!--And optional parameters, depending on the choice.-->
<div id="">
<span class="">
%= label_for message_id => 'Message ID:'
</span><span class="">
%= text_field 'message_id', placeholder => 'Enter Postfix Message ID', id => ""
</span>
</div>
<div id="">
<span class="">
%= label_for email_address => 'Email Address:'
</span><span class="">
%= email_field 'email_address', placeholder => 'Enter email address', id => ""
</span>
</div>
%= submit_button "$btn", class => ""
% end
</div>
%end