[Buildroot] [RFC PATCH v2] pkg-stats: allow to sort by column
From: Ricardo Martincoski <hidden>
Date: 2017-07-03 00:48:28
Hello, On Sat, Jul 01, 2017 at 05:01 AM, Arnout Vandecappelle wrote:
However, I wonder: why not just use the upstream URL in the script tag? Or is that too much of a security risk?
I don't have much experience writing html/JavaScript code, so I just followed the instructions in the author's website. https://www.kryogenix.org/code/browser/sorttable/ " 1. Download the Javascript library 2. Include the Javascript library, by putting a link to it in the HEAD of your page, like so: <script src="sorttable.js"></script> " But I could contact the author if using the upstream URL is desirable.
quoted
+# wget -O - https://www.kryogenix.org/code/browser/sorttable/sorttable.js \ +# > /tmp/sorttable.jsSmall nit: -O specifies the output file, so the redirect bit silly. wget https://www.kryogenix.org/code/browser/sorttable/sorttable.js \ -O /tmp/sorttable.js
Thank you for catching this, I will fix it.
quoted
<a href=\"#results\">Results</a><br/>It would be nice to add some text here to say that you can click on the title to sort it, since it's not that obvious.
Good idea. I will do that. Regards, Ricardo