summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/templates/bpackage.html
Commit message (Collapse)AuthorAgeFilesLines
* bitbake: toaster: port table for Built packages to ToasterTableMichael Wood2016-06-151-106/+0
| | | | | | | | | | This is the table that displays all the packages built in the build. Build -> Packages. Adds a template snippet for the git revision popover. (Bitbake rev: df62f38ff4e634544c9b1e97c5f6ca45e84a4f1e) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Migrate project configuration from bootstrap 2 to bootstrap 3Belen Barros Pena2016-06-151-10/+8
| | | | | | | | | | | Convert all the HTML templates, JS and CSS in the project parts of toaster to use bootstrap 3. (Bitbake rev: 69527a731eada699d3f604ff8f3ae9410981ba9b) Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com> Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: templates Add meaningful title tagsBelen Barros Pena2015-10-291-0/+1
| | | | | | | | | | | 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>
* bitbake: toaster: remove MANAGED referencesAlexandru DAMIAN2015-06-261-3/+0
| | | | | | | | | | | We conflate the managed and analysis modes by deleting alternative code paths, favouring the MANAGED mode, always considering the MANAGED variable True. (Bitbake rev: 0ac02d3775106b485e29496b62f31e91fd3f9387) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster logger: refactor recipe and layer file pathsAlexandru DAMIAN2015-05-291-2/+2
| | | | | | | | | | | | | | | | | | | | | | | This refactoring brings the "local_path" of the layer from the Layer object to the Layer_Version object, which is more appropriate as different checkouts of the same Layer may live in different directories. This enables us to store Recipe file paths relative to a Layer_Version at all times, aleviating the need to store full file paths in the database. We also turn the prefix of the path (e.g. virtual:native path name space) into a pathflag field. In turn, this solves the problem of mis-identification of tasks based on the recipe file paths, since we can also match the namespace of the file paths on the recipe files. [YOCTO #7594] (Bitbake rev: ec43dc569e370767c709dec225cbee0c99151c19) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: <Add class id to a few columns>Mihail Stanciu2015-05-121-2/+2
| | | | | | | | Added class ids to columns that were missing them in the Packages and Recipes pages. This is required for Toaster UI automation efforts. [YOCTO #7377] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toasterui: remove layer directory in managed modeBelen Barros Pena2015-02-201-1/+3
| | | | | | | | | | | | Removes the layer directory information from the packages built page when in managed mode. [YOCTO #7221] (Bitbake rev: 1eaf60d0fe34f5f43386c6f0e91f0b26c7a62845) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: sort on size in detail pagesDave Lerner2014-04-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [YOCTO 5778] Implements the features described in the attachment to bugzilla 5778 - new global changes to the format of size data, and - adding sorts by selected columns to specific detail pages. Although new pagination and row search capabilities are shown on the screen shots for the 5778 attachment, those features are specified in a different bugzilla entry 5777 and are not implemented in this commit. Also, the 5778 spec includes table sorting for the recipe package detail page, but sorting for that page was not implemented in this commit due to complications with sorting then returning to a page that is only one URL fragment in a template. The scope of file changes are described below. Changes to support new 'size' field column formats... default.css - added sizecol class style (right justified) projecttags.py - changed filtered_filesizeformat to allow ".0" suffixes Changes that add class 'sizecol, span2(as spec'd) ' to <th> and/or <td> size columns were made to... dirinfo.py, package_built_dependencies.html, package_included_dependencies.html, recipe.html, bpackage.html, and target.html More significant changes to support detail page table sorting are: - tablesort.html: New created to implement the sort icons, directions, and table headings, and suppress sort handling if 'disable_sort' in context, without search or pagination elements ingrained in basetable_top. Confining the changes to this small file reduces the impact (testing and risk) on the larger set of files that arleady include basetable_top/bottom files. - view.py: Modified the following view functions with - trivial changes for size formatting to the views: target, - changes to package_built_detail, package_included_detail, package_included_reverse_dependencies to handle the sorting implementation as well as moving headings and size formatting for size columns from templates to the views. - Implementation of the detail sorting using above in: package_built_detail.html, package_included_detail.html, and package_included_reverse_dependencies.html to include the tablesort heading setup, format the size column, and iterate over the new sorted objects, suppressing sorts if table row count less than 2. (Bitbake rev: d16126e9abfffde66ab70865a81997322847d44e) Signed-off-by: Dave Lerner <dave.lerner@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Fix the empty packages alertBelen Barros Pena2014-04-051-7/+5
| | | | | | | | | | | * Remove a tag in all capitals * Remove an unnecessary div * Fix a typo (Bitbake rev: 1ca139ca157d62cee9c48b22063e77614fa34325) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: add support for empty states in pagesDavid Reyna2014-03-281-7/+27
| | | | | | | | | | | | Add support for empty states in the top build page, the all packages page, and the all tasks page. [YOCTO #4865] (Bitbake rev: eaff7b50d7102c97b75df185b9ef917970319d59) Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: blocks for custom/highlighted navigation and breadcrumb linksDavid Reyna2014-03-281-1/+5
| | | | | | | | | | | | | | | Implement the navigation links as blocks so that each page can override and have its respective link appear highlighted. Make the build breadcrumb a block so that it is customizable to not be a link for the dashboard page. Reorder the page headers to be consistent order for extends, projecttags, localbreadcrumb, nav-links. [YOCTO #5916] [YOCTO #4258] (Bitbake rev: cb26c4df04170143babd6c9fd60600bfb31486ed) Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Change "0 found" to "No found"Belen Barros Pena2014-03-251-3/+3
| | | | | | | | | | | | | | | Change the string in the h1 when search returns no results from "0 things found" to "None things found". The change applies to the BitBake variables, tasks, recipes, packages built, time, CPU and disk I/O tables. [YOCTO #5981] (Bitbake rev: 8d71bd39947dd909d02c8d33847e5852c9f20f19) Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Don't show clear search button if text input field is emptyBelen Barros Pena2014-03-171-1/+1
| | | | | | | | | | | The clear search button should only show when the search text input field is populated. If it is empty (as it happens when a filter returns no results) the clear search button should not display. (Bitbake rev: 6cc4aaf08b51bb6cd8d1813c33989a788bd06990) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Add no search results pageBelen Barros Pena2014-03-171-0/+13
| | | | | | | | | | | | | | | Adding the no search results page to the built packages (bpackage.html), variables (configvars.html), recipes (recipes.html) and tasks (tasks.html) tables. The change copies the code from the build.html template into the other 4 templates. There is probably a smarter way of doing this, though. (Bitbake rev: 3feff77091b3926c10ca8f30890c9049633ccb66) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Remove inline styles in h1Belen Barros Pena2014-03-091-1/+1
| | | | | | | | | | | | | | | | | The templates bpackage.html, recipes.html and build.html included an inline style declaration in the div containing the h1 tag to add a top margin of 40px. The extra top margin is unnecessary in bpackage.html and recipes.html, but nicely separates the Recent builds and All builds sections in build.html. The changes remove the inline style declaration and create a .top-air class in default.css to include the extra top margin when needed, i.e. in the build.html template. (Bitbake rev: 2841f0740024a8351606452a5f803b9b7f70c783) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: implement package summary pageDavid Reyna2014-02-171-36/+59
| | | | | | | | | | | | | Implement the updated design for the package summay page, with pop-up boxes for the layer commit ids, column filtering, and column sorting support. [YOCTO #4318] (Bitbake rev: c39b99792547b642570ea5152070e7396e812390) Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Implementation of package detail viewsDave Lerner2014-02-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Adds new package detail views. The views are based on specifications found in attachments to: https://bugzilla.yoctoproject.org/show_bug.cgi?id=4328 specifically: design-1.5.1-package-details.pdf, and design-1.1.1-included-package-details. This patch includes a redefinition of constant numbers for task dependency tasks. This is needed in order to achieve sorting criteria from the design. This change invalidates currently dependency information for currently existing builds, as it breaks compatibility. [YOCTO #4328] (Bitbake rev: 6855925c06e7e5bb15ae9d0c08d77f3a9a2574bc) Signed-off-by: Dave Lerner <dave.lerner@windriver.com> Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Create the base page navigation structureAlexandru DAMIAN2014-01-101-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | Updating the general container pages to use the graphical design and features from the design phase. In the process of adapting the Simple UI to the designed interface, we create all the pages and the navigation structure for the Toaster GUI. Views for each page have been added, and the url mapping has been updated to reflect newly added pages. The table page has been refactored to be component-oriented instead of class-oriented in order to facilitate reusage. Changes are made in different layers of the template (base, basetable) in order to maximize code reuse among different pages in the build. (Bitbake rev: d31f039ae31b77023722c06e66542751536a1362) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: clone Simple UI as base for Toaster GUIAlexandru DAMIAN2014-01-101-0/+44
This patch clones the Simple UI to provide the base code for the development of the Toaster GUI. The clone takes the place of the application that was reserved for Javascript MVC code. The templates used for Simple UI are renamed to start with an "simple_" to prevent name resolution conflict with the Toaster GUI templates. Minor changes are made to the settings.py and urls.py in the toaster main section to account for the newly enabled application. (Bitbake rev: e2fde84f16da017ba0d71aef6a1fa8e2b9255db4) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>