diff options
author | Michael Wood <michael.g.wood@intel.com> | 2015-09-28 21:45:24 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-09-29 14:11:37 +0100 |
commit | d98c771a9aa047a71a30b570aba544c043d05447 (patch) | |
tree | 2fdcddd23547a1a6cea72cb9ed7e576f4d8a5c5e /bitbake/lib/toaster/toastergui/urls.py | |
parent | 37948cc5d0e9274a2ca0ec70a5b4788fa26e55e5 (diff) | |
download | poky-d98c771a9aa047a71a30b570aba544c043d05447.tar.gz |
bitbake: toaster: Add Image customisation frontend feature
Add the Image customisation front end feature to Toaster.
Caveat - This feature is currently in development and should not be
enabled by default.
(Bitbake rev: 543586462b66434741f47f2884b4ccdeda5397b5)
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: brian avery <avery.brian@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/urls.py')
-rw-r--r-- | bitbake/lib/toaster/toastergui/urls.py | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/bitbake/lib/toaster/toastergui/urls.py b/bitbake/lib/toaster/toastergui/urls.py index b47a161687..a1adbb7be0 100644 --- a/bitbake/lib/toaster/toastergui/urls.py +++ b/bitbake/lib/toaster/toastergui/urls.py | |||
@@ -103,16 +103,13 @@ urlpatterns = patterns('toastergui.views', | |||
103 | tables.NewCustomImagesTable.as_view(template_name="newcustomimage.html"), | 103 | tables.NewCustomImagesTable.as_view(template_name="newcustomimage.html"), |
104 | name="newcustomimage"), | 104 | name="newcustomimage"), |
105 | 105 | ||
106 | url(r'^project/(?P<pid>\d+)/availablerecipes/$', | ||
107 | tables.ProjectLayersRecipesTable.as_view(template_name="generic-toastertable-page.html"), | ||
108 | { 'table_name': tables.ProjectLayersRecipesTable.__name__.lower(), | ||
109 | 'title' : 'Recipes available for layers in the current project' }, | ||
110 | name="projectavailabletargets"), | ||
111 | 106 | ||
112 | url(r'^project/(?P<pid>\d+)/layers/$', | 107 | url(r'^project/(?P<pid>\d+)/layers/$', |
113 | tables.LayersTable.as_view(template_name="generic-toastertable-page.html"), | 108 | tables.LayersTable.as_view(template_name="generic-toastertable-page.html"), |
114 | name="projectlayers"), | 109 | name="projectlayers"), |
115 | 110 | ||
111 | |||
112 | |||
116 | url(r'^project/(?P<pid>\d+)/layer/(?P<layerid>\d+)$', | 113 | url(r'^project/(?P<pid>\d+)/layer/(?P<layerid>\d+)$', |
117 | 'layerdetails', name='layerdetails'), | 114 | 'layerdetails', name='layerdetails'), |
118 | 115 | ||
@@ -129,6 +126,16 @@ urlpatterns = patterns('toastergui.views', | |||
129 | name=tables.LayerMachinesTable.__name__.lower()), | 126 | name=tables.LayerMachinesTable.__name__.lower()), |
130 | 127 | ||
131 | 128 | ||
129 | url(r'^project/(?P<pid>\d+)/customrecipe/(?P<recipeid>\d+)/selectpackages/$', | ||
130 | tables.SelectPackagesTable.as_view(template_name="generic-toastertable-page.html"), name="recipeselectpackages"), | ||
131 | |||
132 | |||
133 | url(r'^project/(?P<pid>\d+)/customrecipe/(?P<recipe_id>\d+)$', | ||
134 | 'customrecipe', | ||
135 | name="customrecipe"), | ||
136 | |||
137 | |||
138 | |||
132 | # typeahead api end points | 139 | # typeahead api end points |
133 | url(r'^xhr_typeahead/(?P<pid>\d+)/layers$', | 140 | url(r'^xhr_typeahead/(?P<pid>\d+)/layers$', |
134 | typeaheads.LayersTypeAhead.as_view(), name='xhr_layerstypeahead'), | 141 | typeaheads.LayersTypeAhead.as_view(), name='xhr_layerstypeahead'), |