First Commit
This commit is contained in:
Executable
+50
@@ -0,0 +1,50 @@
|
||||
{
|
||||
"sections": [
|
||||
{
|
||||
"id": "colors",
|
||||
"title": "Cores do Tema",
|
||||
"fields": [
|
||||
{
|
||||
"id": "primary_color",
|
||||
"type": "color",
|
||||
"label": "Cor Primária",
|
||||
"default": "#dc3545"
|
||||
},
|
||||
{
|
||||
"id": "background_color",
|
||||
"type": "color",
|
||||
"label": "Cor de Fundo",
|
||||
"default": "#ffffff"
|
||||
},
|
||||
{
|
||||
"id": "text_color",
|
||||
"type": "color",
|
||||
"label": "Cor do Texto",
|
||||
"default": "#212529"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "layout",
|
||||
"title": "Layout e Opções",
|
||||
"fields": [
|
||||
{
|
||||
"id": "container_width",
|
||||
"type": "select",
|
||||
"label": "Largura do Container",
|
||||
"options": {
|
||||
"container": "Padrão (1140px)",
|
||||
"container-fluid": "Largura Total"
|
||||
},
|
||||
"default": "container"
|
||||
},
|
||||
{
|
||||
"id": "show_footer_credits",
|
||||
"type": "switch",
|
||||
"label": "Mostrar Créditos no Rodapé",
|
||||
"default": true
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Executable
+6
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"teste": {
|
||||
"title": "Teste",
|
||||
"description": "Conteúdo da página teste"
|
||||
}
|
||||
}
|
||||
Executable
+6
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"teste": {
|
||||
"title": "Teste",
|
||||
"description": "Conteúdo da página teste"
|
||||
}
|
||||
}
|
||||
Executable
+6
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"teste": {
|
||||
"title": "Teste",
|
||||
"description": "Conteúdo da página teste"
|
||||
}
|
||||
}
|
||||
Executable
+6
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"teste": {
|
||||
"title": "Teste",
|
||||
"description": "Conteúdo da página teste"
|
||||
}
|
||||
}
|
||||
Executable
+7
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"welcome": "Bem-vindo ao :platformName (Override pelo Child Theme)",
|
||||
"teste": {
|
||||
"title": "Teste",
|
||||
"description": "Conteúdo da página teste"
|
||||
}
|
||||
}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
{% extends "@index/layout.twig" %}
|
||||
|
||||
{% block content %}
|
||||
<div class="container py-5">
|
||||
<div class="jumbotron bg-light p-5 rounded-3 border border-danger">
|
||||
<h1 class="display-4 text-danger">About - CHILD THEME OVERRIDE!</h1>
|
||||
<p class="lead">Esta página index foi totalmente sobrescrita pelo tema filho.</p>
|
||||
<hr class="my-4">
|
||||
<p>Se você está vendo esta borda vermelha e este texto, o sistema de herança de módulos está funcionando perfeitamente.</p>
|
||||
<p>Tradução do tema: <strong>{{ __('index.welcome', {'platformName': platformName}) }}</strong></p>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
{% extends "@index/layout.twig" %}
|
||||
|
||||
{% block content %}
|
||||
<div class="container py-5">
|
||||
<div class="jumbotron bg-light p-5 rounded-3 border border-danger">
|
||||
<h1 class="display-4 text-danger">CHILD THEME OVERRIDE!</h1>
|
||||
<p class="lead">Esta página index foi totalmente sobrescrita pelo tema filho.</p>
|
||||
<hr class="my-4">
|
||||
<p>Se você está vendo esta borda vermelha e este texto, o sistema de herança de módulos está funcionando perfeitamente.</p>
|
||||
<p>Tradução do tema: <strong>{{ __('index.welcome', {'platformName': platformName}) }}</strong></p>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
{% extends "@index/layout.twig" %}
|
||||
|
||||
{% block content %}
|
||||
<div class="container py-5">
|
||||
<div class="jumbotron bg-light p-5 rounded-3 border border-danger">
|
||||
<h1 class="display-4 text-danger"> - CHILD THEME OVERRIDE!</h1>
|
||||
<p class="lead">Esta página index foi totalmente sobrescrita pelo tema filho.</p>
|
||||
<hr class="my-4">
|
||||
<p>Se você está vendo esta borda vermelha e este texto, o sistema de herança de módulos está funcionando perfeitamente.</p>
|
||||
<p>Tradução do tema: <strong>{{ __('index.welcome', {'platformName': platformName}) }}</strong></p>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
{% extends "@index/layout.twig" %}
|
||||
|
||||
{% block content %}
|
||||
<div class="container py-5">
|
||||
<div class="jumbotron bg-light p-5 rounded-3 border border-danger">
|
||||
<h1 class="display-4 text-danger">Teste - CHILD THEME OVERRIDE!</h1>
|
||||
<p class="lead">Esta página index foi totalmente sobrescrita pelo tema filho.</p>
|
||||
<hr class="my-4">
|
||||
<p>Se você está vendo esta borda vermelha e este texto, o sistema de herança de módulos está funcionando perfeitamente.</p>
|
||||
<p>Tradução do tema: <strong>{{ __('index.welcome', {'platformName': platformName}) }}</strong></p>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
Executable
+15
@@ -0,0 +1,15 @@
|
||||
/*
|
||||
Theme Name: Child Test Theme
|
||||
Theme URI: https://syspanel.com.br/themes/child-test
|
||||
Author: SysCMS Design Team
|
||||
Author URI: https://syspanel.com.br
|
||||
Description: A test child theme for SysCMS.
|
||||
Version: 1.0.0
|
||||
Template: default
|
||||
License: SysCMS Commercial License
|
||||
Tags: child, test
|
||||
*/
|
||||
|
||||
body {
|
||||
border: 5px solid red; /* Visual indicator for child theme */
|
||||
}
|
||||
Reference in New Issue
Block a user