Rewritten resource_pool view to HAML

The branching code does not do the same stuff as the old one.
Consider for example `@showtype = 'details'; @display = 'vms'`.

Have you considered this? Is it ok?