Spondoolies-Tech / minepeon

Miner UI
GNU General Public License v2.0
0 stars 3 forks source link

ASIC stats page #29

Closed SyRenity closed 10 years ago

SyRenity commented 10 years ago

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.

SyRenity commented 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.

syounger commented 10 years ago

Done, using php library from Symfony (https://github.com/sensiolabs/ansi-to-html/blob/master/SensioLabs/AnsiConverter/AnsiToHtmlConverter.php) a00118ed66

SyRenity commented 10 years ago

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 .