diff options
Diffstat (limited to 'bitbake/lib/toaster/toastergui/urls.py')
| -rw-r--r-- | bitbake/lib/toaster/toastergui/urls.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/toastergui/urls.py b/bitbake/lib/toaster/toastergui/urls.py index e642e32036..07821b6036 100644 --- a/bitbake/lib/toaster/toastergui/urls.py +++ b/bitbake/lib/toaster/toastergui/urls.py | |||
| @@ -21,6 +21,8 @@ from django.views.generic import RedirectView | |||
| 21 | 21 | ||
| 22 | urlpatterns = patterns('toastergui.views', | 22 | urlpatterns = patterns('toastergui.views', |
| 23 | # landing page | 23 | # landing page |
| 24 | url(r'^landing/$', 'landing', name='landing'), | ||
| 25 | |||
| 24 | url(r'^builds/$', 'builds', name='all-builds'), | 26 | url(r'^builds/$', 'builds', name='all-builds'), |
| 25 | # build info navigation | 27 | # build info navigation |
| 26 | url(r'^build/(?P<build_id>\d+)$', 'builddashboard', name="builddashboard"), | 28 | url(r'^build/(?P<build_id>\d+)$', 'builddashboard', name="builddashboard"), |
| @@ -74,6 +76,7 @@ urlpatterns = patterns('toastergui.views', | |||
| 74 | url(r'^targets/$', 'targets', name='targets'), | 76 | url(r'^targets/$', 'targets', name='targets'), |
| 75 | url(r'^machines/$', 'machines', name='machines'), | 77 | url(r'^machines/$', 'machines', name='machines'), |
| 76 | 78 | ||
| 79 | url(r'^projects/$', 'projects', name='all-projects'), | ||
| 77 | url(r'^project/(?P<pid>\d+)/$', 'project', name='project'), | 80 | url(r'^project/(?P<pid>\d+)/$', 'project', name='project'), |
| 78 | url(r'^project/(?P<pid>\d+)/configuration$', 'projectconf', name='projectconf'), | 81 | url(r'^project/(?P<pid>\d+)/configuration$', 'projectconf', name='projectconf'), |
| 79 | url(r'^project/(?P<pid>\d+)/builds$', 'projectbuilds', name='projectbuilds'), | 82 | url(r'^project/(?P<pid>\d+)/builds$', 'projectbuilds', name='projectbuilds'), |
| @@ -85,5 +88,5 @@ urlpatterns = patterns('toastergui.views', | |||
| 85 | 88 | ||
| 86 | 89 | ||
| 87 | # default redirection | 90 | # default redirection |
| 88 | url(r'^$', RedirectView.as_view( url= 'builds/')), | 91 | url(r'^$', RedirectView.as_view( url= 'landing')), |
| 89 | ) | 92 | ) |
