diff options
author | Elliot Smith <elliot.smith@intel.com> | 2016-01-15 13:00:49 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-15 16:28:41 +0000 |
commit | e0590fc8103afeb4c5e613a826057555c8193d59 (patch) | |
tree | fe1d387cf6d68404258c112a1aff4f6a6e513b61 /lib/toaster/toastergui/urls.py | |
parent | 1f3ff01fed0b4de8721191f108033ad044cdc26a (diff) | |
download | bitbake-e0590fc8103afeb4c5e613a826057555c8193d59.tar.gz |
toastergui: convert all builds page to ToasterTable
For better long-term maintainability, use ToasterTable instead
of Django template and view code to display the all builds page.
NB the builds.html template has been left in, as this will
otherwise cause conflicts when merging the new theme.
[YOCTO #8738]
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 'lib/toaster/toastergui/urls.py')
-rw-r--r-- | lib/toaster/toastergui/urls.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/toaster/toastergui/urls.py b/lib/toaster/toastergui/urls.py index b5e9a0554..707b7d5f2 100644 --- a/lib/toaster/toastergui/urls.py +++ b/lib/toaster/toastergui/urls.py @@ -27,7 +27,10 @@ urlpatterns = patterns('toastergui.views', # landing page url(r'^landing/$', 'landing', name='landing'), - url(r'^builds/$', 'builds', name='all-builds'), + url(r'^builds/$', + tables.BuildsTable.as_view(template_name="builds-toastertable.html"), + name='all-builds'), + # build info navigation url(r'^build/(?P<build_id>\d+)$', 'builddashboard', name="builddashboard"), |