MCSM:WebConsole: поле ввода комманд
This commit is contained in:
@@ -98,7 +98,13 @@ var WebConsole = React.createClass({
|
||||
|
||||
return(
|
||||
ce('div', {id: 'webconsole'},
|
||||
this.state.lines.map(function(line){ return ce('p', {dangerouslySetInnerHTML: {__html: ansi_up.ansi_to_html(line)}}); }))
|
||||
ce('div', {className: 'output'},
|
||||
this.state.lines.map(function(line){
|
||||
return ce('p', {dangerouslySetInnerHTML: {__html: ansi_up.ansi_to_html(line)}});
|
||||
})
|
||||
),
|
||||
ce('input')
|
||||
)
|
||||
)
|
||||
},
|
||||
componentWillUnmount: function(){
|
||||
|
||||
Reference in New Issue
Block a user