diff options
author | Michael Wood <michael.g.wood@intel.com> | 2016-05-26 16:12:22 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-06-15 08:35:04 +0100 |
commit | b2a68f55110b39aaf0b0d47bf533251a59a40a41 (patch) | |
tree | 7791ed85141e07f01c228619047740b235ee02dc /bitbake/lib/toaster/toastergui/urls.py | |
parent | 32d1e2dd25f288790450db48766cf115854712ba (diff) | |
download | poky-b2a68f55110b39aaf0b0d47bf533251a59a40a41.tar.gz |
bitbake: toaster: port Task tables to ToasterTables widget
Port the Task based tables to ToasterTable. This is the Task, Time, CPU
usage and Disk I/O tables.
(Bitbake rev: bebcef7a4bf08b10e472475435ddc7a524364adb)
Signed-off-by: Michael Wood <michael.g.wood@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 | 23 |
1 files changed, 18 insertions, 5 deletions
diff --git a/bitbake/lib/toaster/toastergui/urls.py b/bitbake/lib/toaster/toastergui/urls.py index 0636c956b2..c4913f124a 100644 --- a/bitbake/lib/toaster/toastergui/urls.py +++ b/bitbake/lib/toaster/toastergui/urls.py | |||
@@ -35,9 +35,11 @@ urlpatterns = patterns('toastergui.views', | |||
35 | 35 | ||
36 | # build info navigation | 36 | # build info navigation |
37 | url(r'^build/(?P<build_id>\d+)$', 'builddashboard', name="builddashboard"), | 37 | url(r'^build/(?P<build_id>\d+)$', 'builddashboard', name="builddashboard"), |
38 | url(r'^build/(?P<build_id>\d+)/tasks/$', | ||
39 | buildtables.BuildTasksTable.as_view( | ||
40 | template_name="buildinfo-toastertable.html"), | ||
41 | name='tasks'), | ||
38 | 42 | ||
39 | url(r'^build/(?P<build_id>\d+)/tasks/$', 'tasks', name='tasks'), | ||
40 | url(r'^build/(?P<build_id>\d+)/tasks/(?P<task_id>\d+)/$', 'tasks_task', name='tasks_task'), | ||
41 | url(r'^build/(?P<build_id>\d+)/task/(?P<task_id>\d+)$', 'task', name='task'), | 43 | url(r'^build/(?P<build_id>\d+)/task/(?P<task_id>\d+)$', 'task', name='task'), |
42 | 44 | ||
43 | url(r'^build/(?P<build_id>\d+)/recipes/$', | 45 | url(r'^build/(?P<build_id>\d+)/recipes/$', |
@@ -74,9 +76,20 @@ urlpatterns = patterns('toastergui.views', | |||
74 | url(r'^build/(?P<build_id>\d+)/target/(?P<target_id>\d+)/dirinfo_filepath/_(?P<file_path>(?:/[^/\n]+)*)$', 'dirinfo', name='dirinfo_filepath'), | 76 | url(r'^build/(?P<build_id>\d+)/target/(?P<target_id>\d+)/dirinfo_filepath/_(?P<file_path>(?:/[^/\n]+)*)$', 'dirinfo', name='dirinfo_filepath'), |
75 | url(r'^build/(?P<build_id>\d+)/configuration$', 'configuration', name='configuration'), | 77 | url(r'^build/(?P<build_id>\d+)/configuration$', 'configuration', name='configuration'), |
76 | url(r'^build/(?P<build_id>\d+)/configvars$', 'configvars', name='configvars'), | 78 | url(r'^build/(?P<build_id>\d+)/configvars$', 'configvars', name='configvars'), |
77 | url(r'^build/(?P<build_id>\d+)/buildtime$', 'buildtime', name='buildtime'), | 79 | url(r'^build/(?P<build_id>\d+)/buildtime$', |
78 | url(r'^build/(?P<build_id>\d+)/cputime$', 'cputime', name='cputime'), | 80 | buildtables.BuildTimeTable.as_view( |
79 | url(r'^build/(?P<build_id>\d+)/diskio$', 'diskio', name='diskio'), | 81 | template_name="buildinfo-toastertable.html"), |
82 | name='buildtime'), | ||
83 | |||
84 | url(r'^build/(?P<build_id>\d+)/cputime$', | ||
85 | buildtables.BuildCPUTimeTable.as_view( | ||
86 | template_name="buildinfo-toastertable.html"), | ||
87 | name='cputime'), | ||
88 | |||
89 | url(r'^build/(?P<build_id>\d+)/diskio$', | ||
90 | buildtables.BuildIOTable.as_view( | ||
91 | template_name="buildinfo-toastertable.html"), | ||
92 | name='diskio'), | ||
80 | 93 | ||
81 | # image information dir | 94 | # image information dir |
82 | url(r'^build/(?P<build_id>\d+)/target/(?P<target_id>\d+)/packagefile/(?P<packagefile_id>\d+)$', | 95 | url(r'^build/(?P<build_id>\d+)/target/(?P<target_id>\d+)/packagefile/(?P<packagefile_id>\d+)$', |