From patchwork Thu May 31 12:42:08 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Colin Ian King X-Patchwork-Id: 162150 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from chlorine.canonical.com (chlorine.canonical.com [91.189.94.204]) by ozlabs.org (Postfix) with ESMTP id 8D400B6FA1 for ; Thu, 31 May 2012 22:42:18 +1000 (EST) Received: from localhost ([127.0.0.1] helo=chlorine.canonical.com) by chlorine.canonical.com with esmtp (Exim 4.71) (envelope-from ) id 1Sa4hl-0004xQ-Cg for incoming@patchwork.ozlabs.org; Thu, 31 May 2012 12:42:17 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by chlorine.canonical.com with esmtp (Exim 4.71) (envelope-from ) id 1Sa4hg-0004wk-4A for fwts-devel@lists.ubuntu.com; Thu, 31 May 2012 12:42:12 +0000 Received: from cpc19-craw6-2-0-cust5.croy.cable.virginmedia.com ([77.102.228.6] helo=localhost) by youngberry.canonical.com with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1Sa4hg-0000O2-1M for fwts-devel@lists.ubuntu.com; Thu, 31 May 2012 12:42:12 +0000 From: Colin King To: fwts-devel@lists.ubuntu.com Subject: [PATCH 3/4] lib: fwts_log_html: tweak style and table format Date: Thu, 31 May 2012 13:42:08 +0100 Message-Id: <1338468129-5491-4-git-send-email-colin.king@canonical.com> X-Mailer: git-send-email 1.7.10 In-Reply-To: <1338468129-5491-1-git-send-email-colin.king@canonical.com> References: <1338468129-5491-1-git-send-email-colin.king@canonical.com> X-BeenThere: fwts-devel@lists.ubuntu.com X-Mailman-Version: 2.1.13 Precedence: list List-Id: Firmware Test Suite Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: fwts-devel-bounces@lists.ubuntu.com Errors-To: fwts-devel-bounces@lists.ubuntu.com From: Colin Ian King Signed-off-by: Colin Ian King Acked-by: Keng-Yu Lin Acked-by: Ivan Hu Tested-by: Chris Van Hoof --- src/lib/src/fwts_log_html.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/lib/src/fwts_log_html.c b/src/lib/src/fwts_log_html.c index 25f81ef..d293dbc 100644 --- a/src/lib/src/fwts_log_html.c +++ b/src/lib/src/fwts_log_html.c @@ -266,11 +266,12 @@ static void fwts_log_open_html(fwts_log *log) "text-align: center; vertical-align: center }\n" ".style_subtest { background-color: lightgray; }\n" ".style_info { }\n" - ".style_code { font-family=sans-mono; line-height: 70% }\n"); + ".style_code { font-family: \"courier\",\"mono\"; font-size:0.75em; overflow:auto; " + "width:90%; line-height:0.82em; font-stretch:extra-condensed; word-wrap:normal }\n"); fwts_log_html(log, "\n"); fflush(log->fp); - fwts_log_html(log, "\n"); + fwts_log_html(log, "
\n"); fwts_log_html(log, "\n"); fwts_log_section_begin_html(log, "fwts");