aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2016-04-18toaster: Remove old bootstrap files left behindmichaelw/toaster/bootstrap3Michael Wood
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
2016-04-18toaster: work-around our lack of a synchronous fetch for typeaheadsElliot Smith
The Twitter typeahead.js library expects the developer to use a source which does a local search for matching suggestions, then falls back to a remote search if that doesn't return enough results. However, in Toaster, we don't do any caching of the suggestions for a typeahead, so our source only works in asynchronous mode. Consequently, we see fewer than the expected number of suggestions if the typeahead has already shown suggestions matching a query. For example, searching for "meta-n" in the layers typeahead will show the results for this query; but when the query changes to "meta-ne", a new set of results is fetched, which mostly overlaps with the results for "meta-n". The typeahead assumes that the overlapping items are locally cached and have been delivered synchronously, and just appends the new results which don't overlap with the previous query. But because we don't provide any results synchronously, we just end up with the single non-overlapping result in the drop-down. This can be fixed by hacking typeahead.js so that instead of appending asynchronous results, we always overwrite and redraw the whole typeahead menu. This is a temporary fix, and should be properly fixed (when we have time), perhaps by using typeahead.js's associated Bloodhound library. Added a note about the hack to the license file as an explanation of why the unminified JS file is included in Toaster. Signed-off-by: Elliot Smith <elliot.smith@intel.com>
2016-04-18toaster: Update OE json fileBelen Barros Pena
Update the OpenEmbedded Toaster configuration file to include the krogoth branch. Also, make sure the DISTRO default value is set to "nodistro". Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com>
2016-04-18toaster: Update Yocto Project json fileBelen Barros Pena
Update the Toaster configuration file in the meta-poky layer to include the Yocto Project 2.1 release. Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com>
2016-04-18toaster: importlayer Make sure we eat the default event on submitMichael Wood
Make sure the default event is consumed to stop the event being further processed and breaking out of the function to import layer. Signed-off-by: Michael Wood <michael.g.wood@intel.com>
2016-04-18toaster: Table cell notifications styleBelen Barros Pena
Make sure they all look the same across Toaster. Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com>
2016-04-18toaster: Fix reverse dependencies modal dialogsBelen Barros Pena
In the custom image details page, the modal dialogs we show you when you remove a package with reverse dependencies were not displaying. This patch removes the class causing the problem. Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com>
2016-04-18toaster: Fix landing pageBelen Barros Pena
Layout was messed up due to changes in Bootstrap 3. Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com>
2016-04-18toaster: Correct button sizeBelen Barros Pena
Change the class of the button in the 'Name your custom image' modal dialog to make it the right size. Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com>
2016-04-18toaster: Fix errors and warnings infoBelen Barros Pena
Bootstrap 3 changed all classes used for the accordions, which broke our presentation of errors and warnings. Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com>
2016-04-18toaster: Fix the project created notificationBelen Barros Pena
It was outside the page main column. Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com>
2016-04-18toaster: Fix 'New project' pageBelen Barros Pena
Apply Bootstrap 3 grid. Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com>
2016-04-18toaster: Adjust labels in modal dialogsBelen Barros Pena
They had a bit too much padding. Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com>
2016-04-18toaster: More width to the "Edit columns" menuBelen Barros Pena
Increase the minimum width to give more space to show the menu options. Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com>
2016-04-18toaster: Fix buttons in custom image details pageBelen Barros Pena
Make sure the button labels in the table of packages we show in the custom image details page wrap when there is not enough space. Also, give the add | remove packages column a bit more room. Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com>
2016-04-18toaster: Tweaking modal dialogsBelen Barros Pena
Give them a nice, consistent look across pages. Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com>
2016-04-18toaster: Fix popover contentBelen Barros Pena
Lists had the wrong margins, and popovers were too narrow to fit commit hashes. Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com>
2016-04-18toaster: fix buttons in tablesBelen Barros Pena
Bootstrap sets the white-space property in buttons to nowrap, and that made our 'remove' buttons inside table cells look funny, with the label shooting out of the button frame. Set the white-space property for such buttons to normal, so that labels wrap when there is no sufficient horizontal space available. Also, give the button column a bit more width to minimise button wrapping, which looks rather ugly. Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com>
2016-04-18toaster: Edit inaccurate commentBelen Barros Pena
The changes to the definition lists applies to all pages in Toaster, and not just to the layer details page. Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com>
2016-04-18toaster: Fix no results pagesBelen Barros Pena
The alerts we display when your search query returns no results were incorrectly aligned because of nested 'row' divs. Remove the additional rows to tidy up. Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com>
2016-04-18toaster: Fix 'Cancel' button in project renameBelen Barros Pena
When you want to change the name of an existing project, the 'Cancel' button in the form had the wrong class and looked tiny. Apply the right class to give it the right size. Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com>
2016-04-18toaster: Fix filtersBelen Barros Pena
Set the correct size for the filter buttons, and give some white space to the 'clear filter' buttons in the toastertables. Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com>
2016-04-18toaster: Style typeaheadsBelen Barros Pena
Our suggestions needed some padding, hovering states and a bit more space to display. Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com>
2016-04-18toaster: Remove the pagination-centered classBelen Barros Pena
It didn't do a very good job in centering the pagination controls across our different types of tables. Removing this class left-aligns the pagination to the table. It should still work fine, and makes things easier. Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com>
2016-04-18toaster: revert auto change to icon class for spinnerMichael Wood
Revert the change to the spinner class that was done by the auto convert tool for bootstrap as this was a falsely matched. Signed-off-by: Michael Wood <michael.g.wood@intel.com>
2016-04-18toaster: Fix layout in task details pageBelen Barros Pena
Set the layout as per the Bootstrap 3 grid rules and apply new definition list styles to this page as well. Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com>
2016-04-18toaster: Fix layout in recipe details pageBelen Barros Pena
Set the layout as per the Bootstrap 3 grid rules. Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com>
2016-04-18toaster: Fix layout in package details pagesBelen Barros Pena
Set the layout as per Bootstrap 3 grid rules. Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com>
2016-04-18toaster: Fix layout of variable history pageBelen Barros Pena
Including the modal dialogs. Setting everything as per the Bootstrap 3 grid rules. Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com>
2016-04-18toaster: Fix layout of configuration pageBelen Barros Pena
Set the layout as per the Bootstrap 3 grid rules. Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com>
2016-04-18toaster: Fix layout of packages installed pageBelen Barros Pena
Set the layout as per the Bootstrap 3 grid rules. Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com>
2016-04-18toaster: Fix pagination in non-toastertablesBelen Barros Pena
Match the pagination controls in the non-toastertables tables to the pagination controls in the toastertables tables. We really need to kill those non-toastertables tables. Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com>
2016-04-18toaster: Alignment of table controlsBelen Barros Pena
Because we have 3 different types of tables (toastertable, toastertable-simple and non-toastertable), making all the controls look the same required some fiddling with the mark up and the css rules. Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com>
2016-04-18toaster: Adjust width of non-toastertables searchBelen Barros Pena
In tables not using toaster tables (i.e. the ones in the build information pages), the search text field was too long. This patch reduces its width. Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com>
2016-04-18toaster: Fix breadcrumb in ChromeBelen Barros Pena
Breadcrumb list items were wrapping because the content attribute was set to an empty string that added a space. The correct way to override the content property is setting it to 'none'. Removing the extra space required adjustments to the breadcrumb padding. The commit also does a bit of reorg in the css declarations. Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com>
2016-04-18toaster: Fix layout in build dashboard pageBelen Barros Pena
Set the layout as per the Bootstrap 3 grid rules. Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com>
2016-04-18toaster: indentation fixesBelen Barros Pena
Just tidying up the indentation. Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com>
2016-04-18toaster: Fix breadcrumb in build data pagesBelen Barros Pena
The breadcrumb needs to be in its own row, to avoid the nested rows that so badly upset the Bootstrap 3 grid system. Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com>
2016-04-18toaster: Correctly align bottom table controlsBelen Barros Pena
In the details pages, to bring them in line with all other tables. Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com>
2016-04-18toaster: Set correct margins for table searchBelen Barros Pena
We need 2 versions: one for main tables and another one for tables in details pages (like the recipes and machines tables in the layer details page). For the first, we need 0 bottom margin. For the second, we need 20px of bottom margin. Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com>
2016-04-18toaster: Fix layer details layoutBelen Barros Pena
Adapt layout to Bootstrap 3 grid. Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com>
2016-04-18toaster: Fix image recipe details layoutBelen Barros Pena
Adapt the layout to fit the Boostrap 3 grid. Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com>
2016-04-18toaster: remove row from base templateBelen Barros Pena
A row in the base template caused duplicated row divs and issues with the most complex layouts we use in the details pages. Remove the row from the base template and set the rows in each template as needed instead. Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com>
2016-04-18toaster: Fix "custom image details" layoutBelen Barros Pena
Set the right grid markup for the page content, and correctly align content and breadcrumb. The patch also sets a sane length for the table search input field. Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com>
2016-04-18toaster: Fix breadcrumbsBelen Barros Pena
Remove the "/" between list items and set the same white space between list items and separators. Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com>
2016-04-18toaster: templates Use old style icon classesMichael Wood
Stick with the old style icons as we customise these with font-awesome. Signed-off-by: Michael Wood <michael.g.wood@intel.com>
2016-04-18toaster: table.js Fix the edit columns drop downMichael Wood
The input checkbox needed to be before the label text. Signed-off-by: Michael Wood <michael.g.wood@intel.com>
2016-04-18toaster: Fix layout in "new custom image" pageBelen Barros Pena
Wrap the table in a div with the correct class to provide appropriate side whitespace to the content. Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com>
2016-04-18toaster: Remove hovering from disabled buttonsBelen Barros Pena
Our primary buttons colour was changing when you hovered over them, creating a hovering effect. Remove the colour change, since disabled components should not hover. Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com>
2016-04-18toaster: small changes to 'import layer' pageBelen Barros Pena
Make the import button big, and match the content of the help text to the labeling in the page. Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com>