mirror of
https://github.com/ansible/awx.git
synced 2026-05-18 06:47:41 -02:30
Fixed pagination column sizing. As screen shrinks the page number now remains right justified.
This commit is contained in:
@@ -332,7 +332,7 @@ function JobsEdit($scope, $rootScope, $compile, $location, $log, $routeParams, J
|
|||||||
Rest.get({ params: { id: id } })
|
Rest.get({ params: { id: id } })
|
||||||
.success(function (data) {
|
.success(function (data) {
|
||||||
|
|
||||||
var i, fld, json_obj;
|
var i, fld;
|
||||||
|
|
||||||
LoadBreadCrumbs();
|
LoadBreadCrumbs();
|
||||||
|
|
||||||
|
|||||||
@@ -57,11 +57,6 @@ angular.module('InventoryHelper', ['RestServices', 'Utilities', 'OrganizationLis
|
|||||||
// Make sure we have valid variable data
|
// Make sure we have valid variable data
|
||||||
json_data = ToJSON(scope.inventoryParseType, scope.inventory_variables);
|
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 = {};
|
data = {};
|
||||||
for (fld in form.fields) {
|
for (fld in form.fields) {
|
||||||
if (fld !== 'inventory_variables') {
|
if (fld !== 'inventory_variables') {
|
||||||
|
|||||||
@@ -711,7 +711,7 @@ angular.module('GeneratorHelpers', ['GeneratorHelpers'])
|
|||||||
html = '';
|
html = '';
|
||||||
html += "<!-- Paginate Widget -->\n";
|
html += "<!-- Paginate Widget -->\n";
|
||||||
html += "<div class=\"row page-row\">\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 += "<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 + "')\">" +
|
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";
|
"<i class=\"fa fa-angle-double-left\"></i></a></li>\n";
|
||||||
|
|||||||
Reference in New Issue
Block a user