diff options
author | Alexandru DAMIAN <alexandru.damian@intel.com> | 2015-06-03 12:36:30 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-06-12 00:01:47 +0100 |
commit | d9341d1a774ccea25e64583f9adc61b163fb1f95 (patch) | |
tree | a2989f7885d4b1a3acce138cfdd93b864fd81832 /bitbake/lib/toaster/toastergui/templates/toastertable.html | |
parent | 751e9182ac7f37506c3d85cade00ef6f3986eb7a (diff) | |
download | poky-d9341d1a774ccea25e64583f9adc61b163fb1f95.tar.gz |
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>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/toastertable.html')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/toastertable.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/toastertable.html b/bitbake/lib/toaster/toastergui/templates/toastertable.html index 5c79ab4ae1..c7c7a84bf7 100644 --- a/bitbake/lib/toaster/toastergui/templates/toastertable.html +++ b/bitbake/lib/toaster/toastergui/templates/toastertable.html | |||
@@ -10,7 +10,7 @@ | |||
10 | 10 | ||
11 | var ctx = { | 11 | var ctx = { |
12 | tableName : "{{table_name}}", | 12 | tableName : "{{table_name}}", |
13 | url : "{{ xhr_table_url }}", | 13 | url : "{{ xhr_table_url }}?format=json", |
14 | title : "{{title}}", | 14 | title : "{{title}}", |
15 | projectLayers : {{projectlayers|json}}, | 15 | projectLayers : {{projectlayers|json}}, |
16 | }; | 16 | }; |