Webui Create a Custom Background and Color
Log In or Register to download the BES file, and more.

0 Votes

Description

This action prompts you for the default css color you want to use for your WebUI.  https://www.w3schools.com/cssref/css_colors.asp

 

 

Next it creates a directory in C:\Program Files (x86)\BigFix Enterprise\BES WebUI\WebUI\sites\WebUI Common_12049_51_1553129035\login-app\app\client\public\skins\skins that looks for an image called Custom.jpg once you copy your custom.jpg file to C:\Program Files (x86)\BigFix Enterprise\BES WebUI\WebUI\sites\WebUI Common_12049_51_1553129035\login-app\app\client\public\skins\skins you will need to restart the BESWebUI on your WebUI server.

 

For Best results it looks like you want to use an image size of 1280x975 for best rendering

 


Property Details

ID26622
StatusBeta - Preliminary testing ready for more
TitleWebui Create a Custom Background and Color
DomainBESC
SourceBrad Sexton
Source Release Date3/1/2019 12:00:00 AM
KeywordsWebUI, Custom, Branding
Is TaskTrue
Added by on 5/15/2019 2:17:43 PM
Last Modified by on 5/15/2019 2:17:43 PM
Counters 166 Views / 1 Download
User Rating 1 star 2 star 3 star 4 star 5 star * Average over 0 ratings. ** Log In or Register to add your rating.

Relevance

Used in 2 fixlets   * Results in a true/false
Show indented relevance
exist folder "C:\Program Files (x86)\BigFix Enterprise\BES WebUI"

Actions

Action 1 (default)

Action Link Click here to deploy this action.
Script Type BigFix Action Script
action parameter query "Color" with description "Please type in the CSS Color Code" With default "#2F4F4F"

if {not exist folder "C:\Program Files (x86)\BigFix Enterprise\BES WebUI\WebUI\sites\WebUI Common_12049_51_1553129035\login-app\app\client\public\skins\skins"}
dos mkdir "C:\Program Files (x86)\BigFix Enterprise\BES WebUI\WebUI\sites\WebUI Common_12049_51_1553129035\login-app\app\client\public\skins\skins"

endif

action uses wow64 redirection false
delete __createfile
Createfile until END_OF_FILE

.container .login-container .login-box {{
background: {parameter "Color" of action};
}

.container .login-container .login-image-section div img {{
padding-top: 10%;
height: 100%;
width: 115%;
opacity: 0.5;
background-image: url('Custom.jpg')
}

END_OF_FILE

delete "C:\Program Files (x86)\BigFix Enterprise\BES WebUI\WebUI\sites\WebUI Common_12049_51_1553129035\login-app\app\client\public\skins\skins\custom.css"
move __createfile "C:\Program Files (x86)\BigFix Enterprise\BES WebUI\WebUI\sites\WebUI Common_12049_51_1553129035\login-app\app\client\public\skins\skins\custom.css"

delete __createfile


setting "_WebUIAppEnv_SKIN_DEFAULT_DIR"="0" on "{parameter "action issue date" of action}" for client
setting "_WebUIAppEnv_SKIN_DEFAULT_FILE"="custom.css" on "{parameter "action issue date" of action}" for client
Success Criteria

This action will be considered successful when the applicability relevance evaluates to false.


Sharing

Social Media:
Share this page on Yammer

Comments

Log In or Register to leave comments!