From 9e2f4cff08eccc4f7800ed617f02b6b74ba425df Mon Sep 17 00:00:00 2001 From: Ryan Petrello Date: Mon, 19 Nov 2018 14:36:16 -0500 Subject: [PATCH] remove the x icon on the session timeout modal (it doesn't work) --- awx/ui/client/legacy/styles/ansible-ui.less | 4 ++++ .../client/src/login/authenticationServices/timer.factory.js | 1 + 2 files changed, 5 insertions(+) diff --git a/awx/ui/client/legacy/styles/ansible-ui.less b/awx/ui/client/legacy/styles/ansible-ui.less index dcd4a9bcce..a34cfce45f 100644 --- a/awx/ui/client/legacy/styles/ansible-ui.less +++ b/awx/ui/client/legacy/styles/ansible-ui.less @@ -2307,6 +2307,10 @@ input[disabled].ui-spinner-input { background: @default-bg; } +.ui-dialog.no-close button.close { + display: none; +} + html { height: 100%; } body { diff --git a/awx/ui/client/src/login/authenticationServices/timer.factory.js b/awx/ui/client/src/login/authenticationServices/timer.factory.js index 37d61a9349..6f36a1ce5d 100644 --- a/awx/ui/client/src/login/authenticationServices/timer.factory.js +++ b/awx/ui/client/src/login/authenticationServices/timer.factory.js @@ -157,6 +157,7 @@ export default title: i18n._("Idle Session"), scope: $rootScope, buttons: buttons, + dialogClass: "no-close", width: 470, height: 240, minWidth: 200,