Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M3P2 HTML Generator
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
12
Issues
12
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
M3P2
M3P2 HTML Generator
Commits
e56b0c34
Commit
e56b0c34
authored
Aug 27, 2024
by
Administrator
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: dust up while reviewing
parent
99f9b084
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
23 additions
and
40 deletions
+23
-40
Dockerfile
Dockerfile
+5
-5
README.md
README.md
+17
-10
oai2.php
oai2.php
+0
-3
columns.css
user/themes/textbook/css/columns.css
+0
-2
custom.css
user/themes/textbook/css/custom.css
+1
-20
No files found.
Dockerfile
View file @
e56b0c34
...
@@ -22,19 +22,19 @@ RUN apt-get update && apt-get install -y \
...
@@ -22,19 +22,19 @@ RUN apt-get update && apt-get install -y \
# set recommended PHP.ini settings
# set recommended PHP.ini settings
# see https://secure.php.net/manual/en/opcache.installation.php
# see https://secure.php.net/manual/en/opcache.installation.php
RUN
{
\
RUN
{
\
echo
'opcache.memory_consumption=
128
'
;
\
echo
'opcache.memory_consumption=
512
'
;
\
echo
'opcache.interned_strings_buffer=8'
;
\
echo
'opcache.interned_strings_buffer=8'
;
\
echo
'opcache.max_accelerated_files=4000'
;
\
echo
'opcache.max_accelerated_files=4000'
;
\
echo
'opcache.revalidate_freq=2'
;
\
echo
'opcache.revalidate_freq=2'
;
\
echo
'opcache.fast_shutdown=1'
;
\
echo
'opcache.fast_shutdown=1'
;
\
echo
'opcache.enable_cli=1'
;
\
echo
'opcache.enable_cli=1'
;
\
echo
'upload_max_filesize=
128
M'
;
\
echo
'upload_max_filesize=
512
M'
;
\
echo
'post_max_size=
128
M'
;
\
echo
'post_max_size=
512
M'
;
\
}
>
/usr/local/etc/php/conf.d/php-recommended.ini
}
>
/usr/local/etc/php/conf.d/php-recommended.ini
#
p
rovide container inside image for data persistance
#
P
rovide container inside image for data persistance
# VOLUME /var/www/html
# VOLUME /var/www/html
#
W
e are using docker-compose for volumes :
#
Instead, w
e are using docker-compose for volumes :
# - /var/docker-volumes/courses/pages:/var/www/html/user/pages:Z
# - /var/docker-volumes/courses/pages:/var/www/html/user/pages:Z
# - /var/docker-volumes/courses/accounts:/var/www/html/user/accounts:Z
# - /var/docker-volumes/courses/accounts:/var/www/html/user/accounts:Z
# - /var/docker-volumes/courses/data:/var/www/html/user/data:Z
# - /var/docker-volumes/courses/data:/var/www/html/user/data:Z
...
...
README.md
View file @
e56b0c34
...
@@ -8,10 +8,17 @@ Only the php vendors are not included.
...
@@ -8,10 +8,17 @@ Only the php vendors are not included.
## Run locally for fast development
## Run locally for fast development
###
LINUX/MAC
###
PHP
PHP
`7.1.3`
(or above) is required.
PHP
`7.1.3`
(or above) is required.
We usually use
`phpenv`
for this:
phpenv install 7.4.29
### LINUX/MAC
Clone this repository:
Clone this repository:
git clone --recursive https://gitlab.m3p2.com/m3p2/m3p2-html-generator.git m3p2-html-generator
git clone --recursive https://gitlab.m3p2.com/m3p2/m3p2-html-generator.git m3p2-html-generator
...
...
oai2.php
deleted
100644 → 0
View file @
99f9b084
<?php
phpinfo
();
\ No newline at end of file
user/themes/textbook/css/columns.css
View file @
e56b0c34
...
@@ -17,5 +17,3 @@
...
@@ -17,5 +17,3 @@
overflow-y
:
initial
;
overflow-y
:
initial
;
}
}
}
}
user/themes/textbook/css/custom.css
View file @
e56b0c34
...
@@ -56,8 +56,7 @@ details summary {
...
@@ -56,8 +56,7 @@ details summary {
/**********************************************************************************************************************/
/**********************************************************************************************************************/
/* Hotfix for https://github.com/getgrav/grav-theme-quark/issues/9 */
/* Hotfix for https://github.com/getgrav/grav-theme-quark/issues/9 */
/* Must be below 3 or mobile will glitch
/* Must be below 3 or mobile will glitch */
*/
section
#header
{
z-index
:
2
;
}
section
#header
{
z-index
:
2
;
}
#header
>
.container
{
#header
>
.container
{
...
@@ -308,7 +307,6 @@ iframe.geogebra {
...
@@ -308,7 +307,6 @@ iframe.geogebra {
/*.dropdown-selector .btn {*/
/*.dropdown-selector .btn {*/
/*.dropdown-selector > .btn:first-child {*/
/*.dropdown-selector > .btn:first-child {*/
.dropdown-menu-button
{
.dropdown-menu-button
{
/*float: left;*/
/*float: left;*/
position
:
relative
;
position
:
relative
;
display
:
inline-block
;
display
:
inline-block
;
...
@@ -333,19 +331,12 @@ iframe.geogebra {
...
@@ -333,19 +331,12 @@ iframe.geogebra {
border
:
1px
solid
#ccc
;
border
:
1px
solid
#ccc
;
}
}
/*#language-selector-button:hover ~ *,
#language-selector-button:focus ~ *,
#lesson-selector-button:hover ~ *,
#lesson-selector-button:focus ~ *,*/
/* class only won't work, we need an id here for some reason */
.dropdown-menu-button
:hover
~
*,
.dropdown-menu-button
:hover
~
*,
.dropdown-menu-button
:focus
~
*
{
.dropdown-menu-button
:focus
~
*
{
display
:
block
!important
;
display
:
block
!important
;
visibility
:
visible
!important
;
visibility
:
visible
!important
;
}
}
.dropdown-selector
.dropdown-menu
{
.dropdown-selector
.dropdown-menu
{
display
:
none
;
/* shown by hover or focus on elder sibling btn */
display
:
none
;
/* shown by hover or focus on elder sibling btn */
position
:
absolute
;
position
:
absolute
;
...
@@ -372,16 +363,6 @@ iframe.geogebra {
...
@@ -372,16 +363,6 @@ iframe.geogebra {
right
:
2%
;
right
:
2%
;
}
}
/*#language-selector-dropdown:focus-within,
#language-selector-dropdown:hover,
#language-selector-dropdown:focus,
#lesson-selector-dropdown:focus-within,
#lesson-selector-dropdown:hover,
#lesson-selector-dropdown:focus,*/
/* same, id is required somehow -- try again later, smells like cache shenanigans */
/* nah, it was just BAD DESIGN © */
.dropdown-selector
:focus-within
.dropdown-menu
,
/* allows keyboard tabbing inside the menu */
.dropdown-selector
:focus-within
.dropdown-menu
,
/* allows keyboard tabbing inside the menu */
.dropdown-selector
.dropdown-menu
:focus-within
,
.dropdown-selector
.dropdown-menu
:focus-within
,
.dropdown-selector
.dropdown-menu
:hover
,
.dropdown-selector
.dropdown-menu
:hover
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment