From 3d5cfe6cf4b0735b7f23cbda44a7757efec26294 Mon Sep 17 00:00:00 2001 From: Dimitrij Pinneker Date: Tue, 14 May 2024 22:06:02 +0200 Subject: [PATCH] Attach CSS styles to disable the buttons (#10) * Attach CSS styles to disable the buttons * Added a comment --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 96eab75..f8f0efb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,6 +12,8 @@ ENV LAST_USED_H5P_EDITOR_LIBRARY=0365b081efa8b55ab9fd58594aa599f9630268f6 # Clone H5P repositories RUN git clone https://github.com/h5p/h5p-php-library && git -C h5p-php-library checkout $LAST_USED_H5P_LIBRARY RUN git clone https://github.com/h5p/h5p-editor-php-library && git -C h5p-editor-php-library checkout $LAST_USED_H5P_EDITOR_LIBRARY +# Disable some elements like "Inhalts-Demo", "Tutorial", "Beispiele" buttons +RUN echo ".h5p-tutorial-url,.h5p-example-url,.h5p-hub-demo-button{visibility:hidden;}" >> h5p-editor-php-library/styles/css/application.css # Remove unused files RUN rm h5p-php-library/*.php