From dcf739175ff8db098d63b9b000afd0bdb59e6dff Mon Sep 17 00:00:00 2001 From: Samuel Nichols Date: Mon, 6 Feb 2023 16:24:45 -0700 Subject: [PATCH] Adding styling for print-only and screen only --- templates/layout.html | 14 +++- templates/report.html | 96 ++++++++++++++--------- templates/shared/partials/log_params.html | 16 +++- 3 files changed, 86 insertions(+), 40 deletions(-) diff --git a/templates/layout.html b/templates/layout.html index dba520de..4a10539a 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -66,6 +66,16 @@ display:none } } + + @media screen + { + .print-only{ + display: none !important; + } + .screen-only{ + display: block; + } + } @@ -197,9 +207,9 @@

Analysis of genome editing ou {% if current_user is defined and (not current_user.is_anonymous and current_user.username == "DEFAULTUSER") %}
-