A few fixups in ptyhon, plus mailstats panel json 1st pass
This commit is contained in:
52
Targets/Mailstats/_mst_TABLE.html.ep
Normal file
52
Targets/Mailstats/_mst_TABLE.html.ep
Normal file
@@ -0,0 +1,52 @@
|
||||
%#
|
||||
%# Generated by SM2Gen version:0.9(20Jan2025) Chameleon version:4.5.4 On Python:3.12.3 at 2025-04-04 13:12:40
|
||||
%#
|
||||
<div id="Mailstats-TABLE" class="partial Mailstats-TABLE">
|
||||
<script>
|
||||
window.onload = function() {
|
||||
SelectInput();
|
||||
};
|
||||
</script>
|
||||
% if (config->{debug} == 1) {
|
||||
<pre>
|
||||
%= dumper $mst_data
|
||||
</pre>
|
||||
% }
|
||||
% my $btn = l('mst_APPLY');
|
||||
%= form_for "mailstatsu" => (method => 'POST') => begin
|
||||
% param 'trt' => $mst_data->{trt} unless param 'trt';
|
||||
%= hidden_field 'trt' => $mst_data->{trt}
|
||||
%# Inputs etc in here.
|
||||
|
||||
<div class=inline-buttons>
|
||||
|
||||
|
||||
<a href='mailstatsd?trt=CONFIG' class='link link1'>
|
||||
%= l('mst_Configure_Mailstats')
|
||||
</a>
|
||||
%#= link_to l('mst_Configure_Mailstats'), 'mailstatsd?trt=CONFIG' , class=>'link link1'
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<h2 class='subh1'><%=l('mst_Table_of_email_status')%></h2>
|
||||
|
||||
<p class='paragraph para1'>
|
||||
%=l('mst_Descriptive_paragraph')
|
||||
</p>
|
||||
|
||||
<p><span class=label>
|
||||
%=l('mst_Date_for_Stats_display')
|
||||
</span><span class=data>
|
||||
% my @StatsDate_options = [['$c->get_StatsDate()' => '$c->get_StatsDate()']];
|
||||
% param 'StatsDate' => $mst_data->{StatsDate} unless param 'StatsDate';
|
||||
%= select_field 'StatsDate' => @StatsDate_options, class => 'input', id => 'StatsDate_select'
|
||||
<br></span> </p>
|
||||
|
||||
<object data="<%='mailstats/$c->stash("url")' %>" title="<%= $c->stash('title') %>" type="text/html" ><%= $c->stash('title') %> not found</object>
|
||||
|
||||
|
||||
%# Probably finally by a submit.
|
||||
%end
|
||||
</div>
|
Reference in New Issue
Block a user