-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* New mode for cassiopeia and atum * DB Changes * Fix wrong import paths * SQL for updates * Deleted files and folder for changing core templates to inheritable * Better version comments * Move custom files in core templates to media folder on update * Better English in the comment * Fix some paths * System templates * Deleted files and folders for system templates * Move template preview files, too * Create parent folders if necessary at target path * Don't delete template previews * Revert special handling for core template preview images * move images to the correct folder * Fix the logos * One more path fixed * Revert the tinyMCE changes here * Fix the roboto path * Fix the fontawesome path * .css files imports are relative to the path of the file importing * Add missing import * Use realpath instaed of the Path::clean * RecursiveDirectoryIterator && mkdir * Meh * Mehhh * Update administrator/components/com_admin/script.php Co-authored-by: Richard Fath <[email protected]> * No dots and dirs * Use the flag for the dots * Update administrator/components/com_admin/script.php Co-authored-by: Richard Fath <[email protected]> * sql * Cassiopeia Roboto * Update paths to local font schemes in template style parameters on database update * Roboto font path Co-authored-by: Richard Fath <[email protected]> Co-authored-by: Benjamin Trenkle <[email protected]>
- Loading branch information
1 parent
3ff973c
commit 579e20e
Showing
155 changed files
with
471 additions
and
210 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
9 changes: 9 additions & 0 deletions
9
administrator/components/com_admin/sql/updates/mysql/4.1.0-2021-11-28.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
-- | ||
-- Convert core templates to new mode | ||
-- | ||
UPDATE `#__template_styles` SET `inheritable` = 1 WHERE `template` = 'atum' AND `client_id` = 1 OR `template` = 'cassiopeia' AND `client_id` = 0; | ||
|
||
UPDATE `#__template_styles` | ||
SET `params` = REPLACE(`params`,'"useFontScheme":"templates\\/cassiopeia\\/css\\/','"useFontScheme":"media\\/templates\\/site\\/cassiopeia\\/css\\/') | ||
WHERE `template` = 'cassiopeia' | ||
AND `client_id` = 0; |
9 changes: 9 additions & 0 deletions
9
administrator/components/com_admin/sql/updates/postgresql/4.1.0-2021-11-28.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
-- | ||
-- Convert core templates to new mode | ||
-- | ||
UPDATE "#__template_styles" SET "inheritable" = 1 WHERE "template" = 'atum' AND "client_id" = 1 OR "template" = 'cassiopeia' AND "client_id" = 0; | ||
|
||
UPDATE "#__template_styles" | ||
SET "params" = REPLACE("params",'"useFontScheme":"templates\\/cassiopeia\\/css\\/','"useFontScheme":"media\\/templates\\/site\\/cassiopeia\\/css\\/') | ||
WHERE "template" = 'cassiopeia' | ||
AND "client_id" = 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
administrator/templates/atum/scss/vendor/awesomplete/awesomplete.scss
This file was deleted.
Oops, something went wrong.
14 changes: 0 additions & 14 deletions
14
administrator/templates/atum/scss/vendor/fontawesome-free/fontawesome.scss
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,7 @@ | |
<authorEmail>[email protected]</authorEmail> | ||
<copyright>(C) 2016 Open Source Matters, Inc.</copyright> | ||
<description>TPL_ATUM_XML_DESCRIPTION</description> | ||
<inheritable>1</inheritable> | ||
<files> | ||
<filename>component.php</filename> | ||
<filename>cpanel.php</filename> | ||
|
@@ -17,15 +18,13 @@ | |
<filename>joomla.asset.json</filename> | ||
<filename>login.php</filename> | ||
<filename>templateDetails.xml</filename> | ||
<filename>template_preview.png</filename> | ||
<filename>template_thumbnail.png</filename> | ||
<folder>css</folder> | ||
<folder>html</folder> | ||
<folder>images</folder> | ||
<folder>scss</folder> | ||
</files> | ||
<media destination="templates/administrator/atum" folder="media"> | ||
<folder>js</folder> | ||
<folder>css</folder> | ||
<folder>scss</folder> | ||
<folder>images</folder> | ||
</media> | ||
<positions> | ||
<!-- used directly in the template --> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 37 additions & 0 deletions
37
build/media_source/templates/administrator/atum/scss/vendor/_bootstrap.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
// Variables | ||
|
||
// Media, Jumbotron & Print removed https://getbootstrap.com/docs/5.0/migration/ | ||
// Code is now in reboot https://github.com/twbs/bootstrap/pull/28917/files | ||
|
||
@import "../../../../../../../media/vendor/bootstrap/scss/variables"; | ||
@import "../../../../../../../media/vendor/bootstrap/scss/mixins"; | ||
@import "../root"; | ||
@import "../../../../../../../media/vendor/bootstrap/scss/reboot"; | ||
@import "../../../../../../../media/vendor/bootstrap/scss/type"; | ||
@import "../../../../../../../media/vendor/bootstrap/scss/images"; | ||
@import "../../../../../../../media/vendor/bootstrap/scss/containers"; | ||
@import "../../../../../../../media/vendor/bootstrap/scss/grid"; | ||
@import "../../../../../../../media/vendor/bootstrap/scss/tables"; | ||
@import "../../../../../../../media/vendor/bootstrap/scss/forms"; | ||
@import "../../../../../../../media/vendor/bootstrap/scss/buttons"; | ||
@import "../../../../../../../media/vendor/bootstrap/scss/transitions"; | ||
@import "../../../../../../../media/vendor/bootstrap/scss/dropdown"; | ||
@import "../../../../../../../media/vendor/bootstrap/scss/accordion"; | ||
@import "../../../../../../../media/vendor/bootstrap/scss/button-group"; | ||
@import "../../../../../../../media/vendor/bootstrap/scss/nav"; | ||
@import "../../../../../../../media/vendor/bootstrap/scss/navbar"; | ||
@import "../../../../../../../media/vendor/bootstrap/scss/card"; | ||
@import "../../../../../../../media/vendor/bootstrap/scss/breadcrumb"; | ||
@import "../../../../../../../media/vendor/bootstrap/scss/pagination"; | ||
@import "../../../../../../../media/vendor/bootstrap/scss/badge"; | ||
@import "../../../../../../../media/vendor/bootstrap/scss/alert"; | ||
@import "../../../../../../../media/vendor/bootstrap/scss/progress"; | ||
@import "../../../../../../../media/vendor/bootstrap/scss/list-group"; | ||
@import "../../../../../../../media/vendor/bootstrap/scss/close"; | ||
@import "../../../../../../../media/vendor/bootstrap/scss/modal"; | ||
@import "../../../../../../../media/vendor/bootstrap/scss/tooltip"; | ||
@import "../../../../../../../media/vendor/bootstrap/scss/popover"; | ||
@import "../../../../../../../media/vendor/bootstrap/scss/carousel"; | ||
@import "../../../../../../../media/vendor/bootstrap/scss/utilities"; | ||
@import "../../../../../../../media/vendor/bootstrap/scss/utilities/api"; | ||
@import "../../../../../../../media/vendor/bootstrap/scss/helpers"; |
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 6 additions & 0 deletions
6
build/media_source/templates/administrator/atum/scss/vendor/awesomplete/awesomplete.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
// Awesomplete | ||
@import "../../../../../../../../node_modules/awesomplete/awesomplete"; | ||
|
||
.awesomplete { | ||
display: block; | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
8 changes: 4 additions & 4 deletions
8
...s/atum/scss/vendor/choicesjs/choices.scss → ...r/atum/scss/vendor/choicesjs/choices.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
...d/media_source/templates/administrator/atum/scss/vendor/fontawesome-free/fontawesome.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// Override the font path | ||
$fa-css-prefix: fa; | ||
$fa-font-path: "../../../../../../vendor/fontawesome-free/webfonts" !default; | ||
|
||
// Font Awesome 5 Free | ||
@import "../../../../../../../../media/vendor/fontawesome-free/scss/fontawesome"; | ||
@import "../../../../../../../../media/vendor/fontawesome-free/scss/regular"; | ||
@import "../../../../../../../../media/vendor/fontawesome-free/scss/solid"; | ||
|
||
// Brands must be imported last | ||
@import "../../../../../../../../media/vendor/fontawesome-free/scss/brands"; | ||
|
||
// B/C for Icomoon | ||
@import "../../../../../../system/scss/icomoon"; | ||
|
||
// RTL override | ||
html[dir=rtl] .float-right { | ||
float: left; | ||
} |
2 changes: 1 addition & 1 deletion
2
.../joomla-custom-elements/joomla-alert.scss → .../joomla-custom-elements/joomla-alert.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
...or/joomla-custom-elements/joomla-tab.scss → ...or/joomla-custom-elements/joomla-tab.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...um/scss/vendor/minicolors/minicolors.scss → ...um/scss/vendor/minicolors/minicolors.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions
4
...opeia/scss/global/fonts-local_roboto.scss → ...opeia/scss/global/fonts-local_roboto.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
templates/cassiopeia/scss/offline.scss → ...mplates/site/cassiopeia/scss/offline.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
8 changes: 4 additions & 4 deletions
8
templates/cassiopeia/scss/template.scss → ...plates/site/cassiopeia/scss/template.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
templates/cassiopeia/scss/tools/_tools.scss → ...es/site/cassiopeia/scss/tools/_tools.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
8 changes: 4 additions & 4 deletions
8
...iopeia/scss/vendor/choicesjs/choices.scss → ...iopeia/scss/vendor/choicesjs/choices.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
.../joomla-custom-elements/joomla-alert.scss → .../joomla-custom-elements/joomla-alert.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.