X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=plugins%2Fgooglemaps%2F__init__.py;fp=plugins%2Fgooglemap%2Fgooglemap.py;h=38c6564cc183c1351e7bcc7d06c4b5cce9f1062a;hb=8c344999d6ee3b3a9172a1068a77c83af77a7aee;hp=bce84f54a031fc441a3cc67fc76d077fb6105386;hpb=c84873b7b55121705ca5ec4d897194faadcb8408;p=myslice.git diff --git a/plugins/googlemap/googlemap.py b/plugins/googlemaps/__init__.py similarity index 89% rename from plugins/googlemap/googlemap.py rename to plugins/googlemaps/__init__.py index bce84f54..38c6564c 100644 --- a/plugins/googlemap/googlemap.py +++ b/plugins/googlemaps/__init__.py @@ -1,6 +1,6 @@ from unfold.plugin import Plugin -class GoogleMap (Plugin): +class GoogleMaps (Plugin): # set checkboxes if a final column with checkboxes is desired # pass columns as the initial set of columns @@ -16,7 +16,7 @@ class GoogleMap (Plugin): self.zoom=zoom def template_file (self): - return "googlemap.html" + return "googlemaps.html" def template_env (self, request): env={} @@ -25,13 +25,13 @@ class GoogleMap (Plugin): def requirements (self): reqs = { 'js_files' : [ "https://maps.googleapis.com/maps/api/js?sensor=false", - "/js/googlemap.js", + "/js/googlemaps.js", "/js/markerclusterer.js", "js/manifold.js", "js/manifold-query.js", "js/spin.presets.js", "js/spin.min.js", "js/jquery.spin.js", "js/unfold-helper.js", ], - 'css_files' : [ "css/googlemap.css", + 'css_files' : [ "css/googlemaps.css", ], } return reqs