Logoconfig

This commit is contained in:
BuildTools 2022-08-12 21:42:54 -04:00
parent 4ef2617921
commit 9bc505dbd7
5 changed files with 11 additions and 8 deletions

View File

@ -6355,8 +6355,8 @@ label{
#logo-area {
position: absolute;
width: 31.528%;
height: 9.398%;
width: 452px;
height: 95px;
left: 0;
top: 83.4%
}
@ -6364,9 +6364,9 @@ label{
#logo-area img {
display: block;
position: absolute;
width: 65%;
top: 19%;
right: 5%
width: 100%;
top: 0%;
right: 0%
}
#arrow-img {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 30 KiB

View File

@ -2084,7 +2084,7 @@
<div id="minimap-2" class="map"></div>
<div id="minimap-3" class="map"></div>
</div>
<div id="logo-area"><img src="images/midco_logo_shadow.png"/></div>
<div id="logo-area"><img src="images/midco_logo_shadow.png" onerror="this.onerror=null;this.src='images/midco_logo_shadow.png';"/></div>
<div id="forecast-shadow">
<div id="normalheader" class='forecast-header'>

View File

@ -5,11 +5,11 @@ var map_key = '';
//Apperance settings. Fields left blank will use defaults. Will only refresh upon reload.
var apperanceSettings = {
iconSet:"2007", //2007 or 2010
iconSet:"2010", //2007 or 2010
serialNumber:"",// Ex. "TWCS02983932"
headinID:"", // Ex. "0298393223"
affilateName:"Midco",// Ex. "Comcast"
logoURL:"", //image size must be...
logoURL:"", //image size must be 879*184px or similar aspect ratio.
corebackgroud:"buildings", //forest, mountain, city, buildings, neighborhood, southwest, ocean. Default is buildings.
backgroudType:"",//Set to
backgroudURL:"",//If background type set to "custom" will use this url. URL can be a website or local file path.

View File

@ -48,6 +48,9 @@ function applyApperanceSettings() {
} else {
$('.city-info-slide').css({'background': `transparent url(/images/newbg/core_${apperanceSettings.corebackgroud}_bg.png) no-repeat`, 'background-position': '69% 41.5%', 'background-size': '120.3% 150.9%'})
}
if (apperanceSettings.logoURL) {
$('#logo-area img').attr("src",apperanceSettings.logoURL)
}
}