From f0035e601b2a8e19b41f3bb6d349215c830830c3 Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Wed, 7 Jan 2015 23:10:44 -0400 Subject: [PATCH] Remove hard coded CSS styles into CSS classes --- mayan/apps/documents/widgets.py | 6 +++--- mayan/apps/main/templates/main/base.html | 12 ++++++++++++ 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/mayan/apps/documents/widgets.py b/mayan/apps/documents/widgets.py index 2c3914bd67..04ad1cdb6a 100644 --- a/mayan/apps/documents/widgets.py +++ b/mayan/apps/documents/widgets.py @@ -22,7 +22,7 @@ class DocumentPageImageWidget(forms.widgets.Widget): rotation = final_attrs.get('rotation', 0) if value: output = [] - output.append('
') + output.append('
') output.append(document_html_widget(value.document, page=value.page_number, zoom=zoom, rotation=rotation, image_class='lazy-load-interactive', nolazyload=False, size=DISPLAY_SIZE)) output.append('
') return mark_safe(u''.join(output)) @@ -36,7 +36,7 @@ class DocumentPagesCarouselWidget(forms.widgets.Widget): """ def render(self, name, value, attrs=None): output = [] - output.append(u'