From bbd7112a5eb74d6f906d567e827f399ac6b5f022 Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Mon, 15 Apr 2013 15:01:59 -0500 Subject: [PATCH] pdf: use pdf.js in an iframe --- .../mediagoblin/media_displays/pdf.html | 206 +----------------- 1 file changed, 3 insertions(+), 203 deletions(-) diff --git a/mediagoblin/templates/mediagoblin/media_displays/pdf.html b/mediagoblin/templates/mediagoblin/media_displays/pdf.html index 35a61872..e946f3ab 100644 --- a/mediagoblin/templates/mediagoblin/media_displays/pdf.html +++ b/mediagoblin/templates/mediagoblin/media_displays/pdf.html @@ -43,213 +43,13 @@ -{% if pdf_js %} - - {# #} - - - - {# TODO: include compatibility only if this is not either chrome or firefox #} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -{% endif %} - {%- endblock %} {% block mediagoblin_media %} {% if pdf_js %} -
- -
-
-
- - -
-
-
-
-
- -
-
- -
- -
-
-
-
- -
- -
- -
- -
- - - - -
-
- - - - - - - - - - - Current View -
-
-
-
- -
- -
- - - -
-
-
-
-
- - - - - - - - -
-
-
- -
-
-
-
- - -
- -
-
+ {% else %}