Skip to content

Commit

Permalink
Update versao 1.1 - Menu atualizado
Browse files Browse the repository at this point in the history
  • Loading branch information
mauricio-tonny committed Feb 7, 2022
1 parent 15eb0e9 commit 21e6008
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 16 deletions.
38 changes: 38 additions & 0 deletions Block/Adminhtml/System/Config/Documentation.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<?php

/**
* @package Buzz_Base
* @company Buzz
* @author github.com/mauricio-tonny
* @copyright Copyright (c)
*/

namespace Buzz\Base\Block\Adminhtml\System\Config;

class Documentation extends \Magento\Config\Block\System\Config\Form\Fieldset
{
public function render(\Magento\Framework\Data\Form\Element\AbstractElement $element)
{

return '<p style="font-size: 18px; font-weight: 600; margin-top: 15px;">Sobre o módulo</p>
<br>
<p>Versão: 1.1</p>
<br>
<div style="padding: 20px; border: solid 1px #000; background: #eee;">
<p style="font-size: 16px;">Esperado para as próximas versões do módulo:</p>
<br>
<p> - Listar módulos instalados da BUZZ,</p>
<p> - Exibir a versão de cada módulo instalado da Buzz,</p>
<p> - Exibir a pasta onde o Magento está instalado,</p>
<p> - Criar menu customizado com logo (BUZZ),</p>
<p> - Exibir o modo que a loja se encontra (desenvolvimento/produção),</p>
<br>
</div>
<br>
<p>Caso estiver com dúvidas, não se preocupe, fale com o suporte !</p>
<br>
<p>Desenvolvido por <a href="https://sitedabuzz.com.br" target="_blank" title="Somos apaixonados por Lojas Virtuais">Buzz</a>.</p>
';

}
}
26 changes: 10 additions & 16 deletions etc/adminhtml/system.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<!--
/**
/**
* @package Buzz_Base
* @author Team Buzz Web
* @copyright Copyright (c)
Expand All @@ -10,37 +10,31 @@
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<system>
<tab id="buzz" translate="label" sortOrder="999999" class="buzz-tab buzzbase-tab-container">
<label>Buzz</label>
</tab>
<label>Buzz</label>
</tab>
<section id="buzz_base" translate="label" sortOrder="1" showInDefault="1" showInWebsite="1" showInStore="1">
<label>Base</label>
<tab>buzz</tab>
<tab>buzz</tab>
<resource>Buzz_Base::config_base</resource>
<group id="general" translate="label" type="text" sortOrder="1" showInDefault="1" showInWebsite="1" showInStore="1">
<label>General Setting</label>
<label>General Setting</label>
<comment>This module aims to centralize all BUZZ modules.</comment>
<field id="base_enable" translate="label" type="select" sortOrder="1" showInDefault="1" showInWebsite="1" showInStore="1">
<label>Extension Enable</label>
<source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
</field>
</group>
<group id="base_instaled" translate="label" type="text" sortOrder="2" showInDefault="1" showInWebsite="1" showInStore="1">
<label>Modules installed</label>
<label>Modules installed</label>
<field id="instaled_extension" translate="label" type="text" sortOrder="98" showInDefault="1" showInWebsite="1" showInStore="1">
<label>Listing</label>
<comment>developing</comment>
</field>
</group>
<group id="base_netx" translate="label" type="text" sortOrder="999" showInDefault="1" showInWebsite="1" showInStore="1">
<label>Next deployments</label>
<comment>
<![CDATA[Below a list of things that I expect to implement in the next version of Base module:]]>
</comment>
<field id="my_contact" translate="label" type="text" sortOrder="99" showInDefault="1" showInWebsite="1" showInStore="1">
<label>My email</label>
<comment>You can subscribe to receive the news!</comment>
</field>
</group>
<label>Next deployments</label>
<frontend_model>Buzz\Base\Block\Adminhtml\System\Config\Documentation</frontend_model>
</group>
</section>
</system>
</config>
</config>

0 comments on commit 21e6008

Please sign in to comment.