summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster
Commit message (Collapse)AuthorAgeFilesLines
...
* bitbake: toaster: Shorten dependency labelsBelen Barros Pena2014-03-171-2/+2
| | | | | | | | | | | | | Changing "Task depends on" to "Dependencies" and "Task reverse dependencies" to "Reverse dependencies". This matches the labeling to recipe and package information, with the additional advantage of making the labels shorter. (Bitbake rev: 6147339ac2f93a9e60eed8975ac1784caa06bb0b) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Give an extra space to the caretBelen Barros Pena2014-03-171-1/+1
| | | | | | | | | | | In the "Collapse variable value" button in configvars.html, the caret was too close to the button label. Giving it a bit of extra space. (Bitbake rev: 5e45f2bb4b0d9b56b5f4734cf40d3a267654ccb9) 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-174-0/+56
| | | | | | | | | | | | | | | 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: Fixing "Show all builds" linkBelen Barros Pena2014-03-171-1/+1
| | | | | | | | | | | | Replacing the placeholder attribute with the value attribute in the no search results page broke the "Show all builds" link. This change applies the inline javacript used for the clear search button for the "Show all builds" link, which fixes the problem. (Bitbake rev: a58b88aebfde54ea97740f27335582fac195dfdc) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Amend help text in package_built_detail.htmlBelen Barros Pena2014-03-171-2/+2
| | | | | | | | | Matching the help text in the tabs to the design specification. (Bitbake rev: cc478b3b0befc0c8fce93d896074f8d07eaac362) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Small tweaks to the no results pageBelen Barros Pena2014-03-172-8/+6
| | | | | | | | | | | | | | | | | Correctly align the Search button to the text input field, add .btn class to the clear search button, replace the placeholder attribute with the value attribute so that you can edit your search query, remove the clear search button from the tab index so that you don't clear the search by mistake and edit the margins of the .no-results class. (Bitbake rev: 4ada4307623c1e27b589831d359dc6351e6e3ad5) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Conflicts: bitbake/lib/toaster/toastergui/templates/build.html Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Replace hyphens with underscores in package nameBelen Barros Pena2014-03-174-8/+8
| | | | | | | | | | Package details pages were using hyphens to separate package name from package version. Changing them to underscores. (Bitbake rev: c0820f93e0387d2b6ead9e2fa7205d49001d27e6) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Format package size in recipe.htmlBelen Barros Pena2014-03-171-1/+1
| | | | | | | | | | | | Package sizes in the recipe details page (recipe.html) were displaying in bytes. Apply the filtered_filesizeformat project tag to show the package size in a more human readable format. (Bitbake rev: 018db5cf683755a7a41b0ef491e130809e1ff003) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Make Order column part of the minimum tableBelen Barros Pena2014-03-171-1/+1
| | | | | | | | | | | | The Order column in the tasks table should be always shown and be part of the minimum table (i.e. its checkbox should be disabled in the Edit columns menu). Changing views.py to make sure this is the case. (Bitbake rev: a928e0cfb82dac0eb920913e3f9c5b45e3dcdf2f) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Move <tbody> outside for statementBelen Barros Pena2014-03-175-59/+56
| | | | | | | | | | | | | | In the package details pages, the <tbody> tags where inside the for statements, which caused multiple <tbody> tags to be generated inside a single table. To make sure only one <tbody> tag exists per table, moving the <tbody> tag outside the for statement. (Bitbake rev: 0c111b24e9f86130bc43c1327a6d12026e92cdf2) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: add errors and warnings listingAmit Kumar Chaudhary2014-03-143-3/+76
| | | | | | | | | | Add the errors and warnings listing to the build dashboard page. (Bitbake rev: 2004c0fd1dd049d26279ee10a18e69e6852247fa) Signed-off-by: Amit Kumar Chaudhary <amit@floatingpondtech.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Add counters to filtersRavi Chintakunta2014-03-142-40/+58
| | | | | | | | | | | | Added count to filters in Build, Tasks and Config variables. [YOCTO #5821] (Bitbake rev: afd73f8ee47d0fcf600fa919f2d2bc1b7d2eeadf) Signed-off-by: Ravi Chintakunta <ravi.chintakunta@timesys.com> Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: populate target image file tableCristiana Voicu2014-03-142-1/+3
| | | | | | | | | | | | | | Using ImageFileSize Metadata event, the image output file and its size are populated into target_image_file table. [YOCTO #5189] [YOCTO #5228] (Bitbake rev: a0b06d362b9aa08fda293489467af343c6ca6de4) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: fix 'show all' labels for tasks and variablesDavid Reyna2014-03-111-1/+1
| | | | | | | | | | | | | Fix the 'Show all' button label to indicate 'variables' and 'tasks' instead of the internal page label for the variables page and the Disk I/O, CPU Usage, and Time pages. [YOCTO #5915] (Bitbake rev: e84866b7aa5a1b272c81fde548f3c7828b036bb9) Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: add 'bblayers.conf' files to local config filterDavid Reyna2014-03-111-1/+3
| | | | | | | | | | | | | In the variables table, add to the local configuration filter the 'bblayers.conf' in addition to the 'local.conf' files. [YOCTO #5912] (Bitbake rev: 3c41481fd00056712348d305d0246d84e9a2ff0a) Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: add empty outcome support to task pageDavid Reyna2014-03-113-1/+6
| | | | | | | | | | | | | Add the new "empty" outcome value to the task detail page, with help text, help notice, plus sorting for empty in the tasks page. [YOCTO #5917] (Bitbake rev: 874b627b96809c274023b5fa330dfbdd14676d19) Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Fix help text for task details outcomeBelen Barros Pena2014-03-112-11/+11
| | | | | | | | | | | | Changes made to models.py and task.html to make sure the help text for the task outcome is displayed. [YOCTO #5917] (Bitbake rev: f3001af0b73f103a5d37af180e8c4c54a6249e97) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: add commands to list and delete buildsAlexandru DAMIAN2014-03-114-0/+46
| | | | | | | | | | | | | | We add Django commands for the manage.py to manage the database content. The two commands added are: * buildslist - produces a list of current builds * builddelete - deletes a build and all associated data from the database (Bitbake rev: e9a8c32512bb270cda3dee4a3ed5fd22204c24bc) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: update database schemaAlexandru DAMIAN2014-03-112-5/+241
| | | | | | | | | | | | | | This is a schema update to account for * relaxing constraints in Target_Image_File table * modifying permission filed to string value * adding license_manifest_path field * adding image_size field (Bitbake rev: f8488845ee9670e16a63c331dd2e97fdb314929c) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: fix issues in the build tableAlexandru DAMIAN2014-03-093-3/+12
| | | | | | | | | | | | This patches fixes minor issues in the sorting functionality of the build table. [YOCTO #5455] (Bitbake rev: 47196039bd8bac2eddb1c19ad4fc2e285dc23ee3) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: update database schemaAlexandru DAMIAN2014-03-096-13/+341
| | | | | | | | | | | | | | | | | | | | | This patch updates the database schema to resolve a number of issues discovered while implementing the UI interface. We do not expect that all the data will come in valid at this point. [YOCTO #5453] [YOCTO #5833] [YOCTO #5836] [YOCTO #5811] [YOCTO #5812] [YOCTO #5820] (Bitbake rev: f8ad96d10a095e21fd2ce424c45e17f54642fb54) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Move long content toggle to main.jsBelen Barros Pena2014-03-093-55/+18
| | | | | | | | | | | | | | | | | | | | I have move all javascript needed for toggling very long values for bitbake variables to main.js. I have changed the names of the classes involved to make them more generic, since I hope we'll be able to reuse them in other parts of the Toaster interface. .full-variable is now .full .full-variable-hide is now full-hide .full-variable-show is now full-show I have also removed all the inline scripting in base.html, since it is no longer needed. (Bitbake rev: 73828f047385ced160c7900cad24535aa8d325cd) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: implement the configuration pagedreyna/configure-detail-viewDavid Reyna2014-03-095-44/+299
| | | | | | | | | | | Update the configuration page with the file list pop-up, implement the file and description filters. [YOCTO #4259] (Bitbake rev: 54a767809960b66b2fe2d3bc46aa9c7e040c4ae3) Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: View detailed information about a taskRavi Chintakunta2014-03-095-6/+315
| | | | | | | | | | | | | | | | | Information about a task is displayed depending on it's execution status and outcome status. Edited to iterate through all possible entries for related setscene tasks. [YOCTO #4282] (Bitbake rev: 62f502b1237d4060df6be1ee4f4865db5fa39a6a) Signed-off-by: Ravi Chintakunta <ravi.chintakunta@timesys.com> Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Bug fix in reload page with parametersRavi Chintakunta2014-03-091-1/+5
| | | | | | | | | | Fix the bug in reload_params function that was failing when the page URL did not have any parameters. (Bitbake rev: 8cba40daf521d1740687f9a030f8472f980a4563) Signed-off-by: Ravi Chintakunta <ravi.chintakunta@timesys.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Fix breadcrumb date format in detail pagesBelen Barros Pena2014-03-091-1/+1
| | | | | | | | | | | | | The template basebuilddetailpage.html had the completed on date in the breadcrumb set to naturaltime. Changed to d/m/y H:i to match the date format in the basebuildpage.html template, so that breadcrumbs display the same date format across all pages. (Bitbake rev: 188c12901c9573285956cded76f27a0d6330c82e) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Sort packages and dependencies in recipe.htmlBelen Barros Pena2014-03-091-3/+3
| | | | | | | | | | | | | | The tables in the Packages, Build dependencies and Reverse build dependencies tabs in the recipe details pages (template recipe.html) should be sorted by package name and recipe name respectively. This change adds the sorting. (Bitbake rev: ff6c448c7b5bc7bf4fe75e15e66c4e02f07f7618) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Change popover headings in recipes tableBelen Barros Pena2014-03-091-2/+2
| | | | | | | | | | | | In the recipes table, dependencies and reverse dependencies are shown inside a popover. The popover headings did not match the table headings, so changed to "dependencies" and "reverse dependencies" as per the design spec. (Bitbake rev: 05f19e5cd8cca48e6e52f4b3ea1cd25d2ba4ac1c) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Change help text for SectionBelen Barros Pena2014-03-092-2/+2
| | | | | | | | | | | | | | | | The help text for the Section information in the recipes table and the recipe details page said "packages" instead of recipes, and it said there were 5 possible values for the SECTION variable (which is not true). Changed to "The section in which recipes should be categorised" (Bitbake rev: 984273e07126674c674ad8b400418117ae087860) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Hide the applied filter tooltip on clickBelen Barros Pena2014-03-091-0/+5
| | | | | | | | | | | | | | | | | When you apply a filter, we show you a tooltip on hover that tells you which filter you have applied and allows you to clear it quickly. That tooltip does not disappear straight away if you click on the filter button: it hangs in there because the tooltip has a delay specified on hide. The effect is quite annoying. This change to main.js makes sure the tooltip disappears when you click the filter button. (Bitbake rev: 5928d2f3cba4524966a34d8c845a04627b9b310b) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Add .muted class to disabled checkboxesBelen Barros Pena2014-03-091-2/+2
| | | | | | | | | | | | In the edit columns menu, the checkboxes for the columns in the minimum table are disabled. To better communicate visually the disabled state, this change applies the .muted class to the labels of those checkboxes. (Bitbake rev: 125a3da654ac7742a93ac93f4f23336ecd251a61) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Set the right styles for definition listsBelen Barros Pena2014-03-091-1/+1
| | | | | | | | | | | | | | | | In the task details page, our labels are quite long and the default width of the dt elements in the .dl-horizontal class is too small. Changing the width to 200px, and the left margin of the dd element to 220px. Changing the bootstrap.min.css file is not ideal (ok, is a pretty bad hack), but it is the only way to keep the nice responsive styles for those definition lists. (Bitbake rev: 1e655eb121173b4441a9a4e9005fe8c1f235dfbb) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Set correct string for missed sstate attemptsBelen Barros Pena2014-03-091-1/+1
| | | | | | | | | Replace 'Missed' with 'File not in cache'in models.py (Bitbake rev: cb76a1d39ce36a36dc398a0422bcfac1c72f9c2b) 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-094-4/+5
| | | | | | | | | | | | | | | | | 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: extend Tasks to include Time, Disk IO, and CPU UsageDavid Reyna2014-03-095-191/+235
| | | | | | | | | | | | | | Update the All Tasks page to also cover the Time, Disk I/O, and CPU Usage pages. Add filter count header support, and fix minor column enablements. [YOCTO #4387] (Bitbake rev: 7e78836ebbddf0240094fd79a18cb057d6c4f322) Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: array-assignment fix from ChomeAlexandru DAMIAN2014-03-092-2/+4
| | | | | | | | | | | Apparently the JS engine in Chrome can't handle assignments to an array, so I'm patching this up by using an intermediate array to hold the values. (Bitbake rev: 47f5fde1bd8cf2e6f7e5c4ec2534a2f9599c4ea2) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: mark dependency packagesAlexandru DAMIAN2014-03-091-2/+2
| | | | | | | | | | | | | | | | | We need to mark the package entries that are created solely for dependency tracking purposes. In order to avoid altering the database schema, we mark the dependency targets with size = -1, since this is not a valid size anyway and makes for easy filtering. [YOCTO #5803] (Bitbake rev: d11ed273dd6c520b16e9ccfe79476f340006a55d) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toasterui: adding new task outcome emptyAlexandru DAMIAN2014-03-091-2/+5
| | | | | | | | | | | | | | | | | | | In order to separate tasks with invalid states from the no exec tasks, we add a new value OUTCOME_EMPTY for the tasks. OUTCOME_EMPTY has the same value as OUTCOME_NA as to maintain compatibility with already existing builds. New value for OUTCOME_NA can be used to detect tasks with invalid states, i.e. it should never appear after finishing a build. Fixing noexec tasks outcomes. [YOCTO #5763] (Bitbake rev: 475643ad78796835bf2e731b9d0fa5794ec80dd1) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toastergui: fix task executed status displayAlexandru DAMIAN2014-03-093-12/+7
| | | | | | | | | | | | | The proper way to get a display-able value in Django is to use a model method instead of clutter the template with if/else. [YOCTO #5641] (Bitbake rev: bb21b71dab70db163b804c7ebf27b85c59a39112) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: implement package summary pageDavid Reyna2014-02-173-40/+131
| | | | | | | | | | | | | 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: implement recipe summary pageDavid Reyna2014-02-173-39/+145
| | | | | | | | | | | | | Implement the updated design for the recipe summay page, with pop-up boxes for the dependecies and layer commit ids, column filtering, and column sorting support. [YOCTO #4294] (Bitbake rev: 92b71c8e6cfcd656866fbf9bd00bf184b223c5fa) Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Make popovers mutually exclusiveBelen Barros Pena2014-02-171-36/+19
| | | | | | | | | | | | | | | | | | | Table popovers should be mutually exclusive (only one of them should be open at any given time), and should close when you click outside their area. But this is not the default popover behaviour in Bootstrap, so some additional javascript is needed. The code in main.js taking care of this in the design prototype was quite ugly and didn't get on well with certain browsers. I have replaced it with a better solution (although still not ideal). (Bitbake rev: d56633c00f6730c053f355570211eba1bdc41b62) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Make popovers scrollableBelen Barros Pena2014-02-171-0/+3
| | | | | | | | | | | | | Some recipes and packages have a lot of dependencies. To stop their popovers from taking over the full height of the screen, I have given them a maximum height and made their content scrollable in default.css (Bitbake rev: b6416a98f441516100d2ce7baca30f09714a1d1d) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Make all targets links to the build dashboardBelen Barros Pena2014-02-171-1/+1
| | | | | | | | | | | | | | Change the build.html template to remove the conditional check that added links to the build dashboard only to those targets that are image recipes. All targets should be links to their corresponding build dashboard. (Bitbake rev: 05f52b9fad597173d813fa4305af65f1c9bb88a1) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Select a radio button by default in Filter DialogRavi Chintakunta2014-02-172-1/+13
| | | | | | | | | | If none of the filter options in the filter dialog are active, then select the first radio button. (Bitbake rev: 8aa63143cc446227c69f64688b314c65b74604d8) Signed-off-by: Ravi Chintakunta <ravi.chintakunta@timesys.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Fix for task_color tagBelen Barros Pena2014-02-171-1/+1
| | | | | | | | | | | | This patch changes the task_color tag in projecttags.py to make sure it adds the error class to the rows corresponding to failed tasks in the tasks table. (Bitbake rev: 44c5b3a93a93a464429e8d998aace25f840ae724) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Apply error style to cell linksBelen Barros Pena2014-02-171-1/+1
| | | | | | | | | | | | | This patch changes default.css so that any anchor tag inside a table cell with the error class applied inherits the class styles. This ensures that the failed tasks listed in the builds table look red like the failed tasks in the tasks table. (Bitbake rev: e5cbb190317dba2eddd933678474569563ec840b) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Make "Edit columns" multiselectBelen Barros2014-02-171-0/+5
| | | | | | | | | | | | | | | | | Twitter Boostrap elements with the dropdown-menu class close by default once a selection is performed. Such behaviour is not appropriate for our "Edit columns" menu, since users might want to check / uncheck several columns. This patch adds a call to the stopPropagation() jQuery function to main.js to stop the "Edit columns" menu from closing every time you change a checkbox. (Bitbake rev: c2e43750bf0913523a1abcb2c8bf97b764da2524) Signed-off-by: Belen Barros <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: fix javascript for table filtersAlexandru DAMIAN2014-02-172-1/+3
| | | | | | | | | | | | This patch adds javascript link for resetting page filters in the tool tip "Show all" button. Also fixes a JS bug for when the cookie is not set yet. (Bitbake rev: e123922274ea875105e6ed855b3368b8b77fca64) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Add clear filter button to filter tooltipsBelen Barros2014-02-172-2/+2
| | | | | | | | | | | | | | | | This patch modifies the basetable_top.html template to add the 'Show all' button to the applied filter tooltip. It also adds a delay in the tooltip dismissal in main.js to allow users to click the button comfortably. The patch does not add the functionality to the button (when you click on it nothing happens). Someone else will need to add that in. (Bitbake rev: e39857162b5d91cc2f92843a9a14599bab369849) Signed-off-by: Belen Barros <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>