From 9218473ae377cdd61383a41590cf91f9c87f0f31 Mon Sep 17 00:00:00 2001 From: Wolfgang Knopki <wolfgang.knopki@hft-stuttgart.de> Date: Fri, 5 Nov 2021 13:37:30 +0100 Subject: [PATCH] mobile friendly hader implemenmtation --- mymodule/themes/fancytheme/default/_footer.twig | 1 + mymodule/themes/fancytheme/default/base.twig | 1 + 2 files changed, 2 insertions(+) diff --git a/mymodule/themes/fancytheme/default/_footer.twig b/mymodule/themes/fancytheme/default/_footer.twig index b4c0520..569caf2 100644 --- a/mymodule/themes/fancytheme/default/_footer.twig +++ b/mymodule/themes/fancytheme/default/_footer.twig @@ -1,3 +1,4 @@ <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script> <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script> <script src="/js/headfoot.js"> </script> + <script src="/js/mobile.js"> </script> diff --git a/mymodule/themes/fancytheme/default/base.twig b/mymodule/themes/fancytheme/default/base.twig index 48f3bb7..469c29b 100644 --- a/mymodule/themes/fancytheme/default/base.twig +++ b/mymodule/themes/fancytheme/default/base.twig @@ -8,6 +8,7 @@ <link rel="stylesheet" href="{{ asset("css/stylesheet.css") }}"> <link rel="stylesheet" href="/css/bootstrap.min.css"> <link rel="stylesheet" href="/css/m4lab.css"> + <link rel="stylesheet" href="/css/m4lab-mobile.css"> <link rel="stylesheet" href="/css/Login-Form-Clean.css"> <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.2/css/all.css" integrity="sha384-oS3vJWv+0UjzBfQzYUhtDYW+Pj2yciDJxpsK1OYPAYjqT085Qq/1cq5FLXAZQ7Ay" crossorigin="anonymous"> <link rel="icon" href="{{ asset("icons/favicon.ico") }}"> -- GitLab