summaryrefslogtreecommitdiffstats
path: root/web/react/components
diff options
context:
space:
mode:
authorAsaad Mahmood <Unknowngi@live.com>2015-06-26 23:19:29 +0500
committerAsaad Mahmood <Unknowngi@live.com>2015-06-26 23:19:29 +0500
commitfebb6e3b656f0a5e48c928f26d071d2f1baf5b33 (patch)
tree653d359e3f4c550ad76d164294478f134a3d53bb /web/react/components
parentf2401dd91f7e0ae005e1efddd1132d91bf4dad02 (diff)
downloadchat-febb6e3b656f0a5e48c928f26d071d2f1baf5b33.tar.gz
chat-febb6e3b656f0a5e48c928f26d071d2f1baf5b33.tar.bz2
chat-febb6e3b656f0a5e48c928f26d071d2f1baf5b33.zip
mm-1256 - Improving view modal and close modal button
Diffstat (limited to 'web/react/components')
-rw-r--r--web/react/components/channel_info_modal.jsx15
1 files changed, 12 insertions, 3 deletions
diff --git a/web/react/components/channel_info_modal.jsx b/web/react/components/channel_info_modal.jsx
index 191297ce4..18addb52f 100644
--- a/web/react/components/channel_info_modal.jsx
+++ b/web/react/components/channel_info_modal.jsx
@@ -35,9 +35,18 @@ module.exports = React.createClass({
<h4 className="modal-title" id="myModalLabel">{channel.display_name}</h4>
</div>
<div className="modal-body">
- <p><strong>Channel Name: </strong>{channel.display_name}</p>
- <p><strong>Channel Handle: </strong>{channel.name}</p>
- <p><strong>Channel ID: </strong>{channel.id}</p>
+ <div className="row form-group">
+ <div className="col-sm-3 info__label">Channel Name: </div>
+ <div className="col-sm-9">{channel.display_name}</div>
+ </div>
+ <div className="row form-group">
+ <div className="col-sm-3 info__label">Channel Handle:</div>
+ <div className="col-sm-9">{channel.name}</div>
+ </div>
+ <div className="row">
+ <div className="col-sm-3 info__label">Channel ID:</div>
+ <div className="col-sm-9">{channel.id}</div>
+ </div>
</div>
<div className="modal-footer">
<button type="button" className="btn btn-default" data-dismiss="modal">Close</button>