Update review template and fix typo

This commit is contained in:
John Crisp 2025-04-17 17:26:55 +02:00
parent 4551efc1ed
commit f516d2b759
4 changed files with 35 additions and 181 deletions

View File

@ -1,14 +1,14 @@
<div id="" class="">
<div>
<!--<HR class="">-->
<a href="https://mojolicious.org" target="_blank"><img src="images/sme-mojo-logo-white.png" style="position:relative;"></a>
<font class="">
% if ( $c->is_logged_in && $c->is_admin) {
<font>
% if ( $c->is_logged_in && $c->is_admin) {
SME Server <%= session 'releaseVersion' %>-<%= $c->app->VERSION %> Manager II
% my $mode;
% if (config->{mode} eq 'development'){ $mode = '-dev';} else { $mode = '';}
(Mojo:<%= Mojolicious->VERSION %><%= $mode %>)
% }
<br>Copyright 1999-2006 Mitel Corporation<br>
%= session 'copyRight'
<br>Copyright (c) 2013-2024 Koozali Foundation Inc.<br>
% }
<br>Copyright 1999-2006 Mitel Corporation<br>
%= session 'copyRight'
<br>Copyright (c) 2013-2024 Koozali Foundation Inc.<br>
</font>

View File

@ -141,7 +141,7 @@
%=l 'usr_GROUP_MEMBERSHIPS'
</span>
<span class="">
<table class="tabel table-bordered">
<table class="table table-bordered">
<thead>
<tr>
<th class="">

View File

@ -1,182 +1,32 @@
% layout 'AdminLTE', title => 'Sme server 2 - Review';
% content_for 'module' => begin
<div id="" class="">
%#= include 'partials/_panel_card_top'
%#= include 'partials/_panel_card_header'
<div>
<h1> <%= $title %> </h1>
<%= $modul %><br><br>
%= form_for 'review' => begin
<b>
%=l 'rvw_NETWORKING_PARAMS'
</b><br>
<!-- Header text -->
%= $modul
% if (config->{debug} == 1) {
<p>
<span class="">
%=l 'rvw_SERVER_MODE'
</span>
%= $rvw_datas->{servermode}
</p>
<p>
<span class="">
%=l 'rvw_LOCAL_IP_ADDRESS_SUBNET_MASK'
</span>
%= $rvw_datas->{localip}
</p>
% if ( $rvw_datas->{publicip} ) {
<p><span class="">
%=l 'rvw_INTERNET_VISIBLE_ADDRESS'
</span>
%= $rvw_datas->{publicip}
%= dumper $c->current_route
%= dumper $rvw_datas
</p>
% }
<p>
<span class="">
%=l 'rvw_GATEWAY'
</span>
%= $rvw_datas->{gateway}
%= $rvw_datas->{serveronly}
</p>
<p>
<table width='100%'>
<tr>
<td class="">
<!--span class="">
%=l 'rvw_ADDITIONAL_LOCAL_NETWORKS'
<!--/span-->
</td>
<td>
%= $c->render_to_string( inline => $rvw_datas->{addlocalnetworks} );
</td>
</tr>
</table>
</p>
<p>
<table width='100%'>
<tr>
<td class="">
<!--<p><span class="">-->
%=l 'rvw_DHCP_SERVER'
<!--</span>-->
</td>
<td>
%= $rvw_datas->{dhcpserver}
<!--</p>-->
</td>
</tr>
</table>
</p>
<br><br>
<b>
%=l 'rvw_SERVER_NAMES'
</b>
<br>
<p>
<span class="">
%=l 'rvw_DNS_SERVER'
</span>
%= $rvw_datas->{dnsserver}
</p>
<p>
<span class="">
%=l 'rvw_WEB_SERVER'
</span>
%= $rvw_datas->{webserver}
</p>
<p>
<span class="">
%=l 'rvw_PROXY_SERVER'
</span>
%= $rvw_datas->{proxyserver}
</p>
<p>
<span class="">
%=l 'rvw_FTP_SERVER'
</span>
%= $rvw_datas->{ftpserver}
</p>
<p>
<span class="">
%=l 'rvw_SMTP_POP_AND_IMAP_MAIL_SERVERS'
</span>
%= $rvw_datas->{smtpserver}
</p>
<br><br>
<b>
%=l 'rvw_DOMAIN_INFORMATION'
</b>
<br>
<p>
<span class="">
%=l 'rvw_PRIMARY_DOMAIN'
</span>
%= $rvw_datas->{domainname}
</p>
<!---<p><span class="">-->
<p>
<table width='100%'>
<tr>
<td class="">
%=l 'rvw_VIRTUAL_DOMAINS'
</td>
<td>
<!--</span>-->
%= $rvw_datas->{virtualdomains}
</td>
</tr>
</table>
</p>
<!--</p>-->
<p>
<span class="">
%=l 'rvw_PRIMARY_WEB_SITE'
</span>
%= $rvw_datas->{primarywebsite}
</p>
<p>
<span class="">
%=l 'rvw_SERVER_MANAGER'
</span>
%= $rvw_datas->{servermanager}
</p>
<p>
<span class="">
%=l 'rvw_USER_PASSWORD_PANEL'
</span>
%= $rvw_datas->{usermanager}
</p>
<p>
<table width='100%'>
<tr>
<td class="">
%=l 'rvw_EMAIL_ADDRESSES'
</td>
<td>
%= $rvw_datas->{emailaddresses}
</td>
</tr>
</table>
</p>
% end
%= include 'partials/_rvw_content'
</div>
%#= include 'partials/_panel_card_footer'
%#= include 'partials/_panel_card_bottom'
% end

View File

@ -1,6 +1,6 @@
%define name smeserver-manager-AdminLTE
%define version 11.0.0
%define release 6
%define release 7
Summary: AdminLTE is an html framework for admin consoles - this rpm adds it to smeserver manager2
Name: %{name}
Version: %{version}
@ -26,6 +26,10 @@ AdminLTE is an html framework for admin consoles
wget https://github.com/ColorlibHQ/AdminLTE/archive/master.zip
%changelog
* Thu Apr 17 2025 John Crisp <jcrisp@safeandsoundit.co.uk> 11.0.0-7.sme
- Clean up review template (but footer in the wrong place)
- Fix typo tabel
* Wed Apr 16 2025 John Crisp <jcrisp@safeandsoundit.co.uk> 11.0.0-6.sme
- Remove old template
- Update breadcrumbs