X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=SL%2FLayout%2FMaterial.pm;fp=SL%2FLayout%2FMaterial.pm;h=78afd26ed200ba0ab68e3a1dd4efd6709e341a2f;hb=53593baa211863fbf66540cf1bcc36c8fb37257f;hp=0000000000000000000000000000000000000000;hpb=deb4d2dbb676d7d6f69dfe7815d6e0cb09bd4a44;p=kivitendo-erp.git diff --git a/SL/Layout/Material.pm b/SL/Layout/Material.pm new file mode 100644 index 000000000..78afd26ed --- /dev/null +++ b/SL/Layout/Material.pm @@ -0,0 +1,29 @@ +package SL::Layout::Material; + +use strict; +use parent qw(SL::Layout::Base); + +use SL::Layout::None; +use SL::Layout::MaterialMenu; +use SL::Layout::MaterialStyle; +use SL::Layout::Content; + +sub get_stylesheet_for_user { + # overwrite kivitendo fallback + 'css/material'; +} + +sub webpages_path { + "templates/mobile_webpages"; +} + +sub init_sub_layouts { + [ + SL::Layout::None->new, + SL::Layout::MaterialStyle->new, + SL::Layout::MaterialMenu->new, + SL::Layout::Content->new, + ] +} + +1;