Fixed map elements

master
Keith Irwin 2017-09-27 18:11:49 +00:00
parent 6fa13619ac
commit f1eadf7652
No known key found for this signature in database
GPG Key ID: 378933C743E2BBC0
1 changed files with 11 additions and 4 deletions

View File

@ -7,7 +7,7 @@
<style>/* These styles include values passed from to the template from the server. Other styles are in map.css */
{% if noHeader!='0' %} main { top: 0; } {% endif %}
{% if mapuser.settings.showStreetview and disp!='0' and disp!='1' %}
{% if mapuser.settings.showStreetview and disp=='2' %}
/* show both */
@media (orientation: landscape) {
#map, #view {
@ -61,9 +61,16 @@
</div>
{% endif %}
<div id='map'></div>
<div id='view'><img id='viewImg' alt="Streetview image"/></div>
<!-- Map -->
{% if disp!='1' %}
<div id='map'></div>
{% endif %}
<!-- Streetview -->
{% if mapuser.settings.showStreetview and and disp!='0' %}
<div id='view'><img id='viewImg' alt="Streetview image"/></div>
{% endif %}
<div id='notset' class='centered alert alert-warning'>
{% if user.id == mapuser.id %}