diff --git a/templates/Pagewidget/viewitemessential.html.twig b/templates/Pagewidget/viewitemessential.html.twig
index 38c7d9d..25c615d 100644
--- a/templates/Pagewidget/viewitemessential.html.twig
+++ b/templates/Pagewidget/viewitemessential.html.twig
@@ -1,4 +1,4 @@
-{% set widgetname="item" %}
+{% set widgetname="itemessential" %}
{% extends 'Pagewidget/widget.twig' %}
{% block widgetaction %}
diff --git a/templates/Pagewidget/viewseparator.html.twig b/templates/Pagewidget/viewseparator.html.twig
deleted file mode 100644
index 8f30d55..0000000
--- a/templates/Pagewidget/viewseparator.html.twig
+++ /dev/null
@@ -1,63 +0,0 @@
-{% set theme = app.session.get('theme') %}
-{% if theme is not empty %}
- {{ include('@Theme/'~theme~'/function.html.twig') }}
-{% endif %}
-
-{% import "@CadolesPortal/Pagewidget/constants.twig" as constants %}
-
-{% set stylewidget = constants.mystylewidget(entity) %}
-{% set stylewidgetmenu = constants.mystylewidgetmenu(entity) %}
-{% set stylewidgetheader = constants.mystylewidgetheader(entity) %}
-{% set stylewidgetbodyframe = constants.mystylewidgetbodyframe(entity) %}
-{% set stylewidgetbodyimage = constants.mystylewidgetbodyimage(entity) %}
-
-{% set color = app.session.get('color') %}
-{% set colorbodyfont = entity.colorbodyfont %}
-{% if colorbodyfont is null %}
- {% set colorbodyfont = color['main'] %}
-{% endif %}
-
-{%if not mini %}
-
- {% if canupdate %}
-
- {% endif %}
-
-
-
-
-{% endif %}
-
-
-
diff --git a/templates/Pagewidget/viewslide.html.twig b/templates/Pagewidget/viewslide.html.twig
index e73952c..af73412 100644
--- a/templates/Pagewidget/viewslide.html.twig
+++ b/templates/Pagewidget/viewslide.html.twig
@@ -1,94 +1,51 @@
-{% set theme = app.session.get('theme') %}
-{% if theme is not empty %}
- {{ include('@Theme/'~theme~'/function.html.twig') }}
-{% endif %}
+{% set widgetname="slide" %}
+{% extends 'Pagewidget/widget.twig' %}
-{% import "@CadolesPortal/Pagewidget/constants.twig" as constants %}
+{% block widgetaction %}
+ {% if canadd %}
+
+ {% endif %}
+{% endblock %}
-{% set stylewidget = constants.mystylewidget(entity) %}
-{% set stylewidgetmenu = constants.mystylewidgetmenu(entity) %}
-{% set stylewidgetheader = constants.mystylewidgetheader(entity) %}
-{% set stylewidgetbody = constants.mystylewidgetbody(entity) %}
-{% set stylewidgetbodyimage = constants.mystylewidgetbodyimage(entity) %}
+{% block widgetbody %}
+{% set intervalmilli = interval * 1000 %}
-{% set color = app.session.get('color') %}
-{% set stylelink = "color:#" ~ entity.colorheaderfont ~ ";" %}
-{% if entity.colorheaderfont is null %}
- {% set stylelink = "color:#" ~ color['fontcolorhover'] ~ ";" %}
-{% endif %}
-
-{% if app.user %}
- {% set username = app.user.username %}
-{% else %}
- {% set username = "" %}
-{% endif %}
-
-{%if mini %}
-
+
+
+
{% block localscript %}{% endblock %}
diff --git a/yarn.lock b/yarn.lock
index 2357061..0dfa1ac 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -2373,6 +2373,11 @@ depd@~1.1.2:
resolved "https://registry.yarnpkg.com/depd/-/depd-1.1.2.tgz#9bcd52e14c097763e749b274c4346ed2e560b5a9"
integrity sha512-7emPTl6Dpo6JRXOXjLRxck+FlLRX5847cLKEn00PLAgc3g2hTZZgr+e4c2v6QpSmLeFP3n5yUo7ft6avBK/5jQ==
+desandro-matches-selector@^2.0.0:
+ version "2.0.2"
+ resolved "https://registry.yarnpkg.com/desandro-matches-selector/-/desandro-matches-selector-2.0.2.tgz#717beed4dc13e7d8f3762f707a6d58a6774218e1"
+ integrity sha512-+1q0nXhdzg1IpIJdMKalUwvvskeKnYyEe3shPRwedNcWtnhEKT3ZxvFjzywHDeGcKViIxTCAoOYQWP1qD7VNyg==
+
destroy@1.2.0:
version "1.2.0"
resolved "https://registry.yarnpkg.com/destroy/-/destroy-1.2.0.tgz#4803735509ad8be552934c67df614f94e66fa015"
@@ -2569,6 +2574,16 @@ etag@~1.8.1:
resolved "https://registry.yarnpkg.com/etag/-/etag-1.8.1.tgz#41ae2eeb65efa62268aebfea83ac7d79299b0887"
integrity sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==
+ev-emitter@^1.0.0:
+ version "1.1.1"
+ resolved "https://registry.yarnpkg.com/ev-emitter/-/ev-emitter-1.1.1.tgz#8f18b0ce5c76a5d18017f71c0a795c65b9138f2a"
+ integrity sha512-ipiDYhdQSCZ4hSbX4rMW+XzNKMD1prg/sTvoVmSLkuQ1MVlwjJQQA+sW8tMYR3BLUr9KjodFV4pvzunvRhd33Q==
+
+ev-emitter@^2.1.2:
+ version "2.1.2"
+ resolved "https://registry.yarnpkg.com/ev-emitter/-/ev-emitter-2.1.2.tgz#91737a2deae9fa95453e7e86cfae976f8c3ced38"
+ integrity sha512-jQ5Ql18hdCQ4qS+RCrbLfz1n+Pags27q5TwMKvZyhp5hh2UULUYZUy1keqj6k6SYsdqIYjnmz7xyyEY0V67B8Q==
+
eventemitter3@^4.0.0:
version "4.0.7"
resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-4.0.7.tgz#2de9b68f6528d5644ef5c59526a1b4a07306169f"
@@ -2720,6 +2735,13 @@ find-up@^5.0.0:
locate-path "^6.0.0"
path-exists "^4.0.0"
+fizzy-ui-utils@^2.0.0:
+ version "2.0.7"
+ resolved "https://registry.yarnpkg.com/fizzy-ui-utils/-/fizzy-ui-utils-2.0.7.tgz#7df45dcc4eb374a08b65d39bb9a4beedf7330505"
+ integrity sha512-CZXDVXQ1If3/r8s0T+v+qVeMshhfcuq0rqIFgJnrtd+Bu8GmDmqMjntjUePypVtjHXKJ6V4sw9zeyox34n9aCg==
+ dependencies:
+ desandro-matches-selector "^2.0.0"
+
follow-redirects@^1.0.0:
version "1.15.2"
resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.2.tgz#b460864144ba63f2681096f274c4e57026da2c13"
@@ -2788,6 +2810,11 @@ get-port@^3.1.0:
resolved "https://registry.yarnpkg.com/get-port/-/get-port-3.2.0.tgz#dd7ce7de187c06c8bf353796ac71e099f0980ebc"
integrity sha512-x5UJKlgeUiNT8nyo/AcnwLnZuZNcSjSw0kogRB+Whd1fjjFq4B1hySFxSFWWSn4mIBzg3sRNUDFYc4g5gjPoLg==
+get-size@^2.0.2:
+ version "2.0.3"
+ resolved "https://registry.yarnpkg.com/get-size/-/get-size-2.0.3.tgz#54a1d0256b20ea7ac646516756202769941ad2ef"
+ integrity sha512-lXNzT/h/dTjTxRbm9BXb+SGxxzkm97h/PCIKtlN/CBCxxmkkIVV21udumMS93MuVTDX583gqc94v3RjuHmI+2Q==
+
get-stream@^6.0.0:
version "6.0.1"
resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-6.0.1.tgz#a262d8eef67aced57c2852ad6167526a43cbf7b7"
@@ -3003,6 +3030,13 @@ iframe-resizer@^4.3.2:
resolved "https://registry.yarnpkg.com/iframe-resizer/-/iframe-resizer-4.3.2.tgz#42dd88345d18b9e377b6044dddb98c664ab0ce6b"
integrity sha512-gOWo2hmdPjMQsQ+zTKbses08mDfDEMh4NneGQNP4qwePYujY1lguqP6gnbeJkf154gojWlBhIltlgnMfYjGHWA==
+imagesloaded@^5.0.0:
+ version "5.0.0"
+ resolved "https://registry.yarnpkg.com/imagesloaded/-/imagesloaded-5.0.0.tgz#e614e5de482769dd7d571ca62d947d0d00183847"
+ integrity sha512-/0JGSubc1MTCoDKVmonLHgbifBWHdyLkun+R/151E1c5n79hiSxcd7cB7mPXFgojYu8xnRZv7GYxzKoxW8BetQ==
+ dependencies:
+ ev-emitter "^2.1.2"
+
import-fresh@^3.0.0, import-fresh@^3.2.1:
version "3.3.0"
resolved "https://registry.yarnpkg.com/import-fresh/-/import-fresh-3.3.0.tgz#37162c25fcb9ebaa2e6e53d5b4d88ce17d9e0c2b"
@@ -3422,6 +3456,14 @@ map-obj@^4.0.0:
resolved "https://registry.yarnpkg.com/map-obj/-/map-obj-4.3.0.tgz#9304f906e93faae70880da102a9f1df0ea8bb05a"
integrity sha512-hdN1wVrZbb29eBGiGjJbeP8JbKjq1urkHJ/LIP/NY48MZ1QVXUsQBV1G1zvYFHn1XE06cwjBsOI2K3Ulnj1YXQ==
+masonry-layout@^4.2.2:
+ version "4.2.2"
+ resolved "https://registry.yarnpkg.com/masonry-layout/-/masonry-layout-4.2.2.tgz#d57b44af13e601bfcdc423f1dd8348b5524de348"
+ integrity sha512-iGtAlrpHNyxaR19CvKC3npnEcAwszXoyJiI8ARV2ePi7fmYhIud25MHK8Zx4P0LCC4d3TNO9+rFa1KoK1OEOaA==
+ dependencies:
+ get-size "^2.0.2"
+ outlayer "^2.1.0"
+
mdn-data@2.0.14:
version "2.0.14"
resolved "https://registry.yarnpkg.com/mdn-data/-/mdn-data-2.0.14.tgz#7113fc4281917d63ce29b43446f701e68c25ba50"
@@ -3693,6 +3735,15 @@ open@^8.0.9:
is-docker "^2.1.1"
is-wsl "^2.2.0"
+outlayer@^2.1.0:
+ version "2.1.1"
+ resolved "https://registry.yarnpkg.com/outlayer/-/outlayer-2.1.1.tgz#29863b6de10ea5dadfffcadfa0d728907387e9a2"
+ integrity sha512-+GplXsCQ3VrbGujAeHEzP9SXsBmJxzn/YdDSQZL0xqBmAWBmortu2Y9Gwdp9J0bgDQ8/YNIPMoBM13nTwZfAhw==
+ dependencies:
+ ev-emitter "^1.0.0"
+ fizzy-ui-utils "^2.0.0"
+ get-size "^2.0.2"
+
p-limit@^2.0.0, p-limit@^2.2.0:
version "2.3.0"
resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-2.3.0.tgz#3dd33c647a214fdfffd835933eb086da0dc21db1"
@@ -4545,6 +4596,11 @@ signal-exit@^3.0.3:
resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.7.tgz#a9a1767f8af84155114eaabd73f99273c8f59ad9"
integrity sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==
+slick-carousel@^1.8.1:
+ version "1.8.1"
+ resolved "https://registry.yarnpkg.com/slick-carousel/-/slick-carousel-1.8.1.tgz#a4bfb29014887bb66ce528b90bd0cda262cc8f8d"
+ integrity sha512-XB9Ftrf2EEKfzoQXt3Nitrt/IPbT+f1fgqBdoxO3W/+JYvtEOW6EgxnWfr9GH6nmULv7Y2tPmEX3koxThVmebA==
+
sockjs@^0.3.24:
version "0.3.24"
resolved "https://registry.yarnpkg.com/sockjs/-/sockjs-0.3.24.tgz#c9bc8995f33a111bea0395ec30aa3206bdb5ccce"