Adjusting OHIF Viewer to the new structure

This commit is contained in:
Bruno Alves de Faria committed 2017-03-21 10:16:47 -03:00
1 parent 374dab5ef4
commit 718fd30feb
18 files changed
+156 -459

No files matched your search

+1 -1
View File
@@ -107,7 +107,7 @@ Template.app.helpers({
const isViewer = Session.get('ViewerOpened');
// Return empty if viewer was not opened yet
if (!OHIF.viewer.data.studyInstanceUids) return;
if (!OHIF.utils.ObjectPath.get(OHIF, 'viewer.data.studyInstanceUids')) return;
return isViewer ? 'Study list' : 'Back to viewer';
},
+8 -8
View File
@@ -68,16 +68,16 @@ body>.header
padding-right: $studyListPadding
.brand
height: 100%
width: 80%
line-height: $topBarExpandedHeight - 10px
height: 100%
width: 80%
line-height: $topBarExpandedHeight - 10px
.logo-image
margin: 0 20px 0 0
width: 50px
.logo-image
margin: 0 20px 0 0
width: 50px
.logo-text
font-size: 30px
.logo-text
font-size: 30px
.studyListLinkSection
border: none
@@ -5,8 +5,8 @@ import { Session } from 'meteor/session';
import { ReactiveDict } from 'meteor/reactive-dict';
import { _ } from 'meteor/underscore';
import { $ } from 'meteor/jquery';
import { OHIF } from 'meteor/ohif:core';
import 'meteor/ohif:cornerstone';
import 'meteor/ohif:viewerbase';
import 'meteor/ohif:metadata';