Difference between revisions of "Server Manager2 create panel for contrib"

From SME Server
Jump to navigationJump to search
(Howto create a panel in Mojolicious based Server Manager 2.)
Tags: Mobile edit Mobile web edit
 
Line 1: Line 1:
[[Category:Howto]] [[Category:Server Manager 2]] [[Category:SM2]][[Category:Mojolicious]]
+
[[Category:Howto]] [[Category:Server Manager 2]] [[Category:SM2]] [[Category:Mojolicious]]
 +
== Creating a panel for a Contrib using Server Manager 2 ==
 +
 
 +
Server Manager 2 is based on the perl library [https://mojolicious.org/ Mojolicious] and has as its central tenet that the html structure is kept separate from the content that is displayed, giving a lot of flexibility. It has a structure so that the web pages can have a theme applied independant of the content. Behind the scenes a non blocking web server does the actual work, and comes with lots of additional plugins.
 +
 
 +
Initially the default theme mimics the current Server Manager pages (which is based on [[Esmith::FormMagick|formMagick]]), however a new theme has also been developed which is  based on [https://adminlte.io/themes/dev/AdminLTE/index3.html AdminLTE].
 +
 
 +
If you follow the rules in this document, then your page should work in both themes without any trouble!

Revision as of 09:26, 8 January 2022

Creating a panel for a Contrib using Server Manager 2

Server Manager 2 is based on the perl library Mojolicious and has as its central tenet that the html structure is kept separate from the content that is displayed, giving a lot of flexibility. It has a structure so that the web pages can have a theme applied independant of the content. Behind the scenes a non blocking web server does the actual work, and comes with lots of additional plugins.

Initially the default theme mimics the current Server Manager pages (which is based on formMagick), however a new theme has also been developed which is based on AdminLTE.

If you follow the rules in this document, then your page should work in both themes without any trouble!