LT-275: Work towards proper measurement / tooldata syncing
This commit is contained in:
1 parent
ec6f96e714
commit
9aa7cf012f
15 files changed
+164
-165
No files matched your search
+3
-3
@@ -1,7 +1,7 @@
|
||||
<template name="measurementTableRow">
|
||||
<div class="measurementTableRow {{#unless rowItem.location}}warning{{/unless}}{{#if responseStatus}}response-status{{/if}}" data-measurementid="{{_id}}">
|
||||
<div class='lesionRowSidebar'>
|
||||
<div class="lesionNumber">
|
||||
<div class='measurementRowSidebar'>
|
||||
<div class="measurementNumber">
|
||||
{{rowItem.measurementNumber}}
|
||||
</div>
|
||||
{{#unless rowItem.location}}
|
||||
@@ -17,7 +17,7 @@
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
<div class="lesionDetails">
|
||||
<div class="measurementDetails">
|
||||
<div class='location'>
|
||||
{{#if rowItem.location}}
|
||||
{{rowItem.location}}
|
||||
|
||||
+1
-1
@@ -20,7 +20,7 @@ var keys = {
|
||||
};
|
||||
|
||||
Template.measurementTableRow.events({
|
||||
'click .lesionRowSidebar'(event, instance) {
|
||||
'click .measurementRowSidebar'(event, instance) {
|
||||
const $row = instance.$('.measurementTableRow');
|
||||
$row.closest('.measurementTableView').find('.measurementTableRow').not($row).removeClass('active');
|
||||
$row.toggleClass('active');
|
||||
|
||||
+6
-6
@@ -29,14 +29,14 @@
|
||||
&:before
|
||||
opacity: 1
|
||||
|
||||
.lesionRowSidebar
|
||||
.measurementRowSidebar
|
||||
theme('color', '$activeColor')
|
||||
|
||||
.rowOptions
|
||||
height: 35px
|
||||
visibility: visible
|
||||
|
||||
&.response-status .lesionRowSidebar .response-status-icon
|
||||
&.response-status .measurementRowSidebar .response-status-icon
|
||||
theme('background-color', '$defaultColor')
|
||||
theme('color', '$uiGray')
|
||||
border-radius: 11px
|
||||
@@ -48,7 +48,7 @@
|
||||
text-align: center
|
||||
width: 21px
|
||||
|
||||
&.warning .lesionRowSidebar
|
||||
&.warning .measurementRowSidebar
|
||||
theme('background-color', '$uiYellow')
|
||||
theme('color', '$textPrimaryColor')
|
||||
|
||||
@@ -95,7 +95,7 @@
|
||||
width: 11px
|
||||
height: 11px
|
||||
|
||||
.lesionRowSidebar
|
||||
.measurementRowSidebar
|
||||
theme('background', '$uiGray')
|
||||
theme('color', '$textSecondaryColor')
|
||||
cursor: pointer
|
||||
@@ -103,14 +103,14 @@
|
||||
max-width: 30px
|
||||
transition(all 0.3s ease)
|
||||
|
||||
.lesionNumber
|
||||
.measurementNumber
|
||||
font-size: 14px
|
||||
font-weight: 400
|
||||
margin-right: 5px
|
||||
padding-top: 10px
|
||||
text-align: center
|
||||
|
||||
.lesionDetails
|
||||
.measurementDetails
|
||||
flex: 1
|
||||
padding: 5px 2px 0 0
|
||||
|
||||
|
||||
Reference in new issue
Block a user