summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/templates/importlayer.html
AgeCommit message (Collapse)Author
2015-10-29bitbake: toaster: templates Add meaningful title tagsBelen Barros Pena
Our title tags are all over the place, and have no relation to the page content. This commit adds a meaningful title tag to each Toaster page. (Bitbake rev: 1ab8827d684a19a70f3b788aed2327bf30edffe2) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-06bitbake: toastergui: fix spacing in the import layers pageBelen Barros Pena
Adjust the space between the first fieldset and the tabs, and the help text and the first form field. (Bitbake rev: 68086d260842c12e5459c719f383b045fb0b3c2d) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-01bitbake: toastergui: Add new project page and navigationMichael Wood
This brings in the new project page design and improved navigation. As this also removes the dependency on Angular it also required that the entry points to the project page such as machine-change notifications are also updated. [YOCTO #7329] (Bitbake rev: 6489e6eb5c3b0d59063b6d60521fc33fe563e707) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-01bitbake: toastergui: Implement new project navigationMichael Wood
Change the structure of the project page to include a navigation menu and top tab navigation. Remove old breadcrumb method. [YOCTO #7329] (Bitbake rev: 66fa0dd988e01ec79e74be7a5697eaa3b4f017d8) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-06-26bitbake: toasterui: fixes after html5 compliance testingAlexandru DAMIAN
This patch brings fixes for issues highlighted by HTML5 compliance testing. (Bitbake rev: 7aecb974d44d9bc711ffba5cc65e770811397fba) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-06-12bitbake: toastergui: remove xhr_datatypeahaed layerdeps callAlexandru DAMIAN
This patch removes the url-constructing calls to get the layer details in favor of embedding the look-up URL in the JSON data on the layer list page. This allows further removal of the XHR-specific code for layer dependencies in favor of REST calls to layer details data. (Bitbake rev: 33d2b87aca667d72262a3928deaf35414b46a7c1) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-05-14bitbake: toaster: fix html5 complianceAlexandru DAMIAN
This patch brings needed changes in all views so that each view passes the HTML5 compliance test by the W3C Markup Service. (Bitbake rev: 6e60ed8ab71e4300ab571f42b7af5011086df697) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-05-14bitbake: toastergui: change the import layer action help textBelen Barros Pena
To match the form labels and the order in which the information is requested. That should make understanding the text easier. (Bitbake rev: 3424110d1d95e3cc039e8775324f814e7fdd5470) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-05-12bitbake: toasterui: URL refactoringAlexandru DAMIAN
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 <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-05-08bitbake: toaster: Refactor and expand layer add remove mechanismMichael Wood
We have multiple pages which have buttons to add and remove layers this patch adds functionality to libtoaster to abstract this and implements it in the pages affected. We handle loading and showing the dependencies dialog here too and generating the notification messages. Also implemented is using the selectmachine api from the projectapp to avoid having to handle this in each page that allows selecting machines. A small number of jshint issues, help text and the machine page name have also been fixed. (Bitbake rev: ae7a656ba7fc6f4356b57aa309a9b6d035e51d2e) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-05-08bitbake: toaster: Move project context variables to common scopeMichael Wood
We have a bunch of context data which are used in multiple pages so it makes more sense to have this in a single place libtoaster.ctx that's accessible from each page rather than request it from every page. (Bitbake rev: 4ef2774a2f683929c700550a9acc7b8f6074195b) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-03-09bitbake: toaster: Enforce unique layer namesMichael Wood
We had some clever functionality to manage duplicate layer names by using layer versions and new revisions, unfortunately this was too opaque to the user. [YOCTO #7337] (Bitbake rev: 4590cfcb2d5e26518e04f8abc8e7c2dad973f6d2) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-03-09bitbake: toastergui: bring back base URLs for pages that need themAlexandru DAMIAN
Some URLs, although invalid on their own, are used in JS to build valid page pointers. Previous patch removed two of these URLs, breaking the display of several patches. This patch re-adds these URLs with different names, and returns 400 Bad Request empty pages on them, which is consistent with the intended usage of these URLs. (Bitbake rev: 73afee5ddb2e89dcec65854639b19b8860232d89) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-02-24bitbake: toastergui: fix spacing and input field sizesBelen Barros Pena
The revision label was missing the projec-form class (which controls the spacing in the form), and the revision text field was a bit too long, so changed it from span4 to span3. (Bitbake rev: 219d57d1cec178820f679a4153324986c37821db) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-02-20bitbake: toaster: importlayer Remove description input fieldMichael Wood
This wasn't required or working due to a typo and adds ambiguity between the summary and description. The correct method for changing the description or summary is via the layerdetails page. [YOCTO #7190] (Bitbake rev: 605298ff3ce919127003dadef95798472327f943) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-12-18bitbake: toaster: importlayer Tidy up the page initialisationMichael Wood
Tidy up the page initialisation and change the error logging so that it's consistent with other pages. (Bitbake rev: 3a5b78af4f3cab203824d933a73e82a41ab377e3) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-12-18bitbake: toaster: Formatting changes to error messagesBelen Barros Pena
Just giving a bit of space to the content of the error messages we show when you try to import a layer that already exists. (Bitbake rev: 19b8ff1949072691dade96038af529200175843a) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-12-18bitbake: toaster: importlayer Avoid namespace clash with layer nameMichael Wood
This was causing validation issues as the layer name was being picked up from a different location in the dom. (Bitbake rev: 54165dd929ef304357806411cd70caf85b6132f0) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-12-18bitbake: toaster: tweaking the import layers formBelen Barros Pena
This commit makes the following changes to the import layers form: * In the explanatory text at the top of the page, show only the release description (to match the information shown in all other pages) * Make sure the spacing between form fields and labels is consistent across the form * Change the 'Branch, tag or commit' label to 'Revision' and add some help text to the label * Change the help text and the input type in the layer description * Change the help text next to the form actions to match the new field ordering in the form (Bitbake rev: 1fae3ef8f87a836758519c85afb2762768c29efc) Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com> Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-12-18bitbake: toaster: Add import layer feature.Michael Wood
This feature allows users to import layers from git into their current project and associate it with the release of the current project and the dependencies for the newly imported layer with existing layers. It will also resolve the child dependencies of the dependencies added. [YOCTO #6595] (Bitbake rev: 017f5c746e894f9d87d927c848386459ea332378) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-09-01bitbake: toastergui: added pages for project detailsAlexandru DAMIAN
We add new pages for the layer importing, layer details, showing project builds and project configuration. The pages are in read-only mode, but they're needed as to be able to verify the quality of data in the system. Write capabilities will be added in a subsequent patch. [YOCTO #6595] [YOCTO #6590] [YOCTO #6591] [YOCTO #6588] [YOCTO #6589] (Bitbake rev: eed9ae5c2a2bd7567e12ae9a4f02a5a966a1e1a3) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>