mirror of
https://github.com/ansible/awx.git
synced 2026-05-07 17:37:37 -02:30
Inventory help- turned resizable off on modal dialog. Fixed compilation error.
This commit is contained in:
@@ -39,7 +39,7 @@ angular.module('InventoryGroupsHelpDefinition', [])
|
|||||||
{
|
{
|
||||||
intro: 'Cloud inventory: synchronize Tower with the cloud',
|
intro: 'Cloud inventory: synchronize Tower with the cloud',
|
||||||
img: { src: 'groups004.png', maxWidth: 261, maxHeight: 221 },
|
img: { src: 'groups004.png', maxWidth: 261, maxHeight: 221 },
|
||||||
box: "To pull the cloud inventory into Tower, initiate an inventory sync by clicking <i class=\"fa fa-exchange\"></i>.",
|
box: "To pull the cloud inventory into Tower, initiate an inventory sync by clicking <i class=\"fa fa-exchange\"></i>."
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
intro: "Groups can have subgroups:",
|
intro: "Groups can have subgroups:",
|
||||||
|
|||||||
@@ -338,13 +338,8 @@ angular.module('Utilities',['RestServices', 'Utilities'])
|
|||||||
closeOnEscape: true,
|
closeOnEscape: true,
|
||||||
show: 500,
|
show: 500,
|
||||||
hide: 500,
|
hide: 500,
|
||||||
close: function() { $('#help-modal').empty(); },
|
resizable: false,
|
||||||
resizeStop: function(e, ui) {
|
close: function() { $('#help-modal').empty(); }
|
||||||
// for some reason, after resizing the dialog the content doesn't expand to 100%
|
|
||||||
var dialog = $('.ui-dialog[aria-describedby="help-modal"]');
|
|
||||||
var content = dialog.find('#help-modal');
|
|
||||||
content.width( dialog.width() - 20);
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// Make the buttons look like TB and add FA icons
|
// Make the buttons look like TB and add FA icons
|
||||||
|
|||||||
Reference in New Issue
Block a user