From e402f4dcedb4883ceab4ebe65ffc59a39dd5da64 Mon Sep 17 00:00:00 2001 From: John Mitchell Date: Mon, 11 May 2015 11:24:19 -0400 Subject: [PATCH] moving working to the corner --- awx/ui/static/js/shared/Utilities.js | 9 ++++----- awx/ui/static/less/ansible-ui.less | 15 +++++++++++---- 2 files changed, 15 insertions(+), 9 deletions(-) diff --git a/awx/ui/static/js/shared/Utilities.js b/awx/ui/static/js/shared/Utilities.js index a09f730feb..4af3440da6 100644 --- a/awx/ui/static/js/shared/Utilities.js +++ b/awx/ui/static/js/shared/Utilities.js @@ -590,23 +590,22 @@ angular.module('Utilities', ['RestServices', 'Utilities', 'sanitizeFilter']) .factory('Wait', ['$rootScope', function ($rootScope) { return function (directive) { - var docw, doch, spinnyw, spinnyh, x, y; + var docw, doch, spinnyw, spinnyh; if (directive === 'start' && !$rootScope.waiting) { $rootScope.waiting = true; docw = $(window).width(); doch = $(window).height(); spinnyw = $('.spinny').width(); spinnyh = $('.spinny').height(); - x = (docw - spinnyw) / 2; - y = (doch - spinnyh) / 2; $('.overlay').css({ width: $(document).width(), height: $(document).height() }).fadeIn(); $('.spinny').css({ - top: y, - left: x + bottom: 15, + right: 15 }).fadeIn(400); + console.log("got here"); } else if (directive === 'stop' && $rootScope.waiting) { $('.spinny, .overlay').fadeOut(400, function () { $rootScope.waiting = false; diff --git a/awx/ui/static/less/ansible-ui.less b/awx/ui/static/less/ansible-ui.less index ddc5e628bc..15f460f09d 100644 --- a/awx/ui/static/less/ansible-ui.less +++ b/awx/ui/static/less/ansible-ui.less @@ -361,8 +361,8 @@ textarea.allowresize { display: none; position: fixed; z-index: 2000; - width: 75px; - height: 75px; + width: 138px; + height: 50px; text-align:center; color: #eee; background-color: @black; @@ -371,8 +371,15 @@ textarea.allowresize { padding-top: 10px; p { - padding-top: 10px; - font-size: 11px; + padding-top: 0px; + font-size: 18px; + text-align: right; + margin-right: 10px; + } + + i { + float: left; + margin-left: 10px; } }