umbraco-packages - Our.Umbraco.CmsEnvironmentIndicator 1.0.2-alpha-000032
CMS Environment Indicator - Displays a colour coded indicator based on which CMS environment you are viewing.
PM> Install-Package Our.Umbraco.CmsEnvironmentIndicator -Version 1.0.2-alpha-000032 -Source https://www.myget.org/F/umbraco-packages/api/v3/index.json
> nuget.exe install Our.Umbraco.CmsEnvironmentIndicator -Version 1.0.2-alpha-000032 -Source https://www.myget.org/F/umbraco-packages/api/v3/index.json
> dotnet add package Our.Umbraco.CmsEnvironmentIndicator --version 1.0.2-alpha-000032 --source https://www.myget.org/F/umbraco-packages/api/v3/index.json
<PackageReference Include="Our.Umbraco.CmsEnvironmentIndicator" Version="1.0.2-alpha-000032" />
Copy to clipboard
source https://www.myget.org/F/umbraco-packages/api/v3/index.json
nuget Our.Umbraco.CmsEnvironmentIndicator ~> 1.0.2-alpha-000032
Copy to clipboard
> choco install Our.Umbraco.CmsEnvironmentIndicator --version 1.0.2-alpha-000032 --source https://www.myget.org/F/umbraco-packages/api/v2
Import-Module PowerShellGet
Register-PSRepository -Name "umbraco-packages" -SourceLocation "https://www.myget.org/F/umbraco-packages/api/v2"
Install-Module -Name "Our.Umbraco.CmsEnvironmentIndicator" -RequiredVersion "1.0.2-alpha-000032" -Repository "umbraco-packages" -AllowPreRelease
Copy to clipboard
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).

This package was developed and tested against Umbraco v7+ on the Umbraco Cloud platform.
Package installation
The package can be installed from either Our Umbraco or NuGet package repositories, or build manually from the source-code:
Our Umbraco package repository
To install from Our Umbraco, please download the package from:
http://our.umbraco.org/projects/backoffice-extensions/cms-environment-indicator
NuGet package repository
To install from NuGet, you can run the following command from within Visual Studio:
PM> Install-Package Our.Umbraco.CmsEnvironmentIndicator
Manual build
If you prefer, you can compile the package yourself, you'll need:
- Visual Studio 2012 (or above)
To clone it locally click the "Clone in Windows" button above or run the following git commands.
git clone https://github.com/leekelleher/umbraco-environment-indicator.git umbraco-environment-indicator
cd umbraco-environment-indicator
.\build.cmd
Configuration
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.
Contributing to this project
For the majority of users this will be a "install and forget" package, but if you want to go further, here's the low down.
Anyone and everyone is welcome to contribute. Please take a moment to review the guidelines for contributing.
Contact
Have a question?
- CMS Environment Indicator Forum on Our Umbraco
- Raise an issue on GitHub
Dev Team
Special thanks
Top-most appreciation for contributions and pull-requests:
License
Copyright © 2014 Umbrella Inc, Our Umbraco and other contributors
Licensed under the MIT License
OwnersLee Kelleher |
AuthorsLee Kelleher |
Project URLhttps://github.com/leekelleher/umbraco-environment-indicator |
LicenseMIT |
Tagsumbraco environment UaaS favicon |
Info179 total downloads |
| 25 downloads for version 1.0.2-alpha-000032 |
| Download (4.94 KB) |
| Found on the current feed only |
Package history
| Version | Size | Last updated | Downloads | Mirrored? | |||
|---|---|---|---|---|---|---|---|
|
1.0.2-alpha-000032 | 4.94 KB | Tue, 06 Mar 2018 09:42:16 GMT | 25 |
|
||
|
1.0.1-alpha-000028 | 4.94 KB | Tue, 06 Mar 2018 09:30:15 GMT | 24 |
|
||
|
1.0.0-alpha-000027 | 4.94 KB | Tue, 22 Aug 2017 09:41:45 GMT | 25 |
|
||
|
1.0.0-alpha-000023 | 4.94 KB | Tue, 22 Aug 2017 09:33:59 GMT | 25 |
|
||
|
0.3.1-alpha-000022 | 4.94 KB | Tue, 22 Aug 2017 08:33:28 GMT | 27 |
|
||
|
0.3.1-alpha-000020 | 4.93 KB | Sat, 18 Mar 2017 09:41:55 GMT | 26 |
|
||
|
0.3.0-alpha-000016 | 4.93 KB | Sat, 18 Mar 2017 09:00:01 GMT | 27 |
|