diff options
author | Elliot Smith <elliot.smith@intel.com> | 2016-01-15 13:00:44 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-15 16:29:59 +0000 |
commit | d29e4cd040f06cc62210231f6fae8532f2d56cb6 (patch) | |
tree | ef280d418083b5ec952d8fdc75ed6d9479288cdb /bitbake/lib/toaster/toastergui/urls.py | |
parent | b1256dbc59d24bd1274f4191325ec1f5145e99b6 (diff) | |
download | poky-d29e4cd040f06cc62210231f6fae8532f2d56cb6.tar.gz |
bitbake: toastergui: use ToasterTable for projects page
The projects page uses the old approach for showing tables,
which means a template for each table. This means that applying
changes to ToasterTable (which is used for most tables) has
no effect on the layout, styling and behaviour for these older
tables, and requires additional duplicated effort.
Move the projects page to use ToasterTable instead, to remove
the duplication of effort.
[YOCTO #8738]
(Bitbake rev: df56a35bc71639457329c4b58839976c5ee40106)
Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.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 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastergui/urls.py b/bitbake/lib/toaster/toastergui/urls.py index 2bf2d99ae7..da97a31133 100644 --- a/bitbake/lib/toaster/toastergui/urls.py +++ b/bitbake/lib/toaster/toastergui/urls.py | |||
@@ -75,8 +75,14 @@ urlpatterns = patterns('toastergui.views', | |||
75 | url(r'^newproject/$', 'newproject', name='newproject'), | 75 | url(r'^newproject/$', 'newproject', name='newproject'), |
76 | 76 | ||
77 | 77 | ||
78 | # TODO remove when new toaster table is ready | ||
78 | url(r'^projects/$', 'projects', name='all-projects'), | 79 | url(r'^projects/$', 'projects', name='all-projects'), |
79 | 80 | ||
81 | # TODO move to /projects/ when new toaster table is ready | ||
82 | url(r'^projects-new/$', | ||
83 | tables.ProjectsTable.as_view(template_name="projects-toastertable.html"), | ||
84 | name='all-projects-new'), | ||
85 | |||
80 | url(r'^project/(?P<pid>\d+)/$', 'project', name='project'), | 86 | url(r'^project/(?P<pid>\d+)/$', 'project', name='project'), |
81 | url(r'^project/(?P<pid>\d+)/configuration$', 'projectconf', name='projectconf'), | 87 | url(r'^project/(?P<pid>\d+)/configuration$', 'projectconf', name='projectconf'), |
82 | url(r'^project/(?P<pid>\d+)/builds/$', 'projectbuilds', name='projectbuilds'), | 88 | url(r'^project/(?P<pid>\d+)/builds/$', 'projectbuilds', name='projectbuilds'), |