From d452523b07a66e6d71b2beb5150244165d9c30cc Mon Sep 17 00:00:00 2001 From: Asaad Mahmood Date: Tue, 6 Oct 2015 21:34:16 +0500 Subject: PLT-451 - Adding visual effect for logout active sessions button --- web/react/components/activity_log_modal.jsx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'web/react/components') diff --git a/web/react/components/activity_log_modal.jsx b/web/react/components/activity_log_modal.jsx index aee2541b5..15bcb2b22 100644 --- a/web/react/components/activity_log_modal.jsx +++ b/web/react/components/activity_log_modal.jsx @@ -31,6 +31,12 @@ export default class ActivityLogModal extends React.Component { } submitRevoke(altId, e) { e.preventDefault(); + var modalContent = $(e.target).closest('.modal-content'); + modalContent.addClass('animation--highlight'); + setTimeout(() => { + modalContent.removeClass('animation--highlight'); + console.log(that); + }, 1500); Client.revokeSession(altId, function handleRevokeSuccess() { AsyncClient.getSessions(); -- cgit v1.2.3-1-g7c22 From cdb09be6d0db90f899b9b851bc850fe5f2b668da Mon Sep 17 00:00:00 2001 From: Asaad Mahmood Date: Tue, 6 Oct 2015 21:43:13 +0500 Subject: Removing console.log --- web/react/components/activity_log_modal.jsx | 1 - 1 file changed, 1 deletion(-) (limited to 'web/react/components') diff --git a/web/react/components/activity_log_modal.jsx b/web/react/components/activity_log_modal.jsx index 15bcb2b22..ff370c32e 100644 --- a/web/react/components/activity_log_modal.jsx +++ b/web/react/components/activity_log_modal.jsx @@ -35,7 +35,6 @@ export default class ActivityLogModal extends React.Component { modalContent.addClass('animation--highlight'); setTimeout(() => { modalContent.removeClass('animation--highlight'); - console.log(that); }, 1500); Client.revokeSession(altId, function handleRevokeSuccess() { -- cgit v1.2.3-1-g7c22 From d99aea15023b7a6ae7dbebffd0eb4d2ae0f9765d Mon Sep 17 00:00:00 2001 From: Asaad Mahmood Date: Tue, 6 Oct 2015 22:33:30 +0500 Subject: Removing sidebar text hover color --- web/react/components/user_settings/import_theme_modal.jsx | 1 - 1 file changed, 1 deletion(-) (limited to 'web/react/components') diff --git a/web/react/components/user_settings/import_theme_modal.jsx b/web/react/components/user_settings/import_theme_modal.jsx index 4e8ee03fa..3301c6596 100644 --- a/web/react/components/user_settings/import_theme_modal.jsx +++ b/web/react/components/user_settings/import_theme_modal.jsx @@ -49,7 +49,6 @@ export default class ImportThemeModal extends React.Component { theme.sidebarText = colors[5]; theme.sidebarUnreadText = colors[5]; theme.sidebarTextHoverBg = colors[4]; - theme.sidebarTextHoverColor = colors[5]; theme.sidebarTextActiveBg = colors[2]; theme.sidebarTextActiveColor = colors[3]; theme.sidebarHeaderBg = colors[1]; -- cgit v1.2.3-1-g7c22