Improve document page image lazy loading. Use font awesome spinner and CSS3 animation.

This commit is contained in:
Roberto Rosario
2016-11-04 03:33:24 -04:00
parent 69bcade6fb
commit bc7f5f44ed
5 changed files with 46 additions and 14 deletions

View File

@@ -682,7 +682,6 @@ class DocumentPage(models.Model):
# Set sensible defaults if the argument is not specified or if the
# argument is None
size = kwargs.get('size', setting_display_size.value) or setting_display_size.value
rotation = kwargs.get('rotation', DEFAULT_ROTATION) or DEFAULT_ROTATION
zoom_level = kwargs.get('zoom', DEFAULT_ZOOM_LEVEL) or DEFAULT_ZOOM_LEVEL