Re-implement existing website template (from PHP). Add all assets.

This commit is contained in:
Robert Marshall 2019-04-27 21:24:52 +01:00
parent a87a334bc7
commit ddf6c5b8ce
60 changed files with 2514 additions and 87 deletions

View file

@ -0,0 +1,12 @@
angular.module("robware").controller('gallery', ["$scope", function($scope) {
$scope.images=[];
$scope.imageToShow=0;
$scope.showNextImage=function(){
$scope.imageToShow=Math.min($scope.imageToShow+1, $scope.images.length-1);
};
$scope.showPreviousImage=function(){
$scope.imageToShow=Math.max($scope.imageToShow-1, 0);
};
}]);