Sort out text version of table etc

This commit is contained in:
2025-04-08 18:57:30 +01:00
parent 2d1824553b
commit 32d91c4a24
5 changed files with 141 additions and 50 deletions

View File

@@ -2,11 +2,7 @@
%# Generated by SM2Gen version:0.9(20Jan2025) Chameleon version:4.5.4 On Python:3.12.3 at 2025-04-05 11:59:08
%#
<div id="Mailstats-TABLE" class="partial Mailstats-TABLE">
<script>
window.onload = function() {
SelectInput();
};
</script>
% if (config->{debug} == 1) {
<pre>
%= dumper $mst_data
@@ -17,23 +13,21 @@
% param 'trt' => $mst_data->{trt} unless param 'trt';
%= hidden_field 'trt' => $mst_data->{trt}
%# Inputs etc in here.
<br>
<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'
<a href='mailstatsd?trt=CONFIG' class='link link1'>
%= l('mst_Configure_Mailstats')
</a>
<a id='mailstats-full-window' href='' class='link link1'>
%= l('mst_Full_Window')
</a>
</div>
<h2 class='subh1'><%=l('mst_Table_of_email_status')%></h2>
<p class='paragraph para1'>
%=l('mst_Descriptive_paragraph')
%= $c->render_to_string(inline=>$c->l('mst_Descriptive_paragraph'))
</p>
<p><span class=label>
@@ -42,8 +36,8 @@
% my @StatsDate_options = $c->get_mailstat_dates();
% param 'StatsDate' => $mst_data->{StatsDate} unless param 'StatsDate';
%= select_field 'StatsDate' => @StatsDate_options, class => 'input', id => 'StatsDate_select'
%=l('mst_Use_Cursor_keys')
<br></span> </p>
<object id = 'mailstats_object' data="<%='' %>" title="<%= $c->stash('title') %>" type="text/html" height='600px' width='100%' ><%= $c->stash('title') %> not found</object>