Repository: ambari Updated Branches: refs/heads/trunk 9bcc35277 -> 667df41cf
AMBARI-9729. Usability: Increase the size of the stack advisor popup (onechiporenko) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/667df41c Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/667df41c Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/667df41c Branch: refs/heads/trunk Commit: 667df41cfa2a7cd3bb1f306ed69cf99622ce20af Parents: 9bcc352 Author: Oleg Nechiporenko <[email protected]> Authored: Fri Feb 20 18:03:58 2015 +0200 Committer: Oleg Nechiporenko <[email protected]> Committed: Fri Feb 20 18:03:58 2015 +0200 ---------------------------------------------------------------------- ambari-web/app/mixins/common/serverValidator.js | 3 ++- ambari-web/app/styles/modal_popups.less | 9 +++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/667df41c/ambari-web/app/mixins/common/serverValidator.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/mixins/common/serverValidator.js b/ambari-web/app/mixins/common/serverValidator.js index dd8a926..c76e3d4 100644 --- a/ambari-web/app/mixins/common/serverValidator.js +++ b/ambari-web/app/mixins/common/serverValidator.js @@ -260,9 +260,10 @@ App.ServerValidatorMixin = Em.Mixin.create({ // Motivation: for server-side validation warnings and EVEN errors allow user to continue wizard return App.ModalPopup.show({ header: Em. I18n.t('installer.step7.popup.validation.warning.header'), - classNames: ['sixty-percent-width-modal'], + classNames: ['sixty-percent-width-modal','modal-full-width'], primary: Em.I18n.t('common.proceedAnyway'), primaryClass: 'btn-danger', + marginBottom: 200, onPrimary: function () { this.hide(); deferred.resolve(); http://git-wip-us.apache.org/repos/asf/ambari/blob/667df41c/ambari-web/app/styles/modal_popups.less ---------------------------------------------------------------------- diff --git a/ambari-web/app/styles/modal_popups.less b/ambari-web/app/styles/modal_popups.less index fccf6a5..244e055 100644 --- a/ambari-web/app/styles/modal_popups.less +++ b/ambari-web/app/styles/modal_popups.less @@ -226,6 +226,15 @@ min-width: 590px; top: 5%; } + + &.modal-full-width { + .modal { + width: 90%; + margin: 0 0 0 -45%; + max-height: 90%; + } + } + .long-popup-list { height: 280px; overflow: auto;
