From a1f7a09801c2240b5f9a29683a2b538fcb9991d6 Mon Sep 17 00:00:00 2001 From: Alexandru DAMIAN Date: Fri, 3 Oct 2014 18:03:37 +0100 Subject: bitbake: toaster: changes to the landing page This patch brings in a new landing page to be shown when there are no builds and no projects available. The builds page now displays only only the builds part, without the landing page bits. There is a new projects page that displays the All Projects table as specified in the design. [YOCTO #6682] (Bitbake rev: c6c7c05521daa9bf16c122d7d472330ca4c05e88) Signed-off-by: Alexandru DAMIAN Signed-off-by: Richard Purdie --- bitbake/lib/toaster/toastergui/urls.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'bitbake/lib/toaster/toastergui/urls.py') 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 urlpatterns = patterns('toastergui.views', # landing page + url(r'^landing/$', 'landing', name='landing'), + url(r'^builds/$', 'builds', name='all-builds'), # build info navigation url(r'^build/(?P\d+)$', 'builddashboard', name="builddashboard"), @@ -74,6 +76,7 @@ urlpatterns = patterns('toastergui.views', url(r'^targets/$', 'targets', name='targets'), url(r'^machines/$', 'machines', name='machines'), + url(r'^projects/$', 'projects', name='all-projects'), url(r'^project/(?P\d+)/$', 'project', name='project'), url(r'^project/(?P\d+)/configuration$', 'projectconf', name='projectconf'), url(r'^project/(?P\d+)/builds$', 'projectbuilds', name='projectbuilds'), @@ -85,5 +88,5 @@ urlpatterns = patterns('toastergui.views', # default redirection - url(r'^$', RedirectView.as_view( url= 'builds/')), + url(r'^$', RedirectView.as_view( url= 'landing')), ) -- cgit v1.2.3-54-g00ecf