- Created model for timetable-data management

- Updated infoscreen hsl command
- Fixed all depending code
This commit is contained in:
Juuso Käenmäki
2017-01-18 17:26:47 +02:00
parent 869de82c5c
commit 892e2b5252
7 changed files with 87 additions and 35 deletions
@@ -136,6 +136,12 @@ app.controller('infoadmin_sossoitem_create', function($scope, $http,ItemList){
$http.post("/infoscreen/create_sossoitem", $scope.item).then(ItemList.loadItems)
}
});
app.controller('infoadmin_hslitem_create', function($scope, $http,ItemList){
$scope.item = {}
$scope.send = function(){
$http.post("/infoscreen/create_hslitem", $scope.item).then(ItemList.loadItems)
}
});
app.controller('infoadmin_image_create', ['$scope', 'Upload', '$timeout',"ItemList", function ($scope, Upload, $timeout,ItemList) {
$scope.send = function(file) {