@@ -0,0 +1,10 @@
|
||||
body{
|
||||
margin: 0;
|
||||
}
|
||||
iframe {
|
||||
display: block;
|
||||
background: #000;
|
||||
border: none;
|
||||
height: 100vh;
|
||||
width: 100vw;
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
<link rel="stylesheet" href="/static/css/coffee.css">
|
||||
<iframe src="http://ka.dy.fi" allowfullscreen=true sandbox="allow-scripts allow-pointer-lock allow-same-origin">
|
||||
<p>Your browser does not support iframes.</p>
|
||||
</iframe>
|
||||
@@ -0,0 +1,10 @@
|
||||
<div ng-controller="infoadmin_coffeeitem_create" style="margin-top:20px;">
|
||||
<div>
|
||||
Create new item to show coffee website. Name is used only as identifier
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>Name:</label>
|
||||
<input type="text" ng-model="item.name"></input>
|
||||
</div>
|
||||
<input type="button" class="btn btn-success" ng-click="send()" value="create"></input>
|
||||
</div>
|
||||
@@ -140,6 +140,12 @@ app.controller('infoadmin_hslitem_create', function($scope, $http,ItemList){
|
||||
$http.post("/infoscreen/create_hslitem", $scope.item).then(ItemList.loadItems)
|
||||
}
|
||||
});
|
||||
app.controller('infoadmin_coffeeitem_create', function($scope, $http,ItemList){
|
||||
$scope.item = {}
|
||||
$scope.send = function(){
|
||||
$http.post("/infoscreen/create_coffeeitem", $scope.item).then(ItemList.loadItems)
|
||||
}
|
||||
});
|
||||
|
||||
app.controller('infoadmin_image_create', ['$scope', 'Upload', '$timeout',"ItemList", function ($scope, Upload, $timeout,ItemList) {
|
||||
$scope.send = function(file) {
|
||||
|
||||
Reference in New Issue
Block a user