From b589fe2d9aadf57131c667659880eefecad8959c Mon Sep 17 00:00:00 2001 From: Benjamin Kott Date: Wed, 20 Nov 2024 18:50:02 +0100 Subject: [PATCH] [FEATURE] Introduce Sitepackage Builder (#462) * [TASK] Add sitepackage builder * [TASK] Add sitepackage tempaltes * [TASK] Drop Versions for 8.7 and 9.5 and slightly adjust templates * [BUGFIX] Fix phpstan for sitepackage stuff * [BUGFIX] Require php-zip * [BUGFIX] Streamline composer template for bootstrap_package --------- Co-authored-by: Andreas Kienast --- composer.json | 5 + composer.lock | 9 +- .../bootstrap_package/10.4/src/.editorconfig | 70 +++++ .../10.4/src/Build/.htaccess | 2 + .../10.4/src/Build/Gruntfile.js.twig | 72 ++++++ .../10.4/src/Build/package.json.twig | 18 ++ .../10.4/src/Classes/.htaccess | 2 + .../10.4/src/Classes/Controller/.gitkeep | 1 + .../10.4/src/Classes/Domain/.gitkeep | 1 + .../10.4/src/Classes/Domain/Model/.gitkeep | 1 + .../src/Classes/Domain/Repository/.gitkeep | 1 + .../10.4/src/Classes/ViewHelpers/.gitkeep | 1 + .../10.4/src/Configuration/.htaccess | 2 + .../src/Configuration/RTE/Default.yaml.twig | 9 + .../TCA/Overrides/pages.php.twig | 20 ++ .../TCA/Overrides/sys_template.php.twig | 20 ++ .../TsConfig/Page/All.tsconfig.twig | 7 + .../WebLayout/BackendLayouts.tsconfig.twig | 4 + .../BackendLayouts/example.tsconfig.twig | 29 +++ .../TsConfig/Page/RTE.tsconfig.twig | 8 + .../TsConfig/Page/TCEFORM.tsconfig.twig | 11 + .../TsConfig/Page/TCEMAIN.tsconfig.twig | 6 + .../TypoScript/constants.typoscript.twig | 60 +++++ .../TypoScript/setup.typoscript.twig | 30 +++ .../bootstrap_package/10.4/src/README.md.twig | 4 + .../10.4/src/Resources/Private/.htaccess | 2 + .../Private/Language/locallang.xlf.twig | 11 + .../Private/Language/locallang_be.xlf.twig | 17 ++ .../Private/Language/locallang_db.xlf.twig | 11 + .../Private/Layouts/ContentElements/.gitkeep | 1 + .../Resources/Private/Layouts/Page/.gitkeep | 0 .../Private/Partials/ContentElements/.gitkeep | 1 + .../Resources/Private/Partials/Page/.gitkeep | 1 + .../Templates/ContentElements/.gitkeep | 1 + .../Private/Templates/Page/Example.html.twig | 22 ++ .../10.4/src/Resources/Public/Css/.gitkeep | 1 + .../10.4/src/Resources/Public/Fonts/.gitkeep | 1 + .../Public/Icons/BackendLayouts/example.svg | 1 + .../src/Resources/Public/Icons/Extension.svg | 3 + .../src/Resources/Public/Icons/favicon.ico | Bin 0 -> 1150 bytes .../Resources/Public/Icons/logo-inverted.svg | 1 + .../10.4/src/Resources/Public/Icons/logo.svg | 1 + .../Resources/Public/Images/logo-inverted.svg | 1 + .../10.4/src/Resources/Public/Images/logo.svg | 1 + .../Public/JavaScript/Dist/scripts.js.twig | 6 + .../Public/JavaScript/Src/main.js.twig | 1 + .../Public/Scss/Theme/_variables.scss | 3 + .../Public/Scss/Theme/theme.scss.twig | 9 + .../10.4/src/composer.json.twig | 21 ++ .../10.4/src/ext_conf_template.txt.twig | 3 + .../10.4/src/ext_emconf.php.twig | 30 +++ .../10.4/src/ext_localconf.php.twig | 13 + .../10.4/src/ext_tables.php.twig | 3 + .../10.4/src/ext_tables.sql.twig | 3 + .../10.4/src/ext_tables_static+adt.sql.twig | 3 + .../bootstrap_package/11.5/src/.editorconfig | 70 +++++ .../11.5/src/Build/.htaccess | 2 + .../11.5/src/Build/Gruntfile.js.twig | 72 ++++++ .../11.5/src/Build/package.json.twig | 18 ++ .../11.5/src/Classes/.htaccess | 2 + .../11.5/src/Classes/Controller/.gitkeep | 1 + .../11.5/src/Classes/Domain/.gitkeep | 1 + .../11.5/src/Classes/Domain/Model/.gitkeep | 1 + .../src/Classes/Domain/Repository/.gitkeep | 1 + .../11.5/src/Classes/ViewHelpers/.gitkeep | 1 + .../11.5/src/Configuration/.htaccess | 2 + .../src/Configuration/RTE/Default.yaml.twig | 9 + .../TCA/Overrides/pages.php.twig | 20 ++ .../TCA/Overrides/sys_template.php.twig | 20 ++ .../TsConfig/Page/All.tsconfig.twig | 7 + .../WebLayout/BackendLayouts.tsconfig.twig | 4 + .../BackendLayouts/example.tsconfig.twig | 29 +++ .../TsConfig/Page/RTE.tsconfig.twig | 8 + .../TsConfig/Page/TCEFORM.tsconfig.twig | 11 + .../TsConfig/Page/TCEMAIN.tsconfig.twig | 6 + .../TypoScript/constants.typoscript.twig | 60 +++++ .../TypoScript/setup.typoscript.twig | 30 +++ .../bootstrap_package/11.5/src/README.md.twig | 4 + .../11.5/src/Resources/Private/.htaccess | 2 + .../Private/Language/locallang.xlf.twig | 11 + .../Private/Language/locallang_be.xlf.twig | 17 ++ .../Private/Language/locallang_db.xlf.twig | 11 + .../Private/Layouts/ContentElements/.gitkeep | 1 + .../Resources/Private/Layouts/Page/.gitkeep | 0 .../Private/Partials/ContentElements/.gitkeep | 1 + .../Resources/Private/Partials/Page/.gitkeep | 1 + .../Templates/ContentElements/.gitkeep | 1 + .../Private/Templates/Page/Example.html.twig | 22 ++ .../11.5/src/Resources/Public/Css/.gitkeep | 1 + .../11.5/src/Resources/Public/Fonts/.gitkeep | 1 + .../Public/Icons/BackendLayouts/example.svg | 1 + .../src/Resources/Public/Icons/Extension.svg | 3 + .../src/Resources/Public/Icons/favicon.ico | Bin 0 -> 1150 bytes .../Resources/Public/Icons/logo-inverted.svg | 1 + .../11.5/src/Resources/Public/Icons/logo.svg | 1 + .../Resources/Public/Images/logo-inverted.svg | 1 + .../11.5/src/Resources/Public/Images/logo.svg | 1 + .../Public/JavaScript/Dist/scripts.js.twig | 6 + .../Public/JavaScript/Src/main.js.twig | 1 + .../Public/Scss/Theme/_variables.scss | 3 + .../Public/Scss/Theme/theme.scss.twig | 9 + .../11.5/src/composer.json.twig | 21 ++ .../11.5/src/ext_conf_template.txt.twig | 3 + .../11.5/src/ext_emconf.php.twig | 30 +++ .../11.5/src/ext_localconf.php.twig | 13 + .../11.5/src/ext_tables.php.twig | 3 + .../11.5/src/ext_tables.sql.twig | 3 + .../11.5/src/ext_tables_static+adt.sql.twig | 3 + .../bootstrap_package/12.4/src/.editorconfig | 70 +++++ .../12.4/src/Build/.htaccess | 2 + .../12.4/src/Build/Gruntfile.js.twig | 72 ++++++ .../12.4/src/Build/package.json.twig | 18 ++ .../12.4/src/Classes/.htaccess | 2 + .../12.4/src/Classes/Controller/.gitkeep | 1 + .../12.4/src/Classes/Domain/.gitkeep | 1 + .../12.4/src/Classes/Domain/Model/.gitkeep | 1 + .../src/Classes/Domain/Repository/.gitkeep | 1 + .../12.4/src/Classes/ViewHelpers/.gitkeep | 1 + .../12.4/src/Configuration/.htaccess | 2 + .../src/Configuration/RTE/Default.yaml.twig | 9 + .../TCA/Overrides/pages.php.twig | 20 ++ .../TCA/Overrides/sys_template.php.twig | 20 ++ .../TsConfig/Page/All.tsconfig.twig | 7 + .../WebLayout/BackendLayouts.tsconfig.twig | 4 + .../BackendLayouts/example.tsconfig.twig | 29 +++ .../TsConfig/Page/RTE.tsconfig.twig | 8 + .../TsConfig/Page/TCEFORM.tsconfig.twig | 11 + .../TsConfig/Page/TCEMAIN.tsconfig.twig | 6 + .../TypoScript/constants.typoscript.twig | 60 +++++ .../TypoScript/setup.typoscript.twig | 30 +++ .../bootstrap_package/12.4/src/README.md.twig | 4 + .../12.4/src/Resources/Private/.htaccess | 2 + .../Private/Language/locallang.xlf.twig | 11 + .../Private/Language/locallang_be.xlf.twig | 17 ++ .../Private/Language/locallang_db.xlf.twig | 11 + .../Private/Layouts/ContentElements/.gitkeep | 1 + .../Resources/Private/Layouts/Page/.gitkeep | 0 .../Private/Partials/ContentElements/.gitkeep | 1 + .../Resources/Private/Partials/Page/.gitkeep | 1 + .../Templates/ContentElements/.gitkeep | 1 + .../Private/Templates/Page/Example.html.twig | 22 ++ .../12.4/src/Resources/Public/Css/.gitkeep | 1 + .../12.4/src/Resources/Public/Fonts/.gitkeep | 1 + .../Public/Icons/BackendLayouts/example.svg | 1 + .../src/Resources/Public/Icons/Extension.svg | 3 + .../src/Resources/Public/Icons/favicon.ico | Bin 0 -> 1150 bytes .../Resources/Public/Icons/logo-inverted.svg | 1 + .../12.4/src/Resources/Public/Icons/logo.svg | 1 + .../Resources/Public/Images/logo-inverted.svg | 1 + .../12.4/src/Resources/Public/Images/logo.svg | 1 + .../Public/JavaScript/Dist/scripts.js.twig | 6 + .../Public/JavaScript/Src/main.js.twig | 1 + .../Public/Scss/Theme/_variables.scss | 3 + .../Public/Scss/Theme/theme.scss.twig | 9 + .../12.4/src/composer.json.twig | 21 ++ .../12.4/src/ext_conf_template.txt.twig | 3 + .../12.4/src/ext_emconf.php.twig | 30 +++ .../12.4/src/ext_localconf.php.twig | 13 + .../12.4/src/ext_tables.php.twig | 3 + .../12.4/src/ext_tables.sql.twig | 3 + .../12.4/src/ext_tables_static+adt.sql.twig | 3 + .../bootstrap_package/13.4/src/.editorconfig | 70 +++++ .../13.4/src/Classes/.htaccess | 2 + .../13.4/src/Classes/Controller/.gitkeep | 1 + .../13.4/src/Classes/Domain/.gitkeep | 1 + .../13.4/src/Classes/Domain/Model/.gitkeep | 1 + .../src/Classes/Domain/Repository/.gitkeep | 1 + .../13.4/src/Classes/ViewHelpers/.gitkeep | 1 + .../13.4/src/Configuration/.htaccess | 2 + .../src/Configuration/RTE/Default.yaml.twig | 5 + .../BackendLayouts/example.tsconfig.twig | 29 +++ .../Sets/SitePackage/config.yaml.twig | 4 + .../Sets/SitePackage/page.tsconfig.twig | 21 ++ .../Sets/SitePackage/settings.yaml.twig | 28 ++ .../Sets/SitePackage/setup.typoscript.twig | 21 ++ .../bootstrap_package/13.4/src/README.md.twig | 4 + .../13.4/src/Resources/Private/.htaccess | 2 + .../Private/Language/locallang.xlf.twig | 11 + .../Private/Language/locallang_be.xlf.twig | 17 ++ .../Private/Language/locallang_db.xlf.twig | 11 + .../Private/Layouts/ContentElements/.gitkeep | 1 + .../Resources/Private/Layouts/Page/.gitkeep | 0 .../Private/Partials/ContentElements/.gitkeep | 1 + .../Resources/Private/Partials/Page/.gitkeep | 1 + .../Templates/ContentElements/.gitkeep | 1 + .../Private/Templates/Page/Example.html.twig | 22 ++ .../13.4/src/Resources/Public/Css/.gitkeep | 1 + .../13.4/src/Resources/Public/Fonts/.gitkeep | 1 + .../Public/Icons/BackendLayouts/example.svg | 1 + .../src/Resources/Public/Icons/Extension.svg | 3 + .../src/Resources/Public/Icons/favicon.ico | Bin 0 -> 1150 bytes .../Resources/Public/Icons/logo-inverted.svg | 1 + .../13.4/src/Resources/Public/Icons/logo.svg | 1 + .../Resources/Public/Images/logo-inverted.svg | 1 + .../13.4/src/Resources/Public/Images/logo.svg | 1 + .../Resources/Public/JavaScript/main.js.twig | 1 + .../Public/Scss/Theme/_variables.scss | 3 + .../Public/Scss/Theme/theme.scss.twig | 9 + .../13.4/src/composer.json.twig | 21 ++ .../13.4/src/ext_emconf.php.twig | 27 ++ .../13.4/src/ext_localconf.php.twig | 6 + .../13.4/src/ext_tables.php.twig | 3 + .../10.4/src/.editorconfig | 70 +++++ .../10.4/src/Build/.htaccess | 2 + .../10.4/src/Build/Gruntfile.js.twig | 124 +++++++++ .../10.4/src/Build/package.json.twig | 28 ++ .../10.4/src/Classes/.htaccess | 2 + .../10.4/src/Classes/Controller/.gitkeep | 1 + .../10.4/src/Classes/Domain/.gitkeep | 1 + .../10.4/src/Classes/Domain/Model/.gitkeep | 1 + .../src/Classes/Domain/Repository/.gitkeep | 1 + .../10.4/src/Classes/ViewHelpers/.gitkeep | 1 + .../10.4/src/Configuration/.htaccess | 2 + .../src/Configuration/RTE/Default.yaml.twig | 42 +++ .../TCA/Overrides/pages.php.twig | 20 ++ .../TCA/Overrides/sys_template.php.twig | 20 ++ .../TsConfig/Page/All.tsconfig.twig | 7 + .../WebLayout/BackendLayouts.tsconfig.twig | 4 + .../BackendLayouts/default.tsconfig.twig | 29 +++ .../TsConfig/Page/RTE.tsconfig.twig | 8 + .../TsConfig/Page/TCEFORM.tsconfig.twig | 11 + .../TsConfig/Page/TCEMAIN.tsconfig.twig | 6 + .../Helper/DynamicContent.typoscript.twig | 64 +++++ .../TypoScript/constants.typoscript.twig | 56 ++++ .../TypoScript/setup.typoscript.twig | 203 +++++++++++++++ .../10.4/src/README.md.twig | 4 + .../10.4/src/Resources/Private/.htaccess | 2 + .../Private/Language/locallang.xlf.twig | 11 + .../Private/Language/locallang_be.xlf.twig | 17 ++ .../Private/Language/locallang_db.xlf.twig | 11 + .../Private/Layouts/ContentElements/.gitkeep | 1 + .../Private/Layouts/Page/Default.html.twig | 21 ++ .../Private/Partials/ContentElements/.gitkeep | 1 + .../Resources/Private/Partials/Page/.gitkeep | 1 + .../Templates/ContentElements/.gitkeep | 1 + .../Private/Templates/Page/Default.html.twig | 19 ++ .../10.4/src/Resources/Public/Css/layout.css | 0 .../src/Resources/Public/Css/layout.min.css | 0 .../src/Resources/Public/Css/rte.css.twig | 3 + .../10.4/src/Resources/Public/Fonts/.gitkeep | 1 + .../src/Resources/Public/Icons/Extension.svg | 3 + .../src/Resources/Public/Icons/favicon.ico | Bin 0 -> 1150 bytes .../Public/Images/BackendLayouts/default.png | Bin 0 -> 182 bytes .../Public/JavaScript/Dist/scripts.js.twig | 6 + .../Public/JavaScript/Src/main.js.twig | 1 + .../Resources/Public/Scss/layout.scss.twig | 5 + .../Resources/Public/Scss/variables.scss.twig | 1 + .../10.4/src/composer.json.twig | 23 ++ .../10.4/src/ext_conf_template.txt.twig | 3 + .../10.4/src/ext_emconf.php.twig | 32 +++ .../10.4/src/ext_localconf.php.twig | 13 + .../10.4/src/ext_tables.php.twig | 3 + .../10.4/src/ext_tables.sql.twig | 3 + .../10.4/src/ext_tables_static+adt.sql.twig | 3 + .../11.5/src/.editorconfig | 70 +++++ .../11.5/src/Build/.htaccess | 2 + .../11.5/src/Build/Gruntfile.js.twig | 124 +++++++++ .../11.5/src/Build/package.json.twig | 28 ++ .../11.5/src/Classes/.htaccess | 2 + .../11.5/src/Classes/Controller/.gitkeep | 1 + .../11.5/src/Classes/Domain/.gitkeep | 1 + .../11.5/src/Classes/Domain/Model/.gitkeep | 1 + .../src/Classes/Domain/Repository/.gitkeep | 1 + .../11.5/src/Classes/ViewHelpers/.gitkeep | 1 + .../11.5/src/Configuration/.htaccess | 2 + .../src/Configuration/RTE/Default.yaml.twig | 42 +++ .../TCA/Overrides/pages.php.twig | 20 ++ .../TCA/Overrides/sys_template.php.twig | 20 ++ .../TsConfig/Page/All.tsconfig.twig | 7 + .../WebLayout/BackendLayouts.tsconfig.twig | 4 + .../BackendLayouts/default.tsconfig.twig | 29 +++ .../TsConfig/Page/RTE.tsconfig.twig | 8 + .../TsConfig/Page/TCEFORM.tsconfig.twig | 11 + .../TsConfig/Page/TCEMAIN.tsconfig.twig | 6 + .../Helper/DynamicContent.typoscript.twig | 64 +++++ .../TypoScript/constants.typoscript.twig | 56 ++++ .../TypoScript/setup.typoscript.twig | 203 +++++++++++++++ .../11.5/src/README.md.twig | 4 + .../11.5/src/Resources/Private/.htaccess | 2 + .../Private/Language/locallang.xlf.twig | 11 + .../Private/Language/locallang_be.xlf.twig | 17 ++ .../Private/Language/locallang_db.xlf.twig | 11 + .../Private/Layouts/ContentElements/.gitkeep | 1 + .../Private/Layouts/Page/Default.html.twig | 21 ++ .../Private/Partials/ContentElements/.gitkeep | 1 + .../Resources/Private/Partials/Page/.gitkeep | 1 + .../Templates/ContentElements/.gitkeep | 1 + .../Private/Templates/Page/Default.html.twig | 19 ++ .../11.5/src/Resources/Public/Css/layout.css | 0 .../src/Resources/Public/Css/layout.min.css | 0 .../src/Resources/Public/Css/rte.css.twig | 3 + .../11.5/src/Resources/Public/Fonts/.gitkeep | 1 + .../src/Resources/Public/Icons/Extension.svg | 3 + .../src/Resources/Public/Icons/favicon.ico | Bin 0 -> 1150 bytes .../Public/Images/BackendLayouts/default.png | Bin 0 -> 182 bytes .../Public/JavaScript/Dist/scripts.js.twig | 6 + .../Public/JavaScript/Src/main.js.twig | 1 + .../Resources/Public/Scss/layout.scss.twig | 5 + .../Resources/Public/Scss/variables.scss.twig | 1 + .../11.5/src/composer.json.twig | 23 ++ .../11.5/src/ext_conf_template.txt.twig | 3 + .../11.5/src/ext_emconf.php.twig | 32 +++ .../11.5/src/ext_localconf.php.twig | 13 + .../11.5/src/ext_tables.php.twig | 3 + .../11.5/src/ext_tables.sql.twig | 3 + .../11.5/src/ext_tables_static+adt.sql.twig | 3 + .../12.4/src/.editorconfig | 70 +++++ .../12.4/src/Build/.htaccess | 2 + .../12.4/src/Build/Gruntfile.js.twig | 124 +++++++++ .../12.4/src/Build/package.json.twig | 28 ++ .../12.4/src/Classes/.htaccess | 2 + .../12.4/src/Classes/Controller/.gitkeep | 1 + .../12.4/src/Classes/Domain/.gitkeep | 1 + .../12.4/src/Classes/Domain/Model/.gitkeep | 1 + .../src/Classes/Domain/Repository/.gitkeep | 1 + .../12.4/src/Classes/ViewHelpers/.gitkeep | 1 + .../12.4/src/Configuration/.htaccess | 2 + .../src/Configuration/RTE/Default.yaml.twig | 42 +++ .../TCA/Overrides/pages.php.twig | 20 ++ .../TCA/Overrides/sys_template.php.twig | 20 ++ .../TsConfig/Page/All.tsconfig.twig | 7 + .../WebLayout/BackendLayouts.tsconfig.twig | 4 + .../BackendLayouts/default.tsconfig.twig | 29 +++ .../TsConfig/Page/RTE.tsconfig.twig | 8 + .../TsConfig/Page/TCEFORM.tsconfig.twig | 11 + .../TsConfig/Page/TCEMAIN.tsconfig.twig | 6 + .../Helper/DynamicContent.typoscript.twig | 64 +++++ .../TypoScript/constants.typoscript.twig | 56 ++++ .../TypoScript/setup.typoscript.twig | 203 +++++++++++++++ .../12.4/src/README.md.twig | 4 + .../12.4/src/Resources/Private/.htaccess | 2 + .../Private/Language/locallang.xlf.twig | 11 + .../Private/Language/locallang_be.xlf.twig | 17 ++ .../Private/Language/locallang_db.xlf.twig | 11 + .../Private/Layouts/ContentElements/.gitkeep | 1 + .../Private/Layouts/Page/Default.html.twig | 21 ++ .../Private/Partials/ContentElements/.gitkeep | 1 + .../Resources/Private/Partials/Page/.gitkeep | 1 + .../Templates/ContentElements/.gitkeep | 1 + .../Private/Templates/Page/Default.html.twig | 19 ++ .../12.4/src/Resources/Public/Css/layout.css | 0 .../src/Resources/Public/Css/layout.min.css | 0 .../src/Resources/Public/Css/rte.css.twig | 3 + .../12.4/src/Resources/Public/Fonts/.gitkeep | 1 + .../src/Resources/Public/Icons/Extension.svg | 3 + .../src/Resources/Public/Icons/favicon.ico | Bin 0 -> 1150 bytes .../Public/Images/BackendLayouts/default.png | Bin 0 -> 182 bytes .../Public/JavaScript/Dist/scripts.js.twig | 6 + .../Public/JavaScript/Src/main.js.twig | 1 + .../Resources/Public/Scss/layout.scss.twig | 5 + .../Resources/Public/Scss/variables.scss.twig | 1 + .../12.4/src/composer.json.twig | 23 ++ .../12.4/src/ext_conf_template.txt.twig | 3 + .../12.4/src/ext_emconf.php.twig | 32 +++ .../12.4/src/ext_localconf.php.twig | 13 + .../12.4/src/ext_tables.php.twig | 3 + .../12.4/src/ext_tables.sql.twig | 3 + .../12.4/src/ext_tables_static+adt.sql.twig | 3 + .../13.4/src/.editorconfig | 70 +++++ .../13.4/src/Classes/.htaccess | 2 + .../13.4/src/Classes/Controller/.gitkeep | 1 + .../13.4/src/Classes/Domain/.gitkeep | 1 + .../13.4/src/Classes/Domain/Model/.gitkeep | 1 + .../src/Classes/Domain/Repository/.gitkeep | 1 + .../13.4/src/Classes/ViewHelpers/.gitkeep | 1 + .../13.4/src/Configuration/.htaccess | 2 + .../src/Configuration/RTE/Default.yaml.twig | 42 +++ .../BackendLayouts/example.tsconfig.twig | 29 +++ .../Helper/DynamicContent.typoscript.twig | 64 +++++ .../Sets/SitePackage/config.yaml.twig | 5 + .../Sets/SitePackage/page.tsconfig.twig | 21 ++ .../Sets/SitePackage/settings.yaml.twig | 30 +++ .../Sets/SitePackage/setup.typoscript.twig | 138 ++++++++++ .../13.4/src/README.md.twig | 4 + .../13.4/src/Resources/Private/.htaccess | 2 + .../Private/Language/locallang.xlf.twig | 11 + .../Private/Language/locallang_be.xlf.twig | 17 ++ .../Private/Language/locallang_db.xlf.twig | 11 + .../Private/Layouts/ContentElements/.gitkeep | 1 + .../Private/Layouts/Page/Default.html.twig | 21 ++ .../Private/Partials/ContentElements/.gitkeep | 1 + .../Resources/Private/Partials/Page/.gitkeep | 1 + .../Templates/ContentElements/.gitkeep | 1 + .../Private/Templates/Page/Default.html.twig | 19 ++ .../13.4/src/Resources/Public/Css/layout.css | 0 .../13.4/src/Resources/Public/Css/rte.css | 3 + .../13.4/src/Resources/Public/Fonts/.gitkeep | 1 + .../src/Resources/Public/Icons/Extension.svg | 3 + .../src/Resources/Public/Icons/favicon.ico | Bin 0 -> 1150 bytes .../Public/Images/BackendLayouts/default.png | Bin 0 -> 182 bytes .../Resources/Public/JavaScript/main.js.twig | 1 + .../13.4/src/composer.json.twig | 23 ++ .../13.4/src/ext_conf_template.txt.twig | 3 + .../13.4/src/ext_emconf.php.twig | 29 +++ .../13.4/src/ext_localconf.php.twig | 6 + .../13.4/src/ext_tables.php.twig | 3 + .../ExtensionsTerJsonCreateCommand.php | 6 +- src/Controller/Api/SitepackageController.php | 89 +++++++ src/Controller/SitepackageController.php | 192 ++++++++++++++ src/Entity/Sitepackage.php | 241 ++++++++++++++++++ src/Entity/Sitepackage/Author.php | 121 +++++++++ src/Form/AuthorType.php | 70 +++++ src/Form/Extension/AbstractIconExtension.php | 49 ++++ .../Extension/ButtonTypeIconExtension.php | 34 +++ src/Form/SitepackageType.php | 100 ++++++++ src/Menu/MenuBuilder.php | 9 + src/Service/SitepackageGenerator.php | 119 +++++++++ src/Utility/FileUtility.php | 56 ++++ src/Utility/StringUtility.php | 96 +++++++ templates/sitepackage/edit.html.twig | 14 + templates/sitepackage/index.html.twig | 43 ++++ templates/sitepackage/new.html.twig | 17 ++ templates/sitepackage/success.html.twig | 71 ++++++ 413 files changed, 6570 insertions(+), 7 deletions(-) create mode 100644 resources/packages/bootstrap_package/10.4/src/.editorconfig create mode 100644 resources/packages/bootstrap_package/10.4/src/Build/.htaccess create mode 100644 resources/packages/bootstrap_package/10.4/src/Build/Gruntfile.js.twig create mode 100644 resources/packages/bootstrap_package/10.4/src/Build/package.json.twig create mode 100644 resources/packages/bootstrap_package/10.4/src/Classes/.htaccess create mode 100644 resources/packages/bootstrap_package/10.4/src/Classes/Controller/.gitkeep create mode 100644 resources/packages/bootstrap_package/10.4/src/Classes/Domain/.gitkeep create mode 100644 resources/packages/bootstrap_package/10.4/src/Classes/Domain/Model/.gitkeep create mode 100644 resources/packages/bootstrap_package/10.4/src/Classes/Domain/Repository/.gitkeep create mode 100644 resources/packages/bootstrap_package/10.4/src/Classes/ViewHelpers/.gitkeep create mode 100644 resources/packages/bootstrap_package/10.4/src/Configuration/.htaccess create mode 100644 resources/packages/bootstrap_package/10.4/src/Configuration/RTE/Default.yaml.twig create mode 100644 resources/packages/bootstrap_package/10.4/src/Configuration/TCA/Overrides/pages.php.twig create mode 100644 resources/packages/bootstrap_package/10.4/src/Configuration/TCA/Overrides/sys_template.php.twig create mode 100644 resources/packages/bootstrap_package/10.4/src/Configuration/TsConfig/Page/All.tsconfig.twig create mode 100644 resources/packages/bootstrap_package/10.4/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts.tsconfig.twig create mode 100644 resources/packages/bootstrap_package/10.4/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts/example.tsconfig.twig create mode 100644 resources/packages/bootstrap_package/10.4/src/Configuration/TsConfig/Page/RTE.tsconfig.twig create mode 100644 resources/packages/bootstrap_package/10.4/src/Configuration/TsConfig/Page/TCEFORM.tsconfig.twig create mode 100644 resources/packages/bootstrap_package/10.4/src/Configuration/TsConfig/Page/TCEMAIN.tsconfig.twig create mode 100644 resources/packages/bootstrap_package/10.4/src/Configuration/TypoScript/constants.typoscript.twig create mode 100644 resources/packages/bootstrap_package/10.4/src/Configuration/TypoScript/setup.typoscript.twig create mode 100644 resources/packages/bootstrap_package/10.4/src/README.md.twig create mode 100644 resources/packages/bootstrap_package/10.4/src/Resources/Private/.htaccess create mode 100644 resources/packages/bootstrap_package/10.4/src/Resources/Private/Language/locallang.xlf.twig create mode 100644 resources/packages/bootstrap_package/10.4/src/Resources/Private/Language/locallang_be.xlf.twig create mode 100644 resources/packages/bootstrap_package/10.4/src/Resources/Private/Language/locallang_db.xlf.twig create mode 100644 resources/packages/bootstrap_package/10.4/src/Resources/Private/Layouts/ContentElements/.gitkeep create mode 100644 resources/packages/bootstrap_package/10.4/src/Resources/Private/Layouts/Page/.gitkeep create mode 100644 resources/packages/bootstrap_package/10.4/src/Resources/Private/Partials/ContentElements/.gitkeep create mode 100644 resources/packages/bootstrap_package/10.4/src/Resources/Private/Partials/Page/.gitkeep create mode 100644 resources/packages/bootstrap_package/10.4/src/Resources/Private/Templates/ContentElements/.gitkeep create mode 100644 resources/packages/bootstrap_package/10.4/src/Resources/Private/Templates/Page/Example.html.twig create mode 100644 resources/packages/bootstrap_package/10.4/src/Resources/Public/Css/.gitkeep create mode 100644 resources/packages/bootstrap_package/10.4/src/Resources/Public/Fonts/.gitkeep create mode 100644 resources/packages/bootstrap_package/10.4/src/Resources/Public/Icons/BackendLayouts/example.svg create mode 100644 resources/packages/bootstrap_package/10.4/src/Resources/Public/Icons/Extension.svg create mode 100644 resources/packages/bootstrap_package/10.4/src/Resources/Public/Icons/favicon.ico create mode 100644 resources/packages/bootstrap_package/10.4/src/Resources/Public/Icons/logo-inverted.svg create mode 100644 resources/packages/bootstrap_package/10.4/src/Resources/Public/Icons/logo.svg create mode 100644 resources/packages/bootstrap_package/10.4/src/Resources/Public/Images/logo-inverted.svg create mode 100644 resources/packages/bootstrap_package/10.4/src/Resources/Public/Images/logo.svg create mode 100644 resources/packages/bootstrap_package/10.4/src/Resources/Public/JavaScript/Dist/scripts.js.twig create mode 100644 resources/packages/bootstrap_package/10.4/src/Resources/Public/JavaScript/Src/main.js.twig create mode 100644 resources/packages/bootstrap_package/10.4/src/Resources/Public/Scss/Theme/_variables.scss create mode 100644 resources/packages/bootstrap_package/10.4/src/Resources/Public/Scss/Theme/theme.scss.twig create mode 100644 resources/packages/bootstrap_package/10.4/src/composer.json.twig create mode 100644 resources/packages/bootstrap_package/10.4/src/ext_conf_template.txt.twig create mode 100644 resources/packages/bootstrap_package/10.4/src/ext_emconf.php.twig create mode 100644 resources/packages/bootstrap_package/10.4/src/ext_localconf.php.twig create mode 100644 resources/packages/bootstrap_package/10.4/src/ext_tables.php.twig create mode 100644 resources/packages/bootstrap_package/10.4/src/ext_tables.sql.twig create mode 100644 resources/packages/bootstrap_package/10.4/src/ext_tables_static+adt.sql.twig create mode 100644 resources/packages/bootstrap_package/11.5/src/.editorconfig create mode 100644 resources/packages/bootstrap_package/11.5/src/Build/.htaccess create mode 100644 resources/packages/bootstrap_package/11.5/src/Build/Gruntfile.js.twig create mode 100644 resources/packages/bootstrap_package/11.5/src/Build/package.json.twig create mode 100644 resources/packages/bootstrap_package/11.5/src/Classes/.htaccess create mode 100644 resources/packages/bootstrap_package/11.5/src/Classes/Controller/.gitkeep create mode 100644 resources/packages/bootstrap_package/11.5/src/Classes/Domain/.gitkeep create mode 100644 resources/packages/bootstrap_package/11.5/src/Classes/Domain/Model/.gitkeep create mode 100644 resources/packages/bootstrap_package/11.5/src/Classes/Domain/Repository/.gitkeep create mode 100644 resources/packages/bootstrap_package/11.5/src/Classes/ViewHelpers/.gitkeep create mode 100644 resources/packages/bootstrap_package/11.5/src/Configuration/.htaccess create mode 100644 resources/packages/bootstrap_package/11.5/src/Configuration/RTE/Default.yaml.twig create mode 100644 resources/packages/bootstrap_package/11.5/src/Configuration/TCA/Overrides/pages.php.twig create mode 100644 resources/packages/bootstrap_package/11.5/src/Configuration/TCA/Overrides/sys_template.php.twig create mode 100644 resources/packages/bootstrap_package/11.5/src/Configuration/TsConfig/Page/All.tsconfig.twig create mode 100644 resources/packages/bootstrap_package/11.5/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts.tsconfig.twig create mode 100644 resources/packages/bootstrap_package/11.5/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts/example.tsconfig.twig create mode 100644 resources/packages/bootstrap_package/11.5/src/Configuration/TsConfig/Page/RTE.tsconfig.twig create mode 100644 resources/packages/bootstrap_package/11.5/src/Configuration/TsConfig/Page/TCEFORM.tsconfig.twig create mode 100644 resources/packages/bootstrap_package/11.5/src/Configuration/TsConfig/Page/TCEMAIN.tsconfig.twig create mode 100644 resources/packages/bootstrap_package/11.5/src/Configuration/TypoScript/constants.typoscript.twig create mode 100644 resources/packages/bootstrap_package/11.5/src/Configuration/TypoScript/setup.typoscript.twig create mode 100644 resources/packages/bootstrap_package/11.5/src/README.md.twig create mode 100644 resources/packages/bootstrap_package/11.5/src/Resources/Private/.htaccess create mode 100644 resources/packages/bootstrap_package/11.5/src/Resources/Private/Language/locallang.xlf.twig create mode 100644 resources/packages/bootstrap_package/11.5/src/Resources/Private/Language/locallang_be.xlf.twig create mode 100644 resources/packages/bootstrap_package/11.5/src/Resources/Private/Language/locallang_db.xlf.twig create mode 100644 resources/packages/bootstrap_package/11.5/src/Resources/Private/Layouts/ContentElements/.gitkeep create mode 100644 resources/packages/bootstrap_package/11.5/src/Resources/Private/Layouts/Page/.gitkeep create mode 100644 resources/packages/bootstrap_package/11.5/src/Resources/Private/Partials/ContentElements/.gitkeep create mode 100644 resources/packages/bootstrap_package/11.5/src/Resources/Private/Partials/Page/.gitkeep create mode 100644 resources/packages/bootstrap_package/11.5/src/Resources/Private/Templates/ContentElements/.gitkeep create mode 100644 resources/packages/bootstrap_package/11.5/src/Resources/Private/Templates/Page/Example.html.twig create mode 100644 resources/packages/bootstrap_package/11.5/src/Resources/Public/Css/.gitkeep create mode 100644 resources/packages/bootstrap_package/11.5/src/Resources/Public/Fonts/.gitkeep create mode 100644 resources/packages/bootstrap_package/11.5/src/Resources/Public/Icons/BackendLayouts/example.svg create mode 100644 resources/packages/bootstrap_package/11.5/src/Resources/Public/Icons/Extension.svg create mode 100644 resources/packages/bootstrap_package/11.5/src/Resources/Public/Icons/favicon.ico create mode 100644 resources/packages/bootstrap_package/11.5/src/Resources/Public/Icons/logo-inverted.svg create mode 100644 resources/packages/bootstrap_package/11.5/src/Resources/Public/Icons/logo.svg create mode 100644 resources/packages/bootstrap_package/11.5/src/Resources/Public/Images/logo-inverted.svg create mode 100644 resources/packages/bootstrap_package/11.5/src/Resources/Public/Images/logo.svg create mode 100644 resources/packages/bootstrap_package/11.5/src/Resources/Public/JavaScript/Dist/scripts.js.twig create mode 100644 resources/packages/bootstrap_package/11.5/src/Resources/Public/JavaScript/Src/main.js.twig create mode 100644 resources/packages/bootstrap_package/11.5/src/Resources/Public/Scss/Theme/_variables.scss create mode 100644 resources/packages/bootstrap_package/11.5/src/Resources/Public/Scss/Theme/theme.scss.twig create mode 100644 resources/packages/bootstrap_package/11.5/src/composer.json.twig create mode 100644 resources/packages/bootstrap_package/11.5/src/ext_conf_template.txt.twig create mode 100644 resources/packages/bootstrap_package/11.5/src/ext_emconf.php.twig create mode 100644 resources/packages/bootstrap_package/11.5/src/ext_localconf.php.twig create mode 100644 resources/packages/bootstrap_package/11.5/src/ext_tables.php.twig create mode 100644 resources/packages/bootstrap_package/11.5/src/ext_tables.sql.twig create mode 100644 resources/packages/bootstrap_package/11.5/src/ext_tables_static+adt.sql.twig create mode 100644 resources/packages/bootstrap_package/12.4/src/.editorconfig create mode 100644 resources/packages/bootstrap_package/12.4/src/Build/.htaccess create mode 100644 resources/packages/bootstrap_package/12.4/src/Build/Gruntfile.js.twig create mode 100644 resources/packages/bootstrap_package/12.4/src/Build/package.json.twig create mode 100644 resources/packages/bootstrap_package/12.4/src/Classes/.htaccess create mode 100644 resources/packages/bootstrap_package/12.4/src/Classes/Controller/.gitkeep create mode 100644 resources/packages/bootstrap_package/12.4/src/Classes/Domain/.gitkeep create mode 100644 resources/packages/bootstrap_package/12.4/src/Classes/Domain/Model/.gitkeep create mode 100644 resources/packages/bootstrap_package/12.4/src/Classes/Domain/Repository/.gitkeep create mode 100644 resources/packages/bootstrap_package/12.4/src/Classes/ViewHelpers/.gitkeep create mode 100644 resources/packages/bootstrap_package/12.4/src/Configuration/.htaccess create mode 100644 resources/packages/bootstrap_package/12.4/src/Configuration/RTE/Default.yaml.twig create mode 100644 resources/packages/bootstrap_package/12.4/src/Configuration/TCA/Overrides/pages.php.twig create mode 100644 resources/packages/bootstrap_package/12.4/src/Configuration/TCA/Overrides/sys_template.php.twig create mode 100644 resources/packages/bootstrap_package/12.4/src/Configuration/TsConfig/Page/All.tsconfig.twig create mode 100644 resources/packages/bootstrap_package/12.4/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts.tsconfig.twig create mode 100644 resources/packages/bootstrap_package/12.4/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts/example.tsconfig.twig create mode 100644 resources/packages/bootstrap_package/12.4/src/Configuration/TsConfig/Page/RTE.tsconfig.twig create mode 100644 resources/packages/bootstrap_package/12.4/src/Configuration/TsConfig/Page/TCEFORM.tsconfig.twig create mode 100644 resources/packages/bootstrap_package/12.4/src/Configuration/TsConfig/Page/TCEMAIN.tsconfig.twig create mode 100644 resources/packages/bootstrap_package/12.4/src/Configuration/TypoScript/constants.typoscript.twig create mode 100644 resources/packages/bootstrap_package/12.4/src/Configuration/TypoScript/setup.typoscript.twig create mode 100644 resources/packages/bootstrap_package/12.4/src/README.md.twig create mode 100644 resources/packages/bootstrap_package/12.4/src/Resources/Private/.htaccess create mode 100644 resources/packages/bootstrap_package/12.4/src/Resources/Private/Language/locallang.xlf.twig create mode 100644 resources/packages/bootstrap_package/12.4/src/Resources/Private/Language/locallang_be.xlf.twig create mode 100644 resources/packages/bootstrap_package/12.4/src/Resources/Private/Language/locallang_db.xlf.twig create mode 100644 resources/packages/bootstrap_package/12.4/src/Resources/Private/Layouts/ContentElements/.gitkeep create mode 100644 resources/packages/bootstrap_package/12.4/src/Resources/Private/Layouts/Page/.gitkeep create mode 100644 resources/packages/bootstrap_package/12.4/src/Resources/Private/Partials/ContentElements/.gitkeep create mode 100644 resources/packages/bootstrap_package/12.4/src/Resources/Private/Partials/Page/.gitkeep create mode 100644 resources/packages/bootstrap_package/12.4/src/Resources/Private/Templates/ContentElements/.gitkeep create mode 100644 resources/packages/bootstrap_package/12.4/src/Resources/Private/Templates/Page/Example.html.twig create mode 100644 resources/packages/bootstrap_package/12.4/src/Resources/Public/Css/.gitkeep create mode 100644 resources/packages/bootstrap_package/12.4/src/Resources/Public/Fonts/.gitkeep create mode 100644 resources/packages/bootstrap_package/12.4/src/Resources/Public/Icons/BackendLayouts/example.svg create mode 100644 resources/packages/bootstrap_package/12.4/src/Resources/Public/Icons/Extension.svg create mode 100644 resources/packages/bootstrap_package/12.4/src/Resources/Public/Icons/favicon.ico create mode 100644 resources/packages/bootstrap_package/12.4/src/Resources/Public/Icons/logo-inverted.svg create mode 100644 resources/packages/bootstrap_package/12.4/src/Resources/Public/Icons/logo.svg create mode 100644 resources/packages/bootstrap_package/12.4/src/Resources/Public/Images/logo-inverted.svg create mode 100644 resources/packages/bootstrap_package/12.4/src/Resources/Public/Images/logo.svg create mode 100644 resources/packages/bootstrap_package/12.4/src/Resources/Public/JavaScript/Dist/scripts.js.twig create mode 100644 resources/packages/bootstrap_package/12.4/src/Resources/Public/JavaScript/Src/main.js.twig create mode 100644 resources/packages/bootstrap_package/12.4/src/Resources/Public/Scss/Theme/_variables.scss create mode 100644 resources/packages/bootstrap_package/12.4/src/Resources/Public/Scss/Theme/theme.scss.twig create mode 100644 resources/packages/bootstrap_package/12.4/src/composer.json.twig create mode 100644 resources/packages/bootstrap_package/12.4/src/ext_conf_template.txt.twig create mode 100644 resources/packages/bootstrap_package/12.4/src/ext_emconf.php.twig create mode 100644 resources/packages/bootstrap_package/12.4/src/ext_localconf.php.twig create mode 100644 resources/packages/bootstrap_package/12.4/src/ext_tables.php.twig create mode 100644 resources/packages/bootstrap_package/12.4/src/ext_tables.sql.twig create mode 100644 resources/packages/bootstrap_package/12.4/src/ext_tables_static+adt.sql.twig create mode 100644 resources/packages/bootstrap_package/13.4/src/.editorconfig create mode 100644 resources/packages/bootstrap_package/13.4/src/Classes/.htaccess create mode 100644 resources/packages/bootstrap_package/13.4/src/Classes/Controller/.gitkeep create mode 100644 resources/packages/bootstrap_package/13.4/src/Classes/Domain/.gitkeep create mode 100644 resources/packages/bootstrap_package/13.4/src/Classes/Domain/Model/.gitkeep create mode 100644 resources/packages/bootstrap_package/13.4/src/Classes/Domain/Repository/.gitkeep create mode 100644 resources/packages/bootstrap_package/13.4/src/Classes/ViewHelpers/.gitkeep create mode 100644 resources/packages/bootstrap_package/13.4/src/Configuration/.htaccess create mode 100644 resources/packages/bootstrap_package/13.4/src/Configuration/RTE/Default.yaml.twig create mode 100644 resources/packages/bootstrap_package/13.4/src/Configuration/Sets/SitePackage/PageTsConfig/BackendLayouts/example.tsconfig.twig create mode 100644 resources/packages/bootstrap_package/13.4/src/Configuration/Sets/SitePackage/config.yaml.twig create mode 100644 resources/packages/bootstrap_package/13.4/src/Configuration/Sets/SitePackage/page.tsconfig.twig create mode 100644 resources/packages/bootstrap_package/13.4/src/Configuration/Sets/SitePackage/settings.yaml.twig create mode 100644 resources/packages/bootstrap_package/13.4/src/Configuration/Sets/SitePackage/setup.typoscript.twig create mode 100644 resources/packages/bootstrap_package/13.4/src/README.md.twig create mode 100644 resources/packages/bootstrap_package/13.4/src/Resources/Private/.htaccess create mode 100644 resources/packages/bootstrap_package/13.4/src/Resources/Private/Language/locallang.xlf.twig create mode 100644 resources/packages/bootstrap_package/13.4/src/Resources/Private/Language/locallang_be.xlf.twig create mode 100644 resources/packages/bootstrap_package/13.4/src/Resources/Private/Language/locallang_db.xlf.twig create mode 100644 resources/packages/bootstrap_package/13.4/src/Resources/Private/Layouts/ContentElements/.gitkeep create mode 100644 resources/packages/bootstrap_package/13.4/src/Resources/Private/Layouts/Page/.gitkeep create mode 100644 resources/packages/bootstrap_package/13.4/src/Resources/Private/Partials/ContentElements/.gitkeep create mode 100644 resources/packages/bootstrap_package/13.4/src/Resources/Private/Partials/Page/.gitkeep create mode 100644 resources/packages/bootstrap_package/13.4/src/Resources/Private/Templates/ContentElements/.gitkeep create mode 100644 resources/packages/bootstrap_package/13.4/src/Resources/Private/Templates/Page/Example.html.twig create mode 100644 resources/packages/bootstrap_package/13.4/src/Resources/Public/Css/.gitkeep create mode 100644 resources/packages/bootstrap_package/13.4/src/Resources/Public/Fonts/.gitkeep create mode 100644 resources/packages/bootstrap_package/13.4/src/Resources/Public/Icons/BackendLayouts/example.svg create mode 100644 resources/packages/bootstrap_package/13.4/src/Resources/Public/Icons/Extension.svg create mode 100644 resources/packages/bootstrap_package/13.4/src/Resources/Public/Icons/favicon.ico create mode 100644 resources/packages/bootstrap_package/13.4/src/Resources/Public/Icons/logo-inverted.svg create mode 100644 resources/packages/bootstrap_package/13.4/src/Resources/Public/Icons/logo.svg create mode 100644 resources/packages/bootstrap_package/13.4/src/Resources/Public/Images/logo-inverted.svg create mode 100644 resources/packages/bootstrap_package/13.4/src/Resources/Public/Images/logo.svg create mode 100644 resources/packages/bootstrap_package/13.4/src/Resources/Public/JavaScript/main.js.twig create mode 100644 resources/packages/bootstrap_package/13.4/src/Resources/Public/Scss/Theme/_variables.scss create mode 100644 resources/packages/bootstrap_package/13.4/src/Resources/Public/Scss/Theme/theme.scss.twig create mode 100644 resources/packages/bootstrap_package/13.4/src/composer.json.twig create mode 100644 resources/packages/bootstrap_package/13.4/src/ext_emconf.php.twig create mode 100644 resources/packages/bootstrap_package/13.4/src/ext_localconf.php.twig create mode 100644 resources/packages/bootstrap_package/13.4/src/ext_tables.php.twig create mode 100644 resources/packages/fluid_styled_content/10.4/src/.editorconfig create mode 100644 resources/packages/fluid_styled_content/10.4/src/Build/.htaccess create mode 100644 resources/packages/fluid_styled_content/10.4/src/Build/Gruntfile.js.twig create mode 100644 resources/packages/fluid_styled_content/10.4/src/Build/package.json.twig create mode 100644 resources/packages/fluid_styled_content/10.4/src/Classes/.htaccess create mode 100644 resources/packages/fluid_styled_content/10.4/src/Classes/Controller/.gitkeep create mode 100644 resources/packages/fluid_styled_content/10.4/src/Classes/Domain/.gitkeep create mode 100644 resources/packages/fluid_styled_content/10.4/src/Classes/Domain/Model/.gitkeep create mode 100644 resources/packages/fluid_styled_content/10.4/src/Classes/Domain/Repository/.gitkeep create mode 100644 resources/packages/fluid_styled_content/10.4/src/Classes/ViewHelpers/.gitkeep create mode 100644 resources/packages/fluid_styled_content/10.4/src/Configuration/.htaccess create mode 100644 resources/packages/fluid_styled_content/10.4/src/Configuration/RTE/Default.yaml.twig create mode 100644 resources/packages/fluid_styled_content/10.4/src/Configuration/TCA/Overrides/pages.php.twig create mode 100644 resources/packages/fluid_styled_content/10.4/src/Configuration/TCA/Overrides/sys_template.php.twig create mode 100644 resources/packages/fluid_styled_content/10.4/src/Configuration/TsConfig/Page/All.tsconfig.twig create mode 100644 resources/packages/fluid_styled_content/10.4/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts.tsconfig.twig create mode 100644 resources/packages/fluid_styled_content/10.4/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts/default.tsconfig.twig create mode 100644 resources/packages/fluid_styled_content/10.4/src/Configuration/TsConfig/Page/RTE.tsconfig.twig create mode 100644 resources/packages/fluid_styled_content/10.4/src/Configuration/TsConfig/Page/TCEFORM.tsconfig.twig create mode 100644 resources/packages/fluid_styled_content/10.4/src/Configuration/TsConfig/Page/TCEMAIN.tsconfig.twig create mode 100644 resources/packages/fluid_styled_content/10.4/src/Configuration/TypoScript/Helper/DynamicContent.typoscript.twig create mode 100644 resources/packages/fluid_styled_content/10.4/src/Configuration/TypoScript/constants.typoscript.twig create mode 100644 resources/packages/fluid_styled_content/10.4/src/Configuration/TypoScript/setup.typoscript.twig create mode 100644 resources/packages/fluid_styled_content/10.4/src/README.md.twig create mode 100644 resources/packages/fluid_styled_content/10.4/src/Resources/Private/.htaccess create mode 100644 resources/packages/fluid_styled_content/10.4/src/Resources/Private/Language/locallang.xlf.twig create mode 100644 resources/packages/fluid_styled_content/10.4/src/Resources/Private/Language/locallang_be.xlf.twig create mode 100644 resources/packages/fluid_styled_content/10.4/src/Resources/Private/Language/locallang_db.xlf.twig create mode 100644 resources/packages/fluid_styled_content/10.4/src/Resources/Private/Layouts/ContentElements/.gitkeep create mode 100644 resources/packages/fluid_styled_content/10.4/src/Resources/Private/Layouts/Page/Default.html.twig create mode 100644 resources/packages/fluid_styled_content/10.4/src/Resources/Private/Partials/ContentElements/.gitkeep create mode 100644 resources/packages/fluid_styled_content/10.4/src/Resources/Private/Partials/Page/.gitkeep create mode 100644 resources/packages/fluid_styled_content/10.4/src/Resources/Private/Templates/ContentElements/.gitkeep create mode 100644 resources/packages/fluid_styled_content/10.4/src/Resources/Private/Templates/Page/Default.html.twig create mode 100644 resources/packages/fluid_styled_content/10.4/src/Resources/Public/Css/layout.css create mode 100644 resources/packages/fluid_styled_content/10.4/src/Resources/Public/Css/layout.min.css create mode 100644 resources/packages/fluid_styled_content/10.4/src/Resources/Public/Css/rte.css.twig create mode 100644 resources/packages/fluid_styled_content/10.4/src/Resources/Public/Fonts/.gitkeep create mode 100644 resources/packages/fluid_styled_content/10.4/src/Resources/Public/Icons/Extension.svg create mode 100644 resources/packages/fluid_styled_content/10.4/src/Resources/Public/Icons/favicon.ico create mode 100644 resources/packages/fluid_styled_content/10.4/src/Resources/Public/Images/BackendLayouts/default.png create mode 100644 resources/packages/fluid_styled_content/10.4/src/Resources/Public/JavaScript/Dist/scripts.js.twig create mode 100644 resources/packages/fluid_styled_content/10.4/src/Resources/Public/JavaScript/Src/main.js.twig create mode 100644 resources/packages/fluid_styled_content/10.4/src/Resources/Public/Scss/layout.scss.twig create mode 100644 resources/packages/fluid_styled_content/10.4/src/Resources/Public/Scss/variables.scss.twig create mode 100644 resources/packages/fluid_styled_content/10.4/src/composer.json.twig create mode 100644 resources/packages/fluid_styled_content/10.4/src/ext_conf_template.txt.twig create mode 100644 resources/packages/fluid_styled_content/10.4/src/ext_emconf.php.twig create mode 100644 resources/packages/fluid_styled_content/10.4/src/ext_localconf.php.twig create mode 100644 resources/packages/fluid_styled_content/10.4/src/ext_tables.php.twig create mode 100644 resources/packages/fluid_styled_content/10.4/src/ext_tables.sql.twig create mode 100644 resources/packages/fluid_styled_content/10.4/src/ext_tables_static+adt.sql.twig create mode 100644 resources/packages/fluid_styled_content/11.5/src/.editorconfig create mode 100644 resources/packages/fluid_styled_content/11.5/src/Build/.htaccess create mode 100644 resources/packages/fluid_styled_content/11.5/src/Build/Gruntfile.js.twig create mode 100644 resources/packages/fluid_styled_content/11.5/src/Build/package.json.twig create mode 100644 resources/packages/fluid_styled_content/11.5/src/Classes/.htaccess create mode 100644 resources/packages/fluid_styled_content/11.5/src/Classes/Controller/.gitkeep create mode 100644 resources/packages/fluid_styled_content/11.5/src/Classes/Domain/.gitkeep create mode 100644 resources/packages/fluid_styled_content/11.5/src/Classes/Domain/Model/.gitkeep create mode 100644 resources/packages/fluid_styled_content/11.5/src/Classes/Domain/Repository/.gitkeep create mode 100644 resources/packages/fluid_styled_content/11.5/src/Classes/ViewHelpers/.gitkeep create mode 100644 resources/packages/fluid_styled_content/11.5/src/Configuration/.htaccess create mode 100644 resources/packages/fluid_styled_content/11.5/src/Configuration/RTE/Default.yaml.twig create mode 100644 resources/packages/fluid_styled_content/11.5/src/Configuration/TCA/Overrides/pages.php.twig create mode 100644 resources/packages/fluid_styled_content/11.5/src/Configuration/TCA/Overrides/sys_template.php.twig create mode 100644 resources/packages/fluid_styled_content/11.5/src/Configuration/TsConfig/Page/All.tsconfig.twig create mode 100644 resources/packages/fluid_styled_content/11.5/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts.tsconfig.twig create mode 100644 resources/packages/fluid_styled_content/11.5/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts/default.tsconfig.twig create mode 100644 resources/packages/fluid_styled_content/11.5/src/Configuration/TsConfig/Page/RTE.tsconfig.twig create mode 100644 resources/packages/fluid_styled_content/11.5/src/Configuration/TsConfig/Page/TCEFORM.tsconfig.twig create mode 100644 resources/packages/fluid_styled_content/11.5/src/Configuration/TsConfig/Page/TCEMAIN.tsconfig.twig create mode 100644 resources/packages/fluid_styled_content/11.5/src/Configuration/TypoScript/Helper/DynamicContent.typoscript.twig create mode 100644 resources/packages/fluid_styled_content/11.5/src/Configuration/TypoScript/constants.typoscript.twig create mode 100644 resources/packages/fluid_styled_content/11.5/src/Configuration/TypoScript/setup.typoscript.twig create mode 100644 resources/packages/fluid_styled_content/11.5/src/README.md.twig create mode 100644 resources/packages/fluid_styled_content/11.5/src/Resources/Private/.htaccess create mode 100644 resources/packages/fluid_styled_content/11.5/src/Resources/Private/Language/locallang.xlf.twig create mode 100644 resources/packages/fluid_styled_content/11.5/src/Resources/Private/Language/locallang_be.xlf.twig create mode 100644 resources/packages/fluid_styled_content/11.5/src/Resources/Private/Language/locallang_db.xlf.twig create mode 100644 resources/packages/fluid_styled_content/11.5/src/Resources/Private/Layouts/ContentElements/.gitkeep create mode 100644 resources/packages/fluid_styled_content/11.5/src/Resources/Private/Layouts/Page/Default.html.twig create mode 100644 resources/packages/fluid_styled_content/11.5/src/Resources/Private/Partials/ContentElements/.gitkeep create mode 100644 resources/packages/fluid_styled_content/11.5/src/Resources/Private/Partials/Page/.gitkeep create mode 100644 resources/packages/fluid_styled_content/11.5/src/Resources/Private/Templates/ContentElements/.gitkeep create mode 100644 resources/packages/fluid_styled_content/11.5/src/Resources/Private/Templates/Page/Default.html.twig create mode 100644 resources/packages/fluid_styled_content/11.5/src/Resources/Public/Css/layout.css create mode 100644 resources/packages/fluid_styled_content/11.5/src/Resources/Public/Css/layout.min.css create mode 100644 resources/packages/fluid_styled_content/11.5/src/Resources/Public/Css/rte.css.twig create mode 100644 resources/packages/fluid_styled_content/11.5/src/Resources/Public/Fonts/.gitkeep create mode 100644 resources/packages/fluid_styled_content/11.5/src/Resources/Public/Icons/Extension.svg create mode 100644 resources/packages/fluid_styled_content/11.5/src/Resources/Public/Icons/favicon.ico create mode 100644 resources/packages/fluid_styled_content/11.5/src/Resources/Public/Images/BackendLayouts/default.png create mode 100644 resources/packages/fluid_styled_content/11.5/src/Resources/Public/JavaScript/Dist/scripts.js.twig create mode 100644 resources/packages/fluid_styled_content/11.5/src/Resources/Public/JavaScript/Src/main.js.twig create mode 100644 resources/packages/fluid_styled_content/11.5/src/Resources/Public/Scss/layout.scss.twig create mode 100644 resources/packages/fluid_styled_content/11.5/src/Resources/Public/Scss/variables.scss.twig create mode 100644 resources/packages/fluid_styled_content/11.5/src/composer.json.twig create mode 100644 resources/packages/fluid_styled_content/11.5/src/ext_conf_template.txt.twig create mode 100644 resources/packages/fluid_styled_content/11.5/src/ext_emconf.php.twig create mode 100644 resources/packages/fluid_styled_content/11.5/src/ext_localconf.php.twig create mode 100644 resources/packages/fluid_styled_content/11.5/src/ext_tables.php.twig create mode 100644 resources/packages/fluid_styled_content/11.5/src/ext_tables.sql.twig create mode 100644 resources/packages/fluid_styled_content/11.5/src/ext_tables_static+adt.sql.twig create mode 100644 resources/packages/fluid_styled_content/12.4/src/.editorconfig create mode 100644 resources/packages/fluid_styled_content/12.4/src/Build/.htaccess create mode 100644 resources/packages/fluid_styled_content/12.4/src/Build/Gruntfile.js.twig create mode 100644 resources/packages/fluid_styled_content/12.4/src/Build/package.json.twig create mode 100644 resources/packages/fluid_styled_content/12.4/src/Classes/.htaccess create mode 100644 resources/packages/fluid_styled_content/12.4/src/Classes/Controller/.gitkeep create mode 100644 resources/packages/fluid_styled_content/12.4/src/Classes/Domain/.gitkeep create mode 100644 resources/packages/fluid_styled_content/12.4/src/Classes/Domain/Model/.gitkeep create mode 100644 resources/packages/fluid_styled_content/12.4/src/Classes/Domain/Repository/.gitkeep create mode 100644 resources/packages/fluid_styled_content/12.4/src/Classes/ViewHelpers/.gitkeep create mode 100644 resources/packages/fluid_styled_content/12.4/src/Configuration/.htaccess create mode 100644 resources/packages/fluid_styled_content/12.4/src/Configuration/RTE/Default.yaml.twig create mode 100644 resources/packages/fluid_styled_content/12.4/src/Configuration/TCA/Overrides/pages.php.twig create mode 100644 resources/packages/fluid_styled_content/12.4/src/Configuration/TCA/Overrides/sys_template.php.twig create mode 100644 resources/packages/fluid_styled_content/12.4/src/Configuration/TsConfig/Page/All.tsconfig.twig create mode 100644 resources/packages/fluid_styled_content/12.4/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts.tsconfig.twig create mode 100644 resources/packages/fluid_styled_content/12.4/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts/default.tsconfig.twig create mode 100644 resources/packages/fluid_styled_content/12.4/src/Configuration/TsConfig/Page/RTE.tsconfig.twig create mode 100644 resources/packages/fluid_styled_content/12.4/src/Configuration/TsConfig/Page/TCEFORM.tsconfig.twig create mode 100644 resources/packages/fluid_styled_content/12.4/src/Configuration/TsConfig/Page/TCEMAIN.tsconfig.twig create mode 100644 resources/packages/fluid_styled_content/12.4/src/Configuration/TypoScript/Helper/DynamicContent.typoscript.twig create mode 100644 resources/packages/fluid_styled_content/12.4/src/Configuration/TypoScript/constants.typoscript.twig create mode 100644 resources/packages/fluid_styled_content/12.4/src/Configuration/TypoScript/setup.typoscript.twig create mode 100644 resources/packages/fluid_styled_content/12.4/src/README.md.twig create mode 100644 resources/packages/fluid_styled_content/12.4/src/Resources/Private/.htaccess create mode 100644 resources/packages/fluid_styled_content/12.4/src/Resources/Private/Language/locallang.xlf.twig create mode 100644 resources/packages/fluid_styled_content/12.4/src/Resources/Private/Language/locallang_be.xlf.twig create mode 100644 resources/packages/fluid_styled_content/12.4/src/Resources/Private/Language/locallang_db.xlf.twig create mode 100644 resources/packages/fluid_styled_content/12.4/src/Resources/Private/Layouts/ContentElements/.gitkeep create mode 100644 resources/packages/fluid_styled_content/12.4/src/Resources/Private/Layouts/Page/Default.html.twig create mode 100644 resources/packages/fluid_styled_content/12.4/src/Resources/Private/Partials/ContentElements/.gitkeep create mode 100644 resources/packages/fluid_styled_content/12.4/src/Resources/Private/Partials/Page/.gitkeep create mode 100644 resources/packages/fluid_styled_content/12.4/src/Resources/Private/Templates/ContentElements/.gitkeep create mode 100644 resources/packages/fluid_styled_content/12.4/src/Resources/Private/Templates/Page/Default.html.twig create mode 100644 resources/packages/fluid_styled_content/12.4/src/Resources/Public/Css/layout.css create mode 100644 resources/packages/fluid_styled_content/12.4/src/Resources/Public/Css/layout.min.css create mode 100644 resources/packages/fluid_styled_content/12.4/src/Resources/Public/Css/rte.css.twig create mode 100644 resources/packages/fluid_styled_content/12.4/src/Resources/Public/Fonts/.gitkeep create mode 100644 resources/packages/fluid_styled_content/12.4/src/Resources/Public/Icons/Extension.svg create mode 100644 resources/packages/fluid_styled_content/12.4/src/Resources/Public/Icons/favicon.ico create mode 100644 resources/packages/fluid_styled_content/12.4/src/Resources/Public/Images/BackendLayouts/default.png create mode 100644 resources/packages/fluid_styled_content/12.4/src/Resources/Public/JavaScript/Dist/scripts.js.twig create mode 100644 resources/packages/fluid_styled_content/12.4/src/Resources/Public/JavaScript/Src/main.js.twig create mode 100644 resources/packages/fluid_styled_content/12.4/src/Resources/Public/Scss/layout.scss.twig create mode 100644 resources/packages/fluid_styled_content/12.4/src/Resources/Public/Scss/variables.scss.twig create mode 100644 resources/packages/fluid_styled_content/12.4/src/composer.json.twig create mode 100644 resources/packages/fluid_styled_content/12.4/src/ext_conf_template.txt.twig create mode 100644 resources/packages/fluid_styled_content/12.4/src/ext_emconf.php.twig create mode 100644 resources/packages/fluid_styled_content/12.4/src/ext_localconf.php.twig create mode 100644 resources/packages/fluid_styled_content/12.4/src/ext_tables.php.twig create mode 100644 resources/packages/fluid_styled_content/12.4/src/ext_tables.sql.twig create mode 100644 resources/packages/fluid_styled_content/12.4/src/ext_tables_static+adt.sql.twig create mode 100644 resources/packages/fluid_styled_content/13.4/src/.editorconfig create mode 100644 resources/packages/fluid_styled_content/13.4/src/Classes/.htaccess create mode 100644 resources/packages/fluid_styled_content/13.4/src/Classes/Controller/.gitkeep create mode 100644 resources/packages/fluid_styled_content/13.4/src/Classes/Domain/.gitkeep create mode 100644 resources/packages/fluid_styled_content/13.4/src/Classes/Domain/Model/.gitkeep create mode 100644 resources/packages/fluid_styled_content/13.4/src/Classes/Domain/Repository/.gitkeep create mode 100644 resources/packages/fluid_styled_content/13.4/src/Classes/ViewHelpers/.gitkeep create mode 100644 resources/packages/fluid_styled_content/13.4/src/Configuration/.htaccess create mode 100644 resources/packages/fluid_styled_content/13.4/src/Configuration/RTE/Default.yaml.twig create mode 100644 resources/packages/fluid_styled_content/13.4/src/Configuration/Sets/SitePackage/PageTsConfig/BackendLayouts/example.tsconfig.twig create mode 100644 resources/packages/fluid_styled_content/13.4/src/Configuration/Sets/SitePackage/TypoScript/Helper/DynamicContent.typoscript.twig create mode 100644 resources/packages/fluid_styled_content/13.4/src/Configuration/Sets/SitePackage/config.yaml.twig create mode 100644 resources/packages/fluid_styled_content/13.4/src/Configuration/Sets/SitePackage/page.tsconfig.twig create mode 100644 resources/packages/fluid_styled_content/13.4/src/Configuration/Sets/SitePackage/settings.yaml.twig create mode 100644 resources/packages/fluid_styled_content/13.4/src/Configuration/Sets/SitePackage/setup.typoscript.twig create mode 100644 resources/packages/fluid_styled_content/13.4/src/README.md.twig create mode 100644 resources/packages/fluid_styled_content/13.4/src/Resources/Private/.htaccess create mode 100644 resources/packages/fluid_styled_content/13.4/src/Resources/Private/Language/locallang.xlf.twig create mode 100644 resources/packages/fluid_styled_content/13.4/src/Resources/Private/Language/locallang_be.xlf.twig create mode 100644 resources/packages/fluid_styled_content/13.4/src/Resources/Private/Language/locallang_db.xlf.twig create mode 100644 resources/packages/fluid_styled_content/13.4/src/Resources/Private/Layouts/ContentElements/.gitkeep create mode 100644 resources/packages/fluid_styled_content/13.4/src/Resources/Private/Layouts/Page/Default.html.twig create mode 100644 resources/packages/fluid_styled_content/13.4/src/Resources/Private/Partials/ContentElements/.gitkeep create mode 100644 resources/packages/fluid_styled_content/13.4/src/Resources/Private/Partials/Page/.gitkeep create mode 100644 resources/packages/fluid_styled_content/13.4/src/Resources/Private/Templates/ContentElements/.gitkeep create mode 100644 resources/packages/fluid_styled_content/13.4/src/Resources/Private/Templates/Page/Default.html.twig create mode 100644 resources/packages/fluid_styled_content/13.4/src/Resources/Public/Css/layout.css create mode 100644 resources/packages/fluid_styled_content/13.4/src/Resources/Public/Css/rte.css create mode 100644 resources/packages/fluid_styled_content/13.4/src/Resources/Public/Fonts/.gitkeep create mode 100644 resources/packages/fluid_styled_content/13.4/src/Resources/Public/Icons/Extension.svg create mode 100644 resources/packages/fluid_styled_content/13.4/src/Resources/Public/Icons/favicon.ico create mode 100644 resources/packages/fluid_styled_content/13.4/src/Resources/Public/Images/BackendLayouts/default.png create mode 100644 resources/packages/fluid_styled_content/13.4/src/Resources/Public/JavaScript/main.js.twig create mode 100644 resources/packages/fluid_styled_content/13.4/src/composer.json.twig create mode 100644 resources/packages/fluid_styled_content/13.4/src/ext_conf_template.txt.twig create mode 100644 resources/packages/fluid_styled_content/13.4/src/ext_emconf.php.twig create mode 100644 resources/packages/fluid_styled_content/13.4/src/ext_localconf.php.twig create mode 100644 resources/packages/fluid_styled_content/13.4/src/ext_tables.php.twig create mode 100644 src/Controller/Api/SitepackageController.php create mode 100644 src/Controller/SitepackageController.php create mode 100644 src/Entity/Sitepackage.php create mode 100644 src/Entity/Sitepackage/Author.php create mode 100644 src/Form/AuthorType.php create mode 100644 src/Form/Extension/AbstractIconExtension.php create mode 100644 src/Form/Extension/ButtonTypeIconExtension.php create mode 100644 src/Form/SitepackageType.php create mode 100644 src/Service/SitepackageGenerator.php create mode 100644 src/Utility/FileUtility.php create mode 100644 src/Utility/StringUtility.php create mode 100644 templates/sitepackage/edit.html.twig create mode 100644 templates/sitepackage/index.html.twig create mode 100644 templates/sitepackage/new.html.twig create mode 100644 templates/sitepackage/success.html.twig diff --git a/composer.json b/composer.json index 276795d7..ab9cb8ea 100644 --- a/composer.json +++ b/composer.json @@ -20,6 +20,10 @@ { "name": "Susanne Moog", "email": "susanne.moog@typo3.com" + }, + { + "name": "Benjamin Kott", + "email": "benjamin.kott@typo3.com" } ], "homepage": "https://get.typo3.org", @@ -35,6 +39,7 @@ "ext-iconv": "*", "ext-json": "*", "ext-sqlite3": "*", + "ext-zip": "*", "ext-zlib": "*", "composer/semver": "^3.3", "doctrine/collections": "^1.6", diff --git a/composer.lock b/composer.lock index 861ea3de..c3a2cae8 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "07c424a01561cb39135e612b87512b38", + "content-hash": "146b36bf6e37944816c34f6b39329dd7", "packages": [ { "name": "composer/ca-bundle", @@ -10745,8 +10745,8 @@ "aliases": [], "minimum-stability": "stable", "stability-flags": { - "t3g/symfony-usercentrics-bundle": 20, - "roave/security-advisories": 20 + "roave/security-advisories": 20, + "t3g/symfony-usercentrics-bundle": 20 }, "prefer-stable": true, "prefer-lowest": false, @@ -10757,8 +10757,9 @@ "ext-iconv": "*", "ext-json": "*", "ext-sqlite3": "*", + "ext-zip": "*", "ext-zlib": "*" }, - "platform-dev": [], + "platform-dev": {}, "plugin-api-version": "2.6.0" } diff --git a/resources/packages/bootstrap_package/10.4/src/.editorconfig b/resources/packages/bootstrap_package/10.4/src/.editorconfig new file mode 100644 index 00000000..ff05afd1 --- /dev/null +++ b/resources/packages/bootstrap_package/10.4/src/.editorconfig @@ -0,0 +1,70 @@ +# EditorConfig is awesome: http://EditorConfig.org + +# top-most EditorConfig file +root = true + +# Unix-style newlines with a newline ending every file +[*] +charset = utf-8 +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true + +# CSS-Files +[*.css] +indent_style = space +indent_size = 4 + +# HTML-Files +[*.html] +indent_style = space +indent_size = 4 + +# TMPL-Files +[*.tmpl] +indent_style = space +indent_size = 4 + +# JS-Files +[*.js] +indent_style = space +indent_size = 4 + +# PHP-Files +[*.php] +indent_style = space +indent_size = 4 + +# MD-Files +[*.md] +indent_style = space +indent_size = 4 + +# ReST-Files +[*.rst] +indent_style = space +indent_size = 3 + +# TypoScript +[*.typoscript] +indent_style = space +indent_size = 4 + +# YML-Files +[{*.yml,*.yaml}] +indent_style = space +indent_size = 2 + +# package.json +[package.json] +indent_style = space +indent_size = 2 + +# composer.json +[composer.json] +indent_style = space +indent_size = 4 + +# phpstan +[*.neon] +indent_style = tab diff --git a/resources/packages/bootstrap_package/10.4/src/Build/.htaccess b/resources/packages/bootstrap_package/10.4/src/Build/.htaccess new file mode 100644 index 00000000..93169e4e --- /dev/null +++ b/resources/packages/bootstrap_package/10.4/src/Build/.htaccess @@ -0,0 +1,2 @@ +Order deny,allow +Deny from all diff --git a/resources/packages/bootstrap_package/10.4/src/Build/Gruntfile.js.twig b/resources/packages/bootstrap_package/10.4/src/Build/Gruntfile.js.twig new file mode 100644 index 00000000..36dddf66 --- /dev/null +++ b/resources/packages/bootstrap_package/10.4/src/Build/Gruntfile.js.twig @@ -0,0 +1,72 @@ +module.exports = function(grunt) { + + /** + * Project configuration. + */ + grunt.initConfig({ + pkg: grunt.file.readJSON('package.json'), + paths: { + root: '../', + resources: '<%= paths.root %>Resources/', + fonts: '<%= paths.resources %>Public/Fonts/', + img: '<%= paths.resources %>Public/Images/', + js: '<%= paths.resources %>Public/JavaScript/' + }, + banner: '/*!\n' + + ' * {{ package.title }} v<%= pkg.version %> (<%= pkg.homepage %>)\n' + + ' * Copyright 2017-<%= grunt.template.today("yyyy") %> <%= pkg.author %>\n' + + ' * Licensed under the <%= pkg.license %> license\n' + + ' */\n', + uglify: { + all: { + options: { + banner: '<%= banner %>', + mangle: true, + compress: true, + beautify: false + }, + files: { + "<%= paths.js %>/Dist/scripts.js": [ + "<%= paths.js %>Src/main.js" + ] + } + } + }, + imagemin: { + extension: { + files: [{ + expand: true, + cwd: '<%= paths.resources %>', + src: [ + '**/*.{png,jpg,gif,svg}' + ], + dest: '<%= paths.resources %>' + }] + } + }, + watch: { + options: { + livereload: true + }, + javascript: { + files: '<%= paths.js %>Src/**/*.js', + tasks: ['js'] + } + } + }); + + /** + * Register tasks + */ + grunt.loadNpmTasks('grunt-contrib-uglify'); + grunt.loadNpmTasks('grunt-contrib-watch'); + grunt.loadNpmTasks('grunt-contrib-imagemin'); + + /** + * Grunt update task + */ + grunt.registerTask('js', ['uglify']); + grunt.registerTask('build', ['js', 'imagemin']); + grunt.registerTask('default', ['build']); + +}; diff --git a/resources/packages/bootstrap_package/10.4/src/Build/package.json.twig b/resources/packages/bootstrap_package/10.4/src/Build/package.json.twig new file mode 100644 index 00000000..21fc85af --- /dev/null +++ b/resources/packages/bootstrap_package/10.4/src/Build/package.json.twig @@ -0,0 +1,18 @@ +{ + "name": "{{ package.vendorNameAlternative }}-{{ package.packageNameAlternative }}", + "description": "{{ package.description }}", + "repository": { + "type": "git", + "url": "{{ package.repositoryUrl }}" + }, + "homepage": "{{ package.author.homepage }}", + "author": "{{ package.author.name }}", + "version": "1.0.0", + "license": "GPL-2.0-or-later", + "devDependencies": { + "grunt": "^1.0.3", + "grunt-contrib-uglify": "^4.0.0", + "grunt-contrib-watch": "^1.1.0", + "grunt-contrib-imagemin": "^2.0.1" + } +} diff --git a/resources/packages/bootstrap_package/10.4/src/Classes/.htaccess b/resources/packages/bootstrap_package/10.4/src/Classes/.htaccess new file mode 100644 index 00000000..93169e4e --- /dev/null +++ b/resources/packages/bootstrap_package/10.4/src/Classes/.htaccess @@ -0,0 +1,2 @@ +Order deny,allow +Deny from all diff --git a/resources/packages/bootstrap_package/10.4/src/Classes/Controller/.gitkeep b/resources/packages/bootstrap_package/10.4/src/Classes/Controller/.gitkeep new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/resources/packages/bootstrap_package/10.4/src/Classes/Controller/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/bootstrap_package/10.4/src/Classes/Domain/.gitkeep b/resources/packages/bootstrap_package/10.4/src/Classes/Domain/.gitkeep new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/resources/packages/bootstrap_package/10.4/src/Classes/Domain/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/bootstrap_package/10.4/src/Classes/Domain/Model/.gitkeep b/resources/packages/bootstrap_package/10.4/src/Classes/Domain/Model/.gitkeep new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/resources/packages/bootstrap_package/10.4/src/Classes/Domain/Model/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/bootstrap_package/10.4/src/Classes/Domain/Repository/.gitkeep b/resources/packages/bootstrap_package/10.4/src/Classes/Domain/Repository/.gitkeep new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/resources/packages/bootstrap_package/10.4/src/Classes/Domain/Repository/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/bootstrap_package/10.4/src/Classes/ViewHelpers/.gitkeep b/resources/packages/bootstrap_package/10.4/src/Classes/ViewHelpers/.gitkeep new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/resources/packages/bootstrap_package/10.4/src/Classes/ViewHelpers/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/bootstrap_package/10.4/src/Configuration/.htaccess b/resources/packages/bootstrap_package/10.4/src/Configuration/.htaccess new file mode 100644 index 00000000..93169e4e --- /dev/null +++ b/resources/packages/bootstrap_package/10.4/src/Configuration/.htaccess @@ -0,0 +1,2 @@ +Order deny,allow +Deny from all diff --git a/resources/packages/bootstrap_package/10.4/src/Configuration/RTE/Default.yaml.twig b/resources/packages/bootstrap_package/10.4/src/Configuration/RTE/Default.yaml.twig new file mode 100644 index 00000000..282236ed --- /dev/null +++ b/resources/packages/bootstrap_package/10.4/src/Configuration/RTE/Default.yaml.twig @@ -0,0 +1,9 @@ +imports: + - { resource: "EXT:rte_ckeditor/Configuration/RTE/Processing.yaml" } + - { resource: "EXT:rte_ckeditor/Configuration/RTE/Editor/Base.yaml" } + - { resource: "EXT:rte_ckeditor/Configuration/RTE/Editor/Plugins.yaml" } + - { resource: "EXT:bootstrap_package/Configuration/RTE/Default.yaml" } + +editor: + config: + contentsCss: "EXT:bootstrap_package/Resources/Public/Css/bootstrap4-rte.min.css" diff --git a/resources/packages/bootstrap_package/10.4/src/Configuration/TCA/Overrides/pages.php.twig b/resources/packages/bootstrap_package/10.4/src/Configuration/TCA/Overrides/pages.php.twig new file mode 100644 index 00000000..fb8d9fd1 --- /dev/null +++ b/resources/packages/bootstrap_package/10.4/src/Configuration/TCA/Overrides/pages.php.twig @@ -0,0 +1,20 @@ + + + + diff --git a/resources/packages/bootstrap_package/10.4/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts.tsconfig.twig b/resources/packages/bootstrap_package/10.4/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts.tsconfig.twig new file mode 100644 index 00000000..8213cfae --- /dev/null +++ b/resources/packages/bootstrap_package/10.4/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts.tsconfig.twig @@ -0,0 +1,4 @@ +# +# BACKENDLAYOUTS +# + diff --git a/resources/packages/bootstrap_package/10.4/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts/example.tsconfig.twig b/resources/packages/bootstrap_package/10.4/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts/example.tsconfig.twig new file mode 100644 index 00000000..628a7254 --- /dev/null +++ b/resources/packages/bootstrap_package/10.4/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts/example.tsconfig.twig @@ -0,0 +1,29 @@ +# +# BACKENDLAYOUT: EXAMPLE +# +mod { + web_layout { + BackendLayouts { + example { + title = LLL:EXT:{{ package.extensionKey }}/Resources/Private/Language/locallang_be.xlf:backend_layout.example + config { + backend_layout { + colCount = 1 + rowCount = 1 + rows { + 1 { + columns { + 1 { + name = LLL:EXT:{{ package.extensionKey }}/Resources/Private/Language/locallang_be.xlf:backend_layout.column.normal + colPos = 0 + } + } + } + } + } + } + icon = EXT:{{ package.extensionKey }}/Resources/Public/Icons/BackendLayouts/example.svg + } + } + } +} diff --git a/resources/packages/bootstrap_package/10.4/src/Configuration/TsConfig/Page/RTE.tsconfig.twig b/resources/packages/bootstrap_package/10.4/src/Configuration/TsConfig/Page/RTE.tsconfig.twig new file mode 100644 index 00000000..38353247 --- /dev/null +++ b/resources/packages/bootstrap_package/10.4/src/Configuration/TsConfig/Page/RTE.tsconfig.twig @@ -0,0 +1,8 @@ +############# +#### RTE #### +############# +RTE { + default { + preset = {{ package.extensionKey }} + } +} diff --git a/resources/packages/bootstrap_package/10.4/src/Configuration/TsConfig/Page/TCEFORM.tsconfig.twig b/resources/packages/bootstrap_package/10.4/src/Configuration/TsConfig/Page/TCEFORM.tsconfig.twig new file mode 100644 index 00000000..55f97ce7 --- /dev/null +++ b/resources/packages/bootstrap_package/10.4/src/Configuration/TsConfig/Page/TCEFORM.tsconfig.twig @@ -0,0 +1,11 @@ +# +# TCEFORM +# +TCEFORM { + pages { + + } + tt_content { + + } +} diff --git a/resources/packages/bootstrap_package/10.4/src/Configuration/TsConfig/Page/TCEMAIN.tsconfig.twig b/resources/packages/bootstrap_package/10.4/src/Configuration/TsConfig/Page/TCEMAIN.tsconfig.twig new file mode 100644 index 00000000..9d4a5e4e --- /dev/null +++ b/resources/packages/bootstrap_package/10.4/src/Configuration/TsConfig/Page/TCEMAIN.tsconfig.twig @@ -0,0 +1,6 @@ +# +# TCEMAIN +# +TCEMAIN { + +} diff --git a/resources/packages/bootstrap_package/10.4/src/Configuration/TypoScript/constants.typoscript.twig b/resources/packages/bootstrap_package/10.4/src/Configuration/TypoScript/constants.typoscript.twig new file mode 100644 index 00000000..32904169 --- /dev/null +++ b/resources/packages/bootstrap_package/10.4/src/Configuration/TypoScript/constants.typoscript.twig @@ -0,0 +1,60 @@ +###################### +#### DEPENDENCIES #### +###################### + + + +############ +### PAGE ### +############ +page { + logo { + file = EXT:{{ package.extensionKey }}/Resources/Public/Images/logo.svg + fileInverted = EXT:{{ package.extensionKey }}/Resources/Public/Images/logo-inverted.svg + height = 52 + width = 192 + alt = {{ package.title }} + linktitle = {{ package.title }} + } + favicon { + file = EXT:{{ package.extensionKey }}/Resources/Public/Icons/favicon.ico + } + fluidtemplate { + layoutRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Layouts/Page/ + partialRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Partials/Page/ + templateRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Templates/Page/ + } +} + + +################## +### EXTENSIONS ### +################## +plugin.bootstrap_package { + view { + layoutRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Layouts/ + partialRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Partials/ + templateRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Templates/ + } +} + + +######################## +### CONTENT ELEMENTS ### +######################## +plugin.bootstrap_package_contentelements { + view { + layoutRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Layouts/ContentElements/ + partialRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Partials/ContentElements/ + templateRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Templates/ContentElements/ + } +} + + +################################ +### BOOTSTRAP SCSS CONSTANTS ### +################################ +plugin.bootstrap_package.settings.scss { + primary = #eb3e4a + secondary = #013859 +} diff --git a/resources/packages/bootstrap_package/10.4/src/Configuration/TypoScript/setup.typoscript.twig b/resources/packages/bootstrap_package/10.4/src/Configuration/TypoScript/setup.typoscript.twig new file mode 100644 index 00000000..00a04208 --- /dev/null +++ b/resources/packages/bootstrap_package/10.4/src/Configuration/TypoScript/setup.typoscript.twig @@ -0,0 +1,30 @@ +###################### +#### DEPENDENCIES #### +###################### + + + +############## +#### PAGE #### +############## +page { + includeCSS { + theme = EXT:{{ package.extensionKey }}/Resources/Public/Scss/Theme/theme.scss + } + + includeJSLibs { + + } + + includeJS { + + } + + includeJSFooterlibs { + + } + + includeJSFooter { + {{ package.extensionKey }}_scripts = EXT:{{ package.extensionKey }}/Resources/Public/JavaScript/Dist/scripts.js + } +} diff --git a/resources/packages/bootstrap_package/10.4/src/README.md.twig b/resources/packages/bootstrap_package/10.4/src/README.md.twig new file mode 100644 index 00000000..8b095c79 --- /dev/null +++ b/resources/packages/bootstrap_package/10.4/src/README.md.twig @@ -0,0 +1,4 @@ +Sitepackage for the project "{{ package.title }}" +============================================================== + +Add some explanation here. diff --git a/resources/packages/bootstrap_package/10.4/src/Resources/Private/.htaccess b/resources/packages/bootstrap_package/10.4/src/Resources/Private/.htaccess new file mode 100644 index 00000000..93169e4e --- /dev/null +++ b/resources/packages/bootstrap_package/10.4/src/Resources/Private/.htaccess @@ -0,0 +1,2 @@ +Order deny,allow +Deny from all diff --git a/resources/packages/bootstrap_package/10.4/src/Resources/Private/Language/locallang.xlf.twig b/resources/packages/bootstrap_package/10.4/src/Resources/Private/Language/locallang.xlf.twig new file mode 100644 index 00000000..5aea2770 --- /dev/null +++ b/resources/packages/bootstrap_package/10.4/src/Resources/Private/Language/locallang.xlf.twig @@ -0,0 +1,11 @@ + + + +
+ {{ package.author.name }} + {{ package.author.email }} +
+ + +
+
diff --git a/resources/packages/bootstrap_package/10.4/src/Resources/Private/Language/locallang_be.xlf.twig b/resources/packages/bootstrap_package/10.4/src/Resources/Private/Language/locallang_be.xlf.twig new file mode 100644 index 00000000..8b09912d --- /dev/null +++ b/resources/packages/bootstrap_package/10.4/src/Resources/Private/Language/locallang_be.xlf.twig @@ -0,0 +1,17 @@ + + + +
+ {{ package.author.name }} + {{ package.author.email }} +
+ + + Example + + + Normal + + +
+
diff --git a/resources/packages/bootstrap_package/10.4/src/Resources/Private/Language/locallang_db.xlf.twig b/resources/packages/bootstrap_package/10.4/src/Resources/Private/Language/locallang_db.xlf.twig new file mode 100644 index 00000000..5aea2770 --- /dev/null +++ b/resources/packages/bootstrap_package/10.4/src/Resources/Private/Language/locallang_db.xlf.twig @@ -0,0 +1,11 @@ + + + +
+ {{ package.author.name }} + {{ package.author.email }} +
+ + +
+
diff --git a/resources/packages/bootstrap_package/10.4/src/Resources/Private/Layouts/ContentElements/.gitkeep b/resources/packages/bootstrap_package/10.4/src/Resources/Private/Layouts/ContentElements/.gitkeep new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/resources/packages/bootstrap_package/10.4/src/Resources/Private/Layouts/ContentElements/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/bootstrap_package/10.4/src/Resources/Private/Layouts/Page/.gitkeep b/resources/packages/bootstrap_package/10.4/src/Resources/Private/Layouts/Page/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/resources/packages/bootstrap_package/10.4/src/Resources/Private/Partials/ContentElements/.gitkeep b/resources/packages/bootstrap_package/10.4/src/Resources/Private/Partials/ContentElements/.gitkeep new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/resources/packages/bootstrap_package/10.4/src/Resources/Private/Partials/ContentElements/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/bootstrap_package/10.4/src/Resources/Private/Partials/Page/.gitkeep b/resources/packages/bootstrap_package/10.4/src/Resources/Private/Partials/Page/.gitkeep new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/resources/packages/bootstrap_package/10.4/src/Resources/Private/Partials/Page/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/bootstrap_package/10.4/src/Resources/Private/Templates/ContentElements/.gitkeep b/resources/packages/bootstrap_package/10.4/src/Resources/Private/Templates/ContentElements/.gitkeep new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/resources/packages/bootstrap_package/10.4/src/Resources/Private/Templates/ContentElements/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/bootstrap_package/10.4/src/Resources/Private/Templates/Page/Example.html.twig b/resources/packages/bootstrap_package/10.4/src/Resources/Private/Templates/Page/Example.html.twig new file mode 100644 index 00000000..2b67bb11 --- /dev/null +++ b/resources/packages/bootstrap_package/10.4/src/Resources/Private/Templates/Page/Example.html.twig @@ -0,0 +1,22 @@ + + + + +
+
+
+
Template file
+
+ typo3conf/ext/{{ package.extensionKey }}/Resources/Private/Templates/Page/Example.html +
+
Backend Configuration
+
+ typo3conf/ext/{{ package.extensionKey }}/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts/example.tsconfig +
+
+
+
+ + +
+ diff --git a/resources/packages/bootstrap_package/10.4/src/Resources/Public/Css/.gitkeep b/resources/packages/bootstrap_package/10.4/src/Resources/Public/Css/.gitkeep new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/resources/packages/bootstrap_package/10.4/src/Resources/Public/Css/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/bootstrap_package/10.4/src/Resources/Public/Fonts/.gitkeep b/resources/packages/bootstrap_package/10.4/src/Resources/Public/Fonts/.gitkeep new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/resources/packages/bootstrap_package/10.4/src/Resources/Public/Fonts/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/bootstrap_package/10.4/src/Resources/Public/Icons/BackendLayouts/example.svg b/resources/packages/bootstrap_package/10.4/src/Resources/Public/Icons/BackendLayouts/example.svg new file mode 100644 index 00000000..d05abec2 --- /dev/null +++ b/resources/packages/bootstrap_package/10.4/src/Resources/Public/Icons/BackendLayouts/example.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/packages/bootstrap_package/10.4/src/Resources/Public/Icons/Extension.svg b/resources/packages/bootstrap_package/10.4/src/Resources/Public/Icons/Extension.svg new file mode 100644 index 00000000..d8536373 --- /dev/null +++ b/resources/packages/bootstrap_package/10.4/src/Resources/Public/Icons/Extension.svg @@ -0,0 +1,3 @@ + + + diff --git a/resources/packages/bootstrap_package/10.4/src/Resources/Public/Icons/favicon.ico b/resources/packages/bootstrap_package/10.4/src/Resources/Public/Icons/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..46d4c14df35ee4ccdf7c5a7eba53f00bc4457963 GIT binary patch literal 1150 zcmaKszb^zq6vrP&t{`y*Vj}8oqXL6Y$R~|E{BN6xxSFH~V-8J?S315x+S4 zj-Y)ybmKo(YfpQ6?x1gZYOBicJEMBKKl2?Y;7851p!}yw*Ju2g^_YOA4@`k=u$$QG%PiuMovJt++@ORg$yF+-?obfjA|?e@V(Z#s}~VJtDD0 literal 0 HcmV?d00001 diff --git a/resources/packages/bootstrap_package/10.4/src/Resources/Public/Icons/logo-inverted.svg b/resources/packages/bootstrap_package/10.4/src/Resources/Public/Icons/logo-inverted.svg new file mode 100644 index 00000000..f465b080 --- /dev/null +++ b/resources/packages/bootstrap_package/10.4/src/Resources/Public/Icons/logo-inverted.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/packages/bootstrap_package/10.4/src/Resources/Public/Icons/logo.svg b/resources/packages/bootstrap_package/10.4/src/Resources/Public/Icons/logo.svg new file mode 100644 index 00000000..dc1615ff --- /dev/null +++ b/resources/packages/bootstrap_package/10.4/src/Resources/Public/Icons/logo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/packages/bootstrap_package/10.4/src/Resources/Public/Images/logo-inverted.svg b/resources/packages/bootstrap_package/10.4/src/Resources/Public/Images/logo-inverted.svg new file mode 100644 index 00000000..f465b080 --- /dev/null +++ b/resources/packages/bootstrap_package/10.4/src/Resources/Public/Images/logo-inverted.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/packages/bootstrap_package/10.4/src/Resources/Public/Images/logo.svg b/resources/packages/bootstrap_package/10.4/src/Resources/Public/Images/logo.svg new file mode 100644 index 00000000..dc1615ff --- /dev/null +++ b/resources/packages/bootstrap_package/10.4/src/Resources/Public/Images/logo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/packages/bootstrap_package/10.4/src/Resources/Public/JavaScript/Dist/scripts.js.twig b/resources/packages/bootstrap_package/10.4/src/Resources/Public/JavaScript/Dist/scripts.js.twig new file mode 100644 index 00000000..af832405 --- /dev/null +++ b/resources/packages/bootstrap_package/10.4/src/Resources/Public/JavaScript/Dist/scripts.js.twig @@ -0,0 +1,6 @@ +/*! + * {{ package.title }} v1.0.0 ({{ package.author.homepage }}) + * Copyright 2017-{{ 'now'|date('Y') }} {{ package.author.name }} + * Licensed under the GPL-2.0-or-later license + */ +console.log("WE LOVE TYPO3"); diff --git a/resources/packages/bootstrap_package/10.4/src/Resources/Public/JavaScript/Src/main.js.twig b/resources/packages/bootstrap_package/10.4/src/Resources/Public/JavaScript/Src/main.js.twig new file mode 100644 index 00000000..a5e49024 --- /dev/null +++ b/resources/packages/bootstrap_package/10.4/src/Resources/Public/JavaScript/Src/main.js.twig @@ -0,0 +1 @@ +console.log('WE LOVE TYPO3'); diff --git a/resources/packages/bootstrap_package/10.4/src/Resources/Public/Scss/Theme/_variables.scss b/resources/packages/bootstrap_package/10.4/src/Resources/Public/Scss/Theme/_variables.scss new file mode 100644 index 00000000..4a4e02e8 --- /dev/null +++ b/resources/packages/bootstrap_package/10.4/src/Resources/Public/Scss/Theme/_variables.scss @@ -0,0 +1,3 @@ +// +// Variables +// diff --git a/resources/packages/bootstrap_package/10.4/src/Resources/Public/Scss/Theme/theme.scss.twig b/resources/packages/bootstrap_package/10.4/src/Resources/Public/Scss/Theme/theme.scss.twig new file mode 100644 index 00000000..bec14c0e --- /dev/null +++ b/resources/packages/bootstrap_package/10.4/src/Resources/Public/Scss/Theme/theme.scss.twig @@ -0,0 +1,9 @@ +// +// Variables +// +@import "variables"; + +// +// Import needed Bootstrap Package Files +// +@import "EXT:bootstrap_package/Resources/Public/Scss/bootstrap5/theme"; diff --git a/resources/packages/bootstrap_package/10.4/src/composer.json.twig b/resources/packages/bootstrap_package/10.4/src/composer.json.twig new file mode 100644 index 00000000..6c65eca5 --- /dev/null +++ b/resources/packages/bootstrap_package/10.4/src/composer.json.twig @@ -0,0 +1,21 @@ +{ + "name": "{{ package.vendorNameAlternative }}/{{ package.packageNameAlternative }}", + "type": "typo3-cms-extension", + "description": "{{ package.description}}", + "homepage": "{{ package.author.homepage }}", + "license": ["GPL-2.0-or-later"], + "keywords": ["TYPO3 CMS"], + "require": { + "bk2k/bootstrap-package": "^12.0" + }, + "autoload": { + "psr-4": { + "{{ package.vendorName }}\\{{ package.packageName }}\\": "Classes/" + } + }, + "extra": { + "typo3/cms": { + "extension-key": "{{ package.extensionKey }}" + } + } +} diff --git a/resources/packages/bootstrap_package/10.4/src/ext_conf_template.txt.twig b/resources/packages/bootstrap_package/10.4/src/ext_conf_template.txt.twig new file mode 100644 index 00000000..e87dc9ce --- /dev/null +++ b/resources/packages/bootstrap_package/10.4/src/ext_conf_template.txt.twig @@ -0,0 +1,3 @@ +# +# Extension Configuration template +# diff --git a/resources/packages/bootstrap_package/10.4/src/ext_emconf.php.twig b/resources/packages/bootstrap_package/10.4/src/ext_emconf.php.twig new file mode 100644 index 00000000..a5a6924e --- /dev/null +++ b/resources/packages/bootstrap_package/10.4/src/ext_emconf.php.twig @@ -0,0 +1,30 @@ + '{{ package.title }}', + 'description' => '{{ package.description }}', + 'category' => 'templates', + 'constraints' => [ + 'depends' => [ + 'bootstrap_package' => '12.0.0-12.9.99', + ], + 'conflicts' => [ + ], + ], + 'autoload' => [ + 'psr-4' => [ + '{{ package.vendorName }}\\{{ package.packageName }}\\' => 'Classes', + ], + ], + 'state' => 'stable', + 'uploadfolder' => 0, + 'createDirs' => '', + 'clearCacheOnLoad' => 1, + 'author' => '{{ package.author.name }}', + 'author_email' => '{{ package.author.email }}', + 'author_company' => '{{ package.author.company }}', + 'version' => '1.0.0', +]; diff --git a/resources/packages/bootstrap_package/10.4/src/ext_localconf.php.twig b/resources/packages/bootstrap_package/10.4/src/ext_localconf.php.twig new file mode 100644 index 00000000..903ec200 --- /dev/null +++ b/resources/packages/bootstrap_package/10.4/src/ext_localconf.php.twig @@ -0,0 +1,13 @@ +'); diff --git a/resources/packages/bootstrap_package/10.4/src/ext_tables.php.twig b/resources/packages/bootstrap_package/10.4/src/ext_tables.php.twig new file mode 100644 index 00000000..1aad227d --- /dev/null +++ b/resources/packages/bootstrap_package/10.4/src/ext_tables.php.twig @@ -0,0 +1,3 @@ +Resources/', + fonts: '<%= paths.resources %>Public/Fonts/', + img: '<%= paths.resources %>Public/Images/', + js: '<%= paths.resources %>Public/JavaScript/' + }, + banner: '/*!\n' + + ' * {{ package.title }} v<%= pkg.version %> (<%= pkg.homepage %>)\n' + + ' * Copyright 2017-<%= grunt.template.today("yyyy") %> <%= pkg.author %>\n' + + ' * Licensed under the <%= pkg.license %> license\n' + + ' */\n', + uglify: { + all: { + options: { + banner: '<%= banner %>', + mangle: true, + compress: true, + beautify: false + }, + files: { + "<%= paths.js %>/Dist/scripts.js": [ + "<%= paths.js %>Src/main.js" + ] + } + } + }, + imagemin: { + extension: { + files: [{ + expand: true, + cwd: '<%= paths.resources %>', + src: [ + '**/*.{png,jpg,gif,svg}' + ], + dest: '<%= paths.resources %>' + }] + } + }, + watch: { + options: { + livereload: true + }, + javascript: { + files: '<%= paths.js %>Src/**/*.js', + tasks: ['js'] + } + } + }); + + /** + * Register tasks + */ + grunt.loadNpmTasks('grunt-contrib-uglify'); + grunt.loadNpmTasks('grunt-contrib-watch'); + grunt.loadNpmTasks('grunt-contrib-imagemin'); + + /** + * Grunt update task + */ + grunt.registerTask('js', ['uglify']); + grunt.registerTask('build', ['js', 'imagemin']); + grunt.registerTask('default', ['build']); + +}; diff --git a/resources/packages/bootstrap_package/11.5/src/Build/package.json.twig b/resources/packages/bootstrap_package/11.5/src/Build/package.json.twig new file mode 100644 index 00000000..21fc85af --- /dev/null +++ b/resources/packages/bootstrap_package/11.5/src/Build/package.json.twig @@ -0,0 +1,18 @@ +{ + "name": "{{ package.vendorNameAlternative }}-{{ package.packageNameAlternative }}", + "description": "{{ package.description }}", + "repository": { + "type": "git", + "url": "{{ package.repositoryUrl }}" + }, + "homepage": "{{ package.author.homepage }}", + "author": "{{ package.author.name }}", + "version": "1.0.0", + "license": "GPL-2.0-or-later", + "devDependencies": { + "grunt": "^1.0.3", + "grunt-contrib-uglify": "^4.0.0", + "grunt-contrib-watch": "^1.1.0", + "grunt-contrib-imagemin": "^2.0.1" + } +} diff --git a/resources/packages/bootstrap_package/11.5/src/Classes/.htaccess b/resources/packages/bootstrap_package/11.5/src/Classes/.htaccess new file mode 100644 index 00000000..93169e4e --- /dev/null +++ b/resources/packages/bootstrap_package/11.5/src/Classes/.htaccess @@ -0,0 +1,2 @@ +Order deny,allow +Deny from all diff --git a/resources/packages/bootstrap_package/11.5/src/Classes/Controller/.gitkeep b/resources/packages/bootstrap_package/11.5/src/Classes/Controller/.gitkeep new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/resources/packages/bootstrap_package/11.5/src/Classes/Controller/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/bootstrap_package/11.5/src/Classes/Domain/.gitkeep b/resources/packages/bootstrap_package/11.5/src/Classes/Domain/.gitkeep new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/resources/packages/bootstrap_package/11.5/src/Classes/Domain/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/bootstrap_package/11.5/src/Classes/Domain/Model/.gitkeep b/resources/packages/bootstrap_package/11.5/src/Classes/Domain/Model/.gitkeep new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/resources/packages/bootstrap_package/11.5/src/Classes/Domain/Model/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/bootstrap_package/11.5/src/Classes/Domain/Repository/.gitkeep b/resources/packages/bootstrap_package/11.5/src/Classes/Domain/Repository/.gitkeep new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/resources/packages/bootstrap_package/11.5/src/Classes/Domain/Repository/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/bootstrap_package/11.5/src/Classes/ViewHelpers/.gitkeep b/resources/packages/bootstrap_package/11.5/src/Classes/ViewHelpers/.gitkeep new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/resources/packages/bootstrap_package/11.5/src/Classes/ViewHelpers/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/bootstrap_package/11.5/src/Configuration/.htaccess b/resources/packages/bootstrap_package/11.5/src/Configuration/.htaccess new file mode 100644 index 00000000..93169e4e --- /dev/null +++ b/resources/packages/bootstrap_package/11.5/src/Configuration/.htaccess @@ -0,0 +1,2 @@ +Order deny,allow +Deny from all diff --git a/resources/packages/bootstrap_package/11.5/src/Configuration/RTE/Default.yaml.twig b/resources/packages/bootstrap_package/11.5/src/Configuration/RTE/Default.yaml.twig new file mode 100644 index 00000000..282236ed --- /dev/null +++ b/resources/packages/bootstrap_package/11.5/src/Configuration/RTE/Default.yaml.twig @@ -0,0 +1,9 @@ +imports: + - { resource: "EXT:rte_ckeditor/Configuration/RTE/Processing.yaml" } + - { resource: "EXT:rte_ckeditor/Configuration/RTE/Editor/Base.yaml" } + - { resource: "EXT:rte_ckeditor/Configuration/RTE/Editor/Plugins.yaml" } + - { resource: "EXT:bootstrap_package/Configuration/RTE/Default.yaml" } + +editor: + config: + contentsCss: "EXT:bootstrap_package/Resources/Public/Css/bootstrap4-rte.min.css" diff --git a/resources/packages/bootstrap_package/11.5/src/Configuration/TCA/Overrides/pages.php.twig b/resources/packages/bootstrap_package/11.5/src/Configuration/TCA/Overrides/pages.php.twig new file mode 100644 index 00000000..e8466826 --- /dev/null +++ b/resources/packages/bootstrap_package/11.5/src/Configuration/TCA/Overrides/pages.php.twig @@ -0,0 +1,20 @@ + + + + diff --git a/resources/packages/bootstrap_package/11.5/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts.tsconfig.twig b/resources/packages/bootstrap_package/11.5/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts.tsconfig.twig new file mode 100644 index 00000000..8213cfae --- /dev/null +++ b/resources/packages/bootstrap_package/11.5/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts.tsconfig.twig @@ -0,0 +1,4 @@ +# +# BACKENDLAYOUTS +# + diff --git a/resources/packages/bootstrap_package/11.5/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts/example.tsconfig.twig b/resources/packages/bootstrap_package/11.5/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts/example.tsconfig.twig new file mode 100644 index 00000000..628a7254 --- /dev/null +++ b/resources/packages/bootstrap_package/11.5/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts/example.tsconfig.twig @@ -0,0 +1,29 @@ +# +# BACKENDLAYOUT: EXAMPLE +# +mod { + web_layout { + BackendLayouts { + example { + title = LLL:EXT:{{ package.extensionKey }}/Resources/Private/Language/locallang_be.xlf:backend_layout.example + config { + backend_layout { + colCount = 1 + rowCount = 1 + rows { + 1 { + columns { + 1 { + name = LLL:EXT:{{ package.extensionKey }}/Resources/Private/Language/locallang_be.xlf:backend_layout.column.normal + colPos = 0 + } + } + } + } + } + } + icon = EXT:{{ package.extensionKey }}/Resources/Public/Icons/BackendLayouts/example.svg + } + } + } +} diff --git a/resources/packages/bootstrap_package/11.5/src/Configuration/TsConfig/Page/RTE.tsconfig.twig b/resources/packages/bootstrap_package/11.5/src/Configuration/TsConfig/Page/RTE.tsconfig.twig new file mode 100644 index 00000000..38353247 --- /dev/null +++ b/resources/packages/bootstrap_package/11.5/src/Configuration/TsConfig/Page/RTE.tsconfig.twig @@ -0,0 +1,8 @@ +############# +#### RTE #### +############# +RTE { + default { + preset = {{ package.extensionKey }} + } +} diff --git a/resources/packages/bootstrap_package/11.5/src/Configuration/TsConfig/Page/TCEFORM.tsconfig.twig b/resources/packages/bootstrap_package/11.5/src/Configuration/TsConfig/Page/TCEFORM.tsconfig.twig new file mode 100644 index 00000000..55f97ce7 --- /dev/null +++ b/resources/packages/bootstrap_package/11.5/src/Configuration/TsConfig/Page/TCEFORM.tsconfig.twig @@ -0,0 +1,11 @@ +# +# TCEFORM +# +TCEFORM { + pages { + + } + tt_content { + + } +} diff --git a/resources/packages/bootstrap_package/11.5/src/Configuration/TsConfig/Page/TCEMAIN.tsconfig.twig b/resources/packages/bootstrap_package/11.5/src/Configuration/TsConfig/Page/TCEMAIN.tsconfig.twig new file mode 100644 index 00000000..9d4a5e4e --- /dev/null +++ b/resources/packages/bootstrap_package/11.5/src/Configuration/TsConfig/Page/TCEMAIN.tsconfig.twig @@ -0,0 +1,6 @@ +# +# TCEMAIN +# +TCEMAIN { + +} diff --git a/resources/packages/bootstrap_package/11.5/src/Configuration/TypoScript/constants.typoscript.twig b/resources/packages/bootstrap_package/11.5/src/Configuration/TypoScript/constants.typoscript.twig new file mode 100644 index 00000000..32904169 --- /dev/null +++ b/resources/packages/bootstrap_package/11.5/src/Configuration/TypoScript/constants.typoscript.twig @@ -0,0 +1,60 @@ +###################### +#### DEPENDENCIES #### +###################### + + + +############ +### PAGE ### +############ +page { + logo { + file = EXT:{{ package.extensionKey }}/Resources/Public/Images/logo.svg + fileInverted = EXT:{{ package.extensionKey }}/Resources/Public/Images/logo-inverted.svg + height = 52 + width = 192 + alt = {{ package.title }} + linktitle = {{ package.title }} + } + favicon { + file = EXT:{{ package.extensionKey }}/Resources/Public/Icons/favicon.ico + } + fluidtemplate { + layoutRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Layouts/Page/ + partialRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Partials/Page/ + templateRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Templates/Page/ + } +} + + +################## +### EXTENSIONS ### +################## +plugin.bootstrap_package { + view { + layoutRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Layouts/ + partialRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Partials/ + templateRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Templates/ + } +} + + +######################## +### CONTENT ELEMENTS ### +######################## +plugin.bootstrap_package_contentelements { + view { + layoutRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Layouts/ContentElements/ + partialRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Partials/ContentElements/ + templateRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Templates/ContentElements/ + } +} + + +################################ +### BOOTSTRAP SCSS CONSTANTS ### +################################ +plugin.bootstrap_package.settings.scss { + primary = #eb3e4a + secondary = #013859 +} diff --git a/resources/packages/bootstrap_package/11.5/src/Configuration/TypoScript/setup.typoscript.twig b/resources/packages/bootstrap_package/11.5/src/Configuration/TypoScript/setup.typoscript.twig new file mode 100644 index 00000000..00a04208 --- /dev/null +++ b/resources/packages/bootstrap_package/11.5/src/Configuration/TypoScript/setup.typoscript.twig @@ -0,0 +1,30 @@ +###################### +#### DEPENDENCIES #### +###################### + + + +############## +#### PAGE #### +############## +page { + includeCSS { + theme = EXT:{{ package.extensionKey }}/Resources/Public/Scss/Theme/theme.scss + } + + includeJSLibs { + + } + + includeJS { + + } + + includeJSFooterlibs { + + } + + includeJSFooter { + {{ package.extensionKey }}_scripts = EXT:{{ package.extensionKey }}/Resources/Public/JavaScript/Dist/scripts.js + } +} diff --git a/resources/packages/bootstrap_package/11.5/src/README.md.twig b/resources/packages/bootstrap_package/11.5/src/README.md.twig new file mode 100644 index 00000000..8b095c79 --- /dev/null +++ b/resources/packages/bootstrap_package/11.5/src/README.md.twig @@ -0,0 +1,4 @@ +Sitepackage for the project "{{ package.title }}" +============================================================== + +Add some explanation here. diff --git a/resources/packages/bootstrap_package/11.5/src/Resources/Private/.htaccess b/resources/packages/bootstrap_package/11.5/src/Resources/Private/.htaccess new file mode 100644 index 00000000..93169e4e --- /dev/null +++ b/resources/packages/bootstrap_package/11.5/src/Resources/Private/.htaccess @@ -0,0 +1,2 @@ +Order deny,allow +Deny from all diff --git a/resources/packages/bootstrap_package/11.5/src/Resources/Private/Language/locallang.xlf.twig b/resources/packages/bootstrap_package/11.5/src/Resources/Private/Language/locallang.xlf.twig new file mode 100644 index 00000000..5aea2770 --- /dev/null +++ b/resources/packages/bootstrap_package/11.5/src/Resources/Private/Language/locallang.xlf.twig @@ -0,0 +1,11 @@ + + + +
+ {{ package.author.name }} + {{ package.author.email }} +
+ + +
+
diff --git a/resources/packages/bootstrap_package/11.5/src/Resources/Private/Language/locallang_be.xlf.twig b/resources/packages/bootstrap_package/11.5/src/Resources/Private/Language/locallang_be.xlf.twig new file mode 100644 index 00000000..8b09912d --- /dev/null +++ b/resources/packages/bootstrap_package/11.5/src/Resources/Private/Language/locallang_be.xlf.twig @@ -0,0 +1,17 @@ + + + +
+ {{ package.author.name }} + {{ package.author.email }} +
+ + + Example + + + Normal + + +
+
diff --git a/resources/packages/bootstrap_package/11.5/src/Resources/Private/Language/locallang_db.xlf.twig b/resources/packages/bootstrap_package/11.5/src/Resources/Private/Language/locallang_db.xlf.twig new file mode 100644 index 00000000..5aea2770 --- /dev/null +++ b/resources/packages/bootstrap_package/11.5/src/Resources/Private/Language/locallang_db.xlf.twig @@ -0,0 +1,11 @@ + + + +
+ {{ package.author.name }} + {{ package.author.email }} +
+ + +
+
diff --git a/resources/packages/bootstrap_package/11.5/src/Resources/Private/Layouts/ContentElements/.gitkeep b/resources/packages/bootstrap_package/11.5/src/Resources/Private/Layouts/ContentElements/.gitkeep new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/resources/packages/bootstrap_package/11.5/src/Resources/Private/Layouts/ContentElements/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/bootstrap_package/11.5/src/Resources/Private/Layouts/Page/.gitkeep b/resources/packages/bootstrap_package/11.5/src/Resources/Private/Layouts/Page/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/resources/packages/bootstrap_package/11.5/src/Resources/Private/Partials/ContentElements/.gitkeep b/resources/packages/bootstrap_package/11.5/src/Resources/Private/Partials/ContentElements/.gitkeep new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/resources/packages/bootstrap_package/11.5/src/Resources/Private/Partials/ContentElements/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/bootstrap_package/11.5/src/Resources/Private/Partials/Page/.gitkeep b/resources/packages/bootstrap_package/11.5/src/Resources/Private/Partials/Page/.gitkeep new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/resources/packages/bootstrap_package/11.5/src/Resources/Private/Partials/Page/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/bootstrap_package/11.5/src/Resources/Private/Templates/ContentElements/.gitkeep b/resources/packages/bootstrap_package/11.5/src/Resources/Private/Templates/ContentElements/.gitkeep new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/resources/packages/bootstrap_package/11.5/src/Resources/Private/Templates/ContentElements/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/bootstrap_package/11.5/src/Resources/Private/Templates/Page/Example.html.twig b/resources/packages/bootstrap_package/11.5/src/Resources/Private/Templates/Page/Example.html.twig new file mode 100644 index 00000000..2b67bb11 --- /dev/null +++ b/resources/packages/bootstrap_package/11.5/src/Resources/Private/Templates/Page/Example.html.twig @@ -0,0 +1,22 @@ + + + + +
+
+
+
Template file
+
+ typo3conf/ext/{{ package.extensionKey }}/Resources/Private/Templates/Page/Example.html +
+
Backend Configuration
+
+ typo3conf/ext/{{ package.extensionKey }}/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts/example.tsconfig +
+
+
+
+ + +
+ diff --git a/resources/packages/bootstrap_package/11.5/src/Resources/Public/Css/.gitkeep b/resources/packages/bootstrap_package/11.5/src/Resources/Public/Css/.gitkeep new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/resources/packages/bootstrap_package/11.5/src/Resources/Public/Css/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/bootstrap_package/11.5/src/Resources/Public/Fonts/.gitkeep b/resources/packages/bootstrap_package/11.5/src/Resources/Public/Fonts/.gitkeep new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/resources/packages/bootstrap_package/11.5/src/Resources/Public/Fonts/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/bootstrap_package/11.5/src/Resources/Public/Icons/BackendLayouts/example.svg b/resources/packages/bootstrap_package/11.5/src/Resources/Public/Icons/BackendLayouts/example.svg new file mode 100644 index 00000000..d05abec2 --- /dev/null +++ b/resources/packages/bootstrap_package/11.5/src/Resources/Public/Icons/BackendLayouts/example.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/packages/bootstrap_package/11.5/src/Resources/Public/Icons/Extension.svg b/resources/packages/bootstrap_package/11.5/src/Resources/Public/Icons/Extension.svg new file mode 100644 index 00000000..d8536373 --- /dev/null +++ b/resources/packages/bootstrap_package/11.5/src/Resources/Public/Icons/Extension.svg @@ -0,0 +1,3 @@ + + + diff --git a/resources/packages/bootstrap_package/11.5/src/Resources/Public/Icons/favicon.ico b/resources/packages/bootstrap_package/11.5/src/Resources/Public/Icons/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..46d4c14df35ee4ccdf7c5a7eba53f00bc4457963 GIT binary patch literal 1150 zcmaKszb^zq6vrP&t{`y*Vj}8oqXL6Y$R~|E{BN6xxSFH~V-8J?S315x+S4 zj-Y)ybmKo(YfpQ6?x1gZYOBicJEMBKKl2?Y;7851p!}yw*Ju2g^_YOA4@`k=u$$QG%PiuMovJt++@ORg$yF+-?obfjA|?e@V(Z#s}~VJtDD0 literal 0 HcmV?d00001 diff --git a/resources/packages/bootstrap_package/11.5/src/Resources/Public/Icons/logo-inverted.svg b/resources/packages/bootstrap_package/11.5/src/Resources/Public/Icons/logo-inverted.svg new file mode 100644 index 00000000..f465b080 --- /dev/null +++ b/resources/packages/bootstrap_package/11.5/src/Resources/Public/Icons/logo-inverted.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/packages/bootstrap_package/11.5/src/Resources/Public/Icons/logo.svg b/resources/packages/bootstrap_package/11.5/src/Resources/Public/Icons/logo.svg new file mode 100644 index 00000000..dc1615ff --- /dev/null +++ b/resources/packages/bootstrap_package/11.5/src/Resources/Public/Icons/logo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/packages/bootstrap_package/11.5/src/Resources/Public/Images/logo-inverted.svg b/resources/packages/bootstrap_package/11.5/src/Resources/Public/Images/logo-inverted.svg new file mode 100644 index 00000000..f465b080 --- /dev/null +++ b/resources/packages/bootstrap_package/11.5/src/Resources/Public/Images/logo-inverted.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/packages/bootstrap_package/11.5/src/Resources/Public/Images/logo.svg b/resources/packages/bootstrap_package/11.5/src/Resources/Public/Images/logo.svg new file mode 100644 index 00000000..dc1615ff --- /dev/null +++ b/resources/packages/bootstrap_package/11.5/src/Resources/Public/Images/logo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/packages/bootstrap_package/11.5/src/Resources/Public/JavaScript/Dist/scripts.js.twig b/resources/packages/bootstrap_package/11.5/src/Resources/Public/JavaScript/Dist/scripts.js.twig new file mode 100644 index 00000000..af832405 --- /dev/null +++ b/resources/packages/bootstrap_package/11.5/src/Resources/Public/JavaScript/Dist/scripts.js.twig @@ -0,0 +1,6 @@ +/*! + * {{ package.title }} v1.0.0 ({{ package.author.homepage }}) + * Copyright 2017-{{ 'now'|date('Y') }} {{ package.author.name }} + * Licensed under the GPL-2.0-or-later license + */ +console.log("WE LOVE TYPO3"); diff --git a/resources/packages/bootstrap_package/11.5/src/Resources/Public/JavaScript/Src/main.js.twig b/resources/packages/bootstrap_package/11.5/src/Resources/Public/JavaScript/Src/main.js.twig new file mode 100644 index 00000000..a5e49024 --- /dev/null +++ b/resources/packages/bootstrap_package/11.5/src/Resources/Public/JavaScript/Src/main.js.twig @@ -0,0 +1 @@ +console.log('WE LOVE TYPO3'); diff --git a/resources/packages/bootstrap_package/11.5/src/Resources/Public/Scss/Theme/_variables.scss b/resources/packages/bootstrap_package/11.5/src/Resources/Public/Scss/Theme/_variables.scss new file mode 100644 index 00000000..4a4e02e8 --- /dev/null +++ b/resources/packages/bootstrap_package/11.5/src/Resources/Public/Scss/Theme/_variables.scss @@ -0,0 +1,3 @@ +// +// Variables +// diff --git a/resources/packages/bootstrap_package/11.5/src/Resources/Public/Scss/Theme/theme.scss.twig b/resources/packages/bootstrap_package/11.5/src/Resources/Public/Scss/Theme/theme.scss.twig new file mode 100644 index 00000000..bec14c0e --- /dev/null +++ b/resources/packages/bootstrap_package/11.5/src/Resources/Public/Scss/Theme/theme.scss.twig @@ -0,0 +1,9 @@ +// +// Variables +// +@import "variables"; + +// +// Import needed Bootstrap Package Files +// +@import "EXT:bootstrap_package/Resources/Public/Scss/bootstrap5/theme"; diff --git a/resources/packages/bootstrap_package/11.5/src/composer.json.twig b/resources/packages/bootstrap_package/11.5/src/composer.json.twig new file mode 100644 index 00000000..ebb08795 --- /dev/null +++ b/resources/packages/bootstrap_package/11.5/src/composer.json.twig @@ -0,0 +1,21 @@ +{ + "name": "{{ package.vendorNameAlternative }}/{{ package.packageNameAlternative }}", + "type": "typo3-cms-extension", + "description": "{{ package.description}}", + "homepage": "{{ package.author.homepage }}", + "license": ["GPL-2.0-or-later"], + "keywords": ["TYPO3 CMS"], + "require": { + "bk2k/bootstrap-package": "^14.0" + }, + "autoload": { + "psr-4": { + "{{ package.vendorName }}\\{{ package.packageName }}\\": "Classes/" + } + }, + "extra": { + "typo3/cms": { + "extension-key": "{{ package.extensionKey }}" + } + } +} diff --git a/resources/packages/bootstrap_package/11.5/src/ext_conf_template.txt.twig b/resources/packages/bootstrap_package/11.5/src/ext_conf_template.txt.twig new file mode 100644 index 00000000..e87dc9ce --- /dev/null +++ b/resources/packages/bootstrap_package/11.5/src/ext_conf_template.txt.twig @@ -0,0 +1,3 @@ +# +# Extension Configuration template +# diff --git a/resources/packages/bootstrap_package/11.5/src/ext_emconf.php.twig b/resources/packages/bootstrap_package/11.5/src/ext_emconf.php.twig new file mode 100644 index 00000000..bef8f27a --- /dev/null +++ b/resources/packages/bootstrap_package/11.5/src/ext_emconf.php.twig @@ -0,0 +1,30 @@ + '{{ package.title }}', + 'description' => '{{ package.description }}', + 'category' => 'templates', + 'constraints' => [ + 'depends' => [ + 'bootstrap_package' => '14.0.0-14.9.99', + ], + 'conflicts' => [ + ], + ], + 'autoload' => [ + 'psr-4' => [ + '{{ package.vendorName }}\\{{ package.packageName }}\\' => 'Classes', + ], + ], + 'state' => 'stable', + 'uploadfolder' => 0, + 'createDirs' => '', + 'clearCacheOnLoad' => 1, + 'author' => '{{ package.author.name }}', + 'author_email' => '{{ package.author.email }}', + 'author_company' => '{{ package.author.company }}', + 'version' => '1.0.0', +]; diff --git a/resources/packages/bootstrap_package/11.5/src/ext_localconf.php.twig b/resources/packages/bootstrap_package/11.5/src/ext_localconf.php.twig new file mode 100644 index 00000000..501803a3 --- /dev/null +++ b/resources/packages/bootstrap_package/11.5/src/ext_localconf.php.twig @@ -0,0 +1,13 @@ +'); diff --git a/resources/packages/bootstrap_package/11.5/src/ext_tables.php.twig b/resources/packages/bootstrap_package/11.5/src/ext_tables.php.twig new file mode 100644 index 00000000..07154a9b --- /dev/null +++ b/resources/packages/bootstrap_package/11.5/src/ext_tables.php.twig @@ -0,0 +1,3 @@ +Resources/', + fonts: '<%= paths.resources %>Public/Fonts/', + img: '<%= paths.resources %>Public/Images/', + js: '<%= paths.resources %>Public/JavaScript/' + }, + banner: '/*!\n' + + ' * {{ package.title }} v<%= pkg.version %> (<%= pkg.homepage %>)\n' + + ' * Copyright 2017-<%= grunt.template.today("yyyy") %> <%= pkg.author %>\n' + + ' * Licensed under the <%= pkg.license %> license\n' + + ' */\n', + uglify: { + all: { + options: { + banner: '<%= banner %>', + mangle: true, + compress: true, + beautify: false + }, + files: { + "<%= paths.js %>/Dist/scripts.js": [ + "<%= paths.js %>Src/main.js" + ] + } + } + }, + imagemin: { + extension: { + files: [{ + expand: true, + cwd: '<%= paths.resources %>', + src: [ + '**/*.{png,jpg,gif,svg}' + ], + dest: '<%= paths.resources %>' + }] + } + }, + watch: { + options: { + livereload: true + }, + javascript: { + files: '<%= paths.js %>Src/**/*.js', + tasks: ['js'] + } + } + }); + + /** + * Register tasks + */ + grunt.loadNpmTasks('grunt-contrib-uglify'); + grunt.loadNpmTasks('grunt-contrib-watch'); + grunt.loadNpmTasks('grunt-contrib-imagemin'); + + /** + * Grunt update task + */ + grunt.registerTask('js', ['uglify']); + grunt.registerTask('build', ['js', 'imagemin']); + grunt.registerTask('default', ['build']); + +}; diff --git a/resources/packages/bootstrap_package/12.4/src/Build/package.json.twig b/resources/packages/bootstrap_package/12.4/src/Build/package.json.twig new file mode 100644 index 00000000..21fc85af --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/Build/package.json.twig @@ -0,0 +1,18 @@ +{ + "name": "{{ package.vendorNameAlternative }}-{{ package.packageNameAlternative }}", + "description": "{{ package.description }}", + "repository": { + "type": "git", + "url": "{{ package.repositoryUrl }}" + }, + "homepage": "{{ package.author.homepage }}", + "author": "{{ package.author.name }}", + "version": "1.0.0", + "license": "GPL-2.0-or-later", + "devDependencies": { + "grunt": "^1.0.3", + "grunt-contrib-uglify": "^4.0.0", + "grunt-contrib-watch": "^1.1.0", + "grunt-contrib-imagemin": "^2.0.1" + } +} diff --git a/resources/packages/bootstrap_package/12.4/src/Classes/.htaccess b/resources/packages/bootstrap_package/12.4/src/Classes/.htaccess new file mode 100644 index 00000000..93169e4e --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/Classes/.htaccess @@ -0,0 +1,2 @@ +Order deny,allow +Deny from all diff --git a/resources/packages/bootstrap_package/12.4/src/Classes/Controller/.gitkeep b/resources/packages/bootstrap_package/12.4/src/Classes/Controller/.gitkeep new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/Classes/Controller/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/bootstrap_package/12.4/src/Classes/Domain/.gitkeep b/resources/packages/bootstrap_package/12.4/src/Classes/Domain/.gitkeep new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/Classes/Domain/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/bootstrap_package/12.4/src/Classes/Domain/Model/.gitkeep b/resources/packages/bootstrap_package/12.4/src/Classes/Domain/Model/.gitkeep new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/Classes/Domain/Model/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/bootstrap_package/12.4/src/Classes/Domain/Repository/.gitkeep b/resources/packages/bootstrap_package/12.4/src/Classes/Domain/Repository/.gitkeep new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/Classes/Domain/Repository/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/bootstrap_package/12.4/src/Classes/ViewHelpers/.gitkeep b/resources/packages/bootstrap_package/12.4/src/Classes/ViewHelpers/.gitkeep new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/Classes/ViewHelpers/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/bootstrap_package/12.4/src/Configuration/.htaccess b/resources/packages/bootstrap_package/12.4/src/Configuration/.htaccess new file mode 100644 index 00000000..93169e4e --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/Configuration/.htaccess @@ -0,0 +1,2 @@ +Order deny,allow +Deny from all diff --git a/resources/packages/bootstrap_package/12.4/src/Configuration/RTE/Default.yaml.twig b/resources/packages/bootstrap_package/12.4/src/Configuration/RTE/Default.yaml.twig new file mode 100644 index 00000000..25ce53cd --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/Configuration/RTE/Default.yaml.twig @@ -0,0 +1,9 @@ +imports: + - { resource: "EXT:rte_ckeditor/Configuration/RTE/Processing.yaml" } + - { resource: "EXT:rte_ckeditor/Configuration/RTE/Editor/Base.yaml" } + - { resource: "EXT:rte_ckeditor/Configuration/RTE/Editor/Plugins.yaml" } + - { resource: "EXT:bootstrap_package/Configuration/RTE/Default.yaml" } + +editor: + config: + contentsCss: "EXT:bootstrap_package/Resources/Public/Css/bootstrap5-rte.min.css" diff --git a/resources/packages/bootstrap_package/12.4/src/Configuration/TCA/Overrides/pages.php.twig b/resources/packages/bootstrap_package/12.4/src/Configuration/TCA/Overrides/pages.php.twig new file mode 100644 index 00000000..e8466826 --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/Configuration/TCA/Overrides/pages.php.twig @@ -0,0 +1,20 @@ + + + + diff --git a/resources/packages/bootstrap_package/12.4/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts.tsconfig.twig b/resources/packages/bootstrap_package/12.4/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts.tsconfig.twig new file mode 100644 index 00000000..8213cfae --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts.tsconfig.twig @@ -0,0 +1,4 @@ +# +# BACKENDLAYOUTS +# + diff --git a/resources/packages/bootstrap_package/12.4/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts/example.tsconfig.twig b/resources/packages/bootstrap_package/12.4/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts/example.tsconfig.twig new file mode 100644 index 00000000..628a7254 --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts/example.tsconfig.twig @@ -0,0 +1,29 @@ +# +# BACKENDLAYOUT: EXAMPLE +# +mod { + web_layout { + BackendLayouts { + example { + title = LLL:EXT:{{ package.extensionKey }}/Resources/Private/Language/locallang_be.xlf:backend_layout.example + config { + backend_layout { + colCount = 1 + rowCount = 1 + rows { + 1 { + columns { + 1 { + name = LLL:EXT:{{ package.extensionKey }}/Resources/Private/Language/locallang_be.xlf:backend_layout.column.normal + colPos = 0 + } + } + } + } + } + } + icon = EXT:{{ package.extensionKey }}/Resources/Public/Icons/BackendLayouts/example.svg + } + } + } +} diff --git a/resources/packages/bootstrap_package/12.4/src/Configuration/TsConfig/Page/RTE.tsconfig.twig b/resources/packages/bootstrap_package/12.4/src/Configuration/TsConfig/Page/RTE.tsconfig.twig new file mode 100644 index 00000000..38353247 --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/Configuration/TsConfig/Page/RTE.tsconfig.twig @@ -0,0 +1,8 @@ +############# +#### RTE #### +############# +RTE { + default { + preset = {{ package.extensionKey }} + } +} diff --git a/resources/packages/bootstrap_package/12.4/src/Configuration/TsConfig/Page/TCEFORM.tsconfig.twig b/resources/packages/bootstrap_package/12.4/src/Configuration/TsConfig/Page/TCEFORM.tsconfig.twig new file mode 100644 index 00000000..55f97ce7 --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/Configuration/TsConfig/Page/TCEFORM.tsconfig.twig @@ -0,0 +1,11 @@ +# +# TCEFORM +# +TCEFORM { + pages { + + } + tt_content { + + } +} diff --git a/resources/packages/bootstrap_package/12.4/src/Configuration/TsConfig/Page/TCEMAIN.tsconfig.twig b/resources/packages/bootstrap_package/12.4/src/Configuration/TsConfig/Page/TCEMAIN.tsconfig.twig new file mode 100644 index 00000000..9d4a5e4e --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/Configuration/TsConfig/Page/TCEMAIN.tsconfig.twig @@ -0,0 +1,6 @@ +# +# TCEMAIN +# +TCEMAIN { + +} diff --git a/resources/packages/bootstrap_package/12.4/src/Configuration/TypoScript/constants.typoscript.twig b/resources/packages/bootstrap_package/12.4/src/Configuration/TypoScript/constants.typoscript.twig new file mode 100644 index 00000000..32904169 --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/Configuration/TypoScript/constants.typoscript.twig @@ -0,0 +1,60 @@ +###################### +#### DEPENDENCIES #### +###################### + + + +############ +### PAGE ### +############ +page { + logo { + file = EXT:{{ package.extensionKey }}/Resources/Public/Images/logo.svg + fileInverted = EXT:{{ package.extensionKey }}/Resources/Public/Images/logo-inverted.svg + height = 52 + width = 192 + alt = {{ package.title }} + linktitle = {{ package.title }} + } + favicon { + file = EXT:{{ package.extensionKey }}/Resources/Public/Icons/favicon.ico + } + fluidtemplate { + layoutRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Layouts/Page/ + partialRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Partials/Page/ + templateRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Templates/Page/ + } +} + + +################## +### EXTENSIONS ### +################## +plugin.bootstrap_package { + view { + layoutRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Layouts/ + partialRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Partials/ + templateRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Templates/ + } +} + + +######################## +### CONTENT ELEMENTS ### +######################## +plugin.bootstrap_package_contentelements { + view { + layoutRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Layouts/ContentElements/ + partialRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Partials/ContentElements/ + templateRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Templates/ContentElements/ + } +} + + +################################ +### BOOTSTRAP SCSS CONSTANTS ### +################################ +plugin.bootstrap_package.settings.scss { + primary = #eb3e4a + secondary = #013859 +} diff --git a/resources/packages/bootstrap_package/12.4/src/Configuration/TypoScript/setup.typoscript.twig b/resources/packages/bootstrap_package/12.4/src/Configuration/TypoScript/setup.typoscript.twig new file mode 100644 index 00000000..00a04208 --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/Configuration/TypoScript/setup.typoscript.twig @@ -0,0 +1,30 @@ +###################### +#### DEPENDENCIES #### +###################### + + + +############## +#### PAGE #### +############## +page { + includeCSS { + theme = EXT:{{ package.extensionKey }}/Resources/Public/Scss/Theme/theme.scss + } + + includeJSLibs { + + } + + includeJS { + + } + + includeJSFooterlibs { + + } + + includeJSFooter { + {{ package.extensionKey }}_scripts = EXT:{{ package.extensionKey }}/Resources/Public/JavaScript/Dist/scripts.js + } +} diff --git a/resources/packages/bootstrap_package/12.4/src/README.md.twig b/resources/packages/bootstrap_package/12.4/src/README.md.twig new file mode 100644 index 00000000..8b095c79 --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/README.md.twig @@ -0,0 +1,4 @@ +Sitepackage for the project "{{ package.title }}" +============================================================== + +Add some explanation here. diff --git a/resources/packages/bootstrap_package/12.4/src/Resources/Private/.htaccess b/resources/packages/bootstrap_package/12.4/src/Resources/Private/.htaccess new file mode 100644 index 00000000..93169e4e --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/Resources/Private/.htaccess @@ -0,0 +1,2 @@ +Order deny,allow +Deny from all diff --git a/resources/packages/bootstrap_package/12.4/src/Resources/Private/Language/locallang.xlf.twig b/resources/packages/bootstrap_package/12.4/src/Resources/Private/Language/locallang.xlf.twig new file mode 100644 index 00000000..5aea2770 --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/Resources/Private/Language/locallang.xlf.twig @@ -0,0 +1,11 @@ + + + +
+ {{ package.author.name }} + {{ package.author.email }} +
+ + +
+
diff --git a/resources/packages/bootstrap_package/12.4/src/Resources/Private/Language/locallang_be.xlf.twig b/resources/packages/bootstrap_package/12.4/src/Resources/Private/Language/locallang_be.xlf.twig new file mode 100644 index 00000000..8b09912d --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/Resources/Private/Language/locallang_be.xlf.twig @@ -0,0 +1,17 @@ + + + +
+ {{ package.author.name }} + {{ package.author.email }} +
+ + + Example + + + Normal + + +
+
diff --git a/resources/packages/bootstrap_package/12.4/src/Resources/Private/Language/locallang_db.xlf.twig b/resources/packages/bootstrap_package/12.4/src/Resources/Private/Language/locallang_db.xlf.twig new file mode 100644 index 00000000..5aea2770 --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/Resources/Private/Language/locallang_db.xlf.twig @@ -0,0 +1,11 @@ + + + +
+ {{ package.author.name }} + {{ package.author.email }} +
+ + +
+
diff --git a/resources/packages/bootstrap_package/12.4/src/Resources/Private/Layouts/ContentElements/.gitkeep b/resources/packages/bootstrap_package/12.4/src/Resources/Private/Layouts/ContentElements/.gitkeep new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/Resources/Private/Layouts/ContentElements/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/bootstrap_package/12.4/src/Resources/Private/Layouts/Page/.gitkeep b/resources/packages/bootstrap_package/12.4/src/Resources/Private/Layouts/Page/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/resources/packages/bootstrap_package/12.4/src/Resources/Private/Partials/ContentElements/.gitkeep b/resources/packages/bootstrap_package/12.4/src/Resources/Private/Partials/ContentElements/.gitkeep new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/Resources/Private/Partials/ContentElements/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/bootstrap_package/12.4/src/Resources/Private/Partials/Page/.gitkeep b/resources/packages/bootstrap_package/12.4/src/Resources/Private/Partials/Page/.gitkeep new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/Resources/Private/Partials/Page/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/bootstrap_package/12.4/src/Resources/Private/Templates/ContentElements/.gitkeep b/resources/packages/bootstrap_package/12.4/src/Resources/Private/Templates/ContentElements/.gitkeep new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/Resources/Private/Templates/ContentElements/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/bootstrap_package/12.4/src/Resources/Private/Templates/Page/Example.html.twig b/resources/packages/bootstrap_package/12.4/src/Resources/Private/Templates/Page/Example.html.twig new file mode 100644 index 00000000..2b67bb11 --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/Resources/Private/Templates/Page/Example.html.twig @@ -0,0 +1,22 @@ + + + + +
+
+
+
Template file
+
+ typo3conf/ext/{{ package.extensionKey }}/Resources/Private/Templates/Page/Example.html +
+
Backend Configuration
+
+ typo3conf/ext/{{ package.extensionKey }}/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts/example.tsconfig +
+
+
+
+ + +
+ diff --git a/resources/packages/bootstrap_package/12.4/src/Resources/Public/Css/.gitkeep b/resources/packages/bootstrap_package/12.4/src/Resources/Public/Css/.gitkeep new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/Resources/Public/Css/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/bootstrap_package/12.4/src/Resources/Public/Fonts/.gitkeep b/resources/packages/bootstrap_package/12.4/src/Resources/Public/Fonts/.gitkeep new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/Resources/Public/Fonts/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/bootstrap_package/12.4/src/Resources/Public/Icons/BackendLayouts/example.svg b/resources/packages/bootstrap_package/12.4/src/Resources/Public/Icons/BackendLayouts/example.svg new file mode 100644 index 00000000..d05abec2 --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/Resources/Public/Icons/BackendLayouts/example.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/packages/bootstrap_package/12.4/src/Resources/Public/Icons/Extension.svg b/resources/packages/bootstrap_package/12.4/src/Resources/Public/Icons/Extension.svg new file mode 100644 index 00000000..d8536373 --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/Resources/Public/Icons/Extension.svg @@ -0,0 +1,3 @@ + + + diff --git a/resources/packages/bootstrap_package/12.4/src/Resources/Public/Icons/favicon.ico b/resources/packages/bootstrap_package/12.4/src/Resources/Public/Icons/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..46d4c14df35ee4ccdf7c5a7eba53f00bc4457963 GIT binary patch literal 1150 zcmaKszb^zq6vrP&t{`y*Vj}8oqXL6Y$R~|E{BN6xxSFH~V-8J?S315x+S4 zj-Y)ybmKo(YfpQ6?x1gZYOBicJEMBKKl2?Y;7851p!}yw*Ju2g^_YOA4@`k=u$$QG%PiuMovJt++@ORg$yF+-?obfjA|?e@V(Z#s}~VJtDD0 literal 0 HcmV?d00001 diff --git a/resources/packages/bootstrap_package/12.4/src/Resources/Public/Icons/logo-inverted.svg b/resources/packages/bootstrap_package/12.4/src/Resources/Public/Icons/logo-inverted.svg new file mode 100644 index 00000000..f465b080 --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/Resources/Public/Icons/logo-inverted.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/packages/bootstrap_package/12.4/src/Resources/Public/Icons/logo.svg b/resources/packages/bootstrap_package/12.4/src/Resources/Public/Icons/logo.svg new file mode 100644 index 00000000..dc1615ff --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/Resources/Public/Icons/logo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/packages/bootstrap_package/12.4/src/Resources/Public/Images/logo-inverted.svg b/resources/packages/bootstrap_package/12.4/src/Resources/Public/Images/logo-inverted.svg new file mode 100644 index 00000000..f465b080 --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/Resources/Public/Images/logo-inverted.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/packages/bootstrap_package/12.4/src/Resources/Public/Images/logo.svg b/resources/packages/bootstrap_package/12.4/src/Resources/Public/Images/logo.svg new file mode 100644 index 00000000..dc1615ff --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/Resources/Public/Images/logo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/packages/bootstrap_package/12.4/src/Resources/Public/JavaScript/Dist/scripts.js.twig b/resources/packages/bootstrap_package/12.4/src/Resources/Public/JavaScript/Dist/scripts.js.twig new file mode 100644 index 00000000..af832405 --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/Resources/Public/JavaScript/Dist/scripts.js.twig @@ -0,0 +1,6 @@ +/*! + * {{ package.title }} v1.0.0 ({{ package.author.homepage }}) + * Copyright 2017-{{ 'now'|date('Y') }} {{ package.author.name }} + * Licensed under the GPL-2.0-or-later license + */ +console.log("WE LOVE TYPO3"); diff --git a/resources/packages/bootstrap_package/12.4/src/Resources/Public/JavaScript/Src/main.js.twig b/resources/packages/bootstrap_package/12.4/src/Resources/Public/JavaScript/Src/main.js.twig new file mode 100644 index 00000000..a5e49024 --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/Resources/Public/JavaScript/Src/main.js.twig @@ -0,0 +1 @@ +console.log('WE LOVE TYPO3'); diff --git a/resources/packages/bootstrap_package/12.4/src/Resources/Public/Scss/Theme/_variables.scss b/resources/packages/bootstrap_package/12.4/src/Resources/Public/Scss/Theme/_variables.scss new file mode 100644 index 00000000..4a4e02e8 --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/Resources/Public/Scss/Theme/_variables.scss @@ -0,0 +1,3 @@ +// +// Variables +// diff --git a/resources/packages/bootstrap_package/12.4/src/Resources/Public/Scss/Theme/theme.scss.twig b/resources/packages/bootstrap_package/12.4/src/Resources/Public/Scss/Theme/theme.scss.twig new file mode 100644 index 00000000..bec14c0e --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/Resources/Public/Scss/Theme/theme.scss.twig @@ -0,0 +1,9 @@ +// +// Variables +// +@import "variables"; + +// +// Import needed Bootstrap Package Files +// +@import "EXT:bootstrap_package/Resources/Public/Scss/bootstrap5/theme"; diff --git a/resources/packages/bootstrap_package/12.4/src/composer.json.twig b/resources/packages/bootstrap_package/12.4/src/composer.json.twig new file mode 100644 index 00000000..8ddfe1a0 --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/composer.json.twig @@ -0,0 +1,21 @@ +{ + "name": "{{ package.vendorNameAlternative }}/{{ package.packageNameAlternative }}", + "type": "typo3-cms-extension", + "description": "{{ package.description}}", + "homepage": "{{ package.author.homepage }}", + "license": ["GPL-2.0-or-later"], + "keywords": ["TYPO3 CMS"], + "require": { + "bk2k/bootstrap-package": "^15.0" + }, + "autoload": { + "psr-4": { + "{{ package.vendorName }}\\{{ package.packageName }}\\": "Classes/" + } + }, + "extra": { + "typo3/cms": { + "extension-key": "{{ package.extensionKey }}" + } + } +} diff --git a/resources/packages/bootstrap_package/12.4/src/ext_conf_template.txt.twig b/resources/packages/bootstrap_package/12.4/src/ext_conf_template.txt.twig new file mode 100644 index 00000000..e87dc9ce --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/ext_conf_template.txt.twig @@ -0,0 +1,3 @@ +# +# Extension Configuration template +# diff --git a/resources/packages/bootstrap_package/12.4/src/ext_emconf.php.twig b/resources/packages/bootstrap_package/12.4/src/ext_emconf.php.twig new file mode 100644 index 00000000..c0cbac78 --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/ext_emconf.php.twig @@ -0,0 +1,30 @@ + '{{ package.title }}', + 'description' => '{{ package.description }}', + 'category' => 'templates', + 'constraints' => [ + 'depends' => [ + 'bootstrap_package' => '15.0.0-15.99.99', + ], + 'conflicts' => [ + ], + ], + 'autoload' => [ + 'psr-4' => [ + '{{ package.vendorName }}\\{{ package.packageName }}\\' => 'Classes', + ], + ], + 'state' => 'stable', + 'uploadfolder' => 0, + 'createDirs' => '', + 'clearCacheOnLoad' => 1, + 'author' => '{{ package.author.name }}', + 'author_email' => '{{ package.author.email }}', + 'author_company' => '{{ package.author.company }}', + 'version' => '1.0.0', +]; diff --git a/resources/packages/bootstrap_package/12.4/src/ext_localconf.php.twig b/resources/packages/bootstrap_package/12.4/src/ext_localconf.php.twig new file mode 100644 index 00000000..501803a3 --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/ext_localconf.php.twig @@ -0,0 +1,13 @@ +'); diff --git a/resources/packages/bootstrap_package/12.4/src/ext_tables.php.twig b/resources/packages/bootstrap_package/12.4/src/ext_tables.php.twig new file mode 100644 index 00000000..07154a9b --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/ext_tables.php.twig @@ -0,0 +1,3 @@ + + + +
+ {{ package.author.name }} + {{ package.author.email }} +
+ + +
+
diff --git a/resources/packages/bootstrap_package/13.4/src/Resources/Private/Language/locallang_be.xlf.twig b/resources/packages/bootstrap_package/13.4/src/Resources/Private/Language/locallang_be.xlf.twig new file mode 100644 index 00000000..8b09912d --- /dev/null +++ b/resources/packages/bootstrap_package/13.4/src/Resources/Private/Language/locallang_be.xlf.twig @@ -0,0 +1,17 @@ + + + +
+ {{ package.author.name }} + {{ package.author.email }} +
+ + + Example + + + Normal + + +
+
diff --git a/resources/packages/bootstrap_package/13.4/src/Resources/Private/Language/locallang_db.xlf.twig b/resources/packages/bootstrap_package/13.4/src/Resources/Private/Language/locallang_db.xlf.twig new file mode 100644 index 00000000..5aea2770 --- /dev/null +++ b/resources/packages/bootstrap_package/13.4/src/Resources/Private/Language/locallang_db.xlf.twig @@ -0,0 +1,11 @@ + + + +
+ {{ package.author.name }} + {{ package.author.email }} +
+ + +
+
diff --git a/resources/packages/bootstrap_package/13.4/src/Resources/Private/Layouts/ContentElements/.gitkeep b/resources/packages/bootstrap_package/13.4/src/Resources/Private/Layouts/ContentElements/.gitkeep new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/resources/packages/bootstrap_package/13.4/src/Resources/Private/Layouts/ContentElements/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/bootstrap_package/13.4/src/Resources/Private/Layouts/Page/.gitkeep b/resources/packages/bootstrap_package/13.4/src/Resources/Private/Layouts/Page/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/resources/packages/bootstrap_package/13.4/src/Resources/Private/Partials/ContentElements/.gitkeep b/resources/packages/bootstrap_package/13.4/src/Resources/Private/Partials/ContentElements/.gitkeep new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/resources/packages/bootstrap_package/13.4/src/Resources/Private/Partials/ContentElements/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/bootstrap_package/13.4/src/Resources/Private/Partials/Page/.gitkeep b/resources/packages/bootstrap_package/13.4/src/Resources/Private/Partials/Page/.gitkeep new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/resources/packages/bootstrap_package/13.4/src/Resources/Private/Partials/Page/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/bootstrap_package/13.4/src/Resources/Private/Templates/ContentElements/.gitkeep b/resources/packages/bootstrap_package/13.4/src/Resources/Private/Templates/ContentElements/.gitkeep new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/resources/packages/bootstrap_package/13.4/src/Resources/Private/Templates/ContentElements/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/bootstrap_package/13.4/src/Resources/Private/Templates/Page/Example.html.twig b/resources/packages/bootstrap_package/13.4/src/Resources/Private/Templates/Page/Example.html.twig new file mode 100644 index 00000000..2b67bb11 --- /dev/null +++ b/resources/packages/bootstrap_package/13.4/src/Resources/Private/Templates/Page/Example.html.twig @@ -0,0 +1,22 @@ + + + + +
+
+
+
Template file
+
+ typo3conf/ext/{{ package.extensionKey }}/Resources/Private/Templates/Page/Example.html +
+
Backend Configuration
+
+ typo3conf/ext/{{ package.extensionKey }}/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts/example.tsconfig +
+
+
+
+ + +
+ diff --git a/resources/packages/bootstrap_package/13.4/src/Resources/Public/Css/.gitkeep b/resources/packages/bootstrap_package/13.4/src/Resources/Public/Css/.gitkeep new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/resources/packages/bootstrap_package/13.4/src/Resources/Public/Css/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/bootstrap_package/13.4/src/Resources/Public/Fonts/.gitkeep b/resources/packages/bootstrap_package/13.4/src/Resources/Public/Fonts/.gitkeep new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/resources/packages/bootstrap_package/13.4/src/Resources/Public/Fonts/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/bootstrap_package/13.4/src/Resources/Public/Icons/BackendLayouts/example.svg b/resources/packages/bootstrap_package/13.4/src/Resources/Public/Icons/BackendLayouts/example.svg new file mode 100644 index 00000000..d05abec2 --- /dev/null +++ b/resources/packages/bootstrap_package/13.4/src/Resources/Public/Icons/BackendLayouts/example.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/packages/bootstrap_package/13.4/src/Resources/Public/Icons/Extension.svg b/resources/packages/bootstrap_package/13.4/src/Resources/Public/Icons/Extension.svg new file mode 100644 index 00000000..d8536373 --- /dev/null +++ b/resources/packages/bootstrap_package/13.4/src/Resources/Public/Icons/Extension.svg @@ -0,0 +1,3 @@ + + + diff --git a/resources/packages/bootstrap_package/13.4/src/Resources/Public/Icons/favicon.ico b/resources/packages/bootstrap_package/13.4/src/Resources/Public/Icons/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..46d4c14df35ee4ccdf7c5a7eba53f00bc4457963 GIT binary patch literal 1150 zcmaKszb^zq6vrP&t{`y*Vj}8oqXL6Y$R~|E{BN6xxSFH~V-8J?S315x+S4 zj-Y)ybmKo(YfpQ6?x1gZYOBicJEMBKKl2?Y;7851p!}yw*Ju2g^_YOA4@`k=u$$QG%PiuMovJt++@ORg$yF+-?obfjA|?e@V(Z#s}~VJtDD0 literal 0 HcmV?d00001 diff --git a/resources/packages/bootstrap_package/13.4/src/Resources/Public/Icons/logo-inverted.svg b/resources/packages/bootstrap_package/13.4/src/Resources/Public/Icons/logo-inverted.svg new file mode 100644 index 00000000..f465b080 --- /dev/null +++ b/resources/packages/bootstrap_package/13.4/src/Resources/Public/Icons/logo-inverted.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/packages/bootstrap_package/13.4/src/Resources/Public/Icons/logo.svg b/resources/packages/bootstrap_package/13.4/src/Resources/Public/Icons/logo.svg new file mode 100644 index 00000000..dc1615ff --- /dev/null +++ b/resources/packages/bootstrap_package/13.4/src/Resources/Public/Icons/logo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/packages/bootstrap_package/13.4/src/Resources/Public/Images/logo-inverted.svg b/resources/packages/bootstrap_package/13.4/src/Resources/Public/Images/logo-inverted.svg new file mode 100644 index 00000000..f465b080 --- /dev/null +++ b/resources/packages/bootstrap_package/13.4/src/Resources/Public/Images/logo-inverted.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/packages/bootstrap_package/13.4/src/Resources/Public/Images/logo.svg b/resources/packages/bootstrap_package/13.4/src/Resources/Public/Images/logo.svg new file mode 100644 index 00000000..dc1615ff --- /dev/null +++ b/resources/packages/bootstrap_package/13.4/src/Resources/Public/Images/logo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/packages/bootstrap_package/13.4/src/Resources/Public/JavaScript/main.js.twig b/resources/packages/bootstrap_package/13.4/src/Resources/Public/JavaScript/main.js.twig new file mode 100644 index 00000000..a5e49024 --- /dev/null +++ b/resources/packages/bootstrap_package/13.4/src/Resources/Public/JavaScript/main.js.twig @@ -0,0 +1 @@ +console.log('WE LOVE TYPO3'); diff --git a/resources/packages/bootstrap_package/13.4/src/Resources/Public/Scss/Theme/_variables.scss b/resources/packages/bootstrap_package/13.4/src/Resources/Public/Scss/Theme/_variables.scss new file mode 100644 index 00000000..4a4e02e8 --- /dev/null +++ b/resources/packages/bootstrap_package/13.4/src/Resources/Public/Scss/Theme/_variables.scss @@ -0,0 +1,3 @@ +// +// Variables +// diff --git a/resources/packages/bootstrap_package/13.4/src/Resources/Public/Scss/Theme/theme.scss.twig b/resources/packages/bootstrap_package/13.4/src/Resources/Public/Scss/Theme/theme.scss.twig new file mode 100644 index 00000000..bec14c0e --- /dev/null +++ b/resources/packages/bootstrap_package/13.4/src/Resources/Public/Scss/Theme/theme.scss.twig @@ -0,0 +1,9 @@ +// +// Variables +// +@import "variables"; + +// +// Import needed Bootstrap Package Files +// +@import "EXT:bootstrap_package/Resources/Public/Scss/bootstrap5/theme"; diff --git a/resources/packages/bootstrap_package/13.4/src/composer.json.twig b/resources/packages/bootstrap_package/13.4/src/composer.json.twig new file mode 100644 index 00000000..8ddfe1a0 --- /dev/null +++ b/resources/packages/bootstrap_package/13.4/src/composer.json.twig @@ -0,0 +1,21 @@ +{ + "name": "{{ package.vendorNameAlternative }}/{{ package.packageNameAlternative }}", + "type": "typo3-cms-extension", + "description": "{{ package.description}}", + "homepage": "{{ package.author.homepage }}", + "license": ["GPL-2.0-or-later"], + "keywords": ["TYPO3 CMS"], + "require": { + "bk2k/bootstrap-package": "^15.0" + }, + "autoload": { + "psr-4": { + "{{ package.vendorName }}\\{{ package.packageName }}\\": "Classes/" + } + }, + "extra": { + "typo3/cms": { + "extension-key": "{{ package.extensionKey }}" + } + } +} diff --git a/resources/packages/bootstrap_package/13.4/src/ext_emconf.php.twig b/resources/packages/bootstrap_package/13.4/src/ext_emconf.php.twig new file mode 100644 index 00000000..221d69ec --- /dev/null +++ b/resources/packages/bootstrap_package/13.4/src/ext_emconf.php.twig @@ -0,0 +1,27 @@ + '{{ package.title }}', + 'description' => '{{ package.description }}', + 'category' => 'templates', + 'constraints' => [ + 'depends' => [ + 'bootstrap_package' => '15.0.0-15.99.99', + ], + 'conflicts' => [ + ], + ], + 'autoload' => [ + 'psr-4' => [ + '{{ package.vendorName }}\\{{ package.packageName }}\\' => 'Classes', + ], + ], + 'state' => 'stable', + 'uploadfolder' => 0, + 'createDirs' => '', + 'clearCacheOnLoad' => 1, + 'author' => '{{ package.author.name }}', + 'author_email' => '{{ package.author.email }}', + 'author_company' => '{{ package.author.company }}', + 'version' => '1.0.0', +]; diff --git a/resources/packages/bootstrap_package/13.4/src/ext_localconf.php.twig b/resources/packages/bootstrap_package/13.4/src/ext_localconf.php.twig new file mode 100644 index 00000000..1bfd88ef --- /dev/null +++ b/resources/packages/bootstrap_package/13.4/src/ext_localconf.php.twig @@ -0,0 +1,6 @@ +Resources/', + sass: '<%= paths.resources %>Public/Scss/', + css: '<%= paths.resources %>Public/Css/', + fonts: '<%= paths.resources %>Public/Fonts/', + img: '<%= paths.resources %>Public/Images/', + js: '<%= paths.resources %>Public/JavaScript/' + }, + banner: '/*!\n' + + ' * {{ package.title }} v<%= pkg.version %> (<%= pkg.homepage %>)\n' + + ' * Copyright 2017-<%= grunt.template.today("yyyy") %> <%= pkg.author %>\n' + + ' * Licensed under the <%= pkg.license %> license\n' + + ' */\n', + uglify: { + all: { + options: { + banner: '<%= banner %>', + mangle: true, + compress: true, + beautify: false + }, + files: { + "<%= paths.js %>/Dist/scripts.js": [ + "<%= paths.js %>Src/main.js" + ] + } + } + }, + sass: { + options: { + implementation: sass, + outputStyle: 'expanded', + precision: 8, + sourceMap: false + }, + layout: { + files: { + '<%= paths.css %>layout.css': '<%= paths.sass %>layout.scss' + } + } + }, + postcss: { + options: { + map: false, + processors: [ + require('autoprefixer')({ + browsers: [ + 'Last 2 versions', + 'Firefox ESR', + 'IE 9' + ] + }) + ] + }, + layout: { + src: '<%= paths.css %>layout.css' + } + }, + cssmin: { + options: { + keepSpecialComments: '*', + advanced: false + }, + layout: { + src: '<%= paths.css %>layout.css', + dest: '<%= paths.css %>layout.min.css' + } + }, + imagemin: { + extension: { + files: [{ + expand: true, + cwd: '<%= paths.resources %>', + src: [ + '**/*.{png,jpg,gif}' + ], + dest: '<%= paths.resources %>' + }] + } + }, + watch: { + options: { + livereload: true + }, + sass: { + files: '<%= paths.sass %>**/*.scss', + tasks: ['css'] + }, + javascript: { + files: '<%= paths.js %>Src/**/*.js', + tasks: ['js'] + } + } + }); + + /** + * Register tasks + // */ + grunt.loadNpmTasks('grunt-contrib-cssmin'); + grunt.loadNpmTasks('grunt-contrib-uglify'); + grunt.loadNpmTasks('grunt-contrib-watch'); + grunt.loadNpmTasks('grunt-contrib-imagemin'); + grunt.loadNpmTasks('grunt-postcss'); + grunt.loadNpmTasks('grunt-sass'); + + /** + * Grunt update task + */ + grunt.registerTask('css', ['sass', 'postcss', 'cssmin']); + grunt.registerTask('js', ['uglify']); + grunt.registerTask('build', ['js', 'css', 'imagemin']); + grunt.registerTask('default', ['build']); + +}; diff --git a/resources/packages/fluid_styled_content/10.4/src/Build/package.json.twig b/resources/packages/fluid_styled_content/10.4/src/Build/package.json.twig new file mode 100644 index 00000000..a870947b --- /dev/null +++ b/resources/packages/fluid_styled_content/10.4/src/Build/package.json.twig @@ -0,0 +1,28 @@ +{ + "name": "{{ package.vendorNameAlternative }}-{{ package.packageNameAlternative }}", + "description": "{{ package.description }}", + "repository": { + "type": "git", + "url": "{{ package.repositoryUrl }}" + }, + "homepage": "{{ package.author.homepage }}", + "author": "{{ package.author.name }}", + "version": "1.0.0", + "license": "GPL-2.0-or-later", + "devDependencies": { + "grunt": "^1.0.4", + "grunt-contrib-cssmin": "^3.0.0", + "grunt-contrib-uglify": "^4.0.1", + "grunt-contrib-watch": "^1.1.0", + "grunt-contrib-imagemin": "^3.1.0", + "grunt-postcss": "^0.9.0", + "grunt-sass": "^3.0.2", + "autoprefixer": "^9.5.0", + "node-sass": "^4.11.0" + }, + "scripts": { + "build": "./node_modules/.bin/grunt", + "css": "./node_modules/.bin/grunt css", + "watch": "./node_modules/.bin/grunt watch" + } +} diff --git a/resources/packages/fluid_styled_content/10.4/src/Classes/.htaccess b/resources/packages/fluid_styled_content/10.4/src/Classes/.htaccess new file mode 100644 index 00000000..93169e4e --- /dev/null +++ b/resources/packages/fluid_styled_content/10.4/src/Classes/.htaccess @@ -0,0 +1,2 @@ +Order deny,allow +Deny from all diff --git a/resources/packages/fluid_styled_content/10.4/src/Classes/Controller/.gitkeep b/resources/packages/fluid_styled_content/10.4/src/Classes/Controller/.gitkeep new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/resources/packages/fluid_styled_content/10.4/src/Classes/Controller/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/fluid_styled_content/10.4/src/Classes/Domain/.gitkeep b/resources/packages/fluid_styled_content/10.4/src/Classes/Domain/.gitkeep new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/resources/packages/fluid_styled_content/10.4/src/Classes/Domain/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/fluid_styled_content/10.4/src/Classes/Domain/Model/.gitkeep b/resources/packages/fluid_styled_content/10.4/src/Classes/Domain/Model/.gitkeep new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/resources/packages/fluid_styled_content/10.4/src/Classes/Domain/Model/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/fluid_styled_content/10.4/src/Classes/Domain/Repository/.gitkeep b/resources/packages/fluid_styled_content/10.4/src/Classes/Domain/Repository/.gitkeep new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/resources/packages/fluid_styled_content/10.4/src/Classes/Domain/Repository/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/fluid_styled_content/10.4/src/Classes/ViewHelpers/.gitkeep b/resources/packages/fluid_styled_content/10.4/src/Classes/ViewHelpers/.gitkeep new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/resources/packages/fluid_styled_content/10.4/src/Classes/ViewHelpers/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/fluid_styled_content/10.4/src/Configuration/.htaccess b/resources/packages/fluid_styled_content/10.4/src/Configuration/.htaccess new file mode 100644 index 00000000..93169e4e --- /dev/null +++ b/resources/packages/fluid_styled_content/10.4/src/Configuration/.htaccess @@ -0,0 +1,2 @@ +Order deny,allow +Deny from all diff --git a/resources/packages/fluid_styled_content/10.4/src/Configuration/RTE/Default.yaml.twig b/resources/packages/fluid_styled_content/10.4/src/Configuration/RTE/Default.yaml.twig new file mode 100644 index 00000000..5d5556da --- /dev/null +++ b/resources/packages/fluid_styled_content/10.4/src/Configuration/RTE/Default.yaml.twig @@ -0,0 +1,42 @@ +imports: + - { resource: "EXT:rte_ckeditor/Configuration/RTE/Processing.yaml" } + - { resource: "EXT:rte_ckeditor/Configuration/RTE/Editor/Base.yaml" } + - { resource: "EXT:rte_ckeditor/Configuration/RTE/Editor/Plugins.yaml" } + +editor: + config: + contentsCss: "EXT:{{ package.extensionKey }}/Resources/Public/Css/rte.css" + + stylesSet: + - { name: "Lead", element: "p", attributes: { 'class': 'lead' } } + + toolbarGroups: + - { name: styles, groups: [ format, styles ] } + - { name: basicstyles, groups: [ basicstyles ] } + - { name: paragraph, groups: [ list, indent, blocks, align ] } + - "/" + - { name: links, groups: [ links ] } + - { name: clipboard, groups: [ clipboard, cleanup, undo ] } + - { name: editing, groups: [ spellchecker ] } + - { name: insert, groups: [ insert ] } + - { name: tools, groups: [ table, specialchar ] } + - { name: document, groups: [ mode ] } + + format_tags: "p;h1;h2;h3;h4;h5;pre" + + justifyClasses: + - text-left + - text-center + - text-right + - text-justify + + extraPlugins: + - justify + + removePlugins: + - image + + removeButtons: + - Anchor + - Underline + - Strike diff --git a/resources/packages/fluid_styled_content/10.4/src/Configuration/TCA/Overrides/pages.php.twig b/resources/packages/fluid_styled_content/10.4/src/Configuration/TCA/Overrides/pages.php.twig new file mode 100644 index 00000000..f64fca74 --- /dev/null +++ b/resources/packages/fluid_styled_content/10.4/src/Configuration/TCA/Overrides/pages.php.twig @@ -0,0 +1,20 @@ + + + + diff --git a/resources/packages/fluid_styled_content/10.4/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts.tsconfig.twig b/resources/packages/fluid_styled_content/10.4/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts.tsconfig.twig new file mode 100644 index 00000000..8213cfae --- /dev/null +++ b/resources/packages/fluid_styled_content/10.4/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts.tsconfig.twig @@ -0,0 +1,4 @@ +# +# BACKENDLAYOUTS +# + diff --git a/resources/packages/fluid_styled_content/10.4/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts/default.tsconfig.twig b/resources/packages/fluid_styled_content/10.4/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts/default.tsconfig.twig new file mode 100644 index 00000000..a16a9db6 --- /dev/null +++ b/resources/packages/fluid_styled_content/10.4/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts/default.tsconfig.twig @@ -0,0 +1,29 @@ +# +# BACKENDLAYOUT: DEFAULT +# +mod { + web_layout { + BackendLayouts { + default { + title = LLL:EXT:{{ package.extensionKey }}/Resources/Private/Language/locallang_be.xlf:backend_layout.default + config { + backend_layout { + colCount = 1 + rowCount = 1 + rows { + 1 { + columns { + 1 { + name = LLL:EXT:{{ package.extensionKey }}/Resources/Private/Language/locallang_be.xlf:backend_layout.column.normal + colPos = 0 + } + } + } + } + } + } + icon = EXT:{{ package.extensionKey }}/Resources/Public/Images/BackendLayouts/default.png + } + } + } +} diff --git a/resources/packages/fluid_styled_content/10.4/src/Configuration/TsConfig/Page/RTE.tsconfig.twig b/resources/packages/fluid_styled_content/10.4/src/Configuration/TsConfig/Page/RTE.tsconfig.twig new file mode 100644 index 00000000..38353247 --- /dev/null +++ b/resources/packages/fluid_styled_content/10.4/src/Configuration/TsConfig/Page/RTE.tsconfig.twig @@ -0,0 +1,8 @@ +############# +#### RTE #### +############# +RTE { + default { + preset = {{ package.extensionKey }} + } +} diff --git a/resources/packages/fluid_styled_content/10.4/src/Configuration/TsConfig/Page/TCEFORM.tsconfig.twig b/resources/packages/fluid_styled_content/10.4/src/Configuration/TsConfig/Page/TCEFORM.tsconfig.twig new file mode 100644 index 00000000..55f97ce7 --- /dev/null +++ b/resources/packages/fluid_styled_content/10.4/src/Configuration/TsConfig/Page/TCEFORM.tsconfig.twig @@ -0,0 +1,11 @@ +# +# TCEFORM +# +TCEFORM { + pages { + + } + tt_content { + + } +} diff --git a/resources/packages/fluid_styled_content/10.4/src/Configuration/TsConfig/Page/TCEMAIN.tsconfig.twig b/resources/packages/fluid_styled_content/10.4/src/Configuration/TsConfig/Page/TCEMAIN.tsconfig.twig new file mode 100644 index 00000000..9d4a5e4e --- /dev/null +++ b/resources/packages/fluid_styled_content/10.4/src/Configuration/TsConfig/Page/TCEMAIN.tsconfig.twig @@ -0,0 +1,6 @@ +# +# TCEMAIN +# +TCEMAIN { + +} diff --git a/resources/packages/fluid_styled_content/10.4/src/Configuration/TypoScript/Helper/DynamicContent.typoscript.twig b/resources/packages/fluid_styled_content/10.4/src/Configuration/TypoScript/Helper/DynamicContent.typoscript.twig new file mode 100644 index 00000000..993b020b --- /dev/null +++ b/resources/packages/fluid_styled_content/10.4/src/Configuration/TypoScript/Helper/DynamicContent.typoscript.twig @@ -0,0 +1,64 @@ +################################################ +#### DYNAMIC CONTENT LIB FOR USAGE IN FLUID #### +################################################ +# +# EXAMPLE +# --------------- +# |'}" /> +# +# +# COLUMN NUMBERS +# --------------- +# +# 0 = main +# 1 = left +# 2 = right +# 3 = border +# +################# +lib.dynamicContent = COA +lib.dynamicContent { + 5 = LOAD_REGISTER + 5 { + colPos.cObject = TEXT + colPos.cObject { + field = colPos + ifEmpty.cObject = TEXT + ifEmpty.cObject { + value.current = 1 + ifEmpty = 0 + } + } + pageUid.cObject = TEXT + pageUid.cObject { + field = pageUid + ifEmpty.data = TSFE:id + } + contentFromPid.cObject = TEXT + contentFromPid.cObject { + data = DB:pages:{register:pageUid}:content_from_pid + data.insertData = 1 + } + wrap.cObject = TEXT + wrap.cObject { + field = wrap + } + } + 20 = CONTENT + 20 { + table = tt_content + select { + includeRecordsWithoutDefaultTranslation = 1 + orderBy = sorting + where = {{ '{#colPos}={register:colPos}' }} + where.insertData = 1 + pidInList.data = register:pageUid + pidInList.override.data = register:contentFromPid + } + stdWrap { + dataWrap = {register:wrap} + required = 1 + } + } + 90 = RESTORE_REGISTER +} diff --git a/resources/packages/fluid_styled_content/10.4/src/Configuration/TypoScript/constants.typoscript.twig b/resources/packages/fluid_styled_content/10.4/src/Configuration/TypoScript/constants.typoscript.twig new file mode 100644 index 00000000..1a79054a --- /dev/null +++ b/resources/packages/fluid_styled_content/10.4/src/Configuration/TypoScript/constants.typoscript.twig @@ -0,0 +1,56 @@ +###################### +#### DEPENDENCIES #### +###################### + + + +############################## +#### FLUID STYLED CONTENT #### +############################## +styles { + templates { + layoutRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Layouts/ContentElements/ + partialRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Partials/ContentElements/ + templateRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Templates/ContentElements/ + } +} + + +############ +### PAGE ### +############ +page { + fluidtemplate { + layoutRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Layouts/Page/ + partialRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Partials/Page/ + templateRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Templates/Page/ + } + meta { + description = + author = + keywords = + viewport = width=device-width, initial-scale=1 + robots = index,follow + apple-mobile-web-app-capable = no + compatible = IE=edge + } + tracking { + google { + trackingID = + anonymizeIp = 1 + } + } +} + + +############## +### CONFIG ### +############## +config { + no_cache = 0 + removeDefaultJS = 0 + admPanel = 1 + prefixLocalAnchors = all + headerComment = build by sitepackagebuilder.com + sendCacheHeaders = 1 +} diff --git a/resources/packages/fluid_styled_content/10.4/src/Configuration/TypoScript/setup.typoscript.twig b/resources/packages/fluid_styled_content/10.4/src/Configuration/TypoScript/setup.typoscript.twig new file mode 100644 index 00000000..1f765576 --- /dev/null +++ b/resources/packages/fluid_styled_content/10.4/src/Configuration/TypoScript/setup.typoscript.twig @@ -0,0 +1,203 @@ +###################### +#### DEPENDENCIES #### +###################### + + + +################ +#### HELPER #### +################ + + + +############## +#### PAGE #### +############## +page = PAGE +page { + typeNum = 0 + shortcutIcon = EXT:{{ package.extensionKey }}/Resources/Public/Icons/favicon.ico + + 10 = FLUIDTEMPLATE + 10 { + # Template names will be generated automatically by converting the applied + # backend_layout, there is no explicit mapping necessary anymore. + # + # BackendLayout Key + # subnavigation_right_2_columns -> SubnavigationRight2Columns.html + # + # Backend Record + # uid: 1 -> 1.html + # + # Database Entry + # value: -1 -> None.html + # value: pagets__subnavigation_right_2_columns -> SubnavigationRight2Columns.html + templateName = TEXT + templateName { + cObject = TEXT + cObject { + data = pagelayout + required = 1 + case = uppercamelcase + split { + token = pagets__ + cObjNum = 1 + 1.current = 1 + } + } + ifEmpty = Default + } + templateRootPaths { + 0 = EXT:{{ package.extensionKey }}/Resources/Private/Templates/Page/ + 1 = {$page.fluidtemplate.templateRootPath} + } + partialRootPaths { + 0 = EXT:{{ package.extensionKey }}/Resources/Private/Partials/Page/ + 1 = {$page.fluidtemplate.partialRootPath} + } + layoutRootPaths { + 0 = EXT:{{ package.extensionKey }}/Resources/Private/Layouts/Page/ + 1 = {$page.fluidtemplate.layoutRootPath} + } + dataProcessing { + 10 = TYPO3\CMS\Frontend\DataProcessing\FilesProcessor + 10 { + references.fieldName = media + } + 20 = TYPO3\CMS\Frontend\DataProcessing\MenuProcessor + 20 { + levels = 2 + includeSpacer = 1 + as = mainnavigation + } + } + } + + meta { + viewport = {$page.meta.viewport} + robots = {$page.meta.robots} + apple-mobile-web-app-capable = {$page.meta.apple-mobile-web-app-capable} + description = {$page.meta.description} + description { + override.field = description + } + author = {$page.meta.author} + author { + override.field = author + } + keywords = {$page.meta.keywords} + keywords { + override.field = keywords + } + X-UA-Compatible = {$page.meta.compatible} + X-UA-Compatible { + attribute = http-equiv + } + + # OpenGraph Tags + og:title { + attribute = property + field = title + } + og:site_name { + attribute = property + data = TSFE:tmpl|setup|sitetitle + } + og:description = {$page.meta.description} + og:description { + attribute = property + field = description + } + og:image { + attribute = property + stdWrap.cObject = FILES + stdWrap.cObject { + references { + data = levelfield:-1, media, slide + } + maxItems = 1 + renderObj = COA + renderObj { + 10 = IMG_RESOURCE + 10 { + file { + import.data = file:current:uid + treatIdAsReference = 1 + width = 1280c + height = 720c + } + stdWrap { + typolink { + parameter.data = TSFE:lastImgResourceInfo|3 + returnLast = url + forceAbsoluteUrl = 1 + } + } + } + } + } + } + } + + includeCSSLibs { + + } + + includeCSS { + {{ package.extensionKey }}_layout = EXT:{{ package.extensionKey }}/Resources/Public/Css/layout.min.css + } + + includeJSLibs { + + } + + includeJS { + + } + + includeJSFooterlibs { + + } + + includeJSFooter { + {{ package.extensionKey }}_scripts = EXT:{{ package.extensionKey }}/Resources/Public/JavaScript/Dist/scripts.js + } +} + + +################ +#### CONFIG #### +################ +config { + absRefPrefix = auto + no_cache = {$config.no_cache} + uniqueLinkVars = 1 + pageTitleFirst = 1 + linkVars = L + prefixLocalAnchors = {$config.prefixLocalAnchors} + renderCharset = utf-8 + metaCharset = utf-8 + doctype = html5 + removeDefaultJS = {$config.removeDefaultJS} + inlineStyle2TempFile = 1 + admPanel = {$config.admPanel} + debug = 0 + cache_period = 86400 + sendCacheHeaders = {$config.sendCacheHeaders} + intTarget = + extTarget = + disablePrefixComment = 1 + index_enable = 1 + index_externals = 1 + index_metatags = 1 + headerComment = {$config.headerComment} + + // Disable Image Upscaling + noScaleUp = 1 + + // Compression and Concatenation of CSS and JS Files + compressJs = 0 + compressCss = 0 + concatenateJs = 0 + concatenateCss = 0 +} diff --git a/resources/packages/fluid_styled_content/10.4/src/README.md.twig b/resources/packages/fluid_styled_content/10.4/src/README.md.twig new file mode 100644 index 00000000..8b095c79 --- /dev/null +++ b/resources/packages/fluid_styled_content/10.4/src/README.md.twig @@ -0,0 +1,4 @@ +Sitepackage for the project "{{ package.title }}" +============================================================== + +Add some explanation here. diff --git a/resources/packages/fluid_styled_content/10.4/src/Resources/Private/.htaccess b/resources/packages/fluid_styled_content/10.4/src/Resources/Private/.htaccess new file mode 100644 index 00000000..93169e4e --- /dev/null +++ b/resources/packages/fluid_styled_content/10.4/src/Resources/Private/.htaccess @@ -0,0 +1,2 @@ +Order deny,allow +Deny from all diff --git a/resources/packages/fluid_styled_content/10.4/src/Resources/Private/Language/locallang.xlf.twig b/resources/packages/fluid_styled_content/10.4/src/Resources/Private/Language/locallang.xlf.twig new file mode 100644 index 00000000..5aea2770 --- /dev/null +++ b/resources/packages/fluid_styled_content/10.4/src/Resources/Private/Language/locallang.xlf.twig @@ -0,0 +1,11 @@ + + + +
+ {{ package.author.name }} + {{ package.author.email }} +
+ + +
+
diff --git a/resources/packages/fluid_styled_content/10.4/src/Resources/Private/Language/locallang_be.xlf.twig b/resources/packages/fluid_styled_content/10.4/src/Resources/Private/Language/locallang_be.xlf.twig new file mode 100644 index 00000000..fb3e2d8e --- /dev/null +++ b/resources/packages/fluid_styled_content/10.4/src/Resources/Private/Language/locallang_be.xlf.twig @@ -0,0 +1,17 @@ + + + +
+ {{ package.author.name }} + {{ package.author.email }} +
+ + + Default + + + Normal + + +
+
diff --git a/resources/packages/fluid_styled_content/10.4/src/Resources/Private/Language/locallang_db.xlf.twig b/resources/packages/fluid_styled_content/10.4/src/Resources/Private/Language/locallang_db.xlf.twig new file mode 100644 index 00000000..5aea2770 --- /dev/null +++ b/resources/packages/fluid_styled_content/10.4/src/Resources/Private/Language/locallang_db.xlf.twig @@ -0,0 +1,11 @@ + + + +
+ {{ package.author.name }} + {{ package.author.email }} +
+ + +
+
diff --git a/resources/packages/fluid_styled_content/10.4/src/Resources/Private/Layouts/ContentElements/.gitkeep b/resources/packages/fluid_styled_content/10.4/src/Resources/Private/Layouts/ContentElements/.gitkeep new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/resources/packages/fluid_styled_content/10.4/src/Resources/Private/Layouts/ContentElements/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/fluid_styled_content/10.4/src/Resources/Private/Layouts/Page/Default.html.twig b/resources/packages/fluid_styled_content/10.4/src/Resources/Private/Layouts/Page/Default.html.twig new file mode 100644 index 00000000..ad57953f --- /dev/null +++ b/resources/packages/fluid_styled_content/10.4/src/Resources/Private/Layouts/Page/Default.html.twig @@ -0,0 +1,21 @@ + + diff --git a/resources/packages/fluid_styled_content/10.4/src/Resources/Private/Partials/ContentElements/.gitkeep b/resources/packages/fluid_styled_content/10.4/src/Resources/Private/Partials/ContentElements/.gitkeep new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/resources/packages/fluid_styled_content/10.4/src/Resources/Private/Partials/ContentElements/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/fluid_styled_content/10.4/src/Resources/Private/Partials/Page/.gitkeep b/resources/packages/fluid_styled_content/10.4/src/Resources/Private/Partials/Page/.gitkeep new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/resources/packages/fluid_styled_content/10.4/src/Resources/Private/Partials/Page/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/fluid_styled_content/10.4/src/Resources/Private/Templates/ContentElements/.gitkeep b/resources/packages/fluid_styled_content/10.4/src/Resources/Private/Templates/ContentElements/.gitkeep new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/resources/packages/fluid_styled_content/10.4/src/Resources/Private/Templates/ContentElements/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/fluid_styled_content/10.4/src/Resources/Private/Templates/Page/Default.html.twig b/resources/packages/fluid_styled_content/10.4/src/Resources/Private/Templates/Page/Default.html.twig new file mode 100644 index 00000000..312fc91f --- /dev/null +++ b/resources/packages/fluid_styled_content/10.4/src/Resources/Private/Templates/Page/Default.html.twig @@ -0,0 +1,19 @@ + + + +
+
+
Template file
+
+ typo3conf/ext/{{ package.extensionKey }}/Resources/Private/Templates/Page/Default.html +
+
Backend Configuration
+
+ typo3conf/ext/{{ package.extensionKey }}/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts/default.tsconfig +
+
+
+ + + +
diff --git a/resources/packages/fluid_styled_content/10.4/src/Resources/Public/Css/layout.css b/resources/packages/fluid_styled_content/10.4/src/Resources/Public/Css/layout.css new file mode 100644 index 00000000..e69de29b diff --git a/resources/packages/fluid_styled_content/10.4/src/Resources/Public/Css/layout.min.css b/resources/packages/fluid_styled_content/10.4/src/Resources/Public/Css/layout.min.css new file mode 100644 index 00000000..e69de29b diff --git a/resources/packages/fluid_styled_content/10.4/src/Resources/Public/Css/rte.css.twig b/resources/packages/fluid_styled_content/10.4/src/Resources/Public/Css/rte.css.twig new file mode 100644 index 00000000..1ce5278d --- /dev/null +++ b/resources/packages/fluid_styled_content/10.4/src/Resources/Public/Css/rte.css.twig @@ -0,0 +1,3 @@ +/** + * Created from sitepackagebuilder.com + */ diff --git a/resources/packages/fluid_styled_content/10.4/src/Resources/Public/Fonts/.gitkeep b/resources/packages/fluid_styled_content/10.4/src/Resources/Public/Fonts/.gitkeep new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/resources/packages/fluid_styled_content/10.4/src/Resources/Public/Fonts/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/fluid_styled_content/10.4/src/Resources/Public/Icons/Extension.svg b/resources/packages/fluid_styled_content/10.4/src/Resources/Public/Icons/Extension.svg new file mode 100644 index 00000000..d8536373 --- /dev/null +++ b/resources/packages/fluid_styled_content/10.4/src/Resources/Public/Icons/Extension.svg @@ -0,0 +1,3 @@ + + + diff --git a/resources/packages/fluid_styled_content/10.4/src/Resources/Public/Icons/favicon.ico b/resources/packages/fluid_styled_content/10.4/src/Resources/Public/Icons/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..46d4c14df35ee4ccdf7c5a7eba53f00bc4457963 GIT binary patch literal 1150 zcmaKszb^zq6vrP&t{`y*Vj}8oqXL6Y$R~|E{BN6xxSFH~V-8J?S315x+S4 zj-Y)ybmKo(YfpQ6?x1gZYOBicJEMBKKl2?Y;7851p!}yw*Ju2g^_YOA4@`k=u$$QG%PiuMovJt++@ORg$yF+-?obfjA|?e@V(Z#s}~VJtDD0 literal 0 HcmV?d00001 diff --git a/resources/packages/fluid_styled_content/10.4/src/Resources/Public/Images/BackendLayouts/default.png b/resources/packages/fluid_styled_content/10.4/src/Resources/Public/Images/BackendLayouts/default.png new file mode 100644 index 0000000000000000000000000000000000000000..0bed87019c8f61d46b9493157358054e2af23994 GIT binary patch literal 182 zcmeAS@N?(olHy`uVBq!ia0vp^MnLSq!3HEFuBuc6saj7L$B>N1x3?X6TLMH_4jxZ? zT5x1PQ{RuD+D*PICg`zVW=f0BUR&At{>+(;^8W94Jl%8dr;Y8Sc&>{gi!@z=JC+If mD$a5;Y0V%};H~cVZu$S++?AJ4w7LNu!r '{{ package.title }}', + 'description' => '{{ package.description }}', + 'category' => 'templates', + 'constraints' => [ + 'depends' => [ + 'typo3' => '10.4.0-10.4.99', + 'fluid_styled_content' => '10.4.0-10.4.99', + 'rte_ckeditor' => '10.4.0-10.4.99', + ], + 'conflicts' => [ + ], + ], + 'autoload' => [ + 'psr-4' => [ + '{{ package.vendorName }}\\{{ package.packageName }}\\' => 'Classes', + ], + ], + 'state' => 'stable', + 'uploadfolder' => 0, + 'createDirs' => '', + 'clearCacheOnLoad' => 1, + 'author' => '{{ package.author.name }}', + 'author_email' => '{{ package.author.email }}', + 'author_company' => '{{ package.author.company }}', + 'version' => '1.0.0', +]; diff --git a/resources/packages/fluid_styled_content/10.4/src/ext_localconf.php.twig b/resources/packages/fluid_styled_content/10.4/src/ext_localconf.php.twig new file mode 100644 index 00000000..b455f518 --- /dev/null +++ b/resources/packages/fluid_styled_content/10.4/src/ext_localconf.php.twig @@ -0,0 +1,13 @@ +'); diff --git a/resources/packages/fluid_styled_content/10.4/src/ext_tables.php.twig b/resources/packages/fluid_styled_content/10.4/src/ext_tables.php.twig new file mode 100644 index 00000000..a7758e29 --- /dev/null +++ b/resources/packages/fluid_styled_content/10.4/src/ext_tables.php.twig @@ -0,0 +1,3 @@ +Resources/', + sass: '<%= paths.resources %>Public/Scss/', + css: '<%= paths.resources %>Public/Css/', + fonts: '<%= paths.resources %>Public/Fonts/', + img: '<%= paths.resources %>Public/Images/', + js: '<%= paths.resources %>Public/JavaScript/' + }, + banner: '/*!\n' + + ' * {{ package.title }} v<%= pkg.version %> (<%= pkg.homepage %>)\n' + + ' * Copyright 2017-<%= grunt.template.today("yyyy") %> <%= pkg.author %>\n' + + ' * Licensed under the <%= pkg.license %> license\n' + + ' */\n', + uglify: { + all: { + options: { + banner: '<%= banner %>', + mangle: true, + compress: true, + beautify: false + }, + files: { + "<%= paths.js %>/Dist/scripts.js": [ + "<%= paths.js %>Src/main.js" + ] + } + } + }, + sass: { + options: { + implementation: sass, + outputStyle: 'expanded', + precision: 8, + sourceMap: false + }, + layout: { + files: { + '<%= paths.css %>layout.css': '<%= paths.sass %>layout.scss' + } + } + }, + postcss: { + options: { + map: false, + processors: [ + require('autoprefixer')({ + browsers: [ + 'Last 2 versions', + 'Firefox ESR', + 'IE 9' + ] + }) + ] + }, + layout: { + src: '<%= paths.css %>layout.css' + } + }, + cssmin: { + options: { + keepSpecialComments: '*', + advanced: false + }, + layout: { + src: '<%= paths.css %>layout.css', + dest: '<%= paths.css %>layout.min.css' + } + }, + imagemin: { + extension: { + files: [{ + expand: true, + cwd: '<%= paths.resources %>', + src: [ + '**/*.{png,jpg,gif}' + ], + dest: '<%= paths.resources %>' + }] + } + }, + watch: { + options: { + livereload: true + }, + sass: { + files: '<%= paths.sass %>**/*.scss', + tasks: ['css'] + }, + javascript: { + files: '<%= paths.js %>Src/**/*.js', + tasks: ['js'] + } + } + }); + + /** + * Register tasks + // */ + grunt.loadNpmTasks('grunt-contrib-cssmin'); + grunt.loadNpmTasks('grunt-contrib-uglify'); + grunt.loadNpmTasks('grunt-contrib-watch'); + grunt.loadNpmTasks('grunt-contrib-imagemin'); + grunt.loadNpmTasks('grunt-postcss'); + grunt.loadNpmTasks('grunt-sass'); + + /** + * Grunt update task + */ + grunt.registerTask('css', ['sass', 'postcss', 'cssmin']); + grunt.registerTask('js', ['uglify']); + grunt.registerTask('build', ['js', 'css', 'imagemin']); + grunt.registerTask('default', ['build']); + +}; diff --git a/resources/packages/fluid_styled_content/11.5/src/Build/package.json.twig b/resources/packages/fluid_styled_content/11.5/src/Build/package.json.twig new file mode 100644 index 00000000..a870947b --- /dev/null +++ b/resources/packages/fluid_styled_content/11.5/src/Build/package.json.twig @@ -0,0 +1,28 @@ +{ + "name": "{{ package.vendorNameAlternative }}-{{ package.packageNameAlternative }}", + "description": "{{ package.description }}", + "repository": { + "type": "git", + "url": "{{ package.repositoryUrl }}" + }, + "homepage": "{{ package.author.homepage }}", + "author": "{{ package.author.name }}", + "version": "1.0.0", + "license": "GPL-2.0-or-later", + "devDependencies": { + "grunt": "^1.0.4", + "grunt-contrib-cssmin": "^3.0.0", + "grunt-contrib-uglify": "^4.0.1", + "grunt-contrib-watch": "^1.1.0", + "grunt-contrib-imagemin": "^3.1.0", + "grunt-postcss": "^0.9.0", + "grunt-sass": "^3.0.2", + "autoprefixer": "^9.5.0", + "node-sass": "^4.11.0" + }, + "scripts": { + "build": "./node_modules/.bin/grunt", + "css": "./node_modules/.bin/grunt css", + "watch": "./node_modules/.bin/grunt watch" + } +} diff --git a/resources/packages/fluid_styled_content/11.5/src/Classes/.htaccess b/resources/packages/fluid_styled_content/11.5/src/Classes/.htaccess new file mode 100644 index 00000000..93169e4e --- /dev/null +++ b/resources/packages/fluid_styled_content/11.5/src/Classes/.htaccess @@ -0,0 +1,2 @@ +Order deny,allow +Deny from all diff --git a/resources/packages/fluid_styled_content/11.5/src/Classes/Controller/.gitkeep b/resources/packages/fluid_styled_content/11.5/src/Classes/Controller/.gitkeep new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/resources/packages/fluid_styled_content/11.5/src/Classes/Controller/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/fluid_styled_content/11.5/src/Classes/Domain/.gitkeep b/resources/packages/fluid_styled_content/11.5/src/Classes/Domain/.gitkeep new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/resources/packages/fluid_styled_content/11.5/src/Classes/Domain/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/fluid_styled_content/11.5/src/Classes/Domain/Model/.gitkeep b/resources/packages/fluid_styled_content/11.5/src/Classes/Domain/Model/.gitkeep new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/resources/packages/fluid_styled_content/11.5/src/Classes/Domain/Model/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/fluid_styled_content/11.5/src/Classes/Domain/Repository/.gitkeep b/resources/packages/fluid_styled_content/11.5/src/Classes/Domain/Repository/.gitkeep new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/resources/packages/fluid_styled_content/11.5/src/Classes/Domain/Repository/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/fluid_styled_content/11.5/src/Classes/ViewHelpers/.gitkeep b/resources/packages/fluid_styled_content/11.5/src/Classes/ViewHelpers/.gitkeep new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/resources/packages/fluid_styled_content/11.5/src/Classes/ViewHelpers/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/fluid_styled_content/11.5/src/Configuration/.htaccess b/resources/packages/fluid_styled_content/11.5/src/Configuration/.htaccess new file mode 100644 index 00000000..93169e4e --- /dev/null +++ b/resources/packages/fluid_styled_content/11.5/src/Configuration/.htaccess @@ -0,0 +1,2 @@ +Order deny,allow +Deny from all diff --git a/resources/packages/fluid_styled_content/11.5/src/Configuration/RTE/Default.yaml.twig b/resources/packages/fluid_styled_content/11.5/src/Configuration/RTE/Default.yaml.twig new file mode 100644 index 00000000..5d5556da --- /dev/null +++ b/resources/packages/fluid_styled_content/11.5/src/Configuration/RTE/Default.yaml.twig @@ -0,0 +1,42 @@ +imports: + - { resource: "EXT:rte_ckeditor/Configuration/RTE/Processing.yaml" } + - { resource: "EXT:rte_ckeditor/Configuration/RTE/Editor/Base.yaml" } + - { resource: "EXT:rte_ckeditor/Configuration/RTE/Editor/Plugins.yaml" } + +editor: + config: + contentsCss: "EXT:{{ package.extensionKey }}/Resources/Public/Css/rte.css" + + stylesSet: + - { name: "Lead", element: "p", attributes: { 'class': 'lead' } } + + toolbarGroups: + - { name: styles, groups: [ format, styles ] } + - { name: basicstyles, groups: [ basicstyles ] } + - { name: paragraph, groups: [ list, indent, blocks, align ] } + - "/" + - { name: links, groups: [ links ] } + - { name: clipboard, groups: [ clipboard, cleanup, undo ] } + - { name: editing, groups: [ spellchecker ] } + - { name: insert, groups: [ insert ] } + - { name: tools, groups: [ table, specialchar ] } + - { name: document, groups: [ mode ] } + + format_tags: "p;h1;h2;h3;h4;h5;pre" + + justifyClasses: + - text-left + - text-center + - text-right + - text-justify + + extraPlugins: + - justify + + removePlugins: + - image + + removeButtons: + - Anchor + - Underline + - Strike diff --git a/resources/packages/fluid_styled_content/11.5/src/Configuration/TCA/Overrides/pages.php.twig b/resources/packages/fluid_styled_content/11.5/src/Configuration/TCA/Overrides/pages.php.twig new file mode 100644 index 00000000..e8466826 --- /dev/null +++ b/resources/packages/fluid_styled_content/11.5/src/Configuration/TCA/Overrides/pages.php.twig @@ -0,0 +1,20 @@ + + + + diff --git a/resources/packages/fluid_styled_content/11.5/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts.tsconfig.twig b/resources/packages/fluid_styled_content/11.5/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts.tsconfig.twig new file mode 100644 index 00000000..8213cfae --- /dev/null +++ b/resources/packages/fluid_styled_content/11.5/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts.tsconfig.twig @@ -0,0 +1,4 @@ +# +# BACKENDLAYOUTS +# + diff --git a/resources/packages/fluid_styled_content/11.5/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts/default.tsconfig.twig b/resources/packages/fluid_styled_content/11.5/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts/default.tsconfig.twig new file mode 100644 index 00000000..a16a9db6 --- /dev/null +++ b/resources/packages/fluid_styled_content/11.5/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts/default.tsconfig.twig @@ -0,0 +1,29 @@ +# +# BACKENDLAYOUT: DEFAULT +# +mod { + web_layout { + BackendLayouts { + default { + title = LLL:EXT:{{ package.extensionKey }}/Resources/Private/Language/locallang_be.xlf:backend_layout.default + config { + backend_layout { + colCount = 1 + rowCount = 1 + rows { + 1 { + columns { + 1 { + name = LLL:EXT:{{ package.extensionKey }}/Resources/Private/Language/locallang_be.xlf:backend_layout.column.normal + colPos = 0 + } + } + } + } + } + } + icon = EXT:{{ package.extensionKey }}/Resources/Public/Images/BackendLayouts/default.png + } + } + } +} diff --git a/resources/packages/fluid_styled_content/11.5/src/Configuration/TsConfig/Page/RTE.tsconfig.twig b/resources/packages/fluid_styled_content/11.5/src/Configuration/TsConfig/Page/RTE.tsconfig.twig new file mode 100644 index 00000000..38353247 --- /dev/null +++ b/resources/packages/fluid_styled_content/11.5/src/Configuration/TsConfig/Page/RTE.tsconfig.twig @@ -0,0 +1,8 @@ +############# +#### RTE #### +############# +RTE { + default { + preset = {{ package.extensionKey }} + } +} diff --git a/resources/packages/fluid_styled_content/11.5/src/Configuration/TsConfig/Page/TCEFORM.tsconfig.twig b/resources/packages/fluid_styled_content/11.5/src/Configuration/TsConfig/Page/TCEFORM.tsconfig.twig new file mode 100644 index 00000000..55f97ce7 --- /dev/null +++ b/resources/packages/fluid_styled_content/11.5/src/Configuration/TsConfig/Page/TCEFORM.tsconfig.twig @@ -0,0 +1,11 @@ +# +# TCEFORM +# +TCEFORM { + pages { + + } + tt_content { + + } +} diff --git a/resources/packages/fluid_styled_content/11.5/src/Configuration/TsConfig/Page/TCEMAIN.tsconfig.twig b/resources/packages/fluid_styled_content/11.5/src/Configuration/TsConfig/Page/TCEMAIN.tsconfig.twig new file mode 100644 index 00000000..9d4a5e4e --- /dev/null +++ b/resources/packages/fluid_styled_content/11.5/src/Configuration/TsConfig/Page/TCEMAIN.tsconfig.twig @@ -0,0 +1,6 @@ +# +# TCEMAIN +# +TCEMAIN { + +} diff --git a/resources/packages/fluid_styled_content/11.5/src/Configuration/TypoScript/Helper/DynamicContent.typoscript.twig b/resources/packages/fluid_styled_content/11.5/src/Configuration/TypoScript/Helper/DynamicContent.typoscript.twig new file mode 100644 index 00000000..993b020b --- /dev/null +++ b/resources/packages/fluid_styled_content/11.5/src/Configuration/TypoScript/Helper/DynamicContent.typoscript.twig @@ -0,0 +1,64 @@ +################################################ +#### DYNAMIC CONTENT LIB FOR USAGE IN FLUID #### +################################################ +# +# EXAMPLE +# --------------- +# |'}" /> +# +# +# COLUMN NUMBERS +# --------------- +# +# 0 = main +# 1 = left +# 2 = right +# 3 = border +# +################# +lib.dynamicContent = COA +lib.dynamicContent { + 5 = LOAD_REGISTER + 5 { + colPos.cObject = TEXT + colPos.cObject { + field = colPos + ifEmpty.cObject = TEXT + ifEmpty.cObject { + value.current = 1 + ifEmpty = 0 + } + } + pageUid.cObject = TEXT + pageUid.cObject { + field = pageUid + ifEmpty.data = TSFE:id + } + contentFromPid.cObject = TEXT + contentFromPid.cObject { + data = DB:pages:{register:pageUid}:content_from_pid + data.insertData = 1 + } + wrap.cObject = TEXT + wrap.cObject { + field = wrap + } + } + 20 = CONTENT + 20 { + table = tt_content + select { + includeRecordsWithoutDefaultTranslation = 1 + orderBy = sorting + where = {{ '{#colPos}={register:colPos}' }} + where.insertData = 1 + pidInList.data = register:pageUid + pidInList.override.data = register:contentFromPid + } + stdWrap { + dataWrap = {register:wrap} + required = 1 + } + } + 90 = RESTORE_REGISTER +} diff --git a/resources/packages/fluid_styled_content/11.5/src/Configuration/TypoScript/constants.typoscript.twig b/resources/packages/fluid_styled_content/11.5/src/Configuration/TypoScript/constants.typoscript.twig new file mode 100644 index 00000000..1a79054a --- /dev/null +++ b/resources/packages/fluid_styled_content/11.5/src/Configuration/TypoScript/constants.typoscript.twig @@ -0,0 +1,56 @@ +###################### +#### DEPENDENCIES #### +###################### + + + +############################## +#### FLUID STYLED CONTENT #### +############################## +styles { + templates { + layoutRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Layouts/ContentElements/ + partialRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Partials/ContentElements/ + templateRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Templates/ContentElements/ + } +} + + +############ +### PAGE ### +############ +page { + fluidtemplate { + layoutRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Layouts/Page/ + partialRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Partials/Page/ + templateRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Templates/Page/ + } + meta { + description = + author = + keywords = + viewport = width=device-width, initial-scale=1 + robots = index,follow + apple-mobile-web-app-capable = no + compatible = IE=edge + } + tracking { + google { + trackingID = + anonymizeIp = 1 + } + } +} + + +############## +### CONFIG ### +############## +config { + no_cache = 0 + removeDefaultJS = 0 + admPanel = 1 + prefixLocalAnchors = all + headerComment = build by sitepackagebuilder.com + sendCacheHeaders = 1 +} diff --git a/resources/packages/fluid_styled_content/11.5/src/Configuration/TypoScript/setup.typoscript.twig b/resources/packages/fluid_styled_content/11.5/src/Configuration/TypoScript/setup.typoscript.twig new file mode 100644 index 00000000..1f765576 --- /dev/null +++ b/resources/packages/fluid_styled_content/11.5/src/Configuration/TypoScript/setup.typoscript.twig @@ -0,0 +1,203 @@ +###################### +#### DEPENDENCIES #### +###################### + + + +################ +#### HELPER #### +################ + + + +############## +#### PAGE #### +############## +page = PAGE +page { + typeNum = 0 + shortcutIcon = EXT:{{ package.extensionKey }}/Resources/Public/Icons/favicon.ico + + 10 = FLUIDTEMPLATE + 10 { + # Template names will be generated automatically by converting the applied + # backend_layout, there is no explicit mapping necessary anymore. + # + # BackendLayout Key + # subnavigation_right_2_columns -> SubnavigationRight2Columns.html + # + # Backend Record + # uid: 1 -> 1.html + # + # Database Entry + # value: -1 -> None.html + # value: pagets__subnavigation_right_2_columns -> SubnavigationRight2Columns.html + templateName = TEXT + templateName { + cObject = TEXT + cObject { + data = pagelayout + required = 1 + case = uppercamelcase + split { + token = pagets__ + cObjNum = 1 + 1.current = 1 + } + } + ifEmpty = Default + } + templateRootPaths { + 0 = EXT:{{ package.extensionKey }}/Resources/Private/Templates/Page/ + 1 = {$page.fluidtemplate.templateRootPath} + } + partialRootPaths { + 0 = EXT:{{ package.extensionKey }}/Resources/Private/Partials/Page/ + 1 = {$page.fluidtemplate.partialRootPath} + } + layoutRootPaths { + 0 = EXT:{{ package.extensionKey }}/Resources/Private/Layouts/Page/ + 1 = {$page.fluidtemplate.layoutRootPath} + } + dataProcessing { + 10 = TYPO3\CMS\Frontend\DataProcessing\FilesProcessor + 10 { + references.fieldName = media + } + 20 = TYPO3\CMS\Frontend\DataProcessing\MenuProcessor + 20 { + levels = 2 + includeSpacer = 1 + as = mainnavigation + } + } + } + + meta { + viewport = {$page.meta.viewport} + robots = {$page.meta.robots} + apple-mobile-web-app-capable = {$page.meta.apple-mobile-web-app-capable} + description = {$page.meta.description} + description { + override.field = description + } + author = {$page.meta.author} + author { + override.field = author + } + keywords = {$page.meta.keywords} + keywords { + override.field = keywords + } + X-UA-Compatible = {$page.meta.compatible} + X-UA-Compatible { + attribute = http-equiv + } + + # OpenGraph Tags + og:title { + attribute = property + field = title + } + og:site_name { + attribute = property + data = TSFE:tmpl|setup|sitetitle + } + og:description = {$page.meta.description} + og:description { + attribute = property + field = description + } + og:image { + attribute = property + stdWrap.cObject = FILES + stdWrap.cObject { + references { + data = levelfield:-1, media, slide + } + maxItems = 1 + renderObj = COA + renderObj { + 10 = IMG_RESOURCE + 10 { + file { + import.data = file:current:uid + treatIdAsReference = 1 + width = 1280c + height = 720c + } + stdWrap { + typolink { + parameter.data = TSFE:lastImgResourceInfo|3 + returnLast = url + forceAbsoluteUrl = 1 + } + } + } + } + } + } + } + + includeCSSLibs { + + } + + includeCSS { + {{ package.extensionKey }}_layout = EXT:{{ package.extensionKey }}/Resources/Public/Css/layout.min.css + } + + includeJSLibs { + + } + + includeJS { + + } + + includeJSFooterlibs { + + } + + includeJSFooter { + {{ package.extensionKey }}_scripts = EXT:{{ package.extensionKey }}/Resources/Public/JavaScript/Dist/scripts.js + } +} + + +################ +#### CONFIG #### +################ +config { + absRefPrefix = auto + no_cache = {$config.no_cache} + uniqueLinkVars = 1 + pageTitleFirst = 1 + linkVars = L + prefixLocalAnchors = {$config.prefixLocalAnchors} + renderCharset = utf-8 + metaCharset = utf-8 + doctype = html5 + removeDefaultJS = {$config.removeDefaultJS} + inlineStyle2TempFile = 1 + admPanel = {$config.admPanel} + debug = 0 + cache_period = 86400 + sendCacheHeaders = {$config.sendCacheHeaders} + intTarget = + extTarget = + disablePrefixComment = 1 + index_enable = 1 + index_externals = 1 + index_metatags = 1 + headerComment = {$config.headerComment} + + // Disable Image Upscaling + noScaleUp = 1 + + // Compression and Concatenation of CSS and JS Files + compressJs = 0 + compressCss = 0 + concatenateJs = 0 + concatenateCss = 0 +} diff --git a/resources/packages/fluid_styled_content/11.5/src/README.md.twig b/resources/packages/fluid_styled_content/11.5/src/README.md.twig new file mode 100644 index 00000000..8b095c79 --- /dev/null +++ b/resources/packages/fluid_styled_content/11.5/src/README.md.twig @@ -0,0 +1,4 @@ +Sitepackage for the project "{{ package.title }}" +============================================================== + +Add some explanation here. diff --git a/resources/packages/fluid_styled_content/11.5/src/Resources/Private/.htaccess b/resources/packages/fluid_styled_content/11.5/src/Resources/Private/.htaccess new file mode 100644 index 00000000..93169e4e --- /dev/null +++ b/resources/packages/fluid_styled_content/11.5/src/Resources/Private/.htaccess @@ -0,0 +1,2 @@ +Order deny,allow +Deny from all diff --git a/resources/packages/fluid_styled_content/11.5/src/Resources/Private/Language/locallang.xlf.twig b/resources/packages/fluid_styled_content/11.5/src/Resources/Private/Language/locallang.xlf.twig new file mode 100644 index 00000000..5aea2770 --- /dev/null +++ b/resources/packages/fluid_styled_content/11.5/src/Resources/Private/Language/locallang.xlf.twig @@ -0,0 +1,11 @@ + + + +
+ {{ package.author.name }} + {{ package.author.email }} +
+ + +
+
diff --git a/resources/packages/fluid_styled_content/11.5/src/Resources/Private/Language/locallang_be.xlf.twig b/resources/packages/fluid_styled_content/11.5/src/Resources/Private/Language/locallang_be.xlf.twig new file mode 100644 index 00000000..fb3e2d8e --- /dev/null +++ b/resources/packages/fluid_styled_content/11.5/src/Resources/Private/Language/locallang_be.xlf.twig @@ -0,0 +1,17 @@ + + + +
+ {{ package.author.name }} + {{ package.author.email }} +
+ + + Default + + + Normal + + +
+
diff --git a/resources/packages/fluid_styled_content/11.5/src/Resources/Private/Language/locallang_db.xlf.twig b/resources/packages/fluid_styled_content/11.5/src/Resources/Private/Language/locallang_db.xlf.twig new file mode 100644 index 00000000..5aea2770 --- /dev/null +++ b/resources/packages/fluid_styled_content/11.5/src/Resources/Private/Language/locallang_db.xlf.twig @@ -0,0 +1,11 @@ + + + +
+ {{ package.author.name }} + {{ package.author.email }} +
+ + +
+
diff --git a/resources/packages/fluid_styled_content/11.5/src/Resources/Private/Layouts/ContentElements/.gitkeep b/resources/packages/fluid_styled_content/11.5/src/Resources/Private/Layouts/ContentElements/.gitkeep new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/resources/packages/fluid_styled_content/11.5/src/Resources/Private/Layouts/ContentElements/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/fluid_styled_content/11.5/src/Resources/Private/Layouts/Page/Default.html.twig b/resources/packages/fluid_styled_content/11.5/src/Resources/Private/Layouts/Page/Default.html.twig new file mode 100644 index 00000000..ad57953f --- /dev/null +++ b/resources/packages/fluid_styled_content/11.5/src/Resources/Private/Layouts/Page/Default.html.twig @@ -0,0 +1,21 @@ + + diff --git a/resources/packages/fluid_styled_content/11.5/src/Resources/Private/Partials/ContentElements/.gitkeep b/resources/packages/fluid_styled_content/11.5/src/Resources/Private/Partials/ContentElements/.gitkeep new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/resources/packages/fluid_styled_content/11.5/src/Resources/Private/Partials/ContentElements/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/fluid_styled_content/11.5/src/Resources/Private/Partials/Page/.gitkeep b/resources/packages/fluid_styled_content/11.5/src/Resources/Private/Partials/Page/.gitkeep new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/resources/packages/fluid_styled_content/11.5/src/Resources/Private/Partials/Page/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/fluid_styled_content/11.5/src/Resources/Private/Templates/ContentElements/.gitkeep b/resources/packages/fluid_styled_content/11.5/src/Resources/Private/Templates/ContentElements/.gitkeep new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/resources/packages/fluid_styled_content/11.5/src/Resources/Private/Templates/ContentElements/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/fluid_styled_content/11.5/src/Resources/Private/Templates/Page/Default.html.twig b/resources/packages/fluid_styled_content/11.5/src/Resources/Private/Templates/Page/Default.html.twig new file mode 100644 index 00000000..312fc91f --- /dev/null +++ b/resources/packages/fluid_styled_content/11.5/src/Resources/Private/Templates/Page/Default.html.twig @@ -0,0 +1,19 @@ + + + +
+
+
Template file
+
+ typo3conf/ext/{{ package.extensionKey }}/Resources/Private/Templates/Page/Default.html +
+
Backend Configuration
+
+ typo3conf/ext/{{ package.extensionKey }}/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts/default.tsconfig +
+
+
+ + + +
diff --git a/resources/packages/fluid_styled_content/11.5/src/Resources/Public/Css/layout.css b/resources/packages/fluid_styled_content/11.5/src/Resources/Public/Css/layout.css new file mode 100644 index 00000000..e69de29b diff --git a/resources/packages/fluid_styled_content/11.5/src/Resources/Public/Css/layout.min.css b/resources/packages/fluid_styled_content/11.5/src/Resources/Public/Css/layout.min.css new file mode 100644 index 00000000..e69de29b diff --git a/resources/packages/fluid_styled_content/11.5/src/Resources/Public/Css/rte.css.twig b/resources/packages/fluid_styled_content/11.5/src/Resources/Public/Css/rte.css.twig new file mode 100644 index 00000000..1ce5278d --- /dev/null +++ b/resources/packages/fluid_styled_content/11.5/src/Resources/Public/Css/rte.css.twig @@ -0,0 +1,3 @@ +/** + * Created from sitepackagebuilder.com + */ diff --git a/resources/packages/fluid_styled_content/11.5/src/Resources/Public/Fonts/.gitkeep b/resources/packages/fluid_styled_content/11.5/src/Resources/Public/Fonts/.gitkeep new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/resources/packages/fluid_styled_content/11.5/src/Resources/Public/Fonts/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/fluid_styled_content/11.5/src/Resources/Public/Icons/Extension.svg b/resources/packages/fluid_styled_content/11.5/src/Resources/Public/Icons/Extension.svg new file mode 100644 index 00000000..d8536373 --- /dev/null +++ b/resources/packages/fluid_styled_content/11.5/src/Resources/Public/Icons/Extension.svg @@ -0,0 +1,3 @@ + + + diff --git a/resources/packages/fluid_styled_content/11.5/src/Resources/Public/Icons/favicon.ico b/resources/packages/fluid_styled_content/11.5/src/Resources/Public/Icons/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..46d4c14df35ee4ccdf7c5a7eba53f00bc4457963 GIT binary patch literal 1150 zcmaKszb^zq6vrP&t{`y*Vj}8oqXL6Y$R~|E{BN6xxSFH~V-8J?S315x+S4 zj-Y)ybmKo(YfpQ6?x1gZYOBicJEMBKKl2?Y;7851p!}yw*Ju2g^_YOA4@`k=u$$QG%PiuMovJt++@ORg$yF+-?obfjA|?e@V(Z#s}~VJtDD0 literal 0 HcmV?d00001 diff --git a/resources/packages/fluid_styled_content/11.5/src/Resources/Public/Images/BackendLayouts/default.png b/resources/packages/fluid_styled_content/11.5/src/Resources/Public/Images/BackendLayouts/default.png new file mode 100644 index 0000000000000000000000000000000000000000..0bed87019c8f61d46b9493157358054e2af23994 GIT binary patch literal 182 zcmeAS@N?(olHy`uVBq!ia0vp^MnLSq!3HEFuBuc6saj7L$B>N1x3?X6TLMH_4jxZ? zT5x1PQ{RuD+D*PICg`zVW=f0BUR&At{>+(;^8W94Jl%8dr;Y8Sc&>{gi!@z=JC+If mD$a5;Y0V%};H~cVZu$S++?AJ4w7LNu!r '{{ package.title }}', + 'description' => '{{ package.description }}', + 'category' => 'templates', + 'constraints' => [ + 'depends' => [ + 'typo3' => '11.5.0-11.5.99', + 'fluid_styled_content' => '11.5.0-11.5.99', + 'rte_ckeditor' => '11.5.0-11.5.99', + ], + 'conflicts' => [ + ], + ], + 'autoload' => [ + 'psr-4' => [ + '{{ package.vendorName }}\\{{ package.packageName }}\\' => 'Classes', + ], + ], + 'state' => 'stable', + 'uploadfolder' => 0, + 'createDirs' => '', + 'clearCacheOnLoad' => 1, + 'author' => '{{ package.author.name }}', + 'author_email' => '{{ package.author.email }}', + 'author_company' => '{{ package.author.company }}', + 'version' => '1.0.0', +]; diff --git a/resources/packages/fluid_styled_content/11.5/src/ext_localconf.php.twig b/resources/packages/fluid_styled_content/11.5/src/ext_localconf.php.twig new file mode 100644 index 00000000..501803a3 --- /dev/null +++ b/resources/packages/fluid_styled_content/11.5/src/ext_localconf.php.twig @@ -0,0 +1,13 @@ +'); diff --git a/resources/packages/fluid_styled_content/11.5/src/ext_tables.php.twig b/resources/packages/fluid_styled_content/11.5/src/ext_tables.php.twig new file mode 100644 index 00000000..07154a9b --- /dev/null +++ b/resources/packages/fluid_styled_content/11.5/src/ext_tables.php.twig @@ -0,0 +1,3 @@ +Resources/', + sass: '<%= paths.resources %>Public/Scss/', + css: '<%= paths.resources %>Public/Css/', + fonts: '<%= paths.resources %>Public/Fonts/', + img: '<%= paths.resources %>Public/Images/', + js: '<%= paths.resources %>Public/JavaScript/' + }, + banner: '/*!\n' + + ' * {{ package.title }} v<%= pkg.version %> (<%= pkg.homepage %>)\n' + + ' * Copyright 2017-<%= grunt.template.today("yyyy") %> <%= pkg.author %>\n' + + ' * Licensed under the <%= pkg.license %> license\n' + + ' */\n', + uglify: { + all: { + options: { + banner: '<%= banner %>', + mangle: true, + compress: true, + beautify: false + }, + files: { + "<%= paths.js %>/Dist/scripts.js": [ + "<%= paths.js %>Src/main.js" + ] + } + } + }, + sass: { + options: { + implementation: sass, + outputStyle: 'expanded', + precision: 8, + sourceMap: false + }, + layout: { + files: { + '<%= paths.css %>layout.css': '<%= paths.sass %>layout.scss' + } + } + }, + postcss: { + options: { + map: false, + processors: [ + require('autoprefixer')({ + browsers: [ + 'Last 2 versions', + 'Firefox ESR', + 'IE 9' + ] + }) + ] + }, + layout: { + src: '<%= paths.css %>layout.css' + } + }, + cssmin: { + options: { + keepSpecialComments: '*', + advanced: false + }, + layout: { + src: '<%= paths.css %>layout.css', + dest: '<%= paths.css %>layout.min.css' + } + }, + imagemin: { + extension: { + files: [{ + expand: true, + cwd: '<%= paths.resources %>', + src: [ + '**/*.{png,jpg,gif}' + ], + dest: '<%= paths.resources %>' + }] + } + }, + watch: { + options: { + livereload: true + }, + sass: { + files: '<%= paths.sass %>**/*.scss', + tasks: ['css'] + }, + javascript: { + files: '<%= paths.js %>Src/**/*.js', + tasks: ['js'] + } + } + }); + + /** + * Register tasks + // */ + grunt.loadNpmTasks('grunt-contrib-cssmin'); + grunt.loadNpmTasks('grunt-contrib-uglify'); + grunt.loadNpmTasks('grunt-contrib-watch'); + grunt.loadNpmTasks('grunt-contrib-imagemin'); + grunt.loadNpmTasks('grunt-postcss'); + grunt.loadNpmTasks('grunt-sass'); + + /** + * Grunt update task + */ + grunt.registerTask('css', ['sass', 'postcss', 'cssmin']); + grunt.registerTask('js', ['uglify']); + grunt.registerTask('build', ['js', 'css', 'imagemin']); + grunt.registerTask('default', ['build']); + +}; diff --git a/resources/packages/fluid_styled_content/12.4/src/Build/package.json.twig b/resources/packages/fluid_styled_content/12.4/src/Build/package.json.twig new file mode 100644 index 00000000..a870947b --- /dev/null +++ b/resources/packages/fluid_styled_content/12.4/src/Build/package.json.twig @@ -0,0 +1,28 @@ +{ + "name": "{{ package.vendorNameAlternative }}-{{ package.packageNameAlternative }}", + "description": "{{ package.description }}", + "repository": { + "type": "git", + "url": "{{ package.repositoryUrl }}" + }, + "homepage": "{{ package.author.homepage }}", + "author": "{{ package.author.name }}", + "version": "1.0.0", + "license": "GPL-2.0-or-later", + "devDependencies": { + "grunt": "^1.0.4", + "grunt-contrib-cssmin": "^3.0.0", + "grunt-contrib-uglify": "^4.0.1", + "grunt-contrib-watch": "^1.1.0", + "grunt-contrib-imagemin": "^3.1.0", + "grunt-postcss": "^0.9.0", + "grunt-sass": "^3.0.2", + "autoprefixer": "^9.5.0", + "node-sass": "^4.11.0" + }, + "scripts": { + "build": "./node_modules/.bin/grunt", + "css": "./node_modules/.bin/grunt css", + "watch": "./node_modules/.bin/grunt watch" + } +} diff --git a/resources/packages/fluid_styled_content/12.4/src/Classes/.htaccess b/resources/packages/fluid_styled_content/12.4/src/Classes/.htaccess new file mode 100644 index 00000000..93169e4e --- /dev/null +++ b/resources/packages/fluid_styled_content/12.4/src/Classes/.htaccess @@ -0,0 +1,2 @@ +Order deny,allow +Deny from all diff --git a/resources/packages/fluid_styled_content/12.4/src/Classes/Controller/.gitkeep b/resources/packages/fluid_styled_content/12.4/src/Classes/Controller/.gitkeep new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/resources/packages/fluid_styled_content/12.4/src/Classes/Controller/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/fluid_styled_content/12.4/src/Classes/Domain/.gitkeep b/resources/packages/fluid_styled_content/12.4/src/Classes/Domain/.gitkeep new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/resources/packages/fluid_styled_content/12.4/src/Classes/Domain/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/fluid_styled_content/12.4/src/Classes/Domain/Model/.gitkeep b/resources/packages/fluid_styled_content/12.4/src/Classes/Domain/Model/.gitkeep new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/resources/packages/fluid_styled_content/12.4/src/Classes/Domain/Model/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/fluid_styled_content/12.4/src/Classes/Domain/Repository/.gitkeep b/resources/packages/fluid_styled_content/12.4/src/Classes/Domain/Repository/.gitkeep new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/resources/packages/fluid_styled_content/12.4/src/Classes/Domain/Repository/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/fluid_styled_content/12.4/src/Classes/ViewHelpers/.gitkeep b/resources/packages/fluid_styled_content/12.4/src/Classes/ViewHelpers/.gitkeep new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/resources/packages/fluid_styled_content/12.4/src/Classes/ViewHelpers/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/fluid_styled_content/12.4/src/Configuration/.htaccess b/resources/packages/fluid_styled_content/12.4/src/Configuration/.htaccess new file mode 100644 index 00000000..93169e4e --- /dev/null +++ b/resources/packages/fluid_styled_content/12.4/src/Configuration/.htaccess @@ -0,0 +1,2 @@ +Order deny,allow +Deny from all diff --git a/resources/packages/fluid_styled_content/12.4/src/Configuration/RTE/Default.yaml.twig b/resources/packages/fluid_styled_content/12.4/src/Configuration/RTE/Default.yaml.twig new file mode 100644 index 00000000..5d5556da --- /dev/null +++ b/resources/packages/fluid_styled_content/12.4/src/Configuration/RTE/Default.yaml.twig @@ -0,0 +1,42 @@ +imports: + - { resource: "EXT:rte_ckeditor/Configuration/RTE/Processing.yaml" } + - { resource: "EXT:rte_ckeditor/Configuration/RTE/Editor/Base.yaml" } + - { resource: "EXT:rte_ckeditor/Configuration/RTE/Editor/Plugins.yaml" } + +editor: + config: + contentsCss: "EXT:{{ package.extensionKey }}/Resources/Public/Css/rte.css" + + stylesSet: + - { name: "Lead", element: "p", attributes: { 'class': 'lead' } } + + toolbarGroups: + - { name: styles, groups: [ format, styles ] } + - { name: basicstyles, groups: [ basicstyles ] } + - { name: paragraph, groups: [ list, indent, blocks, align ] } + - "/" + - { name: links, groups: [ links ] } + - { name: clipboard, groups: [ clipboard, cleanup, undo ] } + - { name: editing, groups: [ spellchecker ] } + - { name: insert, groups: [ insert ] } + - { name: tools, groups: [ table, specialchar ] } + - { name: document, groups: [ mode ] } + + format_tags: "p;h1;h2;h3;h4;h5;pre" + + justifyClasses: + - text-left + - text-center + - text-right + - text-justify + + extraPlugins: + - justify + + removePlugins: + - image + + removeButtons: + - Anchor + - Underline + - Strike diff --git a/resources/packages/fluid_styled_content/12.4/src/Configuration/TCA/Overrides/pages.php.twig b/resources/packages/fluid_styled_content/12.4/src/Configuration/TCA/Overrides/pages.php.twig new file mode 100644 index 00000000..e8466826 --- /dev/null +++ b/resources/packages/fluid_styled_content/12.4/src/Configuration/TCA/Overrides/pages.php.twig @@ -0,0 +1,20 @@ + + + + diff --git a/resources/packages/fluid_styled_content/12.4/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts.tsconfig.twig b/resources/packages/fluid_styled_content/12.4/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts.tsconfig.twig new file mode 100644 index 00000000..8213cfae --- /dev/null +++ b/resources/packages/fluid_styled_content/12.4/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts.tsconfig.twig @@ -0,0 +1,4 @@ +# +# BACKENDLAYOUTS +# + diff --git a/resources/packages/fluid_styled_content/12.4/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts/default.tsconfig.twig b/resources/packages/fluid_styled_content/12.4/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts/default.tsconfig.twig new file mode 100644 index 00000000..a16a9db6 --- /dev/null +++ b/resources/packages/fluid_styled_content/12.4/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts/default.tsconfig.twig @@ -0,0 +1,29 @@ +# +# BACKENDLAYOUT: DEFAULT +# +mod { + web_layout { + BackendLayouts { + default { + title = LLL:EXT:{{ package.extensionKey }}/Resources/Private/Language/locallang_be.xlf:backend_layout.default + config { + backend_layout { + colCount = 1 + rowCount = 1 + rows { + 1 { + columns { + 1 { + name = LLL:EXT:{{ package.extensionKey }}/Resources/Private/Language/locallang_be.xlf:backend_layout.column.normal + colPos = 0 + } + } + } + } + } + } + icon = EXT:{{ package.extensionKey }}/Resources/Public/Images/BackendLayouts/default.png + } + } + } +} diff --git a/resources/packages/fluid_styled_content/12.4/src/Configuration/TsConfig/Page/RTE.tsconfig.twig b/resources/packages/fluid_styled_content/12.4/src/Configuration/TsConfig/Page/RTE.tsconfig.twig new file mode 100644 index 00000000..38353247 --- /dev/null +++ b/resources/packages/fluid_styled_content/12.4/src/Configuration/TsConfig/Page/RTE.tsconfig.twig @@ -0,0 +1,8 @@ +############# +#### RTE #### +############# +RTE { + default { + preset = {{ package.extensionKey }} + } +} diff --git a/resources/packages/fluid_styled_content/12.4/src/Configuration/TsConfig/Page/TCEFORM.tsconfig.twig b/resources/packages/fluid_styled_content/12.4/src/Configuration/TsConfig/Page/TCEFORM.tsconfig.twig new file mode 100644 index 00000000..55f97ce7 --- /dev/null +++ b/resources/packages/fluid_styled_content/12.4/src/Configuration/TsConfig/Page/TCEFORM.tsconfig.twig @@ -0,0 +1,11 @@ +# +# TCEFORM +# +TCEFORM { + pages { + + } + tt_content { + + } +} diff --git a/resources/packages/fluid_styled_content/12.4/src/Configuration/TsConfig/Page/TCEMAIN.tsconfig.twig b/resources/packages/fluid_styled_content/12.4/src/Configuration/TsConfig/Page/TCEMAIN.tsconfig.twig new file mode 100644 index 00000000..9d4a5e4e --- /dev/null +++ b/resources/packages/fluid_styled_content/12.4/src/Configuration/TsConfig/Page/TCEMAIN.tsconfig.twig @@ -0,0 +1,6 @@ +# +# TCEMAIN +# +TCEMAIN { + +} diff --git a/resources/packages/fluid_styled_content/12.4/src/Configuration/TypoScript/Helper/DynamicContent.typoscript.twig b/resources/packages/fluid_styled_content/12.4/src/Configuration/TypoScript/Helper/DynamicContent.typoscript.twig new file mode 100644 index 00000000..993b020b --- /dev/null +++ b/resources/packages/fluid_styled_content/12.4/src/Configuration/TypoScript/Helper/DynamicContent.typoscript.twig @@ -0,0 +1,64 @@ +################################################ +#### DYNAMIC CONTENT LIB FOR USAGE IN FLUID #### +################################################ +# +# EXAMPLE +# --------------- +# |'}" /> +# +# +# COLUMN NUMBERS +# --------------- +# +# 0 = main +# 1 = left +# 2 = right +# 3 = border +# +################# +lib.dynamicContent = COA +lib.dynamicContent { + 5 = LOAD_REGISTER + 5 { + colPos.cObject = TEXT + colPos.cObject { + field = colPos + ifEmpty.cObject = TEXT + ifEmpty.cObject { + value.current = 1 + ifEmpty = 0 + } + } + pageUid.cObject = TEXT + pageUid.cObject { + field = pageUid + ifEmpty.data = TSFE:id + } + contentFromPid.cObject = TEXT + contentFromPid.cObject { + data = DB:pages:{register:pageUid}:content_from_pid + data.insertData = 1 + } + wrap.cObject = TEXT + wrap.cObject { + field = wrap + } + } + 20 = CONTENT + 20 { + table = tt_content + select { + includeRecordsWithoutDefaultTranslation = 1 + orderBy = sorting + where = {{ '{#colPos}={register:colPos}' }} + where.insertData = 1 + pidInList.data = register:pageUid + pidInList.override.data = register:contentFromPid + } + stdWrap { + dataWrap = {register:wrap} + required = 1 + } + } + 90 = RESTORE_REGISTER +} diff --git a/resources/packages/fluid_styled_content/12.4/src/Configuration/TypoScript/constants.typoscript.twig b/resources/packages/fluid_styled_content/12.4/src/Configuration/TypoScript/constants.typoscript.twig new file mode 100644 index 00000000..1a79054a --- /dev/null +++ b/resources/packages/fluid_styled_content/12.4/src/Configuration/TypoScript/constants.typoscript.twig @@ -0,0 +1,56 @@ +###################### +#### DEPENDENCIES #### +###################### + + + +############################## +#### FLUID STYLED CONTENT #### +############################## +styles { + templates { + layoutRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Layouts/ContentElements/ + partialRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Partials/ContentElements/ + templateRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Templates/ContentElements/ + } +} + + +############ +### PAGE ### +############ +page { + fluidtemplate { + layoutRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Layouts/Page/ + partialRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Partials/Page/ + templateRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Templates/Page/ + } + meta { + description = + author = + keywords = + viewport = width=device-width, initial-scale=1 + robots = index,follow + apple-mobile-web-app-capable = no + compatible = IE=edge + } + tracking { + google { + trackingID = + anonymizeIp = 1 + } + } +} + + +############## +### CONFIG ### +############## +config { + no_cache = 0 + removeDefaultJS = 0 + admPanel = 1 + prefixLocalAnchors = all + headerComment = build by sitepackagebuilder.com + sendCacheHeaders = 1 +} diff --git a/resources/packages/fluid_styled_content/12.4/src/Configuration/TypoScript/setup.typoscript.twig b/resources/packages/fluid_styled_content/12.4/src/Configuration/TypoScript/setup.typoscript.twig new file mode 100644 index 00000000..1f765576 --- /dev/null +++ b/resources/packages/fluid_styled_content/12.4/src/Configuration/TypoScript/setup.typoscript.twig @@ -0,0 +1,203 @@ +###################### +#### DEPENDENCIES #### +###################### + + + +################ +#### HELPER #### +################ + + + +############## +#### PAGE #### +############## +page = PAGE +page { + typeNum = 0 + shortcutIcon = EXT:{{ package.extensionKey }}/Resources/Public/Icons/favicon.ico + + 10 = FLUIDTEMPLATE + 10 { + # Template names will be generated automatically by converting the applied + # backend_layout, there is no explicit mapping necessary anymore. + # + # BackendLayout Key + # subnavigation_right_2_columns -> SubnavigationRight2Columns.html + # + # Backend Record + # uid: 1 -> 1.html + # + # Database Entry + # value: -1 -> None.html + # value: pagets__subnavigation_right_2_columns -> SubnavigationRight2Columns.html + templateName = TEXT + templateName { + cObject = TEXT + cObject { + data = pagelayout + required = 1 + case = uppercamelcase + split { + token = pagets__ + cObjNum = 1 + 1.current = 1 + } + } + ifEmpty = Default + } + templateRootPaths { + 0 = EXT:{{ package.extensionKey }}/Resources/Private/Templates/Page/ + 1 = {$page.fluidtemplate.templateRootPath} + } + partialRootPaths { + 0 = EXT:{{ package.extensionKey }}/Resources/Private/Partials/Page/ + 1 = {$page.fluidtemplate.partialRootPath} + } + layoutRootPaths { + 0 = EXT:{{ package.extensionKey }}/Resources/Private/Layouts/Page/ + 1 = {$page.fluidtemplate.layoutRootPath} + } + dataProcessing { + 10 = TYPO3\CMS\Frontend\DataProcessing\FilesProcessor + 10 { + references.fieldName = media + } + 20 = TYPO3\CMS\Frontend\DataProcessing\MenuProcessor + 20 { + levels = 2 + includeSpacer = 1 + as = mainnavigation + } + } + } + + meta { + viewport = {$page.meta.viewport} + robots = {$page.meta.robots} + apple-mobile-web-app-capable = {$page.meta.apple-mobile-web-app-capable} + description = {$page.meta.description} + description { + override.field = description + } + author = {$page.meta.author} + author { + override.field = author + } + keywords = {$page.meta.keywords} + keywords { + override.field = keywords + } + X-UA-Compatible = {$page.meta.compatible} + X-UA-Compatible { + attribute = http-equiv + } + + # OpenGraph Tags + og:title { + attribute = property + field = title + } + og:site_name { + attribute = property + data = TSFE:tmpl|setup|sitetitle + } + og:description = {$page.meta.description} + og:description { + attribute = property + field = description + } + og:image { + attribute = property + stdWrap.cObject = FILES + stdWrap.cObject { + references { + data = levelfield:-1, media, slide + } + maxItems = 1 + renderObj = COA + renderObj { + 10 = IMG_RESOURCE + 10 { + file { + import.data = file:current:uid + treatIdAsReference = 1 + width = 1280c + height = 720c + } + stdWrap { + typolink { + parameter.data = TSFE:lastImgResourceInfo|3 + returnLast = url + forceAbsoluteUrl = 1 + } + } + } + } + } + } + } + + includeCSSLibs { + + } + + includeCSS { + {{ package.extensionKey }}_layout = EXT:{{ package.extensionKey }}/Resources/Public/Css/layout.min.css + } + + includeJSLibs { + + } + + includeJS { + + } + + includeJSFooterlibs { + + } + + includeJSFooter { + {{ package.extensionKey }}_scripts = EXT:{{ package.extensionKey }}/Resources/Public/JavaScript/Dist/scripts.js + } +} + + +################ +#### CONFIG #### +################ +config { + absRefPrefix = auto + no_cache = {$config.no_cache} + uniqueLinkVars = 1 + pageTitleFirst = 1 + linkVars = L + prefixLocalAnchors = {$config.prefixLocalAnchors} + renderCharset = utf-8 + metaCharset = utf-8 + doctype = html5 + removeDefaultJS = {$config.removeDefaultJS} + inlineStyle2TempFile = 1 + admPanel = {$config.admPanel} + debug = 0 + cache_period = 86400 + sendCacheHeaders = {$config.sendCacheHeaders} + intTarget = + extTarget = + disablePrefixComment = 1 + index_enable = 1 + index_externals = 1 + index_metatags = 1 + headerComment = {$config.headerComment} + + // Disable Image Upscaling + noScaleUp = 1 + + // Compression and Concatenation of CSS and JS Files + compressJs = 0 + compressCss = 0 + concatenateJs = 0 + concatenateCss = 0 +} diff --git a/resources/packages/fluid_styled_content/12.4/src/README.md.twig b/resources/packages/fluid_styled_content/12.4/src/README.md.twig new file mode 100644 index 00000000..8b095c79 --- /dev/null +++ b/resources/packages/fluid_styled_content/12.4/src/README.md.twig @@ -0,0 +1,4 @@ +Sitepackage for the project "{{ package.title }}" +============================================================== + +Add some explanation here. diff --git a/resources/packages/fluid_styled_content/12.4/src/Resources/Private/.htaccess b/resources/packages/fluid_styled_content/12.4/src/Resources/Private/.htaccess new file mode 100644 index 00000000..93169e4e --- /dev/null +++ b/resources/packages/fluid_styled_content/12.4/src/Resources/Private/.htaccess @@ -0,0 +1,2 @@ +Order deny,allow +Deny from all diff --git a/resources/packages/fluid_styled_content/12.4/src/Resources/Private/Language/locallang.xlf.twig b/resources/packages/fluid_styled_content/12.4/src/Resources/Private/Language/locallang.xlf.twig new file mode 100644 index 00000000..5aea2770 --- /dev/null +++ b/resources/packages/fluid_styled_content/12.4/src/Resources/Private/Language/locallang.xlf.twig @@ -0,0 +1,11 @@ + + + +
+ {{ package.author.name }} + {{ package.author.email }} +
+ + +
+
diff --git a/resources/packages/fluid_styled_content/12.4/src/Resources/Private/Language/locallang_be.xlf.twig b/resources/packages/fluid_styled_content/12.4/src/Resources/Private/Language/locallang_be.xlf.twig new file mode 100644 index 00000000..fb3e2d8e --- /dev/null +++ b/resources/packages/fluid_styled_content/12.4/src/Resources/Private/Language/locallang_be.xlf.twig @@ -0,0 +1,17 @@ + + + +
+ {{ package.author.name }} + {{ package.author.email }} +
+ + + Default + + + Normal + + +
+
diff --git a/resources/packages/fluid_styled_content/12.4/src/Resources/Private/Language/locallang_db.xlf.twig b/resources/packages/fluid_styled_content/12.4/src/Resources/Private/Language/locallang_db.xlf.twig new file mode 100644 index 00000000..5aea2770 --- /dev/null +++ b/resources/packages/fluid_styled_content/12.4/src/Resources/Private/Language/locallang_db.xlf.twig @@ -0,0 +1,11 @@ + + + +
+ {{ package.author.name }} + {{ package.author.email }} +
+ + +
+
diff --git a/resources/packages/fluid_styled_content/12.4/src/Resources/Private/Layouts/ContentElements/.gitkeep b/resources/packages/fluid_styled_content/12.4/src/Resources/Private/Layouts/ContentElements/.gitkeep new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/resources/packages/fluid_styled_content/12.4/src/Resources/Private/Layouts/ContentElements/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/fluid_styled_content/12.4/src/Resources/Private/Layouts/Page/Default.html.twig b/resources/packages/fluid_styled_content/12.4/src/Resources/Private/Layouts/Page/Default.html.twig new file mode 100644 index 00000000..ad57953f --- /dev/null +++ b/resources/packages/fluid_styled_content/12.4/src/Resources/Private/Layouts/Page/Default.html.twig @@ -0,0 +1,21 @@ + + diff --git a/resources/packages/fluid_styled_content/12.4/src/Resources/Private/Partials/ContentElements/.gitkeep b/resources/packages/fluid_styled_content/12.4/src/Resources/Private/Partials/ContentElements/.gitkeep new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/resources/packages/fluid_styled_content/12.4/src/Resources/Private/Partials/ContentElements/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/fluid_styled_content/12.4/src/Resources/Private/Partials/Page/.gitkeep b/resources/packages/fluid_styled_content/12.4/src/Resources/Private/Partials/Page/.gitkeep new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/resources/packages/fluid_styled_content/12.4/src/Resources/Private/Partials/Page/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/fluid_styled_content/12.4/src/Resources/Private/Templates/ContentElements/.gitkeep b/resources/packages/fluid_styled_content/12.4/src/Resources/Private/Templates/ContentElements/.gitkeep new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/resources/packages/fluid_styled_content/12.4/src/Resources/Private/Templates/ContentElements/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/fluid_styled_content/12.4/src/Resources/Private/Templates/Page/Default.html.twig b/resources/packages/fluid_styled_content/12.4/src/Resources/Private/Templates/Page/Default.html.twig new file mode 100644 index 00000000..312fc91f --- /dev/null +++ b/resources/packages/fluid_styled_content/12.4/src/Resources/Private/Templates/Page/Default.html.twig @@ -0,0 +1,19 @@ + + + +
+
+
Template file
+
+ typo3conf/ext/{{ package.extensionKey }}/Resources/Private/Templates/Page/Default.html +
+
Backend Configuration
+
+ typo3conf/ext/{{ package.extensionKey }}/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts/default.tsconfig +
+
+
+ + + +
diff --git a/resources/packages/fluid_styled_content/12.4/src/Resources/Public/Css/layout.css b/resources/packages/fluid_styled_content/12.4/src/Resources/Public/Css/layout.css new file mode 100644 index 00000000..e69de29b diff --git a/resources/packages/fluid_styled_content/12.4/src/Resources/Public/Css/layout.min.css b/resources/packages/fluid_styled_content/12.4/src/Resources/Public/Css/layout.min.css new file mode 100644 index 00000000..e69de29b diff --git a/resources/packages/fluid_styled_content/12.4/src/Resources/Public/Css/rte.css.twig b/resources/packages/fluid_styled_content/12.4/src/Resources/Public/Css/rte.css.twig new file mode 100644 index 00000000..1ce5278d --- /dev/null +++ b/resources/packages/fluid_styled_content/12.4/src/Resources/Public/Css/rte.css.twig @@ -0,0 +1,3 @@ +/** + * Created from sitepackagebuilder.com + */ diff --git a/resources/packages/fluid_styled_content/12.4/src/Resources/Public/Fonts/.gitkeep b/resources/packages/fluid_styled_content/12.4/src/Resources/Public/Fonts/.gitkeep new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/resources/packages/fluid_styled_content/12.4/src/Resources/Public/Fonts/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/fluid_styled_content/12.4/src/Resources/Public/Icons/Extension.svg b/resources/packages/fluid_styled_content/12.4/src/Resources/Public/Icons/Extension.svg new file mode 100644 index 00000000..d8536373 --- /dev/null +++ b/resources/packages/fluid_styled_content/12.4/src/Resources/Public/Icons/Extension.svg @@ -0,0 +1,3 @@ + + + diff --git a/resources/packages/fluid_styled_content/12.4/src/Resources/Public/Icons/favicon.ico b/resources/packages/fluid_styled_content/12.4/src/Resources/Public/Icons/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..46d4c14df35ee4ccdf7c5a7eba53f00bc4457963 GIT binary patch literal 1150 zcmaKszb^zq6vrP&t{`y*Vj}8oqXL6Y$R~|E{BN6xxSFH~V-8J?S315x+S4 zj-Y)ybmKo(YfpQ6?x1gZYOBicJEMBKKl2?Y;7851p!}yw*Ju2g^_YOA4@`k=u$$QG%PiuMovJt++@ORg$yF+-?obfjA|?e@V(Z#s}~VJtDD0 literal 0 HcmV?d00001 diff --git a/resources/packages/fluid_styled_content/12.4/src/Resources/Public/Images/BackendLayouts/default.png b/resources/packages/fluid_styled_content/12.4/src/Resources/Public/Images/BackendLayouts/default.png new file mode 100644 index 0000000000000000000000000000000000000000..0bed87019c8f61d46b9493157358054e2af23994 GIT binary patch literal 182 zcmeAS@N?(olHy`uVBq!ia0vp^MnLSq!3HEFuBuc6saj7L$B>N1x3?X6TLMH_4jxZ? zT5x1PQ{RuD+D*PICg`zVW=f0BUR&At{>+(;^8W94Jl%8dr;Y8Sc&>{gi!@z=JC+If mD$a5;Y0V%};H~cVZu$S++?AJ4w7LNu!r '{{ package.title }}', + 'description' => '{{ package.description }}', + 'category' => 'templates', + 'constraints' => [ + 'depends' => [ + 'typo3' => '12.4.0-12.4.99', + 'fluid_styled_content' => '12.4.0-12.4.99', + 'rte_ckeditor' => '12.4.0-12.4.99', + ], + 'conflicts' => [ + ], + ], + 'autoload' => [ + 'psr-4' => [ + '{{ package.vendorName }}\\{{ package.packageName }}\\' => 'Classes', + ], + ], + 'state' => 'stable', + 'uploadfolder' => 0, + 'createDirs' => '', + 'clearCacheOnLoad' => 1, + 'author' => '{{ package.author.name }}', + 'author_email' => '{{ package.author.email }}', + 'author_company' => '{{ package.author.company }}', + 'version' => '1.0.0', +]; diff --git a/resources/packages/fluid_styled_content/12.4/src/ext_localconf.php.twig b/resources/packages/fluid_styled_content/12.4/src/ext_localconf.php.twig new file mode 100644 index 00000000..501803a3 --- /dev/null +++ b/resources/packages/fluid_styled_content/12.4/src/ext_localconf.php.twig @@ -0,0 +1,13 @@ +'); diff --git a/resources/packages/fluid_styled_content/12.4/src/ext_tables.php.twig b/resources/packages/fluid_styled_content/12.4/src/ext_tables.php.twig new file mode 100644 index 00000000..07154a9b --- /dev/null +++ b/resources/packages/fluid_styled_content/12.4/src/ext_tables.php.twig @@ -0,0 +1,3 @@ +|'}" /> +# +# +# COLUMN NUMBERS +# --------------- +# +# 0 = main +# 1 = left +# 2 = right +# 3 = border +# +################# +lib.dynamicContent = COA +lib.dynamicContent { + 5 = LOAD_REGISTER + 5 { + colPos.cObject = TEXT + colPos.cObject { + field = colPos + ifEmpty.cObject = TEXT + ifEmpty.cObject { + value.current = 1 + ifEmpty = 0 + } + } + pageUid.cObject = TEXT + pageUid.cObject { + field = pageUid + ifEmpty.data = TSFE:id + } + contentFromPid.cObject = TEXT + contentFromPid.cObject { + data = DB:pages:{register:pageUid}:content_from_pid + data.insertData = 1 + } + wrap.cObject = TEXT + wrap.cObject { + field = wrap + } + } + 20 = CONTENT + 20 { + table = tt_content + select { + includeRecordsWithoutDefaultTranslation = 1 + orderBy = sorting + where = {{ '{#colPos}={register:colPos}' }} + where.insertData = 1 + pidInList.data = register:pageUid + pidInList.override.data = register:contentFromPid + } + stdWrap { + dataWrap = {register:wrap} + required = 1 + } + } + 90 = RESTORE_REGISTER +} diff --git a/resources/packages/fluid_styled_content/13.4/src/Configuration/Sets/SitePackage/config.yaml.twig b/resources/packages/fluid_styled_content/13.4/src/Configuration/Sets/SitePackage/config.yaml.twig new file mode 100644 index 00000000..05ab79d2 --- /dev/null +++ b/resources/packages/fluid_styled_content/13.4/src/Configuration/Sets/SitePackage/config.yaml.twig @@ -0,0 +1,5 @@ +name: {{ package.vendorNameAlternative }}/{{ package.packageNameAlternative }} +label: '{{ package.title }}' +dependencies: + - typo3/fluid-styled-content + - typo3/fluid-styled-content-css diff --git a/resources/packages/fluid_styled_content/13.4/src/Configuration/Sets/SitePackage/page.tsconfig.twig b/resources/packages/fluid_styled_content/13.4/src/Configuration/Sets/SitePackage/page.tsconfig.twig new file mode 100644 index 00000000..1be067c8 --- /dev/null +++ b/resources/packages/fluid_styled_content/13.4/src/Configuration/Sets/SitePackage/page.tsconfig.twig @@ -0,0 +1,21 @@ +@import './PageTsConfig/BackendLayouts/' + +RTE { + default { + preset = {{ package.extensionKey }} + } +} + +TCEFORM { + pages { + + } + tt_content { + + } +} + +TCEMAIN { + +} + diff --git a/resources/packages/fluid_styled_content/13.4/src/Configuration/Sets/SitePackage/settings.yaml.twig b/resources/packages/fluid_styled_content/13.4/src/Configuration/Sets/SitePackage/settings.yaml.twig new file mode 100644 index 00000000..bc6f8e57 --- /dev/null +++ b/resources/packages/fluid_styled_content/13.4/src/Configuration/Sets/SitePackage/settings.yaml.twig @@ -0,0 +1,30 @@ +styles: + templates: + layoutRootPath: 'EXT:{{ package.extensionKey }}/Resources/Private/Layouts/ContentElements/' + partialRootPath: 'EXT:{{ package.extensionKey }}/Resources/Private/Partials/ContentElements/' + templateRootPath: 'EXT:{{ package.extensionKey }}/Resources/Private/Templates/ContentElements/' + +page: + fluidtemplate: + layoutRootPath: 'EXT:{{ package.extensionKey }}/Resources/Private/Layouts/Page/' + partialRootPath: 'EXT:{{ package.extensionKey }}/Resources/Private/Partials/Page/' + templateRootPath: 'EXT:{{ package.extensionKey }}/Resources/Private/Templates/Page/' + + meta: + viewport: 'width=device-width, initial-scale=1' + robots: 'index,follow' + apple-mobile-web-app-capable: 'no' + compatible: 'IE=edge' + + tracking: + google: + trackingID: '' + anonymizeIp: '1' + +config: + no_cache: '0' + removeDefaultJS: '0' + admPanel: '1' + prefixLocalAnchors: 'all' + headerComment: 'build by sitepackagebuilder.com' + sendCacheHeaders: '1' diff --git a/resources/packages/fluid_styled_content/13.4/src/Configuration/Sets/SitePackage/setup.typoscript.twig b/resources/packages/fluid_styled_content/13.4/src/Configuration/Sets/SitePackage/setup.typoscript.twig new file mode 100644 index 00000000..31b3d433 --- /dev/null +++ b/resources/packages/fluid_styled_content/13.4/src/Configuration/Sets/SitePackage/setup.typoscript.twig @@ -0,0 +1,138 @@ +@import './TypoScript/Helper/DynamicContent.typoscript' + +############## +#### PAGE #### +############## +page = PAGE +page { + typeNum = 0 + shortcutIcon = EXT:{{ package.extensionKey }}/Resources/Public/Icons/favicon.ico + + 10 = FLUIDTEMPLATE + 10 { + # Template names will be generated automatically by converting the applied + # backend_layout, there is no explicit mapping necessary anymore. + # + # BackendLayout Key + # subnavigation_right_2_columns -> SubnavigationRight2Columns.html + # + # Backend Record + # uid: 1 -> 1.html + # + # Database Entry + # value: -1 -> None.html + # value: pagets__subnavigation_right_2_columns -> SubnavigationRight2Columns.html + templateName = TEXT + templateName { + cObject = TEXT + cObject { + data = pagelayout + required = 1 + case = uppercamelcase + split { + token = pagets__ + cObjNum = 1 + 1.current = 1 + } + } + ifEmpty = Default + } + templateRootPaths { + 0 = EXT:{{ package.extensionKey }}/Resources/Private/Templates/Page/ + 1 = {$page.fluidtemplate.templateRootPath} + } + partialRootPaths { + 0 = EXT:{{ package.extensionKey }}/Resources/Private/Partials/Page/ + 1 = {$page.fluidtemplate.partialRootPath} + } + layoutRootPaths { + 0 = EXT:{{ package.extensionKey }}/Resources/Private/Layouts/Page/ + 1 = {$page.fluidtemplate.layoutRootPath} + } + dataProcessing { + 10 = TYPO3\CMS\Frontend\DataProcessing\FilesProcessor + 10 { + references.fieldName = media + } + 20 = TYPO3\CMS\Frontend\DataProcessing\MenuProcessor + 20 { + levels = 2 + includeSpacer = 1 + as = mainnavigation + } + } + } + + meta { + viewport = {$page.meta.viewport} + robots = {$page.meta.robots} + apple-mobile-web-app-capable = {$page.meta.apple-mobile-web-app-capable} + + X-UA-Compatible = {$page.meta.compatible} + X-UA-Compatible { + attribute = http-equiv + } + } + + includeCSSLibs { + + } + + includeCSS { + {{ package.extensionKey }}_layout = EXT:{{ package.extensionKey }}/Resources/Public/Css/layout.css + } + + includeJSLibs { + + } + + includeJS { + + } + + includeJSFooterlibs { + + } + + includeJSFooter { + {{ package.extensionKey }}_scripts = EXT:{{ package.extensionKey }}/Resources/Public/JavaScript/main.js + } +} + + +################ +#### CONFIG #### +################ +config { + absRefPrefix = auto + no_cache = {$config.no_cache} + uniqueLinkVars = 1 + pageTitleFirst = 1 + linkVars = L + prefixLocalAnchors = {$config.prefixLocalAnchors} + renderCharset = utf-8 + metaCharset = utf-8 + doctype = html5 + removeDefaultJS = {$config.removeDefaultJS} + inlineStyle2TempFile = 1 + admPanel = {$config.admPanel} + debug = 0 + cache_period = 86400 + sendCacheHeaders = {$config.sendCacheHeaders} + intTarget = + extTarget = + disablePrefixComment = 1 + index_enable = 1 + index_externals = 1 + index_metatags = 1 + headerComment = {$config.headerComment} + + // Disable Image Upscaling + noScaleUp = 1 + + // Compression and Concatenation of CSS and JS Files + compressJs = 0 + compressCss = 0 + concatenateJs = 0 + concatenateCss = 0 +} diff --git a/resources/packages/fluid_styled_content/13.4/src/README.md.twig b/resources/packages/fluid_styled_content/13.4/src/README.md.twig new file mode 100644 index 00000000..8b095c79 --- /dev/null +++ b/resources/packages/fluid_styled_content/13.4/src/README.md.twig @@ -0,0 +1,4 @@ +Sitepackage for the project "{{ package.title }}" +============================================================== + +Add some explanation here. diff --git a/resources/packages/fluid_styled_content/13.4/src/Resources/Private/.htaccess b/resources/packages/fluid_styled_content/13.4/src/Resources/Private/.htaccess new file mode 100644 index 00000000..93169e4e --- /dev/null +++ b/resources/packages/fluid_styled_content/13.4/src/Resources/Private/.htaccess @@ -0,0 +1,2 @@ +Order deny,allow +Deny from all diff --git a/resources/packages/fluid_styled_content/13.4/src/Resources/Private/Language/locallang.xlf.twig b/resources/packages/fluid_styled_content/13.4/src/Resources/Private/Language/locallang.xlf.twig new file mode 100644 index 00000000..5aea2770 --- /dev/null +++ b/resources/packages/fluid_styled_content/13.4/src/Resources/Private/Language/locallang.xlf.twig @@ -0,0 +1,11 @@ + + + +
+ {{ package.author.name }} + {{ package.author.email }} +
+ + +
+
diff --git a/resources/packages/fluid_styled_content/13.4/src/Resources/Private/Language/locallang_be.xlf.twig b/resources/packages/fluid_styled_content/13.4/src/Resources/Private/Language/locallang_be.xlf.twig new file mode 100644 index 00000000..fb3e2d8e --- /dev/null +++ b/resources/packages/fluid_styled_content/13.4/src/Resources/Private/Language/locallang_be.xlf.twig @@ -0,0 +1,17 @@ + + + +
+ {{ package.author.name }} + {{ package.author.email }} +
+ + + Default + + + Normal + + +
+
diff --git a/resources/packages/fluid_styled_content/13.4/src/Resources/Private/Language/locallang_db.xlf.twig b/resources/packages/fluid_styled_content/13.4/src/Resources/Private/Language/locallang_db.xlf.twig new file mode 100644 index 00000000..5aea2770 --- /dev/null +++ b/resources/packages/fluid_styled_content/13.4/src/Resources/Private/Language/locallang_db.xlf.twig @@ -0,0 +1,11 @@ + + + +
+ {{ package.author.name }} + {{ package.author.email }} +
+ + +
+
diff --git a/resources/packages/fluid_styled_content/13.4/src/Resources/Private/Layouts/ContentElements/.gitkeep b/resources/packages/fluid_styled_content/13.4/src/Resources/Private/Layouts/ContentElements/.gitkeep new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/resources/packages/fluid_styled_content/13.4/src/Resources/Private/Layouts/ContentElements/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/fluid_styled_content/13.4/src/Resources/Private/Layouts/Page/Default.html.twig b/resources/packages/fluid_styled_content/13.4/src/Resources/Private/Layouts/Page/Default.html.twig new file mode 100644 index 00000000..ad57953f --- /dev/null +++ b/resources/packages/fluid_styled_content/13.4/src/Resources/Private/Layouts/Page/Default.html.twig @@ -0,0 +1,21 @@ + + diff --git a/resources/packages/fluid_styled_content/13.4/src/Resources/Private/Partials/ContentElements/.gitkeep b/resources/packages/fluid_styled_content/13.4/src/Resources/Private/Partials/ContentElements/.gitkeep new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/resources/packages/fluid_styled_content/13.4/src/Resources/Private/Partials/ContentElements/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/fluid_styled_content/13.4/src/Resources/Private/Partials/Page/.gitkeep b/resources/packages/fluid_styled_content/13.4/src/Resources/Private/Partials/Page/.gitkeep new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/resources/packages/fluid_styled_content/13.4/src/Resources/Private/Partials/Page/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/fluid_styled_content/13.4/src/Resources/Private/Templates/ContentElements/.gitkeep b/resources/packages/fluid_styled_content/13.4/src/Resources/Private/Templates/ContentElements/.gitkeep new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/resources/packages/fluid_styled_content/13.4/src/Resources/Private/Templates/ContentElements/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/fluid_styled_content/13.4/src/Resources/Private/Templates/Page/Default.html.twig b/resources/packages/fluid_styled_content/13.4/src/Resources/Private/Templates/Page/Default.html.twig new file mode 100644 index 00000000..312fc91f --- /dev/null +++ b/resources/packages/fluid_styled_content/13.4/src/Resources/Private/Templates/Page/Default.html.twig @@ -0,0 +1,19 @@ + + + +
+
+
Template file
+
+ typo3conf/ext/{{ package.extensionKey }}/Resources/Private/Templates/Page/Default.html +
+
Backend Configuration
+
+ typo3conf/ext/{{ package.extensionKey }}/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts/default.tsconfig +
+
+
+ + + +
diff --git a/resources/packages/fluid_styled_content/13.4/src/Resources/Public/Css/layout.css b/resources/packages/fluid_styled_content/13.4/src/Resources/Public/Css/layout.css new file mode 100644 index 00000000..e69de29b diff --git a/resources/packages/fluid_styled_content/13.4/src/Resources/Public/Css/rte.css b/resources/packages/fluid_styled_content/13.4/src/Resources/Public/Css/rte.css new file mode 100644 index 00000000..1ce5278d --- /dev/null +++ b/resources/packages/fluid_styled_content/13.4/src/Resources/Public/Css/rte.css @@ -0,0 +1,3 @@ +/** + * Created from sitepackagebuilder.com + */ diff --git a/resources/packages/fluid_styled_content/13.4/src/Resources/Public/Fonts/.gitkeep b/resources/packages/fluid_styled_content/13.4/src/Resources/Public/Fonts/.gitkeep new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/resources/packages/fluid_styled_content/13.4/src/Resources/Public/Fonts/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/fluid_styled_content/13.4/src/Resources/Public/Icons/Extension.svg b/resources/packages/fluid_styled_content/13.4/src/Resources/Public/Icons/Extension.svg new file mode 100644 index 00000000..d8536373 --- /dev/null +++ b/resources/packages/fluid_styled_content/13.4/src/Resources/Public/Icons/Extension.svg @@ -0,0 +1,3 @@ + + + diff --git a/resources/packages/fluid_styled_content/13.4/src/Resources/Public/Icons/favicon.ico b/resources/packages/fluid_styled_content/13.4/src/Resources/Public/Icons/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..46d4c14df35ee4ccdf7c5a7eba53f00bc4457963 GIT binary patch literal 1150 zcmaKszb^zq6vrP&t{`y*Vj}8oqXL6Y$R~|E{BN6xxSFH~V-8J?S315x+S4 zj-Y)ybmKo(YfpQ6?x1gZYOBicJEMBKKl2?Y;7851p!}yw*Ju2g^_YOA4@`k=u$$QG%PiuMovJt++@ORg$yF+-?obfjA|?e@V(Z#s}~VJtDD0 literal 0 HcmV?d00001 diff --git a/resources/packages/fluid_styled_content/13.4/src/Resources/Public/Images/BackendLayouts/default.png b/resources/packages/fluid_styled_content/13.4/src/Resources/Public/Images/BackendLayouts/default.png new file mode 100644 index 0000000000000000000000000000000000000000..0bed87019c8f61d46b9493157358054e2af23994 GIT binary patch literal 182 zcmeAS@N?(olHy`uVBq!ia0vp^MnLSq!3HEFuBuc6saj7L$B>N1x3?X6TLMH_4jxZ? zT5x1PQ{RuD+D*PICg`zVW=f0BUR&At{>+(;^8W94Jl%8dr;Y8Sc&>{gi!@z=JC+If mD$a5;Y0V%};H~cVZu$S++?AJ4w7LNu!r '{{ package.title }}', + 'description' => '{{ package.description }}', + 'category' => 'templates', + 'constraints' => [ + 'depends' => [ + 'typo3' => '13.4.0-13.4.99', + 'fluid_styled_content' => '13.4.0-13.4.99', + 'rte_ckeditor' => '13.4.0-13.4.99', + ], + 'conflicts' => [ + ], + ], + 'autoload' => [ + 'psr-4' => [ + '{{ package.vendorName }}\\{{ package.packageName }}\\' => 'Classes', + ], + ], + 'state' => 'stable', + 'uploadfolder' => 0, + 'createDirs' => '', + 'clearCacheOnLoad' => 1, + 'author' => '{{ package.author.name }}', + 'author_email' => '{{ package.author.email }}', + 'author_company' => '{{ package.author.company }}', + 'version' => '1.0.0', +]; diff --git a/resources/packages/fluid_styled_content/13.4/src/ext_localconf.php.twig b/resources/packages/fluid_styled_content/13.4/src/ext_localconf.php.twig new file mode 100644 index 00000000..1bfd88ef --- /dev/null +++ b/resources/packages/fluid_styled_content/13.4/src/ext_localconf.php.twig @@ -0,0 +1,6 @@ + */ protected static $abandonedExtensionKeys = [ - 'news' => 'georgringer/news', - 'typo3_console' => 'helhum/typo3-console', + 'news' => 'georgringer/news', + 'typo3_console' => 'helhum/typo3-console', ]; /** @@ -167,7 +167,7 @@ class ExtensionsTerJsonCreateCommand extends Command 'wizard_crpages' => 'typo3/cms-wizard-crpages', 'wizard_sortpages' => 'typo3/cms-wizard-sortpages', 'workspaces' => 'typo3/cms-workspaces', - ]; + ]; /** * Location where to output built files. diff --git a/src/Controller/Api/SitepackageController.php b/src/Controller/Api/SitepackageController.php new file mode 100644 index 00000000..cfe39df9 --- /dev/null +++ b/src/Controller/Api/SitepackageController.php @@ -0,0 +1,89 @@ + 'json'])] +class SitepackageController extends AbstractController +{ + public function __construct( + protected SerializerInterface $serializer, + protected SitepackageGenerator $sitepackageGenerator + ) {} + + #[Route(path: '/', methods: ['POST'])] + #[OA\RequestBody(required: true, content: new OA\JsonContent(ref: new Model(type: Sitepackage::class)))] + #[OA\Response(response: 200, description: 'Successfully generated.', content: new OA\MediaType(mediaType: 'application/zip'))] + #[OA\Response(response: 400, description: 'Request malformed.')] + #[OA\Tag(name: 'sitepackage')] + public function createSitepackage(Request $request): Response + { + $content = $request->getContent(); + /** @var Sitepackage $sitepackage */ + $sitepackage = $this->serializer->deserialize($content, Sitepackage::class, 'json'); + $this->validateObject($sitepackage); + + $sitepackage->setVendorName(StringUtility::stringToUpperCamelCase($sitepackage->getAuthor()->getCompany())); + $sitepackage->setVendorNameAlternative(StringUtility::camelCaseToLowerCaseDashed($sitepackage->getVendorName())); + $sitepackage->setPackageName(StringUtility::stringToUpperCamelCase($sitepackage->getTitle())); + $sitepackage->setPackageNameAlternative(StringUtility::camelCaseToLowerCaseDashed($sitepackage->getPackageName())); + $sitepackage->setExtensionKey(StringUtility::camelCaseToLowerCaseUnderscored($sitepackage->getPackageName())); + + $this->sitepackageGenerator->create($sitepackage); + $filename = $this->sitepackageGenerator->getFilename(); + BinaryFileResponse::trustXSendfileTypeHeader(); + + return $this + ->file($this->sitepackageGenerator->getZipPath(), StringUtility::toASCII($filename)) + ->deleteFileAfterSend(true); + } + + protected function validateObject(mixed $object): void + { + $validator = Validation::createValidatorBuilder() + ->enableAttributeMapping() + ->getValidator(); + $errors = $validator->validate($object); + if (count($errors) > 0) { + $errorsString = implode("\n", array_map(static fn (ConstraintViolationInterface $x) => $x->getMessage(), (array)$errors)); + throw new BadRequestHttpException($errorsString); + } + } +} diff --git a/src/Controller/SitepackageController.php b/src/Controller/SitepackageController.php new file mode 100644 index 00000000..63fc92b5 --- /dev/null +++ b/src/Controller/SitepackageController.php @@ -0,0 +1,192 @@ +render('sitepackage/index.html.twig'); + } + + #[Route(path: '/new/', name: 'sitepackage_new')] + public function new(Request $request): Response + { + $session = $request->getSession(); + $session->set('sitepackage', null); + $sitepackage = new Sitepackage(); + $form = $this->createNewSitepackageForm($sitepackage); + $form->handleRequest($request); + if ($form->isSubmitted() && $form->isValid()) { + $sitepackage->setVendorName(StringUtility::stringToUpperCamelCase($sitepackage->getAuthor()->getCompany())); + $sitepackage->setVendorNameAlternative(StringUtility::camelCaseToLowerCaseDashed($sitepackage->getVendorName())); + $sitepackage->setPackageName(StringUtility::stringToUpperCamelCase($sitepackage->getTitle())); + $sitepackage->setPackageNameAlternative(StringUtility::camelCaseToLowerCaseDashed($sitepackage->getPackageName())); + $sitepackage->setExtensionKey(StringUtility::camelCaseToLowerCaseUnderscored($sitepackage->getPackageName())); + $session = $request->getSession(); + $session->set('sitepackage', $sitepackage); + + return $this->redirectToRoute('sitepackage_success'); + } + + return $this->render( + 'sitepackage/new.html.twig', + [ + 'form' => $form, + ] + ); + } + + #[Route(path: '/edit/', name: 'sitepackage_edit')] + public function edit(Request $request): Response + { + $session = $request->getSession(); + /** @var Sitepackage|null $sitepackage */ + $sitepackage = $session->get('sitepackage'); + if ($sitepackage === null) { + $this->addFlash( + 'danger', + 'Whoops, we could not find the package configuration. Please submit the configuration again.' + ); + + return $this->redirectToRoute('sitepackage_new'); + } + $form = $this->createEditSitePackageForm($sitepackage); + $form->handleRequest($request); + if ($form->isSubmitted() && $form->isValid()) { + $sitepackage->setVendorName(StringUtility::stringToUpperCamelCase($sitepackage->getAuthor()->getCompany())); + $sitepackage->setVendorNameAlternative(StringUtility::camelCaseToLowerCaseDashed($sitepackage->getVendorName())); + $sitepackage->setPackageName(StringUtility::stringToUpperCamelCase($sitepackage->getTitle())); + $sitepackage->setPackageNameAlternative(StringUtility::camelCaseToLowerCaseDashed($sitepackage->getPackageName())); + $sitepackage->setExtensionKey(StringUtility::camelCaseToLowerCaseUnderscored($sitepackage->getPackageName())); + $session = $request->getSession(); + $session->set('sitepackage', $sitepackage); + + return $this->redirectToRoute('sitepackage_success'); + } + + return $this->render( + 'sitepackage/edit.html.twig', + [ + 'form' => $form, + ] + ); + } + + #[Route(path: '/success/', name: 'sitepackage_success')] + public function success(Request $request): Response + { + $session = $request->getSession(); + /** @var Sitepackage|null $sitepackage */ + $sitepackage = $session->get('sitepackage'); + if ($sitepackage === null) { + $this->addFlash( + 'danger', + 'Whoops, we could not find the package configuration. Please submit the configuration again.' + ); + + return $this->redirectToRoute('sitepackage_new'); + } + + return $this->render( + 'sitepackage/success.html.twig', + [ + 'sitepackage' => $sitepackage, + ] + ); + } + + #[Route(path: '/download/', name: 'sitepackage_download')] + public function download(Request $request, SitepackageGenerator $sitepackageGenerator): Response + { + $session = $request->getSession(); + /** @var Sitepackage|null $sitepackage */ + $sitepackage = $session->get('sitepackage'); + if ($sitepackage === null) { + $this->addFlash( + 'danger', + 'Whoops, we could not find the package configuration. Please submit the configuration again.' + ); + + return $this->redirectToRoute('sitepackage_new'); + } + $sitepackageGenerator->create($sitepackage); + $filename = $sitepackageGenerator->getFilename(); + + BinaryFileResponse::trustXSendfileTypeHeader(); + + return $this + ->file($sitepackageGenerator->getZipPath(), StringUtility::toASCII($filename)) + ->deleteFileAfterSend(true); + } + + protected function createNewSitepackageForm(Sitepackage $sitepackage): FormInterface + { + return $this->createForm( + SitepackageType::class, + $sitepackage, + ['action' => $this->generateUrl('sitepackage_new')] + )->add( + 'save', + SubmitType::class, + [ + 'label' => 'Create Sitepackage', + 'icon' => 'floppy-disk', + 'attr' => ['class' => 'btn-primary'], + ] + ); + } + + protected function createEditSitePackageForm(Sitepackage $sitepackage): FormInterface + { + return $this->createForm( + SitepackageType::class, + $sitepackage, + ['action' => $this->generateUrl('sitepackage_edit')] + )->add( + 'save', + SubmitType::class, + [ + 'label' => 'Update Sitepackage', + 'icon' => 'floppy-disk', + 'attr' => ['class' => 'btn-primary'], + ] + ); + } +} diff --git a/src/Entity/Sitepackage.php b/src/Entity/Sitepackage.php new file mode 100644 index 00000000..e25b1a60 --- /dev/null +++ b/src/Entity/Sitepackage.php @@ -0,0 +1,241 @@ +typo3Version; + } + + public function setTypo3Version(float $typo3Version): self + { + $this->typo3Version = $typo3Version; + + return $this; + } + + public function getBasePackage(): string + { + return $this->basePackage; + } + + public function setBasePackage(string $basePackage): self + { + $this->basePackage = $basePackage; + + return $this; + } + + public function getVendorName(): string + { + return $this->vendorName; + } + + public function setVendorName(string $vendorName): self + { + $this->vendorName = $vendorName; + + return $this; + } + + public function getVendorNameAlternative(): string + { + return $this->vendorNameAlternative; + } + + public function setVendorNameAlternative(string $vendorNameAlternative): self + { + $this->vendorNameAlternative = $vendorNameAlternative; + + return $this; + } + + public function getTitle(): string + { + return $this->title; + } + + public function setTitle(string $title): self + { + $this->title = $title; + + return $this; + } + + public function getDescription(): string + { + return $this->description; + } + + public function setDescription(string $description): self + { + $this->description = $description; + + return $this; + } + + public function getPackageName(): string + { + return $this->packageName; + } + + public function setPackageName(string $packageName): self + { + $this->packageName = $packageName; + + return $this; + } + + public function getPackageNameAlternative(): string + { + return $this->packageNameAlternative; + } + + public function setPackageNameAlternative(string $packageNameAlternative): self + { + $this->packageNameAlternative = $packageNameAlternative; + + return $this; + } + + public function getExtensionKey(): string + { + return $this->extensionKey; + } + + public function setExtensionKey(string $extensionKey): self + { + $this->extensionKey = $extensionKey; + + return $this; + } + + public function getRepositoryUrl(): string + { + return $this->repositoryUrl; + } + + public function setRepositoryUrl(string $repositoryUrl): self + { + $this->repositoryUrl = $repositoryUrl; + + return $this; + } + + public function getAuthor(): Author + { + return $this->author; + } + + public function setAuthor(Author $author): self + { + $this->author = $author; + + return $this; + } + + /** + * @return array{ + * typo3Version: float, + * basePackage: string, + * vendorName: string, + * vendorNameAlternative: string, + * title: string, + * description: string, + * packageName: string, + * packageNameAlternative: string, + * extensionKey: string, + * repositoryUrl: string, + * author: Author + * } + */ + public function jsonSerialize(): array + { + return [ + 'typo3Version' => $this->getTypo3Version(), + 'basePackage' => $this->getBasePackage(), + 'vendorName' => $this->getVendorName(), + 'vendorNameAlternative' => $this->getVendorNameAlternative(), + 'title' => $this->getTitle(), + 'description' => $this->getDescription(), + 'packageName' => $this->getPackageName(), + 'packageNameAlternative' => $this->getPackageNameAlternative(), + 'extensionKey' => $this->getExtensionKey(), + 'repositoryUrl' => $this->getRepositoryUrl(), + 'author' => $this->getAuthor(), + ]; + } +} diff --git a/src/Entity/Sitepackage/Author.php b/src/Entity/Sitepackage/Author.php new file mode 100644 index 00000000..8282cb48 --- /dev/null +++ b/src/Entity/Sitepackage/Author.php @@ -0,0 +1,121 @@ +name; + } + + public function setName(string $name): self + { + $this->name = $name; + + return $this; + } + + public function getEmail(): string + { + return $this->email; + } + + public function setEmail(string $email): self + { + $this->email = $email; + + return $this; + } + + public function getCompany(): string + { + return $this->company; + } + + public function setCompany(string $company): self + { + $this->company = $company; + + return $this; + } + + public function getHomepage(): string + { + return $this->homepage; + } + + public function setHomepage(string $homepage): self + { + $this->homepage = $homepage; + + return $this; + } + + /** + * @return array{name: string, email: string, company: string, homepage: string} + */ + public function jsonSerialize(): array + { + return [ + 'name' => $this->getName(), + 'email' => $this->getEmail(), + 'company' => $this->getCompany(), + 'homepage' => $this->getHomepage(), + ]; + } +} diff --git a/src/Form/AuthorType.php b/src/Form/AuthorType.php new file mode 100644 index 00000000..69c262ad --- /dev/null +++ b/src/Form/AuthorType.php @@ -0,0 +1,70 @@ +add('name', TextType::class, [ + 'attr' => [ + 'autocomplete' => 'off', + 'placeholder' => 'John Doe', + ], + ]) + ->add('email', EmailType::class, [ + 'attr' => [ + 'autocomplete' => 'off', + 'placeholder' => 'john.doe@example.com', + ], + ]) + ->add('company', TextType::class, [ + 'attr' => [ + 'autocomplete' => 'off', + 'placeholder' => 'Company Inc.', + ], + ]) + ->add('homepage', TextType::class, [ + 'attr' => [ + 'autocomplete' => 'off', + 'placeholder' => 'https://www.example.com', + ], + ]); + } + + public function configureOptions(OptionsResolver $resolver) + { + $resolver->setDefaults([ + 'data_class' => Author::class, + ]); + } +} diff --git a/src/Form/Extension/AbstractIconExtension.php b/src/Form/Extension/AbstractIconExtension.php new file mode 100644 index 00000000..becbc865 --- /dev/null +++ b/src/Form/Extension/AbstractIconExtension.php @@ -0,0 +1,49 @@ +setAttribute('icon', $options['icon']); + } + + public function buildView(FormView $view, FormInterface $form, array $options): void + { + $view->vars['icon'] = $options['icon']; + } + + public function configureOptions(OptionsResolver $resolver): void + { + $resolver->setDefaults(['icon' => null]); + $resolver->setDefined(['icon']); + } +} diff --git a/src/Form/Extension/ButtonTypeIconExtension.php b/src/Form/Extension/ButtonTypeIconExtension.php new file mode 100644 index 00000000..38cb921d --- /dev/null +++ b/src/Form/Extension/ButtonTypeIconExtension.php @@ -0,0 +1,34 @@ +setAction($options['action']) + ->add('basePackage', ChoiceType::class, [ + 'label' => 'Base Package', + 'choices' => [ + 'Bootstrap Package' => 'bootstrap_package', + 'Fluid Styled Content' => 'fluid_styled_content', + ], + 'expanded' => true, + ]) + ->add('typo3Version', ChoiceType::class, [ + 'label' => 'TYPO3 Version', + 'choices' => [ + '13.4 (Beta)' => 13.4, + '12.4' => 12.4, + '11.5' => 11.5, + '10.4' => 10.4, + '9.5' => 9.5, + '8.7' => 8.7, + ], + 'expanded' => true, + ]) + ->add('title', TextType::class, [ + 'attr' => [ + 'autocomplete' => 'off', + 'placeholder' => 'My Sitepackage', + ], + ]) + ->add('description', TextareaType::class, [ + 'required' => false, + 'empty_data' => '', + 'attr' => [ + 'autocomplete' => 'off', + 'placeholder' => 'Optional description for the use of this sitepackage', + ], + ]) + ->add('repositoryUrl', TextType::class, [ + 'label' => 'Repository URL', + 'required' => false, + 'empty_data' => '', + 'attr' => [ + 'autocomplete' => 'off', + 'placeholder' => 'https://github.com/username/my_sitepackage', + ], + ]) + ->add('author', AuthorType::class); + } + + public function setDefaultOptions(OptionsResolver $resolver): void + { + $resolver->setDefaults([ + 'data_class' => Sitepackage::class, + ]); + } + + public function getName(): string + { + return 'sitepackageForm'; + } +} diff --git a/src/Menu/MenuBuilder.php b/src/Menu/MenuBuilder.php index c57d259a..423de513 100644 --- a/src/Menu/MenuBuilder.php +++ b/src/Menu/MenuBuilder.php @@ -69,6 +69,15 @@ public function mainDefault(array $options): ItemInterface 'label' => 'Repository', ] ); + + $menu->addChild( + 'sitepackage', + [ + 'route' => 'sitepackage_index', + 'label' => 'Sitepackage', + ] + ); + $menu->addChild( 'api', [ diff --git a/src/Service/SitepackageGenerator.php b/src/Service/SitepackageGenerator.php new file mode 100644 index 00000000..2ab6f84b --- /dev/null +++ b/src/Service/SitepackageGenerator.php @@ -0,0 +1,119 @@ +kernel = $kernel; + } + + public function create(Sitepackage $package): void + { + $extensionKey = $package->getExtensionKey(); + $this->filename = $extensionKey . '.zip'; + $sourceDir = $this->kernel->getProjectDir() . '/resources/packages/' . $package->getBasePackage() . '/' . (string)$package->getTypo3Version() . '/src/'; + $tempFileName = tempnam(sys_get_temp_dir(), $this->filename); + if ($tempFileName === false) { + throw new \RuntimeException(sprintf('Cannot create temporary name for %s/%s' . sys_get_temp_dir(), $this->filename), 1732123721); + } + $this->zipPath = $tempFileName; + $fileList = FileUtility::listDirectory($sourceDir); + + $zipFile = new ZipArchive(); + $opened = $zipFile->open($this->zipPath, ZipArchive::CREATE); + if ($opened === true) { + foreach ($fileList as $file) { + if ($file !== $this->zipPath && file_exists($file)) { + $baseFileName = $this->createRelativeFilePath($file, $sourceDir); + if (is_dir($file)) { + $zipFile->addEmptyDir($baseFileName); + } elseif (!$this->isTwigFile($file)) { + $zipFile->addFile($file, $baseFileName); + } else { + $content = $this->getFileContent($file, $package); + $nameInZip = $this->removeTwigExtension($baseFileName); + $zipFile->addFromString($nameInZip, $content); + } + } + } + $zipFile->close(); + } + } + + public function getZipPath(): string + { + return $this->zipPath; + } + + public function getFilename(): string + { + return $this->filename; + } + + private function getFileContent(string $file, Sitepackage $package): string + { + $content = file_get_contents($file); + $fileUniqueId = uniqid('file'); + $twig = new Environment(new ArrayLoader([$fileUniqueId => $content])); + $rendered = $twig->render( + $fileUniqueId, + [ + 'package' => $package, + 'timestamp' => time(), + ] + ); + + return $rendered; + } + + private function isTwigFile(string $file): bool + { + $extension = pathinfo($file, PATHINFO_EXTENSION); + + return $extension === 'twig'; + } + + protected function createRelativeFilePath(string $file, string $sourceDir): string + { + return substr($file, strlen($sourceDir)); + } + + protected function removeTwigExtension(string $baseFileName): string + { + return substr($baseFileName, 0, -5); + } +} diff --git a/src/Utility/FileUtility.php b/src/Utility/FileUtility.php new file mode 100644 index 00000000..7f970c7c --- /dev/null +++ b/src/Utility/FileUtility.php @@ -0,0 +1,56 @@ +Edit your Configuration + {% endframe %} + + {% frame with { indent: true } %} +

Configuration

+ {{ form(form, {'attr': {'novalidate': 'novalidate'}}) }} + {% endframe %} + +{% endblock %} diff --git a/templates/sitepackage/index.html.twig b/templates/sitepackage/index.html.twig new file mode 100644 index 00000000..24c0291a --- /dev/null +++ b/templates/sitepackage/index.html.twig @@ -0,0 +1,43 @@ +{% extends '@Template/layout.html.twig' %} +{% block title %}Kickstart your TYPO3 template development{% endblock %} +{% block body %} + + {% frame with { color: 'dark', height: 'small', center: true, indent: true, backgroundImage: asset("assets/Images/keyvisual.png") } %} +

Sitepackage Builder

+

+ Sitepackage-Builder is your kickstarter for modern TYPO3 Theme development. Learn more about TYPO3 templating + or start your own template right now. +

+

+ Create Sitepackage +

+ {% endframe %} + + {% frame with { center: true, indent: true } %} +

What is a Sitepackage?

+

+ A Sitepackage is a TYPO3 Extension that containers all relevant configuration for a Website. + Having all configuration stored in a package keeps it protected from unauthorized access. + As Extension your Sitepackage will manage your dependencies to other Extensions and/or the TYPO3 Version. + This will ease your deployment and enables you to put the configuration of your Webiste under Version Control. +

+

+ Learn more about the best practices recommended from the TYPO3 Core Team. +

+

+ + Learn about Sitepackages + +

+ {% endframe %} + + {% frame with { color: 'dark', layout: 'embedded', center: true, indent: true } %} +

Start your own Sitepackage

+

+ + Create Sitepackage + +

+ {% endframe %} + +{% endblock %} diff --git a/templates/sitepackage/new.html.twig b/templates/sitepackage/new.html.twig new file mode 100644 index 00000000..802a9f63 --- /dev/null +++ b/templates/sitepackage/new.html.twig @@ -0,0 +1,17 @@ +{% extends '@Template/layout.html.twig' %} +{% block title %}Create your very own TYPO3 Sitepackage{% endblock %} +{% block body %} + + {% frame with { color: 'dark', height: 'small', center: true, indent: true, backgroundImage: asset("assets/Images/keyvisual.png") } %} +

Create your very own Sitepackage

+

+ Awesome you made it here! Just a few more Information about your Project and your very own Sitepackage is ready to download. +

+ {% endframe %} + + {% frame with { indent: true } %} +

Configuration

+ {{ form(form, {'attr': {'novalidate': 'novalidate'}}) }} + {% endframe %} + +{% endblock %} diff --git a/templates/sitepackage/success.html.twig b/templates/sitepackage/success.html.twig new file mode 100644 index 00000000..a07d18ec --- /dev/null +++ b/templates/sitepackage/success.html.twig @@ -0,0 +1,71 @@ +{% extends '@Template/layout.html.twig' %} +{% block title %}Success{% endblock %} +{% block body %} + + {% frame with { color: 'dark', height: 'small', center: true, indent: true, backgroundImage: asset("assets/Images/keyvisual.png") } %} +

Congratulations!

+

+ We have sucessfully generated your sitepackage. You can now review the generated configuration below, or download the prepared sitepackage. +

+ + Download + + {% endframe %} + + {% frame with { indent: true } %} +

Generated Configuration

+

Base Package

+
+
TYPO3 Version
+
{{ sitepackage.typo3Version }}
+
Extension Key
+
{{ sitepackage.basePackage }}
+
+

Extension

+
+
Titel
+
{{ sitepackage.title }}
+ {% if sitepackage.description %} +
Description
+
{{ sitepackage.description }}
+ {% endif %} +
Extension Key
+
{{ sitepackage.extensionKey }}
+ {% if sitepackage.repositoryUrl %} +
Repository
+
{{ sitepackage.repositoryUrl }}
+ {% endif %} +
+

PHP

+
+
Vendor
+
{{ sitepackage.vendorName }}
+
Package
+
{{ sitepackage.packageName }}
+
PSR-4
+
{{ sitepackage.vendorName }}\{{ sitepackage.packageName }}
+
Composer
+
{{ sitepackage.vendorNameAlternative }}/{{ sitepackage.packageNameAlternative }}
+
+

Author

+
+
Name
+
{{ sitepackage.author.name }}
+
E-Mail
+
{{ sitepackage.author.email }}
+
Company
+
{{ sitepackage.author.company }}
+
Homepage
+
{{ sitepackage.author.homepage }}
+
+

+ + Restart + + + Edit Configuration + +

+ {% endframe %} + +{% endblock %}