bitbake: toaster: reconcile non-manage-mode landing classes

Remove obsolete manage-mode URLs, fix not-manage mode landing classes that have
obsolete non-matching parameter lists, remove orphaned landing classes..

[YOCTO #6483]

(Bitbake rev: 76c54a79c4e26cefa5e72ca1cb14bc9d46e8f9dd)

Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
David Reyna
2015-02-27 00:47:32 -08:00
committed by Richard Purdie
parent 4f3664705c
commit ece39b4c47
2 changed files with 5 additions and 10 deletions

View File

@@ -78,13 +78,11 @@ urlpatterns = patterns('toastergui.views',
url(r'^layers/$', 'layers', name='layers'),
url(r'^layer/(?P<layerid>\d+)/$', 'layerdetails', name='layerdetails'),
url(r'^layer/$', 'layerdetails', name='layerdetails'),
url(r'^targets/$', 'targets', name='all-targets'),
url(r'^machines/$', 'machines', name='machines'),
url(r'^projects/$', 'projects', name='all-projects'),
url(r'^project/$', 'project', name='project'),
url(r'^project/(?P<pid>\d+)/$', 'project', name='project'),
url(r'^project/(?P<pid>\d+)/configuration$', 'projectconf', name='projectconf'),
url(r'^project/(?P<pid>\d+)/builds$', 'projectbuilds', name='projectbuilds'),

View File

@@ -3400,7 +3400,7 @@ else:
def xhr_projectbuild(request, pid):
return render(request, 'landing_not_managed.html')
def xhr_build(request, pid):
def xhr_build(request):
return render(request, 'landing_not_managed.html')
def xhr_projectinfo(request):
@@ -3412,7 +3412,7 @@ else:
def xhr_datatypeahead(request):
return render(request, 'landing_not_managed.html')
def xhr_configvaredit(request):
def xhr_configvaredit(request, pid):
return render(request, 'landing_not_managed.html')
def importlayer(request):
@@ -3421,22 +3421,19 @@ else:
def layers(request):
return render(request, 'landing_not_managed.html')
def layerdetails(request):
def layerdetails(request, layerid):
return render(request, 'landing_not_managed.html')
def targets(request):
return render(request, 'landing_not_managed.html')
def targetdetails(request):
return render(request, 'landing_not_managed.html')
def machines(request):
return render(request, 'landing_not_managed.html')
def projectconf(request):
def projectconf(request, pid):
return render(request, 'landing_not_managed.html')
def projectbuilds(request):
def projectbuilds(request, pid):
return render(request, 'landing_not_managed.html')
def build_artifact(request, build_id, artifact_type, artifact_id):