web: Use HTML ids of image/container ids for locating container rows

These should be unique enough for us to use them directly. This
allows us to highlight them using jQuery straight from unrelated
code like the graph plotting code.

Signed-off-by: Marius Vollmer <mvollmer@redhat.com>
web: Return the element we're going to plot in

So that we can use it to catch events and stuff.

Signed-off-by: Marius Vollmer <mvollmer@redhat.com>
web: Add 'highlight' CSS class.

Signed-off-by: Stef Walter <stefw@redhat.com>
web: Highlight container rows when hovering over the graphs.

Closes #360

Signed-off-by: Stef Walter <stefw@redhat.com>
Hide docker images without repotags.

This is for example the case when an image has been partially deleted
or if it is based on multiple layers.

Fixes #291
Closes #328

Signed-off-by: Stef Walter <stefw@redhat.com>
 * Rebased, also ignore "<none>:<none>"
web: Style graphs on #server like the ones on #containers.

Fixes #340
Closes #363

Reviewed-by: Stef Walter <stefw@redhat.com>
web: Consistent debugging and waiting state for docker operations

Expand the functions in DockerClient for each of the level docker
REST actions. Add create(), rm(), rmi().

Add better debugging to all the operations and pages. Enable one of
these in the javascript console:

$cockpit.debugging="docker"
document.cookie="debugging=docker"

Update the waiting state consistently for all actions on images
and containers.

Closes #361
web: Replace action buttons on details page when already doing something

If already performing an action on a container, then replace the
action buttons with a throbber.

Besides being much clearer that something is happening, we're able
to prevent error conditions that would result from running multiple
incompatible actions on the same container.