From a75b6594d309f2ad7bf332d18eccb619064e49fa Mon Sep 17 00:00:00 2001 From: James Glover Date: Tue, 14 Apr 2015 11:00:06 +0100 Subject: [PATCH] Wells with no pools are grey; --- app/helpers/labware_helper.rb | 1 + app/stylesheets/screen.scss | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/app/helpers/labware_helper.rb b/app/helpers/labware_helper.rb index e262574..e4ed277 100644 --- a/app/helpers/labware_helper.rb +++ b/app/helpers/labware_helper.rb @@ -35,6 +35,7 @@ def self.disable_based_on_state(state_name) def pool_colour_for_well(presenter, well) return 'permanent-failure' if well.state == 'failed' + return 'unpooled' if presenter.transfers[well.location].nil? tube_uuid = presenter.transfers[well.location].uuid pooling_colour(well, tube_uuid) diff --git a/app/stylesheets/screen.scss b/app/stylesheets/screen.scss index 801e30a..f097e17 100644 --- a/app/stylesheets/screen.scss +++ b/app/stylesheets/screen.scss @@ -153,6 +153,12 @@ body { border: 1px gray solid; opacity: 0.3; + } + .unpooled { + @include background(radial-gradient(top left, #B4B4B4, #858585)); + border: 1px gray solid; + opacity: 0.3; + } }