Giter Club home page Giter Club logo

october_envbar's Introduction

Envbar

This October CMS plugin allows you to differentiate between environments by adding a custom colored bar above the top navigation.

October Envbar - Intro

System Requirements

  • October CMS 1.0.4x
  • PHP 7.x

Installation

Backend

Go to Settings > System > Updates & Plugins and search for the plugin. Click on Install Plugins and search for envbar.

Artisan

php artisan plugin:install Magenizr.Envbar
Downloading plugin: Magenizr.Envbar
Unpacking plugin: Magenizr.Envbar

Manually

  1. Download the code.
  2. Extract the downloaded tar.gz file. Example: tar -xzf October_Envbar_1.0.2.tar.gz.
  3. Copy the code into ./plugins/magenizr/envbar/.

Configuration

Make sure the name of the environment ( e.g development ) matches the value of the variable APP_ENV or default in ./config/environment.php or in your .env file.

Features

  • Enable or disable plugin temporarily.
  • Enable plugin for Superusers only.
  • Add multiple environments and choose the color of the bar.
  • Automatically clear cached styles ( colors ) after saving settings or if .env file has been updated.

Usage

Simply navigate to Settings > System > Envbar and enable the plugin. Update colors within the Environments section if required.

Support

If you experience any issues, don't hesitate to open an issue on Github.

Contact

Follow us on GitHub, Twitter and Facebook.

History

===== 1.0.4 =====

  • Create temp folder if not exists. Thx @jan-vince

===== 1.0.3 =====

  • Automatically clear cached styles ( colors ) if .env file has been updated. Thx @kavishdahekar

===== 1.0.2 =====

  • Move compiled CSS file from ./storage/temp to ./storage/temp/public. Thx @jan-vince

===== 1.0.1 =====

  • Fallback for APP_ENV variable.
  • Compile CSS again if ./storage/temp has been cleared.

===== 1.0.0 =====

  • First release

License

MIT License

october_envbar's People

Contributors

jan-vince avatar magenizr avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.