layout: smaller image, push to right

Signed-off-by: Zeljko <zeljko@zwr.fi>
Unstyled noninteractive dynamic boxes

Signed-off-by: Ari Rahikkala <ari.rahikkala@gmail.com>
Trivial selectable groups

Signed-off-by: Ari Rahikkala <ari.rahikkala@gmail.com>
Search fixes

- send back group info as received from server, rather than just the name
- send search info whenever selected groups change

Signed-off-by: Ari Rahikkala <ari.rahikkala@gmail.com>
Don't forget to update 'products' from server

Not sure how git rebase let me do this without introducing a conflict,
but this is needed to get stuff to work regardless.

Signed-off-by: Ari Rahikkala <ari.rahikkala@gmail.com>
A rename to clarify things

Signed-off-by: Ari Rahikkala <ari.rahikkala@gmail.com>
Set box classes correctly

Signed-off-by: Ari Rahikkala <ari.rahikkala@gmail.com>
show categories, then models, specify label

Signed-off-by: Zeljko <zeljko@zwr.fi>
search by categories and by models

When manufacturer is specified, we will select only
those parts from the text selection that belong to
any car of that manufacturer. After that, similarly we
select only those previously selected products that
belongs to any selected category or any of its
subcategories.

Signed-off-by: Zeljko <zeljko@zwr.fi>
More work on category_tree structure

Signed-off-by: Ari Rahikkala <ari.rahikkala@gmail.com>
Fix group_to_show name

Signed-off-by: Ari Rahikkala <ari.rahikkala@gmail.com>
do not do empty search

Signed-off-by: Zeljko <zeljko@zwr.fi>
zwr deployment modifications

Signed-off-by: Zeljko <zeljko@zwr.fi>
dropdown layout of proposals.

Show on one level only if anything to show.

Signed-off-by: Zeljko <zeljko@zwr.fi>
show tips only when search empty

Signed-off-by: Zeljko <zeljko@zwr.fi>
search cats and manus on two letters minimum

And do not show them all when empty, it is just too many.

Signed-off-by: Zeljko <zeljko@zwr.fi>
Prevent adding the same group multiple times

Caveat in comments. Note that this feature is meant to work together
with the backend not sending back selected groups.

Signed-off-by: Ari Rahikkala <ari.rahikkala@gmail.com>
change incoming nil to empty (string or array)

This significantly reduces code later and avoids traps.

Signed-off-by: Zeljko <zeljko@zwr.fi>
do not include selected subs

Signed-off-by: Zeljko <zeljko@zwr.fi>
Remove a lost script element

Signed-off-by: Ari Rahikkala <ari.rahikkala@gmail.com>