diff options
author | maxbr <maxbr@mi.fu-berlin.de> | 2016-09-12 11:08:56 +0200 |
---|---|---|
committer | maxbr <maxbr@mi.fu-berlin.de> | 2016-09-12 11:08:56 +0200 |
commit | e74c3f8f656a35bc8d482f997b4cea7515916026 (patch) | |
tree | 2f947e746c6e41105d19f89bf8f41b6a75b03a09 /pharos-dashboard/dashboard/urls.py | |
parent | 2481f29a0f558f2d1b0140b9ab34615d96a4f222 (diff) |
Add booking utilization chart
JIRA: PHAROS-263
Change-Id: I3a3a5115a1cf7742f9ac5a3ec753699c36b49815
Signed-off-by: maxbr <maxbr@mi.fu-berlin.de>
Diffstat (limited to 'pharos-dashboard/dashboard/urls.py')
-rw-r--r-- | pharos-dashboard/dashboard/urls.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pharos-dashboard/dashboard/urls.py b/pharos-dashboard/dashboard/urls.py index 809204c..baa2d63 100644 --- a/pharos-dashboard/dashboard/urls.py +++ b/pharos-dashboard/dashboard/urls.py @@ -23,6 +23,9 @@ urlpatterns = [ url(r'^jenkins_slaves/$', JenkinsSlavesView.as_view(), name='jenkins_slaves'), url(r'^resource/all/$', LabOwnerView.as_view(), name='resources'), url(r'^resource/(?P<resource_id>[0-9]+)/$', ResourceView.as_view(), name='resource'), - + url(r'^resource/(?P<resource_id>[0-9]+)/booking_utilization/(?P<weeks>-?\d+)/$', + BookingUtilizationJSON.as_view(), name='booking_utilization'), + url(r'^resource/(?P<resource_id>[0-9]+)/jenkins_utilization/(?P<weeks>-?\d+)/$', + JenkinsUtilizationJSON.as_view(), name='jenkins_utilization'), url(r'^$', DevelopmentPodsView.as_view(), name="index"), ] |