X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FLayout%2FMobileLogin.pm;fp=SL%2FLayout%2FMobileLogin.pm;h=54277df0ea91f831ad8da9faaf7d222242d6e627;hb=53593baa211863fbf66540cf1bcc36c8fb37257f;hp=0000000000000000000000000000000000000000;hpb=deb4d2dbb676d7d6f69dfe7815d6e0cb09bd4a44;p=kivitendo-erp.git diff --git a/SL/Layout/MobileLogin.pm b/SL/Layout/MobileLogin.pm new file mode 100644 index 000000000..54277df0e --- /dev/null +++ b/SL/Layout/MobileLogin.pm @@ -0,0 +1,25 @@ +package SL::Layout::MobileLogin; + +use strict; +use parent qw(SL::Layout::Base); +use SL::Layout::MaterialStyle; +use SL::Layout::MaterialMenu; + +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, + ] +} + +1;