From: Sven Schöling Date: Fri, 14 May 2021 12:31:59 +0000 (+0200) Subject: Mobile: Layout and neue stylesheet/javascript syntax angepasst X-Git-Tag: kivitendo-mebil_0.1-0~9^2~96 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=a1d700331310f6326d2bfa681eb5b76b734ff790;p=kivitendo-erp.git Mobile: Layout and neue stylesheet/javascript syntax angepasst --- diff --git a/SL/Layout/MaterialStyle.pm b/SL/Layout/MaterialStyle.pm index 86b18cac8..6c0e8db8d 100644 --- a/SL/Layout/MaterialStyle.pm +++ b/SL/Layout/MaterialStyle.pm @@ -3,12 +3,12 @@ package SL::Layout::MaterialStyle; use strict; use parent qw(SL::Layout::Base); -sub use_stylesheet { +sub static_stylesheets { "https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css", "https://fonts.googleapis.com/icon?family=Material+Icons"; } -sub use_javascript { +sub static_javascripts { "https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/js/materialize.min.js", "kivi.Materialize.js"; }