~benji/juju-gui/r-263

Viewing all changes in revision 262.

  • Committer: Brad Crittenden
  • Date: 2012-12-03 22:27:48 UTC
  • mfrom: (254.2.16 cs-filter)
  • Revision ID: bac@canonical.com-20121203222748-ja4kgts27x109n8d
Add the required charm filter dropdown.

The original design for the charm search results panel had a dropdown
that was to be used to filter the results.  After some consideration
the three sets were chosen to be 'all', 'deployed', and 'subordinate'.

This branch implements the dropdown and filter mechanism.  The widget
was based on the graph/list picker on the bottom of the page.  It was
refactored into a generic LESS function and supports both uses.

The design for the existing picker had a 1px wide design element to
provide the background.  It was not tall enough for a picker with
three items.  As a work-around an 'outset' mitred HTML border is
used.  It will be easy to replace with the proper asset when it is
produced.

If the picker is open and a click outside closes the charm panel then
the picker remains open.  That is a wart that needs to be fixed.

R=benji, frankban
CC=
https://codereview.appspot.com/6842119

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: