-
Notifications
You must be signed in to change notification settings - Fork 0
/
runner.html
41 lines (38 loc) · 1.3 KB
/
runner.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<!DOCTYPE html>
<html ng-app="comp-scheduler">
<head lang="en">
<meta charset="UTF-8">
<title></title>
<style type="text/css">
body {
direction: rtl;
}
</style>
<script src="bower_components/jquery/dist/jquery.min.js" type="text/javascript"></script>
<script src="bower_components/angular/angular.min.js" type="text/javascript"></script>
<link rel="stylesheet" href="bower_components/bootstrap/dist/css/bootstrap.min.css"/>
<link rel="stylesheet" href="dist/scheduler.all.min.css"/>
<script src="dist/scheduler.all.js" type="text/javascript"></script>
<script type="text/javascript">
angular.module('comp-scheduler').controller('runnerCtrl', function ($scope, dataService) {
$scope.loadData = function () {
dataService.get(function (data) {
$scope.data = data;
});
};
$scope.loadData();
});
</script>
</head>
<body>
<div ng-controller="runnerCtrl">
<div scheduler-dir
load-data="loadData()"
on-created="onCreated(event,weeks)"
min-hours="{{data.business.businessConfig.workingHours.from}}"
max-hours="{{data.business.businessConfig.workingHours.to}}"
events="data.events">
</div>
</div>
</body>
</html>