Skip to content
This repository has been archived by the owner on Aug 9, 2021. It is now read-only.

Commit

Permalink
feat(agent): added better responsive UI for OpenStreetMap
Browse files Browse the repository at this point in the history
  • Loading branch information
DIOHz0r committed Nov 20, 2017
1 parent bf78c36 commit c25fe1b
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
13 changes: 13 additions & 0 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -80,3 +80,16 @@ ul#menu ul.ssmenu {
float: right;
width: 200px;
}

/* ################--------------- Responsive ---------------#################### */
@media screen and (max-width: 700px) {
#plugin_flyvemdm_geolocationMap {
float: none;
width: 100%;
}

#plugin_flyvemdm_geolocationList {
float: none;
width: 100%;
}
}
4 changes: 2 additions & 2 deletions tpl/computer_geolocation.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<div class="plugin_flyvemdm_clear">
<div id="plugin_flyvemdm_geolocationMap">
</div>
<div id="plugin_flyvemdm_geolocationList">
<div>{{ __('view from', 'flyvemdm') }}{{ beginDate|raw }}</div>
<div>{{ __('view until', 'flyvemdm') }}{{ endDate|raw }}</div>
<div><p><a href="#" class="vsubmit" onclick="loadMarkers()">{{ __('update', 'flyvemdm') }}</a></p></div>
</div>
<div id="plugin_flyvemdm_geolocationMap">
</div>
<script type="text/javascript">$(function() {
var map;
var markers = [];
Expand Down

0 comments on commit c25fe1b

Please sign in to comment.