smeserver-awstats/root/usr/share/smanager/themes/default/templates/awstats.html.ep

35 lines
879 B
Plaintext

% layout 'default', title => "Sme server 2 - AWStats";
% content_for 'module' => begin
<div id='module' class='module awstats-panel'>
% if ($config->{debug} == 1) {
<p>
%= dumper $c->current_route
%= dumper $aws_datas
</p>
% }
% if ( stash 'warning' ) {
<br><div class=sme-warning>
%= $c->render_to_string(inline => stash 'warning')
</div>
%}
% if ( stash 'error' ) {
<br><div class=sme-error>
%= $c->render_to_string(inline => stash 'error')
</div>
%}
<h1><%= $title%></h1>
% if ($aws_datas->{trt} eq 'CNF') {
%= include 'partials/_aws_cnf'
%} elsif ($aws_datas->{trt} eq 'SHW' or $aws_datas->{trt} eq 'SHWP') {
%= include 'partials/_aws_shw'
%} elsif ($aws_datas->{trt} eq 'UPD') {
%= include 'partials/_aws_cnf'
%} else {
%= include 'partials/_aws_list'
%}
</div>
% end