summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/templates/basetable_top.html
Commit message (Collapse)AuthorAgeFilesLines
* bitbake: toaster: adjust the search field widthBelen Barros Pena2016-02-261-2/+2
| | | | | | | | | | | | | | | | The search field at the top of our tables was using one of the Bootstrap classes for text field sizing. Those classes are a bit rigid, resulting in text fields too wide that made other table controls wrap. Setting a maximum width to the search form using one of the span classes, combined with a % width css declaration, make for text fields that adapt a bit better to the horizontal space available in each table. (Bitbake rev: 7833fab2e03f2d9a01ab9ad0a13c190382098b5e) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Elliot Smith <elliot.smith@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toastergui: Added IDs to elements used in testingMihail Stanciu2015-08-171-2/+2
| | | | | | | | | | | | | Added static IDs to elements commonly used in the testing process so that future UI modifications would not break tests as easily. [YOCTO #7380] (Bitbake rev: 04e896d7fb170271fb09dae5c2a42acb4b68f513) Signed-off-by: Mihail Stanciu <stanciux.mihail@intel.com> Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toastergui: Implement new project navigationMichael Wood2015-08-011-1/+0
| | | | | | | | | | | | | 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>
* bitbake: toaster: fixing undefined variablesAlexandru DAMIAN2015-06-261-3/+8
| | | | | | | | | | This patchset fixes usage of undefined variables in the base page. (Bitbake rev: a9e889af41e1e59c3b426c78ba80e4d49c6c122b) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toasterui: replace cookie-based preferences with session dataAlexandru DAMIAN2015-05-291-8/+1
| | | | | | | | | | | | | | | | | We switch from storing the user preferences using cookies to saving them in the server-side session. Patch for "count/pagesize" and "orderby" fields in the table-based pages. This patch will solve two problems: * the browser-side race between the GET header data and the cookie data * page breakages when field names chances in orderby statements. (Bitbake rev: 125d0e05805247450be0675e281a21bd6146d108) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: changes to the landing pageAlexandru DAMIAN2014-10-301-1/+1
| | | | | | | | | | | | | | | | | | This patch brings in a new landing page to be shown when there are no builds and no projects available. The builds page now displays only only the builds part, without the landing page bits. There is a new projects page that displays the All Projects table as specified in the design. [YOCTO #6682] (Bitbake rev: c6c7c05521daa9bf16c122d7d472330ca4c05e88) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toastergui: project edit capabilities in all layers pageAlexandru DAMIAN2014-10-301-0/+1
| | | | | | | | | | | | This patch definitivates the all layers page, providing interactivity for adding and removing layers inside the project from this page. [YOCTO #6590] (Bitbake rev: e690080f83ad53c5e4a31e8c0fba2cc744eea1eb) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toastergui: Amend show rows optionsBelen Barros2014-10-301-1/+1
| | | | | | | | | | | | | | In the templates basetable_bottom.html and basetable_top.html remove the '2' and '5' options from the 'show rows' menu, and add the '150' option as per design specs. Alex edited conflicts. (Bitbake rev: 03f7ba3d8a101e05c106e5fb65eb379a6e4cb476) Signed-off-by: Belen Barros <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: fix some code spacing issuesMarius Avram2014-09-051-4/+5
| | | | | | | | | | | Code is related to the basetable templates files. It had mixed tabs and spaces and was miss aligned in various places, making it hard to read. (Bitbake rev: cdaea8951df6b707afd1fefbf22295088256dd6f) Signed-off-by: Marius Avram <marius.avram@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: use cookies for count and sorting in templates tablesMarius Avram2014-09-051-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | Until now cookies were used to save which columns were shown and which were hidden in toaster tables. The tables from the templates also have functionalities like sorting the entries on a certain column and limiting the number of entries displayed on a page. The later however were not saved using cookies. This patch brings this new feature. The cookies are not saved only in the front-end. They are saved both in the frontend in case the user uses the inputs/buttons to change a parameter and also in the backend in case the user specifies manually using GET variables the value of the parameters. When no GET parameters are given the views will redirect the url to one containg the parameters saved as cookies. When no cookies exist, default values will be used. [YOCTO #6126] (Bitbake rev: 880b58c845e3a501fa90d24e1bd89c87ca84b709) Signed-off-by: Marius Avram <marius.avram@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: sort columns properly after edit columnsFarrell Wymore2014-05-211-13/+159
| | | | | | | | | | | | If a sorted column is made invisible through the edit columns function, resort the table the its default order. [YOCTO 5919] (Bitbake rev: 64618f7489eb9eb13a97d03cd2d353384f5faa70) Signed-off-by: Farrell Wymore <farrell.wymore@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: keep number of rows across searchesAlexandru DAMIAN2014-04-091-0/+1
| | | | | | | | | | | | | | This patch will make Toaster remember the selected number of rows to be displayed in tables across different searches. The number of rows setting will not be remembered if the the user leaves the page and subsequently returns to it. (Bitbake rev: a84f296591be26972b808e98816e9d92cadf3eb5) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Match search results form to no results formBelen Barros Pena2014-04-011-1/+1
| | | | | | | | | | | | In the search results form, add the btn class to the clear search button and set its tabindex to -1 so that you don't accidentally clear the search when you want to search again. (Bitbake rev: 1cd01dbf3cd59bac6b62fe91ba2bafa0c62fd7f1) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: apply filter only on selected attributesMarius Avram2014-03-251-1/+1
| | | | | | | | | | | | | | | | | | This fixes the filter from the main page: 'All builds' applied to the table header. Once one is selected, the filter button for that respective column will receive a title attribute which will show additional options when you hover over it. Until now the additional option was active for all filters buttons not only for the one selected. This also caused malformed output in the case of the buttons which weren't among the selected filter. [YOCTO #5929] (Bitbake rev: 50e7f8f3bcfdd5b3e1b7778bfaaa93a563aba45d) Signed-off-by: Marius Avram <marius.avram@intel.com> Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Fix alignment issue in searchformBelen Barros Pena2014-03-251-5/+3
| | | | | | | | | | | | | The search form in basetable_top.html had a small alignment issue between the search text field and the search button. This change aligns the elements correctly. Whitespace fix by Alex Damian. (Bitbake rev: 54ec8dfe779bc20d5aaeeeeb768da8412e5dfd0f) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Remove the data-toggle attributeBelen Barros Pena2014-03-171-1/+1
| | | | | | | | | | | | Help icons with the .get-help class do not need the data-toggle attribute. That attribute initialises the Bootstrap tooltips, but they are already initialised in main.js for any element with the .get-help class. (Bitbake rev: 886a87de2d36382f40830c0d28fd2f55871d0993) Signed-off-by: Belen Barros Pena <belen.barros.pena@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: fix issues in the build tableAlexandru DAMIAN2014-03-091-1/+1
| | | | | | | | | | | | 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: 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: extend Tasks to include Time, Disk IO, and CPU UsageDavid Reyna2014-03-091-1/+1
| | | | | | | | | | | | | | 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: fix javascript for table filtersAlexandru DAMIAN2014-02-171-1/+1
| | | | | | | | | | | | 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-171-1/+1
| | | | | | | | | | | | | | | | 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>
* bitbake: toaster: fix builds page CSS and functionalityAlexandru DAMIAN2014-01-271-1/+2
| | | | | | | | | | | | | | | | | This patch fixes a set of CSS and functionality problems with the build list page: * Fix Recent Builds text styles * Added proper links from Failed Tasks entries. * Always Search returns to the first page of results. * Clear search button appears only if search is active. * Search shows the number of object, proper no objects found * Various smaller fixes. (Bitbake rev: 9164948e387a726f318f723f63e8d93435d7afe6) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Base table fixes for header text, sort icon and filter iconRavi Chintakunta2014-01-271-2/+3
| | | | | | | | | | | | | | | | | | | | - Display the table column header as a link only if it is sortable. Non-sortable column headers are displayed as plain text. - Display the sort order by an up / down arrow icon next to the column header - Add style for header in default.css - Set tooltip for the active filter icon - Pass the view name to the filter dialog (Bitbake rev: 53ede15926d45b555252d77919a0568a984c6d74) 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: Toaster GUI Build and Dashboard pages fixesAlexandru DAMIAN2014-01-271-5/+18
| | | | | | | | | | | | | | | | | | | | | | | THis is a large set of fixes for the generic table, Build and Dashboard pages. Among the fixes: * the table remembers which columns to show across refreshes, based on saving the settings in a cookie * added column timespent for a build which is a denormalization of the completed_on - started_on information due to limits in computing datetime differences in the SQL engine * fixed formatting of the time differences * various sorting header links fixed * correct error and warning CSS classes applied to the respective rows * fixes multiple divide-by-zero error in displaying duration estimations (Bitbake rev: 61e3dee55ac577fce1c0ae0fe7e0d3cf644e8ae6) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Toaster GUI, generic search, filter and orderAlexandru DAMIAN2014-01-101-36/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch implements table searching, filtering and ordering, in a generic mode reusable for all tables. The search operates list of fields defined in the corresponding class for each model, search_allowed_fields. The search expression and filters are sent through GET requests using a QuerySet-like input. The inputs are filtered and validated before usage to prevent inadvertent or malicious use. Filters and table headers are defined in the views for each table, and rendered by generic code which is easily modified for various tables. The Build table and Configuration table are implemented using this framework as an example of how it should be used. [YOCTO #4249] [YOCTO #4254] [YOCTO #4255] [YOCTO #4256] [YOCTO #4257] [YOCTO #4259] [YOCTO #4260] (Bitbake rev: 2ca15117e4bbda38cda07511d0ff317273f91528) 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-0/+66
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>