summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/urls.py
diff options
context:
space:
mode:
authorMichael Wood <michael.g.wood@intel.com>2015-11-04 15:17:45 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-10 13:29:17 +0000
commitd6e7e4ad43471fdaa1b6184bd13c91069478839e (patch)
treeb20a3016acd99133f29f294059fcea12dfed99f8 /bitbake/lib/toaster/toastergui/urls.py
parent43f0a05fa4da39be3ed84a49a3fba6951110a8fd (diff)
downloadpoky-d6e7e4ad43471fdaa1b6184bd13c91069478839e.tar.gz
bitbake: toaster: tables Add table for Packages and update SelectPackagesTable
Create a Packages table for use as the image details page. Change the SelectPackagesTable table to inherit from the Packages table. Remove the need for a separate view by adding the additional template context items to the Table's page context. (Bitbake rev: 336b1d8369d9e86ece78b63cb0e140e653216011) 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.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/bitbake/lib/toaster/toastergui/urls.py b/bitbake/lib/toaster/toastergui/urls.py
index 2164c4c8f7..969a29b228 100644
--- a/bitbake/lib/toaster/toastergui/urls.py
+++ b/bitbake/lib/toaster/toastergui/urls.py
@@ -109,13 +109,10 @@ urlpatterns = patterns('toastergui.views',
109 tables.NewCustomImagesTable.as_view(template_name="newcustomimage.html"), 109 tables.NewCustomImagesTable.as_view(template_name="newcustomimage.html"),
110 name="newcustomimage"), 110 name="newcustomimage"),
111 111
112
113 url(r'^project/(?P<pid>\d+)/layers/$', 112 url(r'^project/(?P<pid>\d+)/layers/$',
114 tables.LayersTable.as_view(template_name="generic-toastertable-page.html"), 113 tables.LayersTable.as_view(template_name="generic-toastertable-page.html"),
115 name="projectlayers"), 114 name="projectlayers"),
116 115
117
118
119 url(r'^project/(?P<pid>\d+)/layer/(?P<layerid>\d+)$', 116 url(r'^project/(?P<pid>\d+)/layer/(?P<layerid>\d+)$',
120 'layerdetails', name='layerdetails'), 117 'layerdetails', name='layerdetails'),
121 118
@@ -133,17 +130,20 @@ urlpatterns = patterns('toastergui.views',
133 130
134 131
135 url(r'^project/(?P<pid>\d+)/customrecipe/(?P<recipeid>\d+)/selectpackages/$', 132 url(r'^project/(?P<pid>\d+)/customrecipe/(?P<recipeid>\d+)/selectpackages/$',
136 tables.SelectPackagesTable.as_view(template_name="generic-toastertable-page.html"), name="recipeselectpackages"), 133 tables.SelectPackagesTable.as_view(), name="recipeselectpackages"),
137 134
138 135
139 url(r'^project/(?P<pid>\d+)/customrecipe/(?P<recipe_id>\d+)$', 136 url(r'^project/(?P<pid>\d+)/customrecipe/(?P<recipe_id>\d+)$',
140 'customrecipe', 137 tables.SelectPackagesTable.as_view(template_name="customrecipe.html"),
141 name="customrecipe"), 138 name="customrecipe"),
142 139
143 url(r'^project/(?P<pid>\d+)/customrecipe/(?P<recipe_id>\d+)/download$', 140 url(r'^project/(?P<pid>\d+)/customrecipe/(?P<recipe_id>\d+)/download$',
144 'customrecipe_download', 141 'customrecipe_download',
145 name="customrecipedownload"), 142 name="customrecipedownload"),
146 143
144 url(r'^project/(?P<pid>\d+)/recipe/(?P<recipe_id>\d+)$',
145 tables.PackagesTable.as_view(template_name="recipedetails.html"),
146 name="recipedetails"),
147 147
148 # typeahead api end points 148 # typeahead api end points
149 url(r'^xhr_typeahead/(?P<pid>\d+)/layers$', 149 url(r'^xhr_typeahead/(?P<pid>\d+)/layers$',