<commit_before># Umbraco CMS Environment Indicator

When developing websites using Umbraco in multi-environment solution, you can often get confused which environment you are currently looking at.

As a visual aid, this package will add a colour-coded indicator in the CMS back-office - this is applied to both the favicon (in the browser tab/title-bar) and adds a stripe to your avatar (in the top-left navigation).

![Environment Indicator](docs/environment-indicator.png)

This package was developed and tested against Umbraco v7+ on the [Umbraco-as-a-Service](https://www.umbraco.io) platform.

## Package installation

The package can be downloaded and installed from the Our Umbraco package repositories

http://our.umbraco.org/projects/backoffice-extensions/cms-environment-indicator

## Changing the colours

If you want to modify the default colours, you can do this by editing the `/App_Plugins/CmsEnvironmentIndicator/js/cms-environment-indicator.js` script.  You'll find a JavaScript array called `config`, there you can modify the existing colours and/or add new hostname/colour combinations.  The hostnames are defined as Regular Expressions, so don't forget to escape any dots, etc.

## Known issues

* At present, the colour-overlay for the favicon does not work with Internet Explorer, (tested up to IE10). The stripe on the avatar (top-left) will still appear.

---<commit_msg>Updated the README<commit_after># Umbraco CMS Environment Indicator

When developing websites using Umbraco in multi-environment solution, you can often get confused which environment you are currently looking at.

As a visual aid, this package will add a colour-coded indicator in the CMS back-office - this is applied to both the favicon (in the browser tab/title-bar) and adds a stripe to your avatar (in the top-left navigation).

![Environment Indicator](docs/environment-indicator.png)

This package was developed and tested against Umbraco v7+ on the [Umbraco-as-a-Service](https://www.umbraco.io) platform.

## Package installation

The package can be downloaded and installed from the Our Umbraco package repositories

http://our.umbraco.org/projects/backoffice-extensions/cms-environment-indicator

## Changing the colours

If you want to modify the default colours, you can do this by editing the `/App_Plugins/CmsEnvironmentIndicator/js/cms-environment-indicator.js` script.  You'll find a JavaScript array called `config`, there you can modify the existing colours and/or add new hostname/colour combinations.  The hostnames are defined as Regular Expressions, so don't forget to escape any dots, etc.

---
{'fraction_non_alphanumeric': 0.06694720734506504, 'fraction_numerical': 0.001530221882172915, 'mean_word_length': 4.772626931567329, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5944841', 'n_tokens_mistral': 705, 'n_tokens_neox': 664, 'n_words': 324}