Closed SyRenity closed 10 years ago
Committed new /asicstats.php, the output fails with: Uncaught SyntaxError: Unexpected token ILLEGAL
This probably happens because of the ^ returned from file - and which should be filtered out by ansi_up.escape_for_html() function - but it's not.
Done, using php library from Symfony (https://github.com/sensiolabs/ansi-to-html/blob/master/SensioLabs/AnsiConverter/AnsiToHtmlConverter.php) a00118ed66
Good work!
Please remove ansi_up then.
On Sun, Mar 23, 2014 at 6:45 PM, syounger notifications@github.com wrote:
Done, using php library from Symfony ( https://github.com/sensiolabs/ansi-to-html/blob/master/SensioLabs/AnsiConverter/AnsiToHtmlConverter.php ) a00118e https://github.com/Spondoolies-Tech/minepeon/commit/a00118ed66
Reply to this email directly or view it on GitHubhttps://github.com/Spondoolies-Tech/minepeon/issues/29#issuecomment-38387921 .
A new page, showing formatted printout of ASIC stats.
Using ansi_up library (https://github.com/drudru/ansi_up) to format the /var/run/asics content.