mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 10:00:01 -03:30
moving working to the corner
This commit is contained in:
parent
11eb4d325b
commit
e402f4dced
@ -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;
|
||||
|
||||
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user