feat(user preferences) Add User Preferences & Theming to Standalone Viewer (closes #117). Update Standalone to Meteor 1.7

This commit is contained in:
Erik Ziegler committed 2018-07-04 17:43:50 +02:00
1 parent 7090b4f3e0
commit de7135f3b8
32 files changed
+337 -250

No files matched your search

@@ -15,3 +15,4 @@ notices-for-facebook-graph-api-2
1.4.1-add-shell-server-package
1.4.3-split-account-service-packages
1.5-add-dynamic-import-package
1.7-split-underscore-from-meteor-base
@@ -4,18 +4,18 @@
# 'meteor add' and 'meteor remove' will edit this file for you,
# but you can also edit it by hand.
meteor-base@1.1.0 # Packages every Meteor app needs to have
meteor-base@1.4.0 # Packages every Meteor app needs to have
mobile-experience@1.0.5 # Packages for a great mobile UX
mongo@1.2.2 # The database Meteor supports right now
mongo@1.5.0 # The database Meteor supports right now
blaze-html-templates@1.0.4 # Compile .html files into Meteor Blaze views
reactive-var@1.0.11 # Reactive variable for tracker
jquery@1.11.10 # Helpful client-side library
tracker@1.1.3 # Meteor's client-side reactive programming library
tracker@1.2.0 # Meteor's client-side reactive programming library
standard-minifier-css@1.3.5 # CSS minifier run for production mode
standard-minifier-js@2.1.2 # JS minifier run for production mode
ecmascript@0.8.3 # Enable ECMAScript2015+ syntax in app code
shell-server@0.2.4 # Server-side component of the `meteor shell` command
standard-minifier-css@1.4.1 # CSS minifier run for production mode
standard-minifier-js@2.3.4 # JS minifier run for production mode
ecmascript@0.11.1 # Enable ECMAScript2015+ syntax in app code
shell-server@0.3.1 # Server-side component of the `meteor shell` command
# OHIF Packages
ohif:polyfill
@@ -28,16 +28,16 @@ ohif:viewerbase
ohif:metadata
ohif:study-list
ohif:dicom-services
ohif:hanging-protocols
aldeed:template-extension
aldeed:simple-schema@1.5.3
stylus@2.513.9
iron:router
session@1.1.7
u2622:persistent-session@0.4.4
reactive-dict@1.1.9
cultofcoders:persistent-session
reactive-dict@1.2.0
twbs:bootstrap
fortawesome:fontawesome
mrt:moment
random@1.0.10
random@1.1.0
underscore
@@ -1 +1 @@
METEOR@1.5.2.2
METEOR@1.7.0.3
@@ -1,47 +1,49 @@
accounts-base@1.3.4
accounts-base@1.4.2
aldeed:collection2@2.10.0
aldeed:collection2-core@1.2.0
aldeed:schema-deny@1.1.0
aldeed:schema-index@1.1.1
aldeed:simple-schema@1.5.3
aldeed:simple-schema@1.5.4
aldeed:template-extension@4.1.0
allow-deny@1.0.9
allow-deny@1.1.0
amplify@1.0.0
autoupdate@1.3.12
babel-compiler@6.20.0
babel-runtime@1.0.1
base64@1.0.10
autoupdate@1.4.1
babel-compiler@7.1.1
babel-runtime@1.2.2
base64@1.0.11
binary-heap@1.0.10
blaze@2.3.2
blaze-html-templates@1.1.2
blaze-tools@1.0.10
boilerplate-generator@1.2.0
caching-compiler@1.1.9
boilerplate-generator@1.5.0
caching-compiler@1.1.12
caching-html-compiler@1.1.2
callback-hook@1.0.10
check@1.2.5
callback-hook@1.1.0
check@1.3.1
cultofcoders:persistent-session@0.4.5
dangrossman:bootstrap-daterangepicker@2.1.13
ddp@1.3.1
ddp-client@2.1.3
ddp-common@1.2.9
ddp@1.4.0
ddp-client@2.3.3
ddp-common@1.4.0
ddp-rate-limiter@1.0.7
ddp-server@2.0.2
ddp-server@2.2.0
deps@1.0.12
diff-sequence@1.0.7
dynamic-import@0.1.3
ecmascript@0.8.3
ecmascript-runtime@0.4.1
ecmascript-runtime-client@0.4.3
ecmascript-runtime-server@0.4.1
ejson@1.0.14
diff-sequence@1.1.0
dynamic-import@0.4.1
ecmascript@0.11.1
ecmascript-runtime@0.7.0
ecmascript-runtime-client@0.7.1
ecmascript-runtime-server@0.7.0
ejson@1.1.0
es5-shim@4.8.0
fastclick@1.0.13
fortawesome:fontawesome@4.7.0
geojson-utils@1.0.10
hot-code-push@1.0.4
html-tools@1.0.11
htmljs@1.0.11
http@1.2.12
id-map@1.0.9
http@1.4.1
id-map@1.1.0
iron:controller@1.0.12
iron:core@1.0.11
iron:dynamic-template@1.0.12
@@ -50,36 +52,37 @@ iron:location@1.0.11
iron:middleware-stack@1.1.0
iron:router@1.1.2
iron:url@1.1.0
jquery@1.11.10
jquery@1.11.11
launch-screen@1.1.1
livedata@1.0.18
localstorage@1.1.1
logging@1.1.19
localstorage@1.2.0
logging@1.1.20
mdg:validation-error@0.5.1
meteor@1.7.2
meteor-base@1.1.0
meteor@1.9.0
meteor-base@1.4.0
meteor-platform@1.2.6
minifier-css@1.2.16
minifier-js@2.1.4
minimongo@1.3.3
minifier-css@1.3.1
minifier-js@2.3.5
minimongo@1.4.4
mobile-experience@1.0.5
mobile-status-bar@1.0.14
modules@0.10.0
modules-runtime@0.8.0
modern-browsers@0.1.1
modules@0.12.1
modules-runtime@0.10.2
momentjs:moment@2.18.1
mongo@1.2.2
mongo-dev-server@1.0.1
mongo-id@1.0.6
mongo@1.5.1
mongo-dev-server@1.1.0
mongo-id@1.0.7
mrt:moment@2.8.1
natestrauser:select2@4.0.3
npm-mongo@2.2.33
npm-mongo@3.0.7
observe-sequence@1.0.16
ohif:commands@0.0.1
ohif:core@0.0.1
ohif:cornerstone@0.0.1
ohif:cornerstone-settings@0.0.1
ohif:design@0.0.1
ohif:dicom-services@0.0.1
ohif:hanging-protocols@0.0.1
ohif:header@0.0.1
ohif:hotkeys@0.0.1
ohif:log@0.0.1
@@ -92,36 +95,37 @@ ohif:themes@0.0.1
ohif:themes-common@0.0.1
ohif:viewerbase@0.0.1
ohif:wadoproxy@0.0.1
ordered-dict@1.0.9
promise@0.9.0
ordered-dict@1.1.0
promise@0.11.1
raix:eventemitter@0.1.3
random@1.0.10
rate-limit@1.0.8
reactive-dict@1.1.9
random@1.1.0
rate-limit@1.0.9
reactive-dict@1.2.0
reactive-var@1.0.11
reload@1.1.11
retry@1.0.9
routepolicy@1.0.12
reload@1.2.0
retry@1.1.0
routepolicy@1.0.13
service-configuration@1.0.11
session@1.1.7
shell-server@0.2.4
shell-server@0.3.1
silentcicero:jszip@0.0.4
socket-stream-client@0.2.2
spacebars@1.0.15
spacebars-compiler@1.1.3
standard-app-packages@1.0.9
standard-minifier-css@1.3.5
standard-minifier-js@2.1.2
stylus@2.513.9
standard-minifier-css@1.4.1
standard-minifier-js@2.3.4
stylus@2.513.14
templating@1.3.2
templating-compiler@1.3.3
templating-runtime@1.3.2
templating-tools@1.1.2
tracker@1.1.3
tracker@1.2.0
twbs:bootstrap@3.3.6
u2622:persistent-session@0.4.4
u2622:persistent-session@0.1.4
ui@1.0.13
underscore@1.0.10
url@1.1.0
url@1.2.0
validatejs@0.0.1
webapp@1.3.19
webapp@1.6.2
webapp-hashing@1.0.9
@@ -0,0 +1,3 @@
<body>
<div id="notificationArea" class="notification-area"></div>
</body>
@@ -6,6 +6,12 @@
</svg>
<div class="logo-text">Open Health Imaging Foundation</div>
{{/section}}
{{#section 'headerMenu'}}
<span class="header-options pull-left m-r-1">Options</span>
<div class="menu-toggle pull-right">
<span class="caret-down"></span>
</div>
{{/section}}
{{/header}}
{{>viewer}}
</template>
@@ -37,13 +37,6 @@ Template.toolbarSection.helpers({
iconClasses: 'fa fa-crosshairs'
});
extraTools.push({
id: 'stackScroll',
title: 'Stack Scroll',
classes: 'imageViewerTool',
iconClasses: 'fa fa-bars'
});
extraTools.push({
id: 'magnify',
title: 'Magnify',
@@ -116,6 +109,13 @@ Template.toolbarSection.helpers({
const buttonData = [];
buttonData.push({
id: 'stackScroll',
title: 'Stack Scroll',
classes: 'imageViewerTool',
iconClasses: 'fa fa-bars'
});
buttonData.push({
id: 'zoom',
title: 'Zoom',
@@ -0,0 +1,14 @@
import { OHIF } from 'meteor/ohif:core';
OHIF.header.dropdown.setItems([{
action: () => OHIF.ui.showDialog('themeSelectorModal'),
text: 'Themes',
iconClasses: 'theme',
iconSvgUse: 'packages/ohif_viewerbase/assets/icons.svg#theme',
separatorAfter: false
}, {
action: () => OHIF.ui.showDialog('userPreferencesDialog'),
text: 'Preferences',
icon: 'fa fa-user',
separatorAfter: false
}]);
@@ -5,8 +5,8 @@
"start": "meteor run"
},
"dependencies": {
"babel-runtime": "^6.23.0",
"cornerstone-web-image-loader": "^2.1.0",
"meteor-node-stubs": "^0.2.11"
"@babel/runtime": "^7.0.0-beta.51",
"core-js": "^2.5.7",
"cornerstone-web-image-loader": "^2.1.0"
}
}