diff --git a/api/src/Page/DC.php b/api/src/Page/DC.php index a9090d59a..546fe9faf 100644 --- a/api/src/Page/DC.php +++ b/api/src/Page/DC.php @@ -1171,7 +1171,7 @@ function _dc_strategies($id) global $strat_align; $rows = $this->db->pq("SELECT s.programversion, s.comments, - st.rankingresolution as rankres, + st.rankingresolution as rankres, sssw.dosetotal, st.screeningstrategyid, ssw.wedgenumber, ssw.chi, ssw.kappa, ssw.phi, ssw.comments as sswcomments, sssw.subwedgenumber, sssw.axisstart as st, sssw.exposuretime as time, sssw.transmission as tran, sssw.oscillationrange as oscran, sssw.resolution as res, sssw.numberofimages as nimg, sssw.rotationaxis, @@ -1199,6 +1199,7 @@ function _dc_strategies($id) $output[$t] = array('CELL' => array(), 'STRATS' => array()); $r['ATRAN'] = $r['TRAN'] / 100.0 * $r['DCTRN']; + $r['ROTATION'] = $r['NIMG'] * $r['OSCRAN']; foreach ($nf as $nff => $cols) { foreach ($cols as $c) { $r[$c] = number_format($r[$c], $nff); diff --git a/client/src/css/partials/_content.scss b/client/src/css/partials/_content.scss index d1309b8ed..fca774e34 100644 --- a/client/src/css/partials/_content.scss +++ b/client/src/css/partials/_content.scss @@ -866,6 +866,11 @@ li:last-child .visit_users { table { tr { cursor: pointer; + + &.highlight { + background-color: #f7f7f7; + } + &:hover { background: $content-sub-hover-background; } diff --git a/client/src/js/templates/dc/dc_strategy.html b/client/src/js/templates/dc/dc_strategy.html index ea87dcabc..bb99aa7e4 100644 --- a/client/src/js/templates/dc/dc_strategy.html +++ b/client/src/js/templates/dc/dc_strategy.html @@ -15,6 +15,12 @@