Forum Discussion
ClaudiusH
7 years agoKhoros Alumni (Retired)
Neat. Thanks for sharing, PerBonomi.
Here's a related tweak we use here on the Lithosphere. This will show a different striped background in the admin interface to reduce the amount of changing admin settings on stage and wondering why nothing happens on production 😁
- Create new component "stripe-stage-admin-background" (or a name of your preference):
<#if page.name == "BizAppsPage"> <#if config.getString("phase", "prod") == "stage"> <style type="text/css"> .BizAppsPage { background: repeating-linear-gradient( 45deg, #606dbc, #606dbc 10px, #465298 10px, #465298 20px ); } </style> </#if> </#if>
- Add to last_chance_html:
<@component id="stripe-stage-admin-background"/>
Resulting admin on stage:
Related Content
- 6 years ago
- 7 years ago