Mobile: Layout and neue stylesheet/javascript syntax angepasst
authorSven Schöling <s.schoeling@googlemail.com>
Fri, 14 May 2021 12:31:59 +0000 (14:31 +0200)
committerSven Schöling <s.schoeling@googlemail.com>
Fri, 25 Jun 2021 13:51:32 +0000 (15:51 +0200)
SL/Layout/MaterialStyle.pm

index 86b18ca..6c0e8db 100644 (file)
@@ -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";
 }