Misc: ApplicationController: Set CIB_shadow based on params[:id] when running against CibController

Signed-off-by: Tim Serong <tserong@suse.com>
GUI: Status: Support shadow CIB via cib_id param

Signed-off-by: Tim Serong <tserong@suse.com>
GUI: Constraints, Resources: Pass cib_id when deleting items

Signed-off-by: Tim Serong <tserong@suse.com>
GUI: Status: Pass cib_id when performing management ops

Signed-off-by: Tim Serong <tserong@suse.com>
GUI: Status: Pass cib_id to status, sim and wizard pages

Signed-off-by: Tim Serong <tserong@suse.com>
GUI: Wizard: Pass cib_id through

Signed-off-by: Tim Serong <tserong@suse.com>
GUI: Use yellow sim background when operating on shadow CIB

Signed-off-by: Tim Serong <tserong@suse.com>
Misc: Cib model: Inject default instances for primitives with no LRM state

Similar to how we inject additional instances for clones with no LRM
state, we need to do the same for regular primitives, as new primitives
created in shadow CIBs won't have any state yet, so would otherwise be
miscounted.

Signed-off-by: Tim Serong <tserong@suse.com>
GUI: Simulator: Apply "sim" class correctly to background & tabs when shadow CIB active

Signed-off-by: Tim Serong <tserong@suse.com>
GUI: Simulator: Pass cib_id through to sim run, reset, etc.

Signed-off-by: Tim Serong <tserong@suse.com>