mirror of
https://github.com/ansible/awx.git
synced 2026-01-21 22:48:02 -03:30
Fixed pagination column sizing. As screen shrinks the page number now remains right justified.
This commit is contained in:
parent
02a4ff1c36
commit
a63b9e661b
@ -332,7 +332,7 @@ function JobsEdit($scope, $rootScope, $compile, $location, $log, $routeParams, J
|
||||
Rest.get({ params: { id: id } })
|
||||
.success(function (data) {
|
||||
|
||||
var i, fld, json_obj;
|
||||
var i, fld;
|
||||
|
||||
LoadBreadCrumbs();
|
||||
|
||||
|
||||
@ -57,11 +57,6 @@ angular.module('InventoryHelper', ['RestServices', 'Utilities', 'OrganizationLis
|
||||
// Make sure we have valid variable data
|
||||
json_data = ToJSON(scope.inventoryParseType, scope.inventory_variables);
|
||||
|
||||
// Make sure our JSON is actually an object
|
||||
if (typeof json_data !== 'object') {
|
||||
throw "failed to return an object!";
|
||||
}
|
||||
|
||||
data = {};
|
||||
for (fld in form.fields) {
|
||||
if (fld !== 'inventory_variables') {
|
||||
|
||||
@ -711,7 +711,7 @@ angular.module('GeneratorHelpers', ['GeneratorHelpers'])
|
||||
html = '';
|
||||
html += "<!-- Paginate Widget -->\n";
|
||||
html += "<div class=\"row page-row\">\n";
|
||||
html += "<div class=\"col-lg-8\">\n";
|
||||
html += "<div class=\"col-lg-8 col-md-8\">\n";
|
||||
html += "<ul class=\"pagination\" ng-hide=\"" + iterator + "Loading || " + iterator + "_num_pages <= 1\">\n";
|
||||
html += "<li ng-hide=\"" + iterator + "_page -5 <= 1 \"><a href ng-click=\"getPage(1,'" + set + "','" + iterator + "')\">" +
|
||||
"<i class=\"fa fa-angle-double-left\"></i></a></li>\n";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user