Support for report assets

pull/955/head
Piero Toffanin 2021-01-15 10:16:28 -05:00
rodzic 80b62bca52
commit c035f9d21b
2 zmienionych plików z 3 dodań i 0 usunięć

Wyświetl plik

@ -194,6 +194,7 @@ class Task(models.Model):
},
'cameras.json': 'cameras.json',
'shots.geojson': os.path.join('odm_report', 'shots.geojson'),
'report.pdf': os.path.join('odm_report', 'report.pdf'),
}
STATUS_CODES = (

Wyświetl plik

@ -48,6 +48,8 @@ const api = {
new AssetDownload(_("Textured Model"),"textured_model.zip","fab fa-connectdevelop"),
new AssetDownload(_("Camera Parameters"),"cameras.json","fa fa-camera"),
new AssetDownload(_("Camera Shots (GeoJSON)"),"shots.geojson","fa fa-camera"),
new AssetDownload(_("Quality Report"),"report.pdf","far fa-file-pdf"),
new AssetDownloadSeparator(),
new AssetDownload(_("All Assets"),"all.zip","far fa-file-archive")