+ + + + + %#= dumper $c->current_route + % if ($c->current_route ne 'login') { + %= include 'partials/_panel_card_top' + %= include 'partials/_panel_card_header' + % } + %= content 'module' - -
- - - %= content 'module' + % if ($c->current_route ne 'login') { + %= include 'partials/_panel_card_footer' + %= include 'partials/_panel_card_bottom' + % } +
diff --git a/root/usr/share/smanager/themes/AdminLTE/templates/localnetworks.html.ep b/root/usr/share/smanager/themes/AdminLTE/templates/localnetworks.html.ep index 88936c9..3a364fd 100644 --- a/root/usr/share/smanager/themes/AdminLTE/templates/localnetworks.html.ep +++ b/root/usr/share/smanager/themes/AdminLTE/templates/localnetworks.html.ep @@ -1,7 +1,8 @@ % layout 'AdminLTE', title => "Sme server 2 - localnetworks"; % content_for 'module' => begin -+ +% if (config->{debug} == 1) {diff --git a/root/usr/share/smanager/themes/AdminLTE/templates/manual.html.ep b/root/usr/share/smanager/themes/AdminLTE/templates/manual.html.ep index 3e4fc8a..c8dc711 100644 --- a/root/usr/share/smanager/themes/AdminLTE/templates/manual.html.ep +++ b/root/usr/share/smanager/themes/AdminLTE/templates/manual.html.ep @@ -1,8 +1,11 @@ % layout 'AdminLTE', title => 'Sme server 2 - Manual'; % content_for 'module' => begin -
-<%= $title %>
+ ++diff --git a/root/usr/share/smanager/themes/AdminLTE/templates/module.html.ep b/root/usr/share/smanager/themes/AdminLTE/templates/module.html.ep index de6328f..a281b5b 100644 --- a/root/usr/share/smanager/themes/AdminLTE/templates/module.html.ep +++ b/root/usr/share/smanager/themes/AdminLTE/templates/module.html.ep @@ -2,9 +2,11 @@ % content_for 'module' => begin + + %= stylesheet '/css/module.css' -+
<%= $title %>
+ %= $c->render_to_string( inline => stash 'modul' )+% if (config->{debug} == 1) {Debug Info: diff --git a/root/usr/share/smanager/themes/AdminLTE/templates/not_found.development.html.ep b/root/usr/share/smanager/themes/AdminLTE/templates/not_found.development.html.ep index d39a236..65b2f03 100644 --- a/root/usr/share/smanager/themes/AdminLTE/templates/not_found.development.html.ep +++ b/root/usr/share/smanager/themes/AdminLTE/templates/not_found.development.html.ep @@ -2,8 +2,9 @@ % content_for 'module' => begin -
-
dev
Oups !!! +++
dev
Oups !!! The page you were requesting "<%= $self->req->url->path || '/' %>" could not be found. diff --git a/root/usr/share/smanager/themes/AdminLTE/templates/not_found.html.ep b/root/usr/share/smanager/themes/AdminLTE/templates/not_found.html.ep index 4c72b9d..d52cb71 100644 --- a/root/usr/share/smanager/themes/AdminLTE/templates/not_found.html.ep +++ b/root/usr/share/smanager/themes/AdminLTE/templates/not_found.html.ep @@ -1,6 +1,7 @@ % layout 'AdminLTE', title => 'Sme server 2 - Error P'; --
+++
The page you were requesting "<%= $self->req->url->path || '/' %>" could not be found. diff --git a/root/usr/share/smanager/themes/AdminLTE/templates/not_found.production.html.ep b/root/usr/share/smanager/themes/AdminLTE/templates/not_found.production.html.ep index e3e5cbc..deffbec 100644 --- a/root/usr/share/smanager/themes/AdminLTE/templates/not_found.production.html.ep +++ b/root/usr/share/smanager/themes/AdminLTE/templates/not_found.production.html.ep @@ -2,7 +2,7 @@ % content_for 'module' => begin -+
dev
Oups !!! The page you were requesting "<%= $self->req->url->path || '/' %>" diff --git a/root/usr/share/smanager/themes/AdminLTE/templates/nutups.html.ep b/root/usr/share/smanager/themes/AdminLTE/templates/nutups.html.ep index 8656adf..4ffbc61 100644 --- a/root/usr/share/smanager/themes/AdminLTE/templates/nutups.html.ep +++ b/root/usr/share/smanager/themes/AdminLTE/templates/nutups.html.ep @@ -6,7 +6,7 @@ % content_for 'module' => begin -+% if (config->{debug} == 1) {diff --git a/root/usr/share/smanager/themes/AdminLTE/templates/partials/_panel_card_footer.html.ep b/root/usr/share/smanager/themes/AdminLTE/templates/partials/_panel_card_footer.html.ep index 6dd5cb2..8ce88b4 100644 --- a/root/usr/share/smanager/themes/AdminLTE/templates/partials/_panel_card_footer.html.ep +++ b/root/usr/share/smanager/themes/AdminLTE/templates/partials/_panel_card_footer.html.ep @@ -1,4 +1,4 @@ -+ \ No newline at end of file diff --git a/root/usr/share/smanager/themes/AdminLTE/templates/partials/_panel_card_header.html.ep b/root/usr/share/smanager/themes/AdminLTE/templates/partials/_panel_card_header.html.ep index 061c04b..2ff6db5 100644 --- a/root/usr/share/smanager/themes/AdminLTE/templates/partials/_panel_card_header.html.ep +++ b/root/usr/share/smanager/themes/AdminLTE/templates/partials/_panel_card_header.html.ep @@ -1,7 +1,7 @@-\ No newline at end of file diff --git a/root/usr/share/smanager/themes/AdminLTE/templates/partials/_panel_card_tools.html.ep b/root/usr/share/smanager/themes/AdminLTE/templates/partials/_panel_card_tools.html.ep index 4c03981..640043c 100644 --- a/root/usr/share/smanager/themes/AdminLTE/templates/partials/_panel_card_tools.html.ep +++ b/root/usr/share/smanager/themes/AdminLTE/templates/partials/_panel_card_tools.html.ep @@ -1,5 +1,7 @@ + diff --git a/root/usr/share/smanager/themes/AdminLTE/templates/portforwarding.html.ep b/root/usr/share/smanager/themes/AdminLTE/templates/portforwarding.html.ep index f86608d..c4f2d46 100644 --- a/root/usr/share/smanager/themes/AdminLTE/templates/portforwarding.html.ep +++ b/root/usr/share/smanager/themes/AdminLTE/templates/portforwarding.html.ep @@ -1,7 +1,8 @@ % layout 'AdminLTE', title => "Sme server 2 - Port Forwards"; % content_for 'module' => begin -Card Title <%= $title%>
+Card Title - <%= $title%>
-%= include 'partials/_panel_card_tools' + %= include 'partials/_panel_card_tools'+ +% if (config->{debug} == 1) {diff --git a/root/usr/share/smanager/themes/AdminLTE/templates/printers.html.ep b/root/usr/share/smanager/themes/AdminLTE/templates/printers.html.ep index 1b499df..5e39e33 100644 --- a/root/usr/share/smanager/themes/AdminLTE/templates/printers.html.ep +++ b/root/usr/share/smanager/themes/AdminLTE/templates/printers.html.ep @@ -1,7 +1,8 @@ % layout 'AdminLTE', title => "Sme server 2 - printers"; % content_for 'module' => begin -
+ +%if (config->{debug} == 1) {diff --git a/root/usr/share/smanager/themes/AdminLTE/templates/proxy.html.ep b/root/usr/share/smanager/themes/AdminLTE/templates/proxy.html.ep index a3b3dac..8563bb5 100644 --- a/root/usr/share/smanager/themes/AdminLTE/templates/proxy.html.ep +++ b/root/usr/share/smanager/themes/AdminLTE/templates/proxy.html.ep @@ -1,7 +1,9 @@ % layout 'AdminLTE', title => "Sme server 2 - proxy"; % content_for 'module' => begin -
+ ++ %if (config->{debug} == 1) {(DBG)route: <%= $c->current_route %>
(DBG)ht stat: <%= $prx_datas->{http_proxy_status}%>
diff --git a/root/usr/share/smanager/themes/AdminLTE/templates/pseudonyms.html.ep b/root/usr/share/smanager/themes/AdminLTE/templates/pseudonyms.html.ep index 6193c07..8a042c0 100644 --- a/root/usr/share/smanager/themes/AdminLTE/templates/pseudonyms.html.ep +++ b/root/usr/share/smanager/themes/AdminLTE/templates/pseudonyms.html.ep @@ -1,7 +1,8 @@ % layout 'AdminLTE', title => "Sme server 2 - pseudonyms"; % content_for 'module' => begin -+ +% if (config->{debug} == 1) {diff --git a/root/usr/share/smanager/themes/AdminLTE/templates/qmailanalog.html.ep b/root/usr/share/smanager/themes/AdminLTE/templates/qmailanalog.html.ep index 56202b0..fcf8943 100644 --- a/root/usr/share/smanager/themes/AdminLTE/templates/qmailanalog.html.ep +++ b/root/usr/share/smanager/themes/AdminLTE/templates/qmailanalog.html.ep @@ -1,7 +1,12 @@ % layout 'AdminLTE', title => "Sme server 2 - qmailanalog"; % content_for 'module' => begin + + + %= javascript '/js/qmailanalog.js' -
+ ++ %if (config->{debug} == 1) {(DBG)route: <%= $c->current_route %>
diff --git a/root/usr/share/smanager/themes/AdminLTE/templates/quota.html.ep b/root/usr/share/smanager/themes/AdminLTE/templates/quota.html.ep index 0c89726..d875e6b 100644 --- a/root/usr/share/smanager/themes/AdminLTE/templates/quota.html.ep +++ b/root/usr/share/smanager/themes/AdminLTE/templates/quota.html.ep @@ -1,7 +1,8 @@ % layout 'AdminLTE', title => "Sme server 2 - quota"; % content_for 'module' => begin -+ +% if (config->{debug} == 1) {diff --git a/root/usr/share/smanager/themes/AdminLTE/templates/reboot.html.ep b/root/usr/share/smanager/themes/AdminLTE/templates/reboot.html.ep index 054dd11..7b9db30 100644 --- a/root/usr/share/smanager/themes/AdminLTE/templates/reboot.html.ep +++ b/root/usr/share/smanager/themes/AdminLTE/templates/reboot.html.ep @@ -2,7 +2,7 @@ % content_for 'module' => begin -
+%if (config->{debug} == 1) {diff --git a/root/usr/share/smanager/themes/AdminLTE/templates/remoteaccess.html.ep b/root/usr/share/smanager/themes/AdminLTE/templates/remoteaccess.html.ep index 40a4070..db511a2 100644 --- a/root/usr/share/smanager/themes/AdminLTE/templates/remoteaccess.html.ep +++ b/root/usr/share/smanager/themes/AdminLTE/templates/remoteaccess.html.ep @@ -1,7 +1,8 @@ % layout 'AdminLTE', title => "Sme server 2 - remoteaccess"; % content_for 'module' => begin -
+ +% if (config->{debug} == 1) {diff --git a/root/usr/share/smanager/themes/AdminLTE/templates/review.html.ep b/root/usr/share/smanager/themes/AdminLTE/templates/review.html.ep index 69384ed..b03ac3e 100644 --- a/root/usr/share/smanager/themes/AdminLTE/templates/review.html.ep +++ b/root/usr/share/smanager/themes/AdminLTE/templates/review.html.ep @@ -6,8 +6,7 @@ %#= include 'partials/_panel_card_top' %#= include 'partials/_panel_card_header' - -
+<%= $title %>
diff --git a/root/usr/share/smanager/themes/AdminLTE/templates/roundcube.html.ep b/root/usr/share/smanager/themes/AdminLTE/templates/roundcube.html.ep index db63b08..1624b89 100644 --- a/root/usr/share/smanager/themes/AdminLTE/templates/roundcube.html.ep +++ b/root/usr/share/smanager/themes/AdminLTE/templates/roundcube.html.ep @@ -3,7 +3,8 @@ % content_for 'module' => begin -++ % if (config->{debug} == 1) {%= dumper $c->current_route diff --git a/root/usr/share/smanager/themes/AdminLTE/templates/support.html.ep b/root/usr/share/smanager/themes/AdminLTE/templates/support.html.ep index 3c8d16b..7656e5f 100644 --- a/root/usr/share/smanager/themes/AdminLTE/templates/support.html.ep +++ b/root/usr/share/smanager/themes/AdminLTE/templates/support.html.ep @@ -1,10 +1,12 @@ % layout 'AdminLTE', title => 'Sme server 2 - Support'; % content_for 'module' => begin -
+ ++ %end \ No newline at end of file diff --git a/root/usr/share/smanager/themes/AdminLTE/templates/useraccounts.html.ep b/root/usr/share/smanager/themes/AdminLTE/templates/useraccounts.html.ep index ac6eb04..fffef73 100644 --- a/root/usr/share/smanager/themes/AdminLTE/templates/useraccounts.html.ep +++ b/root/usr/share/smanager/themes/AdminLTE/templates/useraccounts.html.ep @@ -2,8 +2,8 @@ % content_for 'module' => begin -%= include 'partials/_panel_card_top' -%= include 'partials/_panel_card_header' +%#= include 'partials/_panel_card_top' +%#= include 'partials/_panel_card_header'< %= $title % >
<%= $modul %>
@@ -43,8 +43,8 @@-%= include 'partials/_panel_card_footer' -%= include 'partials/_panel_card_bottom' +%#= include 'partials/_panel_card_footer' +%#= include 'partials/_panel_card_bottom' %end diff --git a/root/usr/share/smanager/themes/AdminLTE/templates/userpassword.html.ep b/root/usr/share/smanager/themes/AdminLTE/templates/userpassword.html.ep index 6cf1266..698c537 100644 --- a/root/usr/share/smanager/themes/AdminLTE/templates/userpassword.html.ep +++ b/root/usr/share/smanager/themes/AdminLTE/templates/userpassword.html.ep @@ -2,7 +2,7 @@ % content_for 'module' => begin -+% if (config->{debug} == 1) {diff --git a/root/usr/share/smanager/themes/AdminLTE/templates/viewlogfiles.html.ep b/root/usr/share/smanager/themes/AdminLTE/templates/viewlogfiles.html.ep index bc498c2..3324ff7 100644 --- a/root/usr/share/smanager/themes/AdminLTE/templates/viewlogfiles.html.ep +++ b/root/usr/share/smanager/themes/AdminLTE/templates/viewlogfiles.html.ep @@ -1,7 +1,9 @@ % layout 'AdminLTE', title => "Sme server 2 - viewlogfiles"; % content_for 'module' => begin -
+ ++ %if (config->{debug} == 1) {(DBG)route: <%= $c->current_route %>
diff --git a/root/usr/share/smanager/themes/AdminLTE/templates/viewlogfiles2.html.ep b/root/usr/share/smanager/themes/AdminLTE/templates/viewlogfiles2.html.ep index 7eac823..fa0139e 100644 --- a/root/usr/share/smanager/themes/AdminLTE/templates/viewlogfiles2.html.ep +++ b/root/usr/share/smanager/themes/AdminLTE/templates/viewlogfiles2.html.ep @@ -2,7 +2,7 @@ % content_for 'module' => begin -+% if (config->{debug} == 1) {diff --git a/root/usr/share/smanager/themes/AdminLTE/templates/welcome.html.ep b/root/usr/share/smanager/themes/AdminLTE/templates/welcome.html.ep index 3ed2a9e..b789bcb 100644 --- a/root/usr/share/smanager/themes/AdminLTE/templates/welcome.html.ep +++ b/root/usr/share/smanager/themes/AdminLTE/templates/welcome.html.ep @@ -1,7 +1,9 @@ % layout 'AdminLTE', title => 'Sme server 2 - IndexT'; % content_for 'module' => begin -
+ ++Index on line - Welcome page
diff --git a/root/usr/share/smanager/themes/AdminLTE/templates/whatever.html.ep b/root/usr/share/smanager/themes/AdminLTE/templates/whatever.html.ep index 4accb7d..c0a24f4 100644 --- a/root/usr/share/smanager/themes/AdminLTE/templates/whatever.html.ep +++ b/root/usr/share/smanager/themes/AdminLTE/templates/whatever.html.ep @@ -2,7 +2,7 @@ % content_for 'module' => begin -
+
dev
What else !!! The page you were requesting "<%= $self->req->url->path || '/' %>" diff --git a/root/usr/share/smanager/themes/AdminLTE/templates/workgroup.html.ep b/root/usr/share/smanager/themes/AdminLTE/templates/workgroup.html.ep index fb947cc..8bc2697 100644 --- a/root/usr/share/smanager/themes/AdminLTE/templates/workgroup.html.ep +++ b/root/usr/share/smanager/themes/AdminLTE/templates/workgroup.html.ep @@ -1,7 +1,8 @@ % layout 'AdminLTE', title => "Sme server 2 - workgroup"; % content_for 'module' => begin -+ +%if (config->{debug} == 1) {diff --git a/root/usr/share/smanager/themes/AdminLTE/templates/yum.html.ep b/root/usr/share/smanager/themes/AdminLTE/templates/yum.html.ep index ad9d75a..fa86833 100644 --- a/root/usr/share/smanager/themes/AdminLTE/templates/yum.html.ep +++ b/root/usr/share/smanager/themes/AdminLTE/templates/yum.html.ep @@ -2,7 +2,8 @@ % content_for 'module' => begin -
++ % if (config->{debug} == 1) {%= dumper $c->current_route diff --git a/root/usr/share/smanager/themes/AdminLTE/templates/yumconfig.html.ep b/root/usr/share/smanager/themes/AdminLTE/templates/yumconfig.html.ep index 09b96da..5023cc0 100644 --- a/root/usr/share/smanager/themes/AdminLTE/templates/yumconfig.html.ep +++ b/root/usr/share/smanager/themes/AdminLTE/templates/yumconfig.html.ep @@ -2,7 +2,8 @@ % content_for 'module' => begin -
++ % if (config->{debug} == 1) {%= dumper $c->current_route diff --git a/root/usr/share/smanager/themes/AdminLTE/templates/yuminstall.html.ep b/root/usr/share/smanager/themes/AdminLTE/templates/yuminstall.html.ep index c7c7386..2dea9d0 100644 --- a/root/usr/share/smanager/themes/AdminLTE/templates/yuminstall.html.ep +++ b/root/usr/share/smanager/themes/AdminLTE/templates/yuminstall.html.ep @@ -2,7 +2,8 @@ % content_for 'module' => begin -
++ % if (config->{debug} == 1) {%= dumper $c->current_route diff --git a/root/usr/share/smanager/themes/AdminLTE/templates/yumlogfile.html.ep b/root/usr/share/smanager/themes/AdminLTE/templates/yumlogfile.html.ep index 359c3b6..84afe34 100644 --- a/root/usr/share/smanager/themes/AdminLTE/templates/yumlogfile.html.ep +++ b/root/usr/share/smanager/themes/AdminLTE/templates/yumlogfile.html.ep @@ -6,7 +6,8 @@ % content_for 'module' => begin -
++ % if (config->{debug} == 1) {%= dumper $c->current_route diff --git a/root/usr/share/smanager/themes/AdminLTE/templates/yumpostupg.html.ep b/root/usr/share/smanager/themes/AdminLTE/templates/yumpostupg.html.ep index 9a44dac..ffe532f 100644 --- a/root/usr/share/smanager/themes/AdminLTE/templates/yumpostupg.html.ep +++ b/root/usr/share/smanager/themes/AdminLTE/templates/yumpostupg.html.ep @@ -2,7 +2,8 @@ % content_for 'module' => begin -
++ % if (config->{debug} == 1) {%= dumper $c->current_route diff --git a/root/usr/share/smanager/themes/AdminLTE/templates/yumremove.html.ep b/root/usr/share/smanager/themes/AdminLTE/templates/yumremove.html.ep index a70147a..5fc6f97 100644 --- a/root/usr/share/smanager/themes/AdminLTE/templates/yumremove.html.ep +++ b/root/usr/share/smanager/themes/AdminLTE/templates/yumremove.html.ep @@ -2,7 +2,8 @@ % content_for 'module' => begin -
++ % if (config->{debug} == 1) {%= dumper $c->current_route diff --git a/root/usr/share/smanager/themes/AdminLTE/templates/yumupdate.html.ep b/root/usr/share/smanager/themes/AdminLTE/templates/yumupdate.html.ep index f502a46..ebc3b7f 100644 --- a/root/usr/share/smanager/themes/AdminLTE/templates/yumupdate.html.ep +++ b/root/usr/share/smanager/themes/AdminLTE/templates/yumupdate.html.ep @@ -2,7 +2,8 @@ % content_for 'module' => begin -
++ % if (config->{debug} == 1) {%= dumper $c->current_route diff --git a/smeserver-manager-AdminLTE.spec b/smeserver-manager-AdminLTE.spec index 2e9eb51..83c02ae 100644 --- a/smeserver-manager-AdminLTE.spec +++ b/smeserver-manager-AdminLTE.spec @@ -1,6 +1,6 @@ %define name smeserver-manager-AdminLTE %define version 11.0.0 -%define release 7 +%define release 8 Summary: AdminLTE is an html framework for admin consoles - this rpm adds it to smeserver manager2 Name: %{name} Version: %{version} @@ -26,6 +26,11 @@ AdminLTE is an html framework for admin consoles wget https://github.com/ColorlibHQ/AdminLTE/archive/master.zip %changelog +* Fri Apr 18 2025 John Crisp
11.0.0-8.sme +- More cleanup +- Add Card support across all panels except login +- Disabled minimise and remove Card icons + * Thu Apr 17 2025 John Crisp 11.0.0-7.sme - Clean up review template (but footer in the wrong place) - Fix typo tabel