Fixed pagination column sizing. As screen shrinks the page number now remains right justified.

This commit is contained in:
Chris Houseknecht 2014-03-06 10:51:13 -05:00
parent 02a4ff1c36
commit a63b9e661b
3 changed files with 2 additions and 7 deletions

View File

@ -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();

View File

@ -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') {

View File

@ -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";