[Powertop] [PATCH v2 28/31] report: logo size & menu compatibility

Alexandra Yates <alexandra.yates at linux.intel.com>
Newsgroups dev.linux.lists.powertop
Message-ID <1384561758-21516-29-git-send-email-alexandra.yates@linux.intel.com>
Fixed css on logo to show image in real size.  Additionaly changed the
tags in navigation from nav to div to enable compatibility with the new
navigation menu and IE.

Signed-off-by: Alexandra Yates <alexandra.yates(a)linux.intel.com>
---
 src/powertop.css                     |    5 +++--
 src/report/report-formatter-html.cpp |    2 +-
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/powertop.css b/src/powertop.css
index ff86880..847f25f 100644
--- a/src/powertop.css
+++ b/src/powertop.css
@@ -105,8 +105,9 @@ body {
 
 img.pwtop_logo{
 	float:left;
-	height:90px;
-	width: 400px;
+	height:40%;
+	width: 40%;
+	padding:20px;
 }
 
 .sys_info
diff --git a/src/report/report-formatter-html.cpp b/src/report/report-formatter-html.cpp
index 210a354..e18b543 100644
--- a/src/report/report-formatter-html.cpp
+++ b/src/report/report-formatter-html.cpp
@@ -518,7 +518,7 @@ report_formatter_html::add_title(struct tag_attr *title_att, const char *title)
 void
 report_formatter_html::add_navigation()
 {
-	add_exact("<br/><nav id=\"main_menu\"> </nav>\n");
+	add_exact("<br/><div id=\"main_menu\"> </div>\n");
 }
 
 void
-- 
1.7.9.5
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.