diff --git a/LesionTracker/client/compatibility/lesionTool.js b/LesionTracker/client/compatibility/lesionTool.js index 389091db9..14fa4add9 100644 --- a/LesionTracker/client/compatibility/lesionTool.js +++ b/LesionTracker/client/compatibility/lesionTool.js @@ -282,4 +282,9 @@ var cornerstoneTools = (function ($, cornerstone, cornerstoneMath, cornerstoneTo toolType: toolType }); return cornerstoneTools; -}($, cornerstone, cornerstoneMath, cornerstoneTools)); \ No newline at end of file +}($, cornerstone, cornerstoneMath, cornerstoneTools)); + +toolManager.addTool('lesion', { + mouse: cornerstoneTools.lesion, + touch: cornerstoneTools.lesionTouch +}); \ No newline at end of file diff --git a/LesionTracker/client/components/hidingPanel/hidingPanel.styl b/LesionTracker/client/components/hidingPanel/hidingPanel.styl index bff3dc975..63aa6b9a4 100644 --- a/LesionTracker/client/components/hidingPanel/hidingPanel.styl +++ b/LesionTracker/client/components/hidingPanel/hidingPanel.styl @@ -1,9 +1,6 @@ .hidingPanel width: 12% height: 100% - margin-top: 35px + padding-top: 35px position: relative - float: left - overflow: auto - background-color: blue - color: black \ No newline at end of file + float: left \ No newline at end of file diff --git a/LesionTracker/client/components/lesionMeasurementContainer/lesionMeasurementContainer.html b/LesionTracker/client/components/lesionMeasurementContainer/lesionMeasurementContainer.html new file mode 100644 index 000000000..70b990a2b --- /dev/null +++ b/LesionTracker/client/components/lesionMeasurementContainer/lesionMeasurementContainer.html @@ -0,0 +1,5 @@ + \ No newline at end of file diff --git a/LesionTracker/client/components/lesionMeasurementContainer/lesionMeasurementContainer.styl b/LesionTracker/client/components/lesionMeasurementContainer/lesionMeasurementContainer.styl new file mode 100644 index 000000000..41a05cb28 --- /dev/null +++ b/LesionTracker/client/components/lesionMeasurementContainer/lesionMeasurementContainer.styl @@ -0,0 +1,7 @@ +.lesionMeasurementContainer + width: 24% + float: left + height: 100% + + background-color: white + border: 8px solid lightblue \ No newline at end of file diff --git a/LesionTracker/client/components/lesionTableContainer/lesionTableContainer.html b/LesionTracker/client/components/lesionTableContainer/lesionTableContainer.html new file mode 100644 index 000000000..2caf2f007 --- /dev/null +++ b/LesionTracker/client/components/lesionTableContainer/lesionTableContainer.html @@ -0,0 +1,5 @@ + \ No newline at end of file diff --git a/LesionTracker/client/components/lesionTableContainer/lesionTableContainer.styl b/LesionTracker/client/components/lesionTableContainer/lesionTableContainer.styl new file mode 100644 index 000000000..5cf65bb5d --- /dev/null +++ b/LesionTracker/client/components/lesionTableContainer/lesionTableContainer.styl @@ -0,0 +1,7 @@ +.lesionTableContainer + background-color: pink + height: 25% + max-height: 200px + + background-color: white + border: 8px solid pink diff --git a/LesionTracker/client/components/lesionTrackerLayout/lesionTrackerLayout.html b/LesionTracker/client/components/lesionTrackerLayout/lesionTrackerLayout.html new file mode 100644 index 000000000..4f6f8c3d4 --- /dev/null +++ b/LesionTracker/client/components/lesionTrackerLayout/lesionTrackerLayout.html @@ -0,0 +1,16 @@ + \ No newline at end of file diff --git a/LesionTracker/client/components/lesionTrackerLayout/lesionTrackerLayout.styl b/LesionTracker/client/components/lesionTrackerLayout/lesionTrackerLayout.styl new file mode 100644 index 000000000..2629a51f8 --- /dev/null +++ b/LesionTracker/client/components/lesionTrackerLayout/lesionTrackerLayout.styl @@ -0,0 +1,18 @@ +.navbar + margin-bottom: 0 + border-radius: 0px + +.navbar-form + margin: 0 + padding: 15px 3px + +.navbar-default + -webkit-transition: background-color 200ms linear + -moz-transition: background-color 200ms linear + -o-transition: background-color 200ms linear + -ms-transition: background-color 200ms linear + transition: background-color 200ms linear + +@media (min-width: 768px) + .navbar + border-radius: 0px \ No newline at end of file diff --git a/LesionTracker/client/components/toolbar/toolbar.css b/LesionTracker/client/components/toolbar/toolbar.css deleted file mode 100644 index 21cbff5c8..000000000 --- a/LesionTracker/client/components/toolbar/toolbar.css +++ /dev/null @@ -1,48 +0,0 @@ -.toolbar { - width: 100%; - height: 35px; - text-align: center; -} - -#toolbar-group button { - text-align: center; - margin-top: 2px; - margin-right: 3px; - margin-left: 3px; - color: #ffffff; - background-color: black; - width: 30px; - height: 30px; - border: 1px solid white; -} - -#toolbar-group button > span { - width: 12px; - height: 12px; - position: absolute; - top: 9px; - left: 9px; - right: 9px; - bottom: 9px; -} - - -#toolbar-group .btn:hover { - border-width: 3px; - background-color: transparent; - color: white; -} -#toolbar-group .btn:focus, .btn:active { - outline: 0 !important; - border-width: 5px; - background-color: transparent; - color:white; - text-align: center; -} - -#toolbar-group .btn:focus > span{ - top: 6px; - left: 6px; - right: 6px; - bottom: 6px; -} \ No newline at end of file diff --git a/LesionTracker/client/components/toolbar/toolbar.html b/LesionTracker/client/components/toolbar/toolbar.html index e40c066f7..710e5de5a 100644 --- a/LesionTracker/client/components/toolbar/toolbar.html +++ b/LesionTracker/client/components/toolbar/toolbar.html @@ -1,16 +1,26 @@ \ No newline at end of file diff --git a/LesionTracker/client/components/viewer.js b/LesionTracker/client/components/viewer.js index d7b3e0584..bfcc9709e 100644 --- a/LesionTracker/client/components/viewer.js +++ b/LesionTracker/client/components/viewer.js @@ -60,7 +60,7 @@ function resizeViewports() { Session.setDefault('ActiveViewport', 0); Session.setDefault('viewportRows', 1); -Session.setDefault('viewportColumns', 1); +Session.setDefault('viewportColumns', 2); // Avoid doing DOM manipulation during the resize handler // because it is fired very often. diff --git a/LesionTracker/client/components/viewerMain/viewerMain.css b/LesionTracker/client/components/viewerMain/viewerMain.css deleted file mode 100644 index fe6a741cb..000000000 --- a/LesionTracker/client/components/viewerMain/viewerMain.css +++ /dev/null @@ -1,5 +0,0 @@ -.viewerMain { - width: 88%; - height: 100%; - margin-left: 12%; -} \ No newline at end of file diff --git a/LesionTracker/client/components/viewerMain/viewerMain.html b/LesionTracker/client/components/viewerMain/viewerMain.html index 3113df387..94cf7fa71 100644 --- a/LesionTracker/client/components/viewerMain/viewerMain.html +++ b/LesionTracker/client/components/viewerMain/viewerMain.html @@ -2,6 +2,7 @@
{{> toolbar}} {{> imageViewerViewports}} + {{> lesionTableContainer}}
\ No newline at end of file diff --git a/LesionTracker/client/components/viewerMain/viewerMain.styl b/LesionTracker/client/components/viewerMain/viewerMain.styl new file mode 100644 index 000000000..57d9ab8c9 --- /dev/null +++ b/LesionTracker/client/components/viewerMain/viewerMain.styl @@ -0,0 +1,8 @@ +.viewerMain + width: 64%; + height: 100% + float: left + +#imageViewerViewports + height: calc(75% - 30px) + width: 100% \ No newline at end of file diff --git a/LesionTracker/client/route.js b/LesionTracker/client/route.js index eca66daf3..f8a6ced20 100644 --- a/LesionTracker/client/route.js +++ b/LesionTracker/client/route.js @@ -1,5 +1,5 @@ Router.configure({ - layoutTemplate: 'layout', + layoutTemplate: 'lesionTrackerLayout', //loadingTemplate: '', notFoundTemplate: 'notFound' }); @@ -14,7 +14,7 @@ Router.route('/', function () { ViewerStudies = new Mongo.Collection(null); Router.route('/viewer/:_id', { - layoutTemplate: 'layout', + layoutTemplate: 'lesionTrackerLayout', name: 'viewer', onBeforeAction: function() { var self = this; diff --git a/LesionTracker/client/stylesheets/docking-container.css b/LesionTracker/client/stylesheets/docking-container.css index 265bd5f69..fa15baec2 100644 --- a/LesionTracker/client/stylesheets/docking-container.css +++ b/LesionTracker/client/stylesheets/docking-container.css @@ -1,16 +1,17 @@ /*****************************/ /* Toggle */ /*****************************/ -* { - box-sizing: border-box; -} .dockingContainer, .collapseVertical, .collapseHorizontal { + -o-transition: all 0.3s ease-out; + -ms-transition: all 0.3s ease-out; -moz-transition: all 0.3s ease-out; -webkit-transition: all 0.3s ease-out; transition: all 0.3s ease-out; } .dockingContainer { + -o-transition: all 0.3s ease-out; + -ms-transition: all 0.3s ease-out; -moz-transition: all 0.3s ease-out; -webkit-transition: all 0.3s ease-out; transition: all 0.3s ease-out; @@ -47,6 +48,8 @@ .btnCollapseIcon-collapse{ -moz-transform: rotate(180deg); + -ms-transform: rotate(180deg); + -o-transform: rotate(180deg); -webkit-transform: rotate(180deg); transform: rotate(180deg); } diff --git a/OHIFViewer/client/components/viewer/toolRow/toolbar.html b/OHIFViewer/client/components/viewer/toolbar/toolbar.html similarity index 100% rename from OHIFViewer/client/components/viewer/toolRow/toolbar.html rename to OHIFViewer/client/components/viewer/toolbar/toolbar.html diff --git a/OHIFViewer/client/components/viewer/toolRow/toolbar.js b/OHIFViewer/client/components/viewer/toolbar/toolbar.js similarity index 100% rename from OHIFViewer/client/components/viewer/toolRow/toolbar.js rename to OHIFViewer/client/components/viewer/toolbar/toolbar.js diff --git a/OHIFViewer/client/components/viewer/toolbar/toolbar.styl b/OHIFViewer/client/components/viewer/toolbar/toolbar.styl new file mode 100644 index 000000000..774a71141 --- /dev/null +++ b/OHIFViewer/client/components/viewer/toolbar/toolbar.styl @@ -0,0 +1,15 @@ +#toolbar + background-color: black + text-align: center + + .btn-group + display: inline-block + + button + text-align: center + color: #ffffff + background-color: #424242 + border-color: #424242 + + &.active, &:active + background-color: #3B678E \ No newline at end of file diff --git a/OHIFViewer/images/logo.png b/OHIFViewer/images/logo.png new file mode 100644 index 000000000..da8c2746f Binary files /dev/null and b/OHIFViewer/images/logo.png differ diff --git a/Packages/viewerbase/components/studyBrowser/studyBrowser/studyBrowser.styl b/Packages/viewerbase/components/studyBrowser/studyBrowser/studyBrowser.styl index f5487f6a8..1ed31828d 100644 --- a/Packages/viewerbase/components/studyBrowser/studyBrowser/studyBrowser.styl +++ b/Packages/viewerbase/components/studyBrowser/studyBrowser/studyBrowser.styl @@ -1,6 +1,8 @@ .studyBrowser float: left height: 100% - width: 120px + width: 100% + min-width: 120px overflow: auto - background-color: black \ No newline at end of file + background-color: black + padding-bottom: 20px \ No newline at end of file