summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/templates/project.html
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/project.html')
-rw-r--r--bitbake/lib/toaster/toastergui/templates/project.html16
1 files changed, 9 insertions, 7 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/project.html b/bitbake/lib/toaster/toastergui/templates/project.html
index 38863a3ac6..4e8a7e29aa 100644
--- a/bitbake/lib/toaster/toastergui/templates/project.html
+++ b/bitbake/lib/toaster/toastergui/templates/project.html
@@ -11,6 +11,8 @@ vim: expandtab tabstop=2
11<script src="{% static "js/angular.min.js" %}"></script> 11<script src="{% static "js/angular.min.js" %}"></script>
12<script src="{% static "js/angular-animate.min.js" %}"></script> 12<script src="{% static "js/angular-animate.min.js" %}"></script>
13<script src="{% static "js/angular-cookies.min.js" %}"></script> 13<script src="{% static "js/angular-cookies.min.js" %}"></script>
14<script src="{% static "js/angular-route.min.js" %}"></script>
15<script src="{% static "js/angular-sanitize.min.js" %}"></script>
14<script src="{% static "js/ui-bootstrap-tpls-0.11.0.js" %}"></script> 16<script src="{% static "js/ui-bootstrap-tpls-0.11.0.js" %}"></script>
15 17
16 18
@@ -365,13 +367,13 @@ angular.element(document).ready(function() {
365 scope.urls.layers = "{% url 'layers' %}"; 367 scope.urls.layers = "{% url 'layers' %}";
366 scope.urls.targets = "{% url 'targets' %}"; 368 scope.urls.targets = "{% url 'targets' %}";
367 scope.urls.importlayer = "{% url 'importlayer'%}" 369 scope.urls.importlayer = "{% url 'importlayer'%}"
368 scope.project = {{prj|safe}}; 370 scope.project = {{prj|json}};
369 scope.builds = {{builds|safe}}; 371 scope.builds = {{builds|json}};
370 scope.layers = {{layers|safe}}; 372 scope.layers = {{layers|json}};
371 scope.targets = {{targets|safe}}; 373 scope.targets = {{targets|json}};
372 scope.frequenttargets = {{freqtargets|safe}}; 374 scope.frequenttargets = {{freqtargets|json}};
373 scope.machine = {{machine|safe}}; 375 scope.machine = {{machine|json}};
374 scope.releases = {{releases|safe}}; 376 scope.releases = {{releases|json}};
375 377
376 var now = (new Date()).getTime(); 378 var now = (new Date()).getTime();
377 scope.todaydate = now - (now % 86400000); 379 scope.todaydate = now - (now % 86400000);