From eedf287dbef58ada1cfe299eae87067c03f390b4 Mon Sep 17 00:00:00 2001 From: Patrice Buriez Date: Fri, 9 Nov 2018 11:00:26 +0100 Subject: Add template and css for nsb report JIRA: YARDSTICK-1367 Topic: report/html_table (5 of 11) Change-Id: I7b8f2fa2aff3d5ee20ec23189acefe41452ad496 Signed-off-by: Emma Foley Signed-off-by: Patrice Buriez --- yardstick/common/nsb_report.css | 29 +++++++ yardstick/common/nsb_report.html.j2 | 160 ++++++++++++++++++++++++++++++++++++ 2 files changed, 189 insertions(+) create mode 100644 yardstick/common/nsb_report.css create mode 100644 yardstick/common/nsb_report.html.j2 (limited to 'yardstick') diff --git a/yardstick/common/nsb_report.css b/yardstick/common/nsb_report.css new file mode 100644 index 000000000..0c47791e2 --- /dev/null +++ b/yardstick/common/nsb_report.css @@ -0,0 +1,29 @@ +/******************************************************************************* + * Copyright (c) 2017 Rajesh Kudaka <4k.rajesh@gmail.com> + * Copyright (c) 2018 Intel Corporation. + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Apache License, Version 2.0 + * which accompanies this distribution, and is available at + * http://www.apache.org/licenses/LICENSE-2.0 + ******************************************************************************/ + +body { + font-size: 16pt; +} + +table { + overflow-y: scroll; + height: 360px; + display: block; +} + +header { + font-family: Frutiger; + clear: left; + text-align: center; +} + +.control-pane { + font-size: 10pt; +} diff --git a/yardstick/common/nsb_report.html.j2 b/yardstick/common/nsb_report.html.j2 new file mode 100644 index 000000000..f1b4ae1c2 --- /dev/null +++ b/yardstick/common/nsb_report.html.j2 @@ -0,0 +1,160 @@ + + + + + + + + + + + + + + + + + + +
+
+
+

Yardstick User Interface

+

Report of {{task_id}} Generated

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + + + -- cgit 1.2.3-korg