aboutsummaryrefslogtreecommitdiffstats
path: root/web/src/js/components/eventlog.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'web/src/js/components/eventlog.jsx')
-rw-r--r--web/src/js/components/eventlog.jsx11
1 files changed, 9 insertions, 2 deletions
diff --git a/web/src/js/components/eventlog.jsx b/web/src/js/components/eventlog.jsx
index 32fc01ee..df212177 100644
--- a/web/src/js/components/eventlog.jsx
+++ b/web/src/js/components/eventlog.jsx
@@ -27,8 +27,15 @@ var EventLog = React.createClass({
},
render: function () {
var messages = this.state.log.map(function(row) {
- return (<div key={row.id}>{row.message}</div>);
+ var indicator = null;
+ if(row.source === "ui"){
+ indicator = <i className="fa fa-html5"></i>;
+ }
+ return (
+ <div key={row.id}>
+ { indicator } {row.message}
+ </div>);
});
return <pre className="eventlog">{messages}</pre>;
}
-});
+}); \ No newline at end of file