From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============4895476949868160548==" MIME-Version: 1.0 From: Sergey Senozhatsky Subject: Re: [Powertop] [PATCH] embed self-contained javascript Date: Tue, 10 Sep 2013 21:32:37 +0300 Message-ID: <20130910183237.GB2396@swordfish> In-Reply-To: 1378583385-32426-1-git-send-email-dkg@fifthhorseman.net To: powertop@lists.01.org List-ID: --===============4895476949868160548== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On (09/07/13 15:49), Daniel Kahn Gillmor wrote: > using self-contained javascript offers several improvements: > = > * powertop html report can be viewed offline > * less overall javascript code is loaded when online > * no opportunity for report leakage or modification by third parties > = > These changes also make it simpler to update the html report when a > new section is added: just add a new entry to powertop.blocks > dictionary, with the section's human-readable string as its value. Hello, thank you for your patch. I'll take a look. -ss > --- > src/powertop.css | 400 ++++++++++---------------------------------------= ------ > 1 file changed, 72 insertions(+), 328 deletions(-) > = > diff --git a/src/powertop.css b/src/powertop.css > index c73d3e2..35f6571 100644 > --- a/src/powertop.css > +++ b/src/powertop.css > @@ -3,276 +3,70 @@ > > PowerTOP report > > - > - > - > > = > - > - > + >
> -

 

>
> = > -- = > 1.8.4.rc3 > = > _______________________________________________ > PowerTop mailing list > PowerTop(a)lists.01.org > https://lists.01.org/mailman/listinfo/powertop >=20 --===============4895476949868160548==--