jeu de couleurs + tinymce taille des polices ; supp bouton emoticon supp + theme en 1170px avec bannière perso
This commit is contained in:
parent
95e7c5cc74
commit
989ee2e57c
@ -45,7 +45,7 @@ class common {
|
|||||||
|
|
||||||
// Numéro de version
|
// Numéro de version
|
||||||
const ZWII_UPDATE_URL = 'https://forge.chapril.org/ZwiiCMS-Team/update/raw/branch/master/';
|
const ZWII_UPDATE_URL = 'https://forge.chapril.org/ZwiiCMS-Team/update/raw/branch/master/';
|
||||||
const ZWII_VERSION = '11.2.00.1';
|
const ZWII_VERSION = '11.2.00.2';
|
||||||
const ZWII_UPDATE_CHANNEL = "test";
|
const ZWII_UPDATE_CHANNEL = "test";
|
||||||
|
|
||||||
public static $actions = [];
|
public static $actions = [];
|
||||||
|
@ -149,7 +149,7 @@ class init extends common {
|
|||||||
'template' => '3'
|
'template' => '3'
|
||||||
],
|
],
|
||||||
'header' => [
|
'header' => [
|
||||||
'backgroundColor' => 'rgba(32, 59, 82, 1)',
|
'backgroundColor' => 'rgba(0, 63, 134, 1)',
|
||||||
'font' => 'Oswald',
|
'font' => 'Oswald',
|
||||||
'fontSize' => '2em',
|
'fontSize' => '2em',
|
||||||
'fontWeight' => 'normal',
|
'fontWeight' => 'normal',
|
||||||
@ -164,15 +164,17 @@ class init extends common {
|
|||||||
'textHide' => false,
|
'textHide' => false,
|
||||||
'textTransform' => 'none',
|
'textTransform' => 'none',
|
||||||
'linkHomePage' => true,
|
'linkHomePage' => true,
|
||||||
'imageContainer' => 'auto',
|
'imageContainer' => 'cover',
|
||||||
'tinyHidden' => true,
|
'tinyHidden' => true,
|
||||||
'feature' => 'wallpaper',
|
'feature' => 'feature',
|
||||||
'featureContent' => '<p>Bannière vide</p>',
|
'featureContent' => '<div class="row" style="background-color: #ffbd00; vertical-align: middle;">
|
||||||
|
<p class="col10 textAlignCenter"><strong><span style="font-size: 30pt; color: #003f86; background-color: #ffbd00;"><span style="font-size: 24pt;">Zwii, le <em>CMS </em>pour bien débuter</span><br /><span style="font-size: 18pt;"><span style="font-size: 14pt;">Installation facile :<br />Aucune base de données à configurer.<br /><br /></span><br /><br /></span></span></strong></p>
|
||||||
|
<div class="col2"><p><img src="/ZwiiCMS/site/file/source/zwii-logosocial-2022.png" width="512" height="512" alt="" /></p></div></div>',
|
||||||
'width' => 'container'
|
'width' => 'container'
|
||||||
],
|
],
|
||||||
'menu' => [
|
'menu' => [
|
||||||
'backgroundColor' => 'rgba(32, 59, 82, 1)',
|
'backgroundColor' => 'rgba(0, 63, 134, 1)',
|
||||||
'backgroundColorSub' => 'rgba(32, 59, 82, 1)',
|
'backgroundColorSub' => 'rgba(0, 63, 134, 1)',
|
||||||
'font' => 'Open+Sans',
|
'font' => 'Open+Sans',
|
||||||
'fontSize' => '1em',
|
'fontSize' => '1em',
|
||||||
'fontWeight' => 'normal',
|
'fontWeight' => 'normal',
|
||||||
@ -197,7 +199,7 @@ class init extends common {
|
|||||||
'backgroundColor' => 'rgba(255, 255, 255, 1)',
|
'backgroundColor' => 'rgba(255, 255, 255, 1)',
|
||||||
'radius' => '0px',
|
'radius' => '0px',
|
||||||
'shadow' => '0px 0px 0px',
|
'shadow' => '0px 0px 0px',
|
||||||
'width' => '960px'
|
'width' => '1170px'
|
||||||
],
|
],
|
||||||
'block' => [
|
'block' => [
|
||||||
'backgroundColor' => 'rgba(236, 239, 241, 1)',
|
'backgroundColor' => 'rgba(236, 239, 241, 1)',
|
||||||
@ -207,16 +209,16 @@ class init extends common {
|
|||||||
'font' => 'Open+Sans',
|
'font' => 'Open+Sans',
|
||||||
'fontSize' => '13px',
|
'fontSize' => '13px',
|
||||||
'textColor' => 'rgba(33, 34, 35, 1)',
|
'textColor' => 'rgba(33, 34, 35, 1)',
|
||||||
'linkColor' => 'rgba(74, 105, 189, 1)'
|
'linkColor' => 'rgba(0, 63, 134, 1)'
|
||||||
],
|
],
|
||||||
'title' => [
|
'title' => [
|
||||||
'font' => 'Oswald',
|
'font' => 'Oswald',
|
||||||
'fontWeight' => 'normal',
|
'fontWeight' => 'normal',
|
||||||
'textColor' => 'rgba(74, 105, 189, 1)',
|
'textColor' => 'rgba(0, 63, 134, 1)',
|
||||||
'textTransform' => 'none'
|
'textTransform' => 'none'
|
||||||
],
|
],
|
||||||
'button' => [
|
'button' => [
|
||||||
'backgroundColor' => 'rgba(32, 59, 82, 1)'
|
'backgroundColor' => 'rgba(0, 63, 134, 1)'
|
||||||
],
|
],
|
||||||
'version' => 0
|
'version' => 0
|
||||||
],
|
],
|
||||||
@ -226,8 +228,8 @@ class init extends common {
|
|||||||
'fontSize' => '13px',
|
'fontSize' => '13px',
|
||||||
'fontTitle' => 'Oswald',
|
'fontTitle' => 'Oswald',
|
||||||
'colorText' => 'rgba(33, 34, 35, 1)',
|
'colorText' => 'rgba(33, 34, 35, 1)',
|
||||||
'colorTitle' => 'rgba(74, 105, 189, 1)',
|
'colorTitle' => 'rgba(0, 63, 134, 1)',
|
||||||
'backgroundColorButton' => 'rgba(74, 105, 189, 1)',
|
'backgroundColorButton' => 'rgba(0, 63, 134, 1)',
|
||||||
'backgroundColorButtonGrey' => 'rgba(170, 180, 188, 1)',
|
'backgroundColorButtonGrey' => 'rgba(170, 180, 188, 1)',
|
||||||
'backgroundColorButtonRed' => 'rgba(217, 95, 78, 1)',
|
'backgroundColorButtonRed' => 'rgba(217, 95, 78, 1)',
|
||||||
'backgroundColorButtonGreen' => 'rgba(162, 223, 57, 1)',
|
'backgroundColorButtonGreen' => 'rgba(162, 223, 57, 1)',
|
||||||
|
@ -257,4 +257,4 @@ $("#themeHeaderFeature").on("change", function() {
|
|||||||
$(".featureContainer").show();
|
$(".featureContainer").show();
|
||||||
$(".wallpaperContainer").hide();
|
$(".wallpaperContainer").hide();
|
||||||
}
|
}
|
||||||
}).trigger("change");
|
}).trigger("change");
|
||||||
|
24
core/vendor/tinymce/init.js
vendored
24
core/vendor/tinymce/init.js
vendored
@ -25,16 +25,11 @@ tinymce.init({
|
|||||||
// Langue
|
// Langue
|
||||||
language: "fr_FR",
|
language: "fr_FR",
|
||||||
// Plugins
|
// Plugins
|
||||||
plugins: "advlist anchor autolink autoresize autosave codemirror colorpicker contextmenu fullscreen hr image imagetools link lists media paste searchreplace stickytoolbar tabfocus table template textcolor emoticons nonbreaking",
|
plugins: "advlist anchor autolink autoresize autosave codemirror colorpicker contextmenu fullscreen hr image imagetools link lists media paste searchreplace stickytoolbar tabfocus table template textcolor nonbreaking",
|
||||||
// Contenu de la barre d'outils
|
// Contenu de la barre d'outils
|
||||||
toolbar: "restoredraft | undo redo | formatselect bold italic underline forecolor backcolor | alignleft aligncenter alignright alignjustify | bullist numlist emoticons | table template | image media link | code fullscreen",
|
toolbar: "restoredraft | undo redo | formatselect fontsizeselect | bold italic underline forecolor backcolor | alignleft aligncenter alignright alignjustify | bullist numlist | table template | image media link | code fullscreen",
|
||||||
// Emoticons
|
fontsize_formats:
|
||||||
emoticons_append: {
|
"8pt 9pt 10pt 11pt 12pt 14pt 18pt 24pt 30pt 36pt 48pt 60pt 72pt 96pt",
|
||||||
custom_mind_explode: {
|
|
||||||
keywords: ["brain", "mind", "explode", "blown"],
|
|
||||||
char: "🤯"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
// CodeMirror
|
// CodeMirror
|
||||||
codemirror: {
|
codemirror: {
|
||||||
indentOnInit: true, // Whether or not to indent code on init.
|
indentOnInit: true, // Whether or not to indent code on init.
|
||||||
@ -262,16 +257,9 @@ tinymce.init({
|
|||||||
// Langue
|
// Langue
|
||||||
language: "fr_FR",
|
language: "fr_FR",
|
||||||
// Plugins
|
// Plugins
|
||||||
plugins: "advlist anchor autolink autoresize autosave colorpicker contextmenu fullscreen hr lists paste searchreplace stickytoolbar tabfocus template textcolor visualblocks emoticons",
|
plugins: "advlist anchor autolink autoresize autosave colorpicker contextmenu fullscreen hr lists paste searchreplace stickytoolbar tabfocus template textcolor visualblocks",
|
||||||
// Contenu de la barre d'outils
|
// Contenu de la barre d'outils
|
||||||
toolbar: "restoredraft | undo redo | formatselect bold italic forecolor backcolor | alignleft aligncenter alignright alignjustify | bullist numlist emoticons | visualblocks fullscreen",
|
toolbar: "restoredraft | undo redo | formatselect bold italic forecolor backcolor | alignleft aligncenter alignright alignjustify | bullist numlist | visualblocks fullscreen",
|
||||||
// Emoticons
|
|
||||||
emoticons_append: {
|
|
||||||
custom_mind_explode: {
|
|
||||||
keywords: ["brain", "mind", "explode", "blown"],
|
|
||||||
char: "🤯"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
// Titre des images
|
// Titre des images
|
||||||
image_title: true,
|
image_title: true,
|
||||||
// Pages internes
|
// Pages internes
|
||||||
|
Loading…
Reference in New Issue
Block a user