From a1d700331310f6326d2bfa681eb5b76b734ff790 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Fri, 14 May 2021 14:31:59 +0200 Subject: [PATCH] Mobile: Layout and neue stylesheet/javascript syntax angepasst --- SL/Layout/MaterialStyle.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"; } -- 2.20.1