Re: [Powertop] [PATCH v2 24/31] report-html: fixed not hidding sections errors

Igor Zhbanov <i.zhbanov at samsung.com>
Newsgroups dev.linux.lists.powertop
Message-ID <[email protected]>
Hi Alexandra,


Alexandra Yates wrote:
> Removed multiple division when displaying more than one table on a
> section as it was the case of Device Info and Tuning sections. Now all
> sections display accordingly to the selected menu button.
>
> Signed-off-by: Alexandra Yates <alexandra.yates(a)linux.intel.com>
> ---
>   src/devices/device.cpp          |    4 ++--
>   src/devlist.cpp                 |    4 +---
>   src/powertop.css                |   19 +++++++++----------
>   src/report/report-data-html.cpp |   11 +++++++++++
>   src/report/report-data-html.h   |    4 ++++
>   src/tuning/tuning.cpp           |    9 +++++----
>   6 files changed, 32 insertions(+), 19 deletions(-)
>
...
> diff --git a/src/tuning/tuning.cpp b/src/tuning/tuning.cpp
> index 8a41114..ac479a2 100644
> --- a/src/tuning/tuning.cpp
> +++ b/src/tuning/tuning.cpp
...
> @@ -258,10 +257,13 @@ void report_show_tunables(void)
>   		untunable_data[i+1]= string(all_untunables[i]->description());
>   
>   	/* Report Output */

Here is some garbage after merge.

> +<<<<<<< HEAD
>   	report.add_div(&div_attr);
>   	report.add_title(&title_attr,__("Untunable Software Issues"));
> +=======
> +	report.add_title(&title_attr,"Untunable Software Issues");
> +>>>>>>> 4d9b82e... report-html: fixed not hidding sections errors
>   	report.add_table(untunable_data, &tune_table_css);
> -	report.end_div();
>   
>   	/* Third Table */
>   	/* Set Table attributes, rows, and cols */
> @@ -283,7 +285,6 @@ void report_show_tunables(void)
>   		idx+=1;
>           }
>   	/* Report Output */
> -	report.add_div(&div_attr);
>   	report.add_title(&title_attr,__("Optimal Tuned Software Settings"));
>           report.add_table(tuned_data, &tune_table_css);
>           report.end_div();

-- 
Best regards,
Igor Zhbanov,
Expert Software Engineer,
phone: +7 (495) 797 25 00 ext 3981
e-mail: i.zhbanov(a)samsung.com

Mobile group, Moscow R&D center, Samsung Electronics
12 Dvintsev street, building 1
127018, Moscow, Russian Federation
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.