From 14c1f2424de88545ec7e4386d53751cb3ec7d825 Mon Sep 17 00:00:00 2001 From: Asaad Mahmood Date: Thu, 23 Jul 2015 00:54:40 +0500 Subject: Minor UI Improvements --- web/react/components/access_history_modal.jsx | 2 +- web/react/components/activity_log_modal.jsx | 5 ++++- web/react/components/setting_picture.jsx | 6 +++--- web/react/components/signup_team.jsx | 4 +++- web/react/components/signup_team_complete.jsx | 2 +- web/react/components/team_settings.jsx | 3 +-- web/react/components/user_settings.jsx | 4 ++-- 7 files changed, 15 insertions(+), 11 deletions(-) (limited to 'web/react') diff --git a/web/react/components/access_history_modal.jsx b/web/react/components/access_history_modal.jsx index b23b3213f..462f046f6 100644 --- a/web/react/components/access_history_modal.jsx +++ b/web/react/components/access_history_modal.jsx @@ -64,7 +64,7 @@ module.exports = React.createClass({
{"URL: " + currentAudit.action.replace("/api/v1", "")}
: - More info + More info } {i < this.state.audits.length - 1 ? diff --git a/web/react/components/activity_log_modal.jsx b/web/react/components/activity_log_modal.jsx index d6f8f40eb..7cce807a9 100644 --- a/web/react/components/activity_log_modal.jsx +++ b/web/react/components/activity_log_modal.jsx @@ -68,6 +68,9 @@ module.exports = React.createClass({ else if (currentSession.props.platform === "Macintosh" || currentSession.props.platform === "iPhone") { devicePicture = "fa fa-apple"; } + else if (currentSession.props.platform === "Linux") { + devicePicture = "fa fa-linux"; + } activityList[i] = (
@@ -83,7 +86,7 @@ module.exports = React.createClass({
{"Session ID: " + currentSession.alt_id}
: - More info + More info } diff --git a/web/react/components/setting_picture.jsx b/web/react/components/setting_picture.jsx index 62c889b7f..6cfb74d60 100644 --- a/web/react/components/setting_picture.jsx +++ b/web/react/components/setting_picture.jsx @@ -25,9 +25,9 @@ module.exports = React.createClass({ var img = null; if (this.props.picture) { - img = (); + img = (); } else { - img = (); + img = (); } var self = this; @@ -37,7 +37,7 @@ module.exports = React.createClass({
  • {this.props.title}