LT-115: Add CR-Target, UN-Target and EX-Target tools (WIP)
This commit is contained in:
1 parent
9970b8795b
commit
7cebd3c91c
15 files changed
+560
-2
No files matched your search
@@ -4,6 +4,8 @@ Template.viewerMain.helpers({
|
||||
|
||||
var buttonData = [];
|
||||
|
||||
var btnGroup = [];
|
||||
|
||||
buttonData.push({
|
||||
id: 'resetViewport',
|
||||
title: 'Reset Viewport',
|
||||
@@ -81,10 +83,38 @@ Template.viewerMain.helpers({
|
||||
iconClasses: 'fa fa-eye'
|
||||
});
|
||||
|
||||
// CR/UN/EX Tools
|
||||
var crunexToolsBtns = {
|
||||
id: 'crunexTools',
|
||||
tools:[{
|
||||
id: 'crTool',
|
||||
title: 'CR Tool',
|
||||
classes: 'imageViewerTool',
|
||||
iconClasses: 'fa fa-cr'
|
||||
},
|
||||
{
|
||||
id: 'unTool',
|
||||
title: 'UN Tool',
|
||||
classes: 'imageViewerTool',
|
||||
iconClasses: 'fa fa-un'
|
||||
},
|
||||
{
|
||||
id: 'exTool',
|
||||
title: 'EX Tool',
|
||||
classes: 'imageViewerTool',
|
||||
iconClasses: 'fa fa-ex'
|
||||
}],
|
||||
title: "CR/UN/EX",
|
||||
groupIcon: 'fa fa-exchange'
|
||||
};
|
||||
|
||||
btnGroup.push(crunexToolsBtns);
|
||||
|
||||
toolbarOptions.buttonData = buttonData;
|
||||
toolbarOptions.includePlayClipButton = false;
|
||||
toolbarOptions.includeLayoutButton = false;
|
||||
toolbarOptions.includeHangingProtocolButtons = false;
|
||||
toolbarOptions.btnGroup = btnGroup;
|
||||
return toolbarOptions;
|
||||
}
|
||||
});
|
||||
@@ -1,3 +1,16 @@
|
||||
.viewerMain
|
||||
width: 100%
|
||||
height: 84%
|
||||
height: 84%
|
||||
|
||||
//font awesome icons
|
||||
.fa-cr:before
|
||||
content: 'CR'
|
||||
font-weight: bold
|
||||
|
||||
.fa-un:before
|
||||
content: 'UN'
|
||||
font-weight: bold
|
||||
|
||||
.fa-ex:before
|
||||
content: 'EX'
|
||||
font-weight: bold
|
||||
Reference in new issue
Block a user