mirror of
https://github.com/ansible/awx.git
synced 2026-03-11 06:29:31 -02:30
adding new line character and 'ok' host colors
This commit is contained in:
@@ -11,11 +11,11 @@ export default [function(){
|
|||||||
// that i'm currently seeing on this branch on the beginning
|
// that i'm currently seeing on this branch on the beginning
|
||||||
// and end of each event string. In the future it could be
|
// and end of each event string. In the future it could be
|
||||||
// used to add styling classes to the actual lines of stdout
|
// used to add styling classes to the actual lines of stdout
|
||||||
line = line.replace(/rn/g, '');
|
line = line.replace(/rn/g, '\n');
|
||||||
line = line.replace(/u001b/g, '');
|
line = line.replace(/u001b/g, '');
|
||||||
|
|
||||||
// ok
|
// ok
|
||||||
line = line.replace(/\[0;32m/g, '<span class="ansi33">');
|
line = line.replace(/\[0;32m/g, '<span class="ansi32">');
|
||||||
|
|
||||||
//unreachable
|
//unreachable
|
||||||
line = line.replace(/\[1;31m/g, '<span class="ansi1 ansi31">');
|
line = line.replace(/\[1;31m/g, '<span class="ansi1 ansi31">');
|
||||||
|
|||||||
Reference in New Issue
Block a user