bayern web style

This commit is contained in:
ragu 2022-05-05 12:07:05 +02:00
parent 7ede282b7b
commit cc031094eb
8 changed files with 67 additions and 23 deletions

View file

@ -60,10 +60,12 @@ sub tpl(){
my $icon_green = "Open_Green.png";
my $icon_red = "Open_Red.png";
my $icon_blue = "Open_Blue.png";
my $mapheight = "600px;";
if($project eq "Bayern"){
$icon_green = "LastenradBay_Standortpfeil_gruen_03a.png";
$icon_red = "LastenradBay_Standortpfeil_rot_03a.png";
$icon_blue = "LastenradBay_Standortpfeil_blau_03a.png";
$mapheight = "800px;";
}
$users_sharee->{c_id} = "0" if(!$users_sharee->{c_id});
@ -76,9 +78,9 @@ sub tpl(){
my $preserve_view = "false";
$preserve_view = "true" if($filesize < 200);#it's like empty without publixc stations
print "<div style='background-color:#cccccc;width:100%;margin-top:40px;'>\n";
print "<div style='background-color:#cccccc;width:100%;margin-top:1em;'>\n";
print "<div id='map' style='height:600px;'></div>\n";
print "<div id='map' style='height:$mapheight'></div>\n";
print<<EOF
<script>