Revision aadd8f86
Von Sven Schöling vor mehr als 3 Jahren hinzugefügt
SL/Layout/MaterialStyle.pm | ||
---|---|---|
3 | 3 |
use strict; |
4 | 4 |
use parent qw(SL::Layout::Base); |
5 | 5 |
|
6 |
sub use_stylesheet {
|
|
6 |
sub static_stylesheets {
|
|
7 | 7 |
"https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css", |
8 | 8 |
"https://fonts.googleapis.com/icon?family=Material+Icons"; |
9 | 9 |
} |
10 | 10 |
|
11 |
sub use_javascript {
|
|
11 |
sub static_javascripts {
|
|
12 | 12 |
"https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/js/materialize.min.js", |
13 | 13 |
"kivi.Materialize.js"; |
14 | 14 |
} |
Auch abrufbar als: Unified diff
Mobile: Layout and neue stylesheet/javascript syntax angepasst