Inital commit for font size adjust slider

This commit is contained in:
Colin McLeod
2015-06-29 16:29:09 -07:00
parent 42d51b7612
commit c2a84606a1
7 changed files with 48 additions and 20 deletions

View File

@@ -79,6 +79,11 @@ angular.module('app').directive('shipyardHeader', ['lodash', '$rootScope', '$sta
scope.openedMenu = null;
});
scope.textSizeChange = function(size) {
$rootScope.fontSize = size;
document.getElementById('main').style.fontSize = size + 'em';
};
scope.$watchCollection('allBuilds', function() {
scope.buildsList = Object.keys(scope.allBuilds).sort();
});