Create an ECP Registry Training Software Release from a Production Software Release

Edit the ECP Registry CTT software to make a new Training CTT.WAR file as follows:

A. Edit the ecpregistry.css file by opening the following directories in Netbeans:

  1. CTT, Web Pages, resources, css
  2. Double click on ecpregistry.css to open the file.  Scroll down to the line of code with #crfheader (currently located near the top of the file) containing the following information:
    1.     width: 750px;

    2.     background-color: whitesmoke;  /* original light gray CRF header backgound color is: whitesmoke   NOTE: The training color should be: red */

    3.     padding: 1px;

    4.     border: 2px solid black;

  3. Edit the background-color from whitesmoke which is used in production to red which is used in training.
    1.     background-color: red

 

B. Edit the template.xhtml file by opening the following directories in Netbeans:

 

  1. CTT, Web Pages, resources, template
  2. Double click on template.xhtml to open the file.  Scroll down to the line of code with comment symbol <!--  and the wording 'Remove the comment tags ...' containing the following information:

    <!--    

            Remove the comment tags to allow the TRAINING ECP REGISTRY WEBSITE!!!!! to appear when this code is placed onto the

            ecpregtraining.wustl.edu (172.20.175.94) server so study coordinators can easily identify the ECP training website.

            Change the file ecpregistry.css #crfheader whitesmoke to red for training site or leave whitesmoke for production site.

     

            <div>

                <h:outputText value="ECP REGISTRY TRAINING WEBSITE!!!!!" style="font-size: 40px; color: red;" />   

            </div>

    --> 

  3. Move the end of comment symbol --> to above <div> so the ECP REGISTRY TRAINING WEBSITE!!!! will become visible as follows:

    <!--    

            Remove the comment tags to allow the TRAINING ECP REGISTRY WEBSITE!!!!! to appear when this code is placed onto the

            ecpregtraining.wustl.edu (172.20.175.94) server so study coordinators can easily identify the ECP training website.

            Change the file ecpregistry.css #crfheader whitesmoke to red for training site or leave whitesmoke for production site.

     --> 

            <div>

                <h:outputText value="ECP REGISTRY TRAINING WEBSITE!!!!!" style="font-size: 40px; color: red;" />   

            </div>