currentfeature/docs
Last change
on this file since d1c4782 was
d1c4782,
checked in by borja <borja@…>, 5 years ago
|
Show a capture of the workout map, as an image, in the dashboard:
- Added a view to render the tracking map of a workout full screen
- Added a small shell script that uses chrome to grabs a screenshot
of the full screen map view of a workout, then uses imagemagick
convert to crop/resize it and finally saves it in a given location
- Added a static/maps directory to store maps captures
- Added static/maps to the boring/ignore file
- Added a tool in utilities.py to call the shell script that captures
the screenshot of the map
- Added a method to the Workout model, that returns the static path
to the workout map capture (valid to use with request.static_url()).
If there is no capture yet, call the tool to make one
- Added code to dashboard.pt to show the capture of the map
- Added a new parameter to te ow maps js code, allowing us to hide/show
the zoom controls of the map when building a new one
|
-
Property mode set to
100644
|
File size:
22.5 KB
|
Note: See
TracBrowser
for help on using the repository browser.