LT-275: Enabling labels selection by the common section

This commit is contained in:
Bruno Alves de Faria committed 2016-08-18 17:15:59 -03:00
1 parent d5ecfbdd39
commit 8fdf9c2b1c
6 files changed
+87 -48

No files matched your search

@@ -55,25 +55,33 @@ Template.measureFlow.onCreated(() => {
}];
const items = [
'Abdomen/Chest Wall',
'Adrenal',
'Muscle',
'Bladder',
'Neck',
'Bone',
'Other Soft Tissue',
'Brain',
'Ovary',
'Breast',
'Pancreas',
'Colon',
'Prostate',
'Esophagus',
'Small Bowel',
'Extremities',
'Spleen',
'Gallbladder',
'Stomach',
'Kidney',
'Liver',
'Lung',
'Lymph Node',
'Mediastinum/Hilum',
'Muscle',
'Neck',
'Other Soft Tissue',
'Ovary',
'Pancreas',
'Pelvis',
'Peritoneum/Omentum',
'Prostate',
'Retroperitoneum',
'Small Bowel',
'Spleen',
'Stomach',
'Subcutaneous'
];
@@ -130,6 +138,7 @@ Template.measureFlow.events({
key: 'label',
items: instance.items,
commonItems: instance.commonItems,
hideCommon: instance.data.hideCommon,
label: 'Assign label',
searchPlaceholder: 'Search labels',
storageKey: 'measureLabelCommon',
@@ -121,6 +121,15 @@
.select-tree-root
&.interacted .select-tree-common .content
animation-name: none
&.selected .select-tree-common .content
animation-name: selectTreeCommonCloseLeft
.tree-search input
display: none
.select-tree-common
padding-left: 0
padding-right: 6px