Version 0.2
When having multiple environments (local, development and production) and all the panels look the same, it can be easy to be in the wrong Panel.
This plugin add a bar with background color and a text of your choice to make it easier to be alerted when you are in the wrong or right Panel.
Use one of the alternatives below.
If you are using the Kirby CLI you can install this plugin by running the following commands in your shell:
$ cd path/to/kirby
$ kirby plugin:install username/kirby-panel-brand
- Clone or download this repository.
- Unzip the archive if needed and rename the folder to
kirby-panel-brand
.
Make sure that the plugin folder structure looks like this:
site/plugins/kirby-panel-brand/
If you know your way around Git, you can download this plugin as a submodule:
$ cd path/to/kirby
$ git submodule add https://github.com/username/kirby-panel-brand site/plugins/kirby-panel-brand
The following options can be set in your /site/config/config.php
file:
c::set('plugin.panel.brand.enable', true); // False in production for ex.
c::set('plugin.panel.brand.text', 'Panel Brand');
c::set('plugin.panel.brand.background', '#ae287f');
c::set('plugin.panel.brand.color', '#fff');
Bar text. Letters and numbers are allowed (it used the CSS content
property).
Bar background color.
Bar text color.
0.1
- Initial release
- Kirby 2.3+
This plugin is provided "as is" with no guarantee. Use it at your own risk and always test it yourself before using it in a production environment. If you find any issues, please create a new issue.
It is discouraged to use this plugin in any project that promotes racism, sexism, homophobia, animal abuse, violence or any other form of hate speech.