From: Alon Levy Date: Mon, 15 Apr 2013 20:01:59 +0000 (-0500) Subject: pdf: use pdf.js in an iframe X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=bbd7112a5eb74d6f906d567e827f399ac6b5f022;p=mediagoblin.git pdf: use pdf.js in an iframe --- 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 %}