From 28e86f044d67e09ba2ed50137c224b8aed6baf9b Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Sun, 5 Apr 2015 23:47:24 -0400 Subject: [PATCH] Add new style document page viewer. Remove web_theme_hide_menus feature, all views except the login view will show the main menu. Remove unused javascript. Remove the now unused no-parent-history CSS class. Remove the facybox-iframe class and associated JavaScript. --- .../appearance/templates/appearance/base.html | 218 ++++++++---------- mayan/apps/documents/apps.py | 21 +- mayan/apps/documents/links.py | 33 +-- mayan/apps/documents/views.py | 7 - mayan/apps/documents/widgets.py | 2 +- 5 files changed, 118 insertions(+), 163 deletions(-) diff --git a/mayan/apps/appearance/templates/appearance/base.html b/mayan/apps/appearance/templates/appearance/base.html index 861e91aead..a068494e80 100644 --- a/mayan/apps/appearance/templates/appearance/base.html +++ b/mayan/apps/appearance/templates/appearance/base.html @@ -93,53 +93,44 @@ {% if web_theme_view_type == 'plain' %} {% block content_plain %}{% endblock %} {% else %} - {% if not web_theme_hide_menus %} -
@@ -233,37 +224,63 @@