add update notice for old users and hide it for all on the current version
This commit is contained in:
@ -27,6 +27,7 @@ window.setupLargeImagePreview = function() {
|
||||
|
||||
window.setupStyles = function() {
|
||||
$('head').append('<style>' +
|
||||
[ 'body:after { display: none } ',
|
||||
[ '#largepreview.enl img { border:2px solid '+COLORS[TEAM_ENL]+'; } ',
|
||||
'#largepreview.res img { border:2px solid '+COLORS[TEAM_RES]+'; } ',
|
||||
'#largepreview.none img { border:2px solid '+COLORS[TEAM_NONE]+'; } ',
|
||||
|
14
style.css
14
style.css
@ -1,3 +1,17 @@
|
||||
/* update notice */
|
||||
body:after {
|
||||
background: none repeat scroll 0 0 #FFFFFF;
|
||||
color: red;
|
||||
content: "Please update your total conversion script or it will not work properly anymore.";
|
||||
display: block;
|
||||
font-weight: bold;
|
||||
left: 381px;
|
||||
padding: 2px;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
z-index: 9001;
|
||||
}
|
||||
|
||||
/* general rules ******************************************************/
|
||||
|
||||
html, body, #map {
|
||||
|
Reference in New Issue
Block a user