]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
bitbake: toaster: toastertables REST refactoring
authorAlexandru DAMIAN <alexandru.damian@intel.com>
Wed, 3 Jun 2015 11:36:30 +0000 (12:36 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 11 Jun 2015 23:01:47 +0000 (00:01 +0100)
commitd9341d1a774ccea25e64583f9adc61b163fb1f95
treea2989f7885d4b1a3acce138cfdd93b864fd81832
parent751e9182ac7f37506c3d85cade00ef6f3986eb7a
bitbake: toaster: toastertables REST refactoring

This patch refactors the ToasterTables to bring them in line
with REST principles -

- all table pages now support the "format=json" GET parameter
that returns the data in JSON format
- the tables themselves

This cleans up the URL namespace by aleviating the need to
have two URLS for each table (one for the template and one for
the data loading), and fixes minor things in the ToasterTable
implementation.

(Bitbake rev: 1778dac9fd39dae75c55bf2cf836cdd488dbc265)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/toaster/toastergui/static/js/table.js
bitbake/lib/toaster/toastergui/tables.py
bitbake/lib/toaster/toastergui/templates/layerdetails.html
bitbake/lib/toaster/toastergui/templates/toastertable-simple.html
bitbake/lib/toaster/toastergui/templates/toastertable.html
bitbake/lib/toaster/toastergui/urls.py
bitbake/lib/toaster/toastergui/widgets.py