Making Training A Little Different

I have recently completed a project where we provided a training environment (application and database server) on the same physical network as the production environment. We put in place a scripted backup and restore for each Friday night such that the training environment has a sensible up-to-date set of training data.

The fear however, was that given that our users had shortcuts to both environments, there was a risk that someone might log into the wrong system and not realise. Consequently, we needed a way of differentiating between the two environments which we accomplished via cascading style sheets as shown below:

Production:

Standard SDE Login Standard SDE Dashboard

Training:

Training SDE Login Training SDE Dashboard

Achieving this is very simple:

Open default.htm from the C:Program FilesBMCService Desk ExpressApplication Serverhtml directory and replace the line:

<table style="height:99%;width:100%;background-color:0069A5;" cellspacing="0" cellpadding="5" border=0 bordercolor=yellow ID="TableLogin">

with:

<table style="height:99%;width:100%;background-color:FF0000;" cellspacing="0" cellpadding="5" border=0 bordercolor=yellow ID="TableLogin">

Save the file. That sorts out the Login page which isn’t a great deal of use if your organisation is using “Windows Authentication!”

Open Merlin Theme.css from the C:Program FilesBMCService Desk ExpressApplication Server directory in notepad. Scroll down until you find:

.navLEFT
{
BACKGROUND-COLOR: #2188c9;
BORDER-TOP: #ffffff 1px solid;
BORDER-BOTTOM: #196697 1px solid
}

and replace with:

.navLEFT
{
BACKGROUND-COLOR: #FF0000;
BORDER-TOP: #ffffff 1px solid;
BORDER-BOTTOM: #196697 1px solid
}

and similarly find:

.navBODY
{
BACKGROUND-COLOR: #2188c9;
}

and replace with:

.navBODY
{
BACKGROUND-COLOR: #FF0000;
}

Save the file and you have the desired effect.

7 thoughts on “Making Training A Little Different

  1. This is wonderful! This was exactly what I was looking for. We are upgrading from Magic 8 to SDE 9.8 and wanted to make sure we could keep our test environment and production separate and this meets the bill completely!

    Thank you!

  2. Hi Alan, resurrecting a old post I know! I was wondering if you have any solution in which the navbar is different colors depending on the group.

    Thanks,

    Moises

  3. Hi Moises,

    No issue re resurrecting an old post. I don’t know if it possible to do what you are suggesting but if it were I would focus my energies on the navigator.xsl in C:Program FilesBMCService Desk ExpressApplication ServerScripts

    If I get a little more time I’ll have a look and see what comes up.

    Regards,

    Alan

  4. Hi BobK,

    Yes Self-Service can be modified to achieve the same effect although the technique is slightly different:

    The Login Page is modified through Self-Service Customisation Wizard.
    The Main Self-Service window is a lot trickier to modify as you need to replace images otherwise it looks awful etc. About the best you can do easily is search for .DarkBlueHeader in sshdmain.css and replace the background line with:

    background: #FF0000

    Hope this helps.

    Regards,

    Alan

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s