mirror of
https://github.com/buffbears/Weatherscan.git
synced 2024-06-14 06:29:57 +00:00
Logoconfig
This commit is contained in:
parent
4ef2617921
commit
9bc505dbd7
|
@ -6355,8 +6355,8 @@ label{
|
||||||
|
|
||||||
#logo-area {
|
#logo-area {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
width: 31.528%;
|
width: 452px;
|
||||||
height: 9.398%;
|
height: 95px;
|
||||||
left: 0;
|
left: 0;
|
||||||
top: 83.4%
|
top: 83.4%
|
||||||
}
|
}
|
||||||
|
@ -6364,9 +6364,9 @@ label{
|
||||||
#logo-area img {
|
#logo-area img {
|
||||||
display: block;
|
display: block;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
width: 65%;
|
width: 100%;
|
||||||
top: 19%;
|
top: 0%;
|
||||||
right: 5%
|
right: 0%
|
||||||
}
|
}
|
||||||
|
|
||||||
#arrow-img {
|
#arrow-img {
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 30 KiB |
|
@ -2084,7 +2084,7 @@
|
||||||
<div id="minimap-2" class="map"></div>
|
<div id="minimap-2" class="map"></div>
|
||||||
<div id="minimap-3" class="map"></div>
|
<div id="minimap-3" class="map"></div>
|
||||||
</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="forecast-shadow">
|
||||||
<div id="normalheader" class='forecast-header'>
|
<div id="normalheader" class='forecast-header'>
|
||||||
|
|
|
@ -5,11 +5,11 @@ var map_key = '';
|
||||||
|
|
||||||
//Apperance settings. Fields left blank will use defaults. Will only refresh upon reload.
|
//Apperance settings. Fields left blank will use defaults. Will only refresh upon reload.
|
||||||
var apperanceSettings = {
|
var apperanceSettings = {
|
||||||
iconSet:"2007", //2007 or 2010
|
iconSet:"2010", //2007 or 2010
|
||||||
serialNumber:"",// Ex. "TWCS02983932"
|
serialNumber:"",// Ex. "TWCS02983932"
|
||||||
headinID:"", // Ex. "0298393223"
|
headinID:"", // Ex. "0298393223"
|
||||||
affilateName:"Midco",// Ex. "Comcast"
|
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.
|
corebackgroud:"buildings", //forest, mountain, city, buildings, neighborhood, southwest, ocean. Default is buildings.
|
||||||
backgroudType:"",//Set to
|
backgroudType:"",//Set to
|
||||||
backgroudURL:"",//If background type set to "custom" will use this url. URL can be a website or local file path.
|
backgroudURL:"",//If background type set to "custom" will use this url. URL can be a website or local file path.
|
||||||
|
|
|
@ -48,6 +48,9 @@ function applyApperanceSettings() {
|
||||||
} else {
|
} 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%'})
|
$('.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)
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user