From f21debe95d9d82b397cc34c81327eaa2682e391b Mon Sep 17 00:00:00 2001 From: Jonas Winkler Date: Mon, 16 Jul 2018 14:39:09 +0200 Subject: [PATCH] css stuff --- src/documents/static/paperless.css | 13 +++++++++++++ .../admin/documents/document/change_form.html | 9 +++++---- 2 files changed, 18 insertions(+), 4 deletions(-) mode change 100644 => 100755 src/documents/static/paperless.css diff --git a/src/documents/static/paperless.css b/src/documents/static/paperless.css old mode 100644 new mode 100755 index 506debb6d..3ede53d38 --- a/src/documents/static/paperless.css +++ b/src/documents/static/paperless.css @@ -20,4 +20,17 @@ td a.tag { #result_list td textarea { width: 90%; height: 5em; +} + +#change_form_twocolumn_parent { + display: flex; +} +#change_form_form_parent { + flex:50%; + margin-right: 10px; +} +#change_form_viewer_parent { + flex:50%; + margin-left: 10px; + text-align: center; } \ No newline at end of file diff --git a/src/documents/templates/admin/documents/document/change_form.html b/src/documents/templates/admin/documents/document/change_form.html index 47bb1efd7..04f369018 100755 --- a/src/documents/templates/admin/documents/document/change_form.html +++ b/src/documents/templates/admin/documents/document/change_form.html @@ -5,9 +5,9 @@ {{ block.super }} {% if file_type in "pdf jpg png" %} -
-
-
+
+
+
{% if file_type == "pdf" %} {% include "admin/documents/document/viewers/viewer_pdf.html" %} {% endif %} @@ -18,7 +18,8 @@
{% endif %}