From d1ba150ea79689a55898efa760f7d77ca5ed601c Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Thu, 18 Sep 2014 21:13:50 +0200 Subject: web: detailpane impl --- web/src/js/components/flowtable-columns.jsx.js | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to 'web/src/js/components/flowtable-columns.jsx.js') diff --git a/web/src/js/components/flowtable-columns.jsx.js b/web/src/js/components/flowtable-columns.jsx.js index e0cee365..0eb9966c 100644 --- a/web/src/js/components/flowtable-columns.jsx.js +++ b/web/src/js/components/flowtable-columns.jsx.js @@ -10,7 +10,12 @@ var TLSColumn = React.createClass({ render: function(){ var flow = this.props.flow; var ssl = (flow.request.scheme == "https"); - return ; + var classes = React.addons.classSet({ + "col-tls": true, + "col-tls-https": ssl, + "col-tls-http": !ssl + }); + return ; } }); @@ -23,7 +28,7 @@ var IconColumn = React.createClass({ }, render: function(){ var flow = this.props.flow; - return ; + return
; } }); @@ -35,7 +40,7 @@ var PathColumn = React.createClass({ }, render: function(){ var flow = this.props.flow; - return {flow.request.scheme + "://" + flow.request.host + flow.request.path}; + return {flow.request.scheme + "://" + flow.request.host + flow.request.path}; } }); @@ -48,7 +53,7 @@ var MethodColumn = React.createClass({ }, render: function(){ var flow = this.props.flow; - return {flow.request.method}; + return {flow.request.method}; } }); @@ -67,7 +72,7 @@ var StatusColumn = React.createClass({ } else { status = null; } - return {status}; + return {status}; } }); @@ -86,7 +91,7 @@ var TimeColumn = React.createClass({ } else { time = "..."; } - return {time}; + return {time}; } }); -- cgit v1.2.3