mirror of
https://github.com/ansible/awx.git
synced 2026-01-13 19:10:07 -03:30
adding new line character and 'ok' host colors
This commit is contained in:
parent
3e2940203f
commit
51bfc0525a
@ -11,11 +11,11 @@ export default [function(){
|
||||
// that i'm currently seeing on this branch on the beginning
|
||||
// and end of each event string. In the future it could be
|
||||
// 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, '');
|
||||
|
||||
// ok
|
||||
line = line.replace(/\[0;32m/g, '<span class="ansi33">');
|
||||
line = line.replace(/\[0;32m/g, '<span class="ansi32">');
|
||||
|
||||
//unreachable
|
||||
line = line.replace(/\[1;31m/g, '<span class="ansi1 ansi31">');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user