From 94d38a4e403f9e1930312b94694077a5300d625f Mon Sep 17 00:00:00 2001 From: Alexandru DAMIAN Date: Thu, 7 May 2015 18:09:09 +0100 Subject: bitbake: toasterui: URL refactoring This is a URL refactoring needed to remove the inadvertent usage of server-side user session in a REST-style API. We move the parameters that were stored in the user session to the URL, making navigation more robust. This refactoring allows a clean (no 500 HTTP return codes) crawl of the website following inside links. (Bitbake rev: cc251da0f211f3ee881ad07478733e2f4c1b7019) Signed-off-by: Alexandru DAMIAN Signed-off-by: Richard Purdie --- .../toastergui/templates/basetable_top_layers.html | 2 +- .../toaster/toastergui/templates/importlayer.html | 2 +- .../toaster/toastergui/templates/layerdetails.html | 8 ++++---- .../lib/toaster/toastergui/templates/layers.html | 14 ++++++------- .../lib/toaster/toastergui/templates/machines.html | 4 ++-- .../lib/toaster/toastergui/templates/project.html | 24 +++++++++++----------- .../lib/toaster/toastergui/templates/targets.html | 6 +++--- 7 files changed, 30 insertions(+), 30 deletions(-) (limited to 'bitbake/lib/toaster/toastergui/templates') diff --git a/bitbake/lib/toaster/toastergui/templates/basetable_top_layers.html b/bitbake/lib/toaster/toastergui/templates/basetable_top_layers.html index bd6e7dd2de..722091b2d3 100644 --- a/bitbake/lib/toaster/toastergui/templates/basetable_top_layers.html +++ b/bitbake/lib/toaster/toastergui/templates/basetable_top_layers.html @@ -1,5 +1,5 @@ {% extends "basetable_top.html" %} {%block custombuttons %} - Import layer + Import layer {%endblock%} diff --git a/bitbake/lib/toaster/toastergui/templates/importlayer.html b/bitbake/lib/toaster/toastergui/templates/importlayer.html index ed03b2eea7..d73c319307 100644 --- a/bitbake/lib/toaster/toastergui/templates/importlayer.html +++ b/bitbake/lib/toaster/toastergui/templates/importlayer.html @@ -14,7 +14,7 @@