From a8be6d4bb18232f13ffcaaf1a4137322db59fe48 Mon Sep 17 00:00:00 2001 From: Alexandru DAMIAN Date: Mon, 8 Jun 2015 13:36:56 +0100 Subject: bitbake: toastergui: remove xhr_datatypeahead and xhr_XXXbuild We remove the endpoints for XHR on the toastergui application. The endpoints are now replaced with calls to the respective REST endpoints (i.e. projectlayers, projecttargets, projectmachines). (Bitbake rev: 8e7a2c3b125a34fd9d6fa0442ab13290137ecc51) Signed-off-by: Alexandru DAMIAN Signed-off-by: Richard Purdie --- bitbake/lib/toaster/toastergui/urls.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (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 d527be0017..f1b74cdd14 100644 --- a/bitbake/lib/toaster/toastergui/urls.py +++ b/bitbake/lib/toaster/toastergui/urls.py @@ -91,19 +91,19 @@ urlpatterns = patterns('toastergui.views', tables.MachinesTable.as_view(template_name="generic-toastertable-page.html"), { 'table_name': tables.MachinesTable.__name__.lower(), 'title' : 'All compatible machines' }, - name="all-machines"), + name="projectmachines"), url(r'^project/(?P\d+)/recipes/$', tables.RecipesTable.as_view(template_name="generic-toastertable-page.html"), { 'table_name': tables.RecipesTable.__name__.lower(), 'title' : 'All compatible recipes' }, - name="all-targets"), + name="projecttargets"), url(r'^project/(?P\d+)/layers/$', tables.LayersTable.as_view(template_name="generic-toastertable-page.html"), { 'table_name': tables.LayersTable.__name__.lower(), 'title' : 'All compatible layers' }, - name="all-layers"), + name="projectlayers"), url(r'^project/(?P\d+)/layer/(?P\d+)$', tables.LayerDetails.as_view(template_name='layerdetails.html'), @@ -121,10 +121,8 @@ urlpatterns = patterns('toastergui.views', 'title' : 'All machines in layer' }, name=tables.LayerMachinesTable.__name__.lower()), - url(r'^xhr_projectbuild/(?P\d+)$', 'xhr_projectbuild', name='xhr_projectbuild'), url(r'^xhr_configvaredit/(?P\d+)$', 'xhr_configvaredit', name='xhr_configvaredit'), - url(r'^xhr_datatypeahead/(?P\d+)$', 'xhr_datatypeahead', name='xhr_datatypeahead'), url(r'^xhr_importlayer/$', 'xhr_importlayer', name='xhr_importlayer'), url(r'^xhr_updatelayer/$', 'xhr_updatelayer', name='xhr_updatelayer'), -- cgit v1.2.3-54-g00ecf