diff options
Diffstat (limited to 'bitbake/lib/toaster/toastergui/urls.py')
| -rw-r--r-- | bitbake/lib/toaster/toastergui/urls.py | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/bitbake/lib/toaster/toastergui/urls.py b/bitbake/lib/toaster/toastergui/urls.py index 76357e3b80..52fc0cc0ed 100644 --- a/bitbake/lib/toaster/toastergui/urls.py +++ b/bitbake/lib/toaster/toastergui/urls.py | |||
| @@ -76,20 +76,25 @@ urlpatterns = patterns('toastergui.views', | |||
| 76 | 76 | ||
| 77 | # project URLs | 77 | # project URLs |
| 78 | url(r'^newproject/$', 'newproject', name='newproject'), | 78 | url(r'^newproject/$', 'newproject', name='newproject'), |
| 79 | url(r'^importlayer/$', 'importlayer', name='importlayer'), | ||
| 80 | 79 | ||
| 81 | url(r'^layers/$', 'layers', name='layers'), | ||
| 82 | url(r'^layer/(?P<layerid>\d+)/$', 'layerdetails', name='layerdetails'), | ||
| 83 | url(r'^layer/$', lambda x: HttpResponseBadRequest(), name='base_layerdetails'), | ||
| 84 | url(r'^targets/$', 'targets', name='all-targets'), | ||
| 85 | url(r'^machines/$', 'machines', name='machines'), | ||
| 86 | 80 | ||
| 87 | url(r'^projects/$', 'projects', name='all-projects'), | 81 | url(r'^projects/$', 'projects', name='all-projects'), |
| 88 | 82 | ||
| 89 | url(r'^project/$', lambda x: HttpResponseBadRequest(), name='base_project'), | 83 | url(r'^project/$', lambda x: HttpResponseBadRequest(), name='base_project'), |
| 90 | url(r'^project/(?P<pid>\d+)/$', 'project', name='project'), | 84 | |
| 85 | url(r'^project/(?P<pid>\d+)$', 'project', name='project'), | ||
| 91 | url(r'^project/(?P<pid>\d+)/configuration$', 'projectconf', name='projectconf'), | 86 | url(r'^project/(?P<pid>\d+)/configuration$', 'projectconf', name='projectconf'), |
| 92 | url(r'^project/(?P<pid>\d+)/builds$', 'projectbuilds', name='projectbuilds'), | 87 | url(r'^project/(?P<pid>\d+)/builds/$', 'projectbuilds', name='projectbuilds'), |
| 88 | |||
| 89 | url(r'^project/(?P<pid>\d+)/layers/$', 'layers', name='all-layers'), | ||
| 90 | url(r'^project/(?P<pid>\d+)/layer/(?P<layerid>\d+)$', 'layerdetails', name='layerdetails'), | ||
| 91 | url(r'^project/(?P<pid>\d+)/layer/$', lambda x: HttpResponseBadRequest(), name='base_layerdetails'), | ||
| 92 | |||
| 93 | # the import layer is a project-specific functionality; | ||
| 94 | url(r'^project/(?P<pid>\d+)/importlayer$', 'importlayer', name='importlayer'), | ||
| 95 | |||
| 96 | url(r'^project/(?P<pid>\d+)/targets/$', 'targets', name='all-targets'), | ||
| 97 | url(r'^project/(?P<pid>\d+)/machines/$', 'machines', name='all-machines'), | ||
| 93 | 98 | ||
| 94 | url(r'^xhr_build/$', 'xhr_build', name='xhr_build'), | 99 | url(r'^xhr_build/$', 'xhr_build', name='xhr_build'), |
| 95 | url(r'^xhr_projectbuild/(?P<pid>\d+)/$', 'xhr_projectbuild', name='xhr_projectbuild'), | 100 | url(r'^xhr_projectbuild/(?P<pid>\d+)/$', 'xhr_projectbuild', name='xhr_projectbuild'), |
