... | ... |
@@ -128,7 +128,8 @@ def networkSurvey(filename, subId, devEUI = None, fileOutput= True, latestRecord |
128 | 128 |
htmlOutput+="<body>\n" |
129 | 129 |
if fileOutput is True: |
130 | 130 |
htmlOutput += "<h2>"+filename+" - "+subId+"</h2>" |
131 |
- htmlOutput+=" <div id=\"mapid\" style=\"width: 95%; max-width: 400px; height: 400px; margin: auto\"></div>\n" |
|
131 |
+ #htmlOutput+=" <div id=\"mapid\" style=\"width: 95%; max-width: 400px; height: 400px; margin: auto\"></div>\n" |
|
132 |
+ htmlOutput+=" <div id=\"mapid\"></div>\n" |
|
132 | 133 |
htmlOutput+="\n" |
133 | 134 |
htmlOutput+="<script>\n" |
134 | 135 |
|
... | ... |
@@ -44,7 +44,8 @@ def htmlLatest(deveui,subID,FCnt,timeLatest,lat,lon,err,rssi,comment=None,solver |
44 | 44 |
htmlOutput+="<h2>"+server['name']+" Latest</h2>\n" |
45 | 45 |
htmlOutput+="<p>\n<div id=\"home\"><button class=\"btn-green-menu\" onClick=\"window.location.href='.';\">Home</div>\n" |
46 | 46 |
htmlOutput+="<div id=\"log\"><button class=\"btn-green-menu\" onClick=\"window.location.href='./log';\">Log</div>\n" |
47 |
- htmlOutput+=" <div id=\"mapid\" style=\"width: 95%; max-width: 400px; height: 200px; margin: auto\"></div>\n" |
|
47 |
+ #htmlOutput+=" <div id=\"mapid\" style=\"width: 95%; max-width: 400px; height: 200px; margin: auto\"></div>\n" |
|
48 |
+ htmlOutput+=" <div id=\"mapid\"></div>\n" |
|
48 | 49 |
|
49 | 50 |
if 0 != lat and 0 != lon: |
50 | 51 |
xmin=0.999999*lon |
... | ... |
@@ -211,10 +211,12 @@ button { |
211 | 211 |
display: inline; |
212 | 212 |
} |
213 | 213 |
|
214 |
+#mapid { width: 95%; max-width: 1280px; height: 500px; margin: auto;} |
|
214 | 215 |
|
215 | 216 |
@media screen and (max-width: 768px) { |
216 | 217 |
/*#colLeft { display: none; } |
217 | 218 |
#colRight { display: none; }*/ |
218 | 219 |
.row2 { display: block; } |
219 | 220 |
.center { min-width: 90vw; } |
221 |
+ #mapid { width: 95%; max-width: 400px; height: 400px; margin: auto;} |
|
220 | 222 |
} |