diff --git a/static/css/quay.css b/static/css/quay.css index 593c17020..8007f1ad6 100644 --- a/static/css/quay.css +++ b/static/css/quay.css @@ -32,6 +32,13 @@ html, body { overflow: hidden; } +.footer-container.fixed { + position: fixed; + bottom: 16px; + left: 0px; + right: 0px; +} + .button-hidden { visibility: hidden; } diff --git a/static/js/app.js b/static/js/app.js index ebcc79e01..bff77132d 100644 --- a/static/js/app.js +++ b/static/js/app.js @@ -428,9 +428,9 @@ quayApp = angular.module('quay', ['ngRoute', 'restangular', 'angularMoment', 'an // WARNING WARNING WARNING $routeProvider. when('/repository/:namespace/:name', {templateUrl: '/static/partials/view-repo.html', controller: RepoCtrl, - hideFooter: true, reloadOnSearch: false}). + fixFooter: true, reloadOnSearch: false}). when('/repository/:namespace/:name/tag/:tag', {templateUrl: '/static/partials/view-repo.html', controller: RepoCtrl, - hideFooter: true}). + fixFooter: true}). when('/repository/:namespace/:name/image/:image', {templateUrl: '/static/partials/image-view.html', controller: ImageViewCtrl}). when('/repository/:namespace/:name/admin', {templateUrl: '/static/partials/repo-admin.html', controller:RepoAdminCtrl}). when('/repository/', {title: 'Repositories', description: 'Public and private docker repositories list', @@ -1216,7 +1216,7 @@ quayApp.run(['$location', '$rootScope', 'Restangular', 'UserService', '$http', $rootScope.description = 'Hosted private docker repositories. Includes full user management and history. Free for public repositories.'; } - $rootScope.hideFooter = !!current.$$route.hideFooter; + $rootScope.fixFooter = !!current.$$route.fixFooter; }); var initallyChecked = false; diff --git a/static/js/graphing.js b/static/js/graphing.js index ced8a99d5..12246b0e1 100644 --- a/static/js/graphing.js +++ b/static/js/graphing.js @@ -86,7 +86,7 @@ ImageHistoryTree.prototype.updateDimensions_ = function() { $('#' + container).removeOverscroll(); var viewportHeight = $(window).height(); var boundingBox = document.getElementById(container).getBoundingClientRect(); - document.getElementById(container).style.maxHeight = (viewportHeight - boundingBox.top - 30) + 'px'; + document.getElementById(container).style.maxHeight = (viewportHeight - boundingBox.top - 110) + 'px'; $('#' + container).overscroll(); // Update the tree. diff --git a/templates/base.html b/templates/base.html index 6379a452b..d16b7eefd 100644 --- a/templates/base.html +++ b/templates/base.html @@ -74,17 +74,17 @@ b._i.push([a,e,d])};b.__SV=1.2}})(document,window.mixpanel||[]); mixpanel.init(isProd ? "50ff2b2569faa3a51c8f5724922ffb7e" : "38014a0f27e7bdc3ff8cc7cc29c869f9", { track_pageview : false, debug: !isProd });
-