- This is the first item's accordion body. It is shown by
- default, until the collapse plugin adds the appropriate classes that we
- use to style each element. These classes control the overall appearance,
- as well as the showing and hiding via CSS transitions. You can modify
- any of this with custom CSS or overriding our default variables. It's
- also worth noting that just about any HTML can go within the
- .accordion-body, though the transition does limit overflow.
-
-
-
-
-
-
-
-
-
- This is the second item's accordion body. It is hidden
- by default, until the collapse plugin adds the appropriate classes that
- we use to style each element. These classes control the overall
- appearance, as well as the showing and hiding via CSS transitions. You
- can modify any of this with custom CSS or overriding our default
- variables. It's also worth noting that just about any HTML can go within
- the .accordion-body, though the transition does limit
- overflow.
-
-
-
-
-
-
-
-
-
- This is the third item's accordion body. It is hidden
- by default, until the collapse plugin adds the appropriate classes that
- we use to style each element. These classes control the overall
- appearance, as well as the showing and hiding via CSS transitions. You
- can modify any of this with custom CSS or overriding our default
- variables. It's also worth noting that just about any HTML can go within
- the .accordion-body, though the transition does limit
- overflow.
-
-
-
-
-
-
-
-
-
-
-
-
Alert
-
-
-
-
- A simple primary alert with
- an example link. Give it a click if you
- like.
-
-
- A simple secondary alert with
- an example link. Give it a click if you
- like.
-
-
- A simple success alert with
- an example link. Give it a click if you
- like.
-
-
- A simple danger alert with an example link.
- Give it a click if you like.
-
-
- A simple warning alert with
- an example link. Give it a click if you
- like.
-
-
- A simple info alert with an example link.
- Give it a click if you like.
-
-
- A simple light alert with an example link.
- Give it a click if you like.
-
-
- A simple dark alert with an example link.
- Give it a click if you like.
-
- Placeholder text to demonstrate some
- inline links
- with tooltips. This is now just filler, no killer. Content placed here just to
- mimic the presence of
- real text. And all that just to give you an idea of how tooltips would look when used
- in real-world situations. So hopefully you've now seen how
- these tooltips on links
- can work in practice, once you use them on
- your own
- site or project.
-
-
- Color modes in Bootstrap
-
- allow you to switch between light and dark modes. You can do this using the
- data-bs-theme attribute. You can also create your own custom color modes.
-
- AdminLTE uses all of Bootstrap 5 components. It's a good start to review the
-
- Bootstrap documentation
-
- to get an idea of the various components that this documentation
- does not cover.
-
-
-
-
Tips!
-
- If you go through the example pages and would like to copy a component, right-click
- on the component and choose “inspect element” to get to the HTML quicker than
- scanning the HTML page.
-
- AdminLTE is an HTML template that can be used for any purpose. However, it is not made
- to be easily installed on WordPress. It will require some effort and enough knowledge
- of the WordPress script to do so.
-
-
- Is there an integration guide for PHP frameworks such as Yii or Symfony?
-
-
- Short answer, no. However, there are forks and tutorials around the web that provide
- info on how to integrate with many different frameworks. There are even versions of
- AdminLTE that are integrated with jQuery ajax, AngularJS and/or MVC5 ASP .NET.
-
-
- How do I get notified of new AdminLTE versions?
-
- When you contribute, you agree to give a non-exclusive license to AdminLTE.io to
- use that contribution in any context as we (AdminLTE.io) see appropriate.
-
-
- If you use content provided by another party, it must be appropriately licensed
- using an open source license.
-
-
Contributions are only accepted through GitHub pull requests.
-
- Finally, contributed code must work in all supported browsers (see above for
- browser support).
-
- To compile the dist files you need Node.js 18 or higher/npm (node package
- manager)
-
-
npm install (install npm deps)
-
- npm run dev (developer mode, autocompile with browsersync support
- for live demo)
-
-
- Make your changes only in ./src Folder OR
- package.json in any files which are necessary for contribution
-
-
- Do not make changes in ./dist/** Because it contains compiled files
- and do not include in PR (Pull Request)
-
-
- npm run production (compile css/js files and test all pages are
- perfectly working fine, before creating a pull request)
-
-
-
-
-
Create a pull request to master branch
-
-
-
- Online one-click setup for contributing
-
-
- You can use Codespace an online
- IDE which is free for Open Source for working on issues or making PRs (Pull Requests).
- With a single click it will launch a workspace and automatically:
-
- The
-
- starter page
-
- is a good place to start building your app if you’d like to start from scratch.
-
-
-
The layout consists of five major parts:
-
-
Wrapper .app-wrapper . A div that wraps the whole site.
-
Main Header .app-header . Contains the logo and navbar.
-
- Main Sidebar .app-sidebar . Contains the sidebar user panel and menu.
-
-
Content .app-main . Contains the page header and content.
-
Main Footer .app-footer . Contains the footer.
-
-
Layout Options
-
- AdminLTE v4 provides a set of options to apply to your main layout. Each one of these
- classes can be added to the
- body tag to get the desired goal.
-
-
-
- Fixed Sidebar: use the class .layout-fixed to get a fixed sidebar.
-
-
- Mini Sidebar on Toggle: use the class
- .sidebar-expand-* .sidebar-mini
- to have a collapsed sidebar upon loading.
-
-
- Collapsed Sidebar: use the class
- .sidebar-expand-* .sidebar-mini .sidebar-collapse to have a collapsed
- sidebar upon loading.
-
- AdminLTE is an open source project that is licensed under the
- MIT license. This allows you to do
- pretty much anything you want as long as you include the copyright in “all copies or
- substantial portions of the Software.” Attribution is not required (though very much
- appreciated).
-
-
- What You Are Allowed To Do With AdminLTE
-
-
-
Use in commercial projects.
-
Use in personal/private projects.
-
Modify and change the work.
-
Distribute the code.
-
- Sublicense: incorporate the work into something that has a more restrictive license.
-
% end
\ No newline at end of file
diff --git a/root/usr/share/smanager/themes/AdminLTE/templates/back_workstn_restore.html.ep b/root/usr/share/smanager/themes/AdminLTE/templates/back_workstn_restore.html.ep
index 0ae600d..e72e977 100644
--- a/root/usr/share/smanager/themes/AdminLTE/templates/back_workstn_restore.html.ep
+++ b/root/usr/share/smanager/themes/AdminLTE/templates/back_workstn_restore.html.ep
@@ -1,44 +1,44 @@
-% layout 'default', title => "Sme server 2 - restore";
+% layout 'AdminLTE', title => "Sme server 2 - restore";
% content_for 'module' => begin
- %= hidden_field 'Function' => $bac_datas->{'function'}
- %= submit_button $c->l('bac_RESTORE_FROM_WORKSTN'), class => ""
+ %= hidden_field 'Function' => $bac_datas->{'function'}
+ %= submit_button $c->l('bac_RESTORE_FROM_WORKSTN'), class => ""
% end
% end
\ No newline at end of file
diff --git a/root/usr/share/smanager/themes/AdminLTE/templates/back_workstn_restore1.html.ep b/root/usr/share/smanager/themes/AdminLTE/templates/back_workstn_restore1.html.ep
index 4e16937..073191a 100644
--- a/root/usr/share/smanager/themes/AdminLTE/templates/back_workstn_restore1.html.ep
+++ b/root/usr/share/smanager/themes/AdminLTE/templates/back_workstn_restore1.html.ep
@@ -1,35 +1,35 @@
-% layout 'default', title => "Sme server 2 - restore";
+% layout 'AdminLTE', title => "Sme server 2 - restore";
% content_for 'module' => begin
+ %= select_field 'FetchmailMethod' => $c->get_retrieval_opt(), class => ""
+
- %#=l 'mai_DESC_SMTP_AUTH_CONTROL'
-
- %= l "SMTP port (25) main purpose is to receive emails from another server, STARTTLS is always offered, but auth if offered is only if STARTTLS is also used by client."
-
- %= l "SMTPS port (465) will require implicit SSL/TLS then authenticate to send."
-
- %= l "SMTP Submission port (587) will require STARTTLS, then authenticate to send."
-
+ %#=l 'mai_DESC_SMTP_AUTH_CONTROL'
+
+ %= l "SMTP port (25) main purpose is to receive emails from another server, STARTTLS is always offered, but auth if offered is only if STARTTLS is also used by client."
+
+ %= l "SMTPS port (465) will require implicit SSL/TLS then authenticate to send."
+
+ %= l "SMTP Submission port (587) will require STARTTLS, then authenticate to send."
+
- % my $smtp_mesg=l('SMTP port %u allow client to authenticate:');
-
- %= sprintf($smtp_mesg,$c->get_db_prop('qpsmtpd','TCPPort',25));
-
- % param 'SMTPAuth' => $c->get_current_smtp_auth( FALSE ) unless param 'SMTPAuth';
+ % my $smtp_mesg=l('SMTP port %u allow client to authenticate:');
+
If the legacy panel does not appear, then you may not be logged into the original Server manager. You can log in by clicking here. Or by clicking on the "Legacy SM" button at the top of the window.
% my $height = $c->stash('height') | '600px';
% if ($height !~ /px$/) { $height = $height.'px';}
-
+
%end
diff --git a/root/usr/share/smanager/themes/AdminLTE/templates/exception_development.html.ep b/root/usr/share/smanager/themes/AdminLTE/templates/exception_development.html.ep
index 13f6288..866589b 100644
--- a/root/usr/share/smanager/themes/AdminLTE/templates/exception_development.html.ep
+++ b/root/usr/share/smanager/themes/AdminLTE/templates/exception_development.html.ep
@@ -1,16 +1,18 @@
-% layout 'default', title => 'Sme server 2 - Error D';
+% layout 'AdminLTE', title => 'Sme server 2 - Error D';
% content_for 'module' => begin
-
-
dev Oups !!!
+
+
+ dev
+ Oups !!!
The page you were requesting
"<%= $self->req->url->path || '/' %>"
caused en exception !!
dev
- %= link_to Back => '/'
+ %= link_to Back => '/'
diff --git a/root/usr/share/smanager/themes/AdminLTE/templates/groups.html.ep b/root/usr/share/smanager/themes/AdminLTE/templates/groups.html.ep
index c7d7d93..f44aa3c 100644
--- a/root/usr/share/smanager/themes/AdminLTE/templates/groups.html.ep
+++ b/root/usr/share/smanager/themes/AdminLTE/templates/groups.html.ep
@@ -1,32 +1,32 @@
-% layout 'default', title => "Sme server 2 - groups";
+% layout 'AdminLTE', title => "Sme server 2 - groups";
% content_for 'module' => begin
-
+ %}
+
+ %#Routing to partials according to trt parameter.
+ %#This ought to be cascading if/then/elsif, but is easier to just stack the if/then's rather like a case statement'
+
+ % if ($lets_data->{trt} eq "LIST") {
+ %= include 'partials/_lets_LIST'
+ %}
+
+ % if ($lets_data->{trt} eq "PARAMS") {
+ %= include 'partials/_lets_PARAMS'
+ %}
+
+ % if ($lets_data->{trt} eq "CHECKALLDOMAINS") {
+ %= include 'partials/_lets_CHECKALLDOMAINS'
+ %}
+
+ % if ($lets_data->{trt} eq "CHECKALLENABLEDDOMAINS") {
+ %= include 'partials/_lets_CHECKALLENABLEDDOMAINS'
+ %}
+
+ % if ($lets_data->{trt} eq "CHECKONEDOMAIN") {
+ %= include 'partials/_lets_CHECKONEDOMAIN'
+ %}
- %#Routing to partials according to trt parameter.
- %#This ought to be cascading if/then/elsif, but is easier to just stack the if/then's rather like a case statement'
-
- % if ($lets_data->{trt} eq "LIST") {
- %= include 'partials/_lets_LIST'
- %}
-
- % if ($lets_data->{trt} eq "PARAMS") {
- %= include 'partials/_lets_PARAMS'
- %}
-
- % if ($lets_data->{trt} eq "CHECKALLDOMAINS") {
- %= include 'partials/_lets_CHECKALLDOMAINS'
- %}
-
- % if ($lets_data->{trt} eq "CHECKALLENABLEDDOMAINS") {
- %= include 'partials/_lets_CHECKALLENABLEDDOMAINS'
- %}
-
- % if ($lets_data->{trt} eq "CHECKONEDOMAIN") {
- %= include 'partials/_lets_CHECKONEDOMAIN'
- %}
-
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 d49b0d0..88936c9 100644
--- a/root/usr/share/smanager/themes/AdminLTE/templates/localnetworks.html.ep
+++ b/root/usr/share/smanager/themes/AdminLTE/templates/localnetworks.html.ep
@@ -1,32 +1,32 @@
-% layout 'default', title => "Sme server 2 - localnetworks";
+% layout 'AdminLTE', title => "Sme server 2 - localnetworks";
% content_for 'module' => begin
-
-%end
\ No newline at end of file
+
+% end
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 178afb5..3e4fc8a 100644
--- a/root/usr/share/smanager/themes/AdminLTE/templates/manual.html.ep
+++ b/root/usr/share/smanager/themes/AdminLTE/templates/manual.html.ep
@@ -1,4 +1,4 @@
-% layout 'default', title => 'Sme server 2 - Manual';
+% layout 'AdminLTE', title => 'Sme server 2 - Manual';
% content_for 'module' => begin
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 42a6170..de6328f 100644
--- a/root/usr/share/smanager/themes/AdminLTE/templates/module.html.ep
+++ b/root/usr/share/smanager/themes/AdminLTE/templates/module.html.ep
@@ -1,7 +1,9 @@
-% layout 'default', title => "Sme server 2 - module";
+% layout 'AdminLTE', title => "Sme server 2 - module";
% content_for 'module' => begin
+
%= stylesheet '/css/module.css'
+
-% end
\ No newline at end of file
+% end
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 df18465..d39a236 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
@@ -1,4 +1,4 @@
-% layout 'defaultlight', title => 'Sme server 2 - Error D';
+% layout 'AdminLTE', title => 'Sme server 2 - Error D';
% content_for 'module' => begin
@@ -8,7 +8,7 @@
"<%= $self->req->url->path || '/' %>"
could not be found.
dev
- %= link_to Initial => '/Initial'
+ %= link_to Initial => '/Initial'
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 6b70694..4c72b9d 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,10 +1,10 @@
-% layout 'defaultlight', title => 'Sme server 2 - Error P';
+% layout 'AdminLTE', title => 'Sme server 2 - Error P';
The page you were requesting
"<%= $self->req->url->path || '/' %>"
could not be found.
+
+ %}
- %#Routing to partials according to trt parameter.
- %#This ought to be cascading if/then/elsif, but is easier to just stack the if/then's rather like a case statement'
-
- % if ($nut_data->{trt} eq "STATUS") {
- %= include 'partials/_nut_STATUS'
- %}
-
- % if ($nut_data->{trt} eq "CONFIG") {
- %= include 'partials/_nut_CONFIG'
- %}
-
+ %#Routing to partials according to trt parameter.
+ %#This ought to be cascading if/then/elsif, but is easier to just stack the if/then's rather like a case statement'
+
+ % if ($nut_data->{trt} eq "STATUS") {
+ %= include 'partials/_nut_STATUS'
+ %}
+
+ % if ($nut_data->{trt} eq "CONFIG") {
+ %= include 'partials/_nut_CONFIG'
+ %}
+
\ No newline at end of file
diff --git a/root/usr/share/smanager/themes/AdminLTE/templates/partials/_iba_upd.html.ep b/root/usr/share/smanager/themes/AdminLTE/templates/partials/_iba_upd.html.ep
index c875251..472fb6f 100644
--- a/root/usr/share/smanager/themes/AdminLTE/templates/partials/_iba_upd.html.ep
+++ b/root/usr/share/smanager/themes/AdminLTE/templates/partials/_iba_upd.html.ep
@@ -1,101 +1,108 @@
-
+
- % my $btn = l('ADD');
+ % my $btn = l('ADD');
%= form_for '/ibaysd' => (method => 'POST') => begin
-
URGENT NOTICE: As per May 31st 2029, SME Server 11 is obsolete, and potentially INSECURE. NO support will be offered for any issue found with this installed version.
Please migrate IMMEDIATELY to Koozali SME Server 12 or higher version. Failure to upgrade may lead to the compromise of this server.
- Please, consult https://wiki.koozali.org/SME_Server:Download to get the latest version
+ Please, consult https://wiki.koozali.org/SME_Server:Download to get the latest version
<% } %>
\ No newline at end of file
diff --git a/root/usr/share/smanager/themes/AdminLTE/templates/partials/_js_imports.html.ep b/root/usr/share/smanager/themes/AdminLTE/templates/partials/_js_imports.html.ep
index d5c2054..10fad95 100644
--- a/root/usr/share/smanager/themes/AdminLTE/templates/partials/_js_imports.html.ep
+++ b/root/usr/share/smanager/themes/AdminLTE/templates/partials/_js_imports.html.ep
@@ -1,6 +1,11 @@
-
+
+
+
+
+
% content_for 'js_toggleMenu' => begin
+
%= javascript begin
$(document).ready(function() {
@@ -98,4 +104,6 @@
});
% end
-% end
\ No newline at end of file
+% end
+
+
\ No newline at end of file
diff --git a/root/usr/share/smanager/themes/AdminLTE/templates/partials/_lets_CHECKALLDOMAINS.html.ep b/root/usr/share/smanager/themes/AdminLTE/templates/partials/_lets_CHECKALLDOMAINS.html.ep
index 7a86b29..776a530 100644
--- a/root/usr/share/smanager/themes/AdminLTE/templates/partials/_lets_CHECKALLDOMAINS.html.ep
+++ b/root/usr/share/smanager/themes/AdminLTE/templates/partials/_lets_CHECKALLDOMAINS.html.ep
@@ -1,17 +1,19 @@
%#
%# Generated by SM2Gen version:0.8 Chameleon version:4.5.4 On Python:3.12.3 at 2024-12-01 15:22:43
%#
-
- %= hidden_field 'trt' => $ln_datas->{trt}
+ %= hidden_field 'trt' => $ln_datas->{trt}
%}
diff --git a/root/usr/share/smanager/themes/AdminLTE/templates/partials/_module.html.ep b/root/usr/share/smanager/themes/AdminLTE/templates/partials/_module.html.ep
index eca49ff..8996176 100644
--- a/root/usr/share/smanager/themes/AdminLTE/templates/partials/_module.html.ep
+++ b/root/usr/share/smanager/themes/AdminLTE/templates/partials/_module.html.ep
@@ -1,4 +1,4 @@
-% layout 'default', title => 'Sme server 2 - Support';
+% layout 'AdminLTE', title => 'Sme server 2 - Support';
% content_for 'head' => begin
%= include 'partials/_head'
@@ -23,7 +23,7 @@
% content_for 'end' => begin
- content_end
+ content_end
% end
@@ -37,6 +37,6 @@ Dignissim dolus loquor lucidus probo proprius tation torqueo. Abluo luptatum qui
Aliquam autem blandit decet in jus loquor quidne saluto te. Eu meus voco wisi. Abico defui euismod huic jumentum lobortis mos vulpes. Causa eros feugiat hendrerit illum luctus nimis quidem valetudo. Elit ex obruo tation usitas vero. Abigo dolus hendrerit huic iriure jumentum letalis lobortis melior nulla. Blandit causa immitto iriure metuo nutus pagus ut voco.
\ No newline at end of file
diff --git a/root/usr/share/smanager/themes/AdminLTE/templates/partials/_nut_CONFIG.html.ep b/root/usr/share/smanager/themes/AdminLTE/templates/partials/_nut_CONFIG.html.ep
index 8db798e..f4663d3 100644
--- a/root/usr/share/smanager/themes/AdminLTE/templates/partials/_nut_CONFIG.html.ep
+++ b/root/usr/share/smanager/themes/AdminLTE/templates/partials/_nut_CONFIG.html.ep
@@ -1,17 +1,19 @@
%#
%# Generated by SM2Gen version:0.9(20Jan2025) Chameleon version:4.5.4 On Python:3.12.3 at 2025-01-20 16:21:33
%#
-
-
\ No newline at end of file
diff --git a/root/usr/share/smanager/themes/AdminLTE/templates/partials/_pf_add.html.ep b/root/usr/share/smanager/themes/AdminLTE/templates/partials/_pf_add.html.ep
index 8caef72..eac15b4 100644
--- a/root/usr/share/smanager/themes/AdminLTE/templates/partials/_pf_add.html.ep
+++ b/root/usr/share/smanager/themes/AdminLTE/templates/partials/_pf_add.html.ep
@@ -1,4 +1,4 @@
-
+
% my $retref= $c->stash("ret");
% my %ret;
@@ -42,42 +42,49 @@
%=l "pf_CREATE_RULE"
\ No newline at end of file
diff --git a/root/usr/share/smanager/themes/AdminLTE/templates/partials/_usr_del.html.ep b/root/usr/share/smanager/themes/AdminLTE/templates/partials/_usr_del.html.ep
index efa1d96..105516e 100644
--- a/root/usr/share/smanager/themes/AdminLTE/templates/partials/_usr_del.html.ep
+++ b/root/usr/share/smanager/themes/AdminLTE/templates/partials/_usr_del.html.ep
@@ -1,28 +1,28 @@
- % my $btn = l('REMOVE');
+ % my $btn = l('REMOVE');
%= form_for '/useraccountsd' => (method => 'POST') => begin
-
\ No newline at end of file
diff --git a/root/usr/share/smanager/themes/AdminLTE/templates/partials/_usr_pwds.html.ep b/root/usr/share/smanager/themes/AdminLTE/templates/partials/_usr_pwds.html.ep
index 23bf9df..058f529 100644
--- a/root/usr/share/smanager/themes/AdminLTE/templates/partials/_usr_pwds.html.ep
+++ b/root/usr/share/smanager/themes/AdminLTE/templates/partials/_usr_pwds.html.ep
@@ -1,45 +1,48 @@
-
+
- % my $btn = l('SAVE');
+ % my $btn = l('SAVE');
%= form_for '/useraccountsd' => (method => 'POST') => begin
-
- %= l 'usr_SYSTEM_PASSWORD_DESCRIPTION'
-
+
+ %= l 'usr_SYSTEM_PASSWORD_DESCRIPTION'
+
-
-
- %=l 'usr_CURRENT_SYSTEM_PASSWORD', class => ""
-
- %= password_field 'CurPass', class => "", class="">'sme-password'
-
-
+
+
+ %=l 'usr_CURRENT_SYSTEM_PASSWORD', class => ""
+
+
+ %= password_field 'CurPass', class => "", class="">'sme-password'
+
+
-
-
- %=l 'usr_NEW_SYSTEM_PASSWORD', class => ""
-
- %= password_field 'Pass', class => "", class="">'sme-password'
-
-
+
+
+ %=l 'usr_NEW_SYSTEM_PASSWORD', class => ""
+
+
+ %= password_field 'Pass', class => "", class="">'sme-password'
+
+
-
-
- %=l 'usr_NEW_SYSTEM_PASSWORD_VERIFY', class => ""
-
- %= password_field 'PassVerify', class => "", class="">'sme-password'
-
-
+
+
+ %=l 'usr_NEW_SYSTEM_PASSWORD_VERIFY', class => ""
+
+
+ %= password_field 'PassVerify', class => "", class="">'sme-password'
+
+
\ No newline at end of file
diff --git a/root/usr/share/smanager/themes/AdminLTE/templates/partials/_usr_upd.html.ep b/root/usr/share/smanager/themes/AdminLTE/templates/partials/_usr_upd.html.ep
index 4215a28..1f4db78 100644
--- a/root/usr/share/smanager/themes/AdminLTE/templates/partials/_usr_upd.html.ep
+++ b/root/usr/share/smanager/themes/AdminLTE/templates/partials/_usr_upd.html.ep
@@ -1,185 +1,195 @@
-
+
-
- % my $btn = l('ADD');
+ % my $btn = l('ADD');
%= form_for '/useraccountsd' => (method => 'POST') => begin
-
-
- %=l 'usr_P2_TITLE'
-
-
- %= $c->render_to_string(inline => l ('usr_CREATE_MODIFY_DESC'))
-
+
+
+ %=l 'usr_P2_TITLE'
+
+
+ %= $c->render_to_string(inline => l ('usr_CREATE_MODIFY_DESC'))
+
-
% if ($prt_datas->{trt} eq 'ADD') {
- %= include 'partials/_prt_add'
+ %= include 'partials/_prt_add'
%} elsif ($prt_datas->{trt} eq 'DEL') {
- %= include 'partials/_prt_del'
- %} elsif ($prt_datas->{trt} eq 'NET') {
- %= include 'partials/_prt_net'
- %} else {
- %= include 'partials/_prt_list'
- %}
+ %= include 'partials/_prt_del'
+ %} elsif ($prt_datas->{trt} eq 'NET') {
+ %= include 'partials/_prt_net'
+ %} else {
+ %= include 'partials/_prt_list'
+ %}
%end
\ No newline at end of file
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 1235af6..af12aca 100644
--- a/root/usr/share/smanager/themes/AdminLTE/templates/proxy.html.ep
+++ b/root/usr/share/smanager/themes/AdminLTE/templates/proxy.html.ep
@@ -1,43 +1,43 @@
-% layout 'default', title => "Sme server 2 - proxy";
+% layout 'AdminLTE', title => "Sme server 2 - proxy";
% content_for 'module' => begin
%end
\ No newline at end of file
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 ae3750c..6193c07 100644
--- a/root/usr/share/smanager/themes/AdminLTE/templates/pseudonyms.html.ep
+++ b/root/usr/share/smanager/themes/AdminLTE/templates/pseudonyms.html.ep
@@ -1,32 +1,32 @@
-% layout 'default', title => "Sme server 2 - pseudonyms";
+% layout 'AdminLTE', title => "Sme server 2 - pseudonyms";
% content_for 'module' => begin
-
- %= submit_button "$btn", class => ""
+ %= submit_button "$btn", class => ""
% end
%end
\ No newline at end of file
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 fdc6d58..0c89726 100644
--- a/root/usr/share/smanager/themes/AdminLTE/templates/quota.html.ep
+++ b/root/usr/share/smanager/themes/AdminLTE/templates/quota.html.ep
@@ -1,27 +1,27 @@
-% layout 'default', title => "Sme server 2 - quota";
+% layout 'AdminLTE', title => "Sme server 2 - quota";
% content_for 'module' => begin
-
- %= hidden_field 'trt' => 'UPDT'
-
+ %= hidden_field 'trt' => 'UPDT'
+
- %= submit_button $c->l('yum_INSTALL_UPDATES'), class => ""
+ %= submit_button $c->l('yum_INSTALL_UPDATES'), class => ""
% end
diff --git a/smeserver-manager-AdminLTE.spec b/smeserver-manager-AdminLTE.spec
index 4b2243d..19f0539 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 1
+%define release 2
Summary: AdminLTE is an html framework for admin consoles - this rpm adds it to smeserver manager2
Name: %{name}
Version: %{version}
@@ -26,7 +26,13 @@ AdminLTE is an html framework for admin consoles
wget https://github.com/ColorlibHQ/AdminLTE/archive/master.zip
%changelog
-* Tue Mar 25 2025 Brian Read 0.1.4-4.sme
+* Tue Apr 15 2025 John Crisp 11.0.0-2.sme
+- Start to build templates with AdminLTE
+- Split the basic template into sections to make it easier to manage
+- Cleanup existign main templates
+- Rename some partials more logically
+
+* Tue Mar 25 2025 Brian Read 11.0.0-1.sme
- New version for AdminLTE integration with no class or ids
%prep