Skip to content

Commit

Permalink
Added minified version for the faster loading
Browse files Browse the repository at this point in the history
Added minified version for the faster loading
  • Loading branch information
hrhrprasath committed Jun 12, 2015
1 parent 5ffbe7f commit 1c6e59c
Show file tree
Hide file tree
Showing 67 changed files with 12,625 additions and 6,605 deletions.
Binary file modified dist/DVH.apk
Binary file not shown.
18 changes: 18 additions & 0 deletions minified/www/css/ionic.min.css

Large diffs are not rendered by default.

Binary file added minified/www/fonts/ionicons.eot
Binary file not shown.
1,899 changes: 1,899 additions & 0 deletions minified/www/fonts/ionicons.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added minified/www/fonts/ionicons.ttf
Binary file not shown.
Binary file added minified/www/fonts/ionicons.woff
Binary file not shown.
Binary file added minified/www/icons/Ivt.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added minified/www/icons/cir.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added minified/www/icons/clr.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added minified/www/icons/clrann.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added minified/www/icons/ed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added minified/www/icons/ele.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added minified/www/icons/hot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added minified/www/icons/line.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added minified/www/icons/plane.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added minified/www/icons/rbow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added minified/www/icons/rect.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added minified/www/icons/red.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added minified/www/icons/rset.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added minified/www/icons/snr.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added minified/www/icons/test.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added minified/www/icons/thold.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added minified/www/icons/wl.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added minified/www/img/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions minified/www/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<!DOCTYPE html><html> <head> <meta charset="utf-8"><link rel="stylesheet" type="text/css" href="css/ionic.min.css"/><style>html,body{width:100%;height:100%;margin:0px;padding:0px;overflow:hidden;position: fixed;background-color:#444;-webkit-touch-callout: none;-webkit-user-select: none;-khtml-user-select: none;-moz-user-select: none;-ms-user-select: none;user-select: none;font-family:'Courier New', Courier, monospace !important;}.fxd{position: fixed;}.toolmbtnclicked{border-color: #0185c1;-webkit-box-shadow: 0 0 2px 1px rgba(0,0,0,0.5);box-shadow: 0 0 2px 3px #0185c1;}ul.abt{list-style-type: square;margin:10px;padding:10px;}</style> <title>DICOM VIEWER HTML5</title> </head> <body ng-app="dvh" ng-controller="ctrl" ><div class="bar bar-dark fxd"><div class="buttons"><button class="button ion-android-folder" ng-click="explore=true; showTools=false;urll=false;info=false;about=false "></button><button class="button ion-image" ng-click="showTools=true; explore=false;urll=false;info=false;about=false"></button></div><h1 class="title" style="font-family:'Courier New', Courier, monospace" ng-click="showTools=false; explore=false;urll=false;info=false;about=true">DVH</h1><div class="buttons"><button ng-show="Tag.length" class="button ion-information-circled" ng-click="showTools=false; explore=false;urll=false;info=true;about=false" ></button><button class="button ion-cloud" ng-click="showTools=false; explore=false;urll=true;info=false;about=false" ></button></div></div><div ng-show="showTools" class="row has-header " style="background-color:black;margin-top:43px"> <div class="col "><img src="icons/cir.png" ng-click="SelectedMouseTool='circle';" ng-class="SelectedMouseTool=='circle' ? 'toolmbtnclicked':''"/></div><div class="col "><img src="icons/line.png" ng-click="SelectedMouseTool='line';" ng-class="SelectedMouseTool=='line' ? 'toolmbtnclicked':''"/></div><div class="col "><img src="icons/rect.png" ng-click="SelectedMouseTool='rectangular';" ng-class="SelectedMouseTool=='rectangular' ? 'toolmbtnclicked':''"/></div><div class="col "><img src="icons/ele.png" ng-click="SelectedMouseTool='ellipse';" ng-class="SelectedMouseTool=='ellipse' ? 'toolmbtnclicked':''"/></div><div class="col "><img src="icons/wl.png" ng-click="SelectedMouseTool='WindowLevel';" ng-class="SelectedMouseTool=='WindowLevel' ? 'toolmbtnclicked':''"/></div><div class="col "><img src="icons/plane.png" ng-click="SelectedButtonTool='plain';"/></div><div class="col "><img src="icons/Ivt.png" ng-click="SelectedButtonTool='invplain';"/></div></div><div ng-show="showTools" class="row " style="background-color:black"> <div class="col "><img src="icons/hot.png" ng-click="SelectedButtonTool='hot';"/></div><div class="col "><img src="icons/rbow.png" ng-click="SelectedButtonTool='rainbow';"/></div><div class="col "><img src="icons/snr.png" ng-click="SelectedButtonTool='sharpen';"/></div><div class="col "><img src="icons/ed.png" ng-click="SelectedButtonTool='sobel';"/></div><div class="col "><img src="icons/rset.png" ng-click="SelectedButtonTool='reset image';"/></div><div class="col "><img src="icons/clrann.png" ng-click="SelectedButtonTool='clearAnnotation';"/> </div><div class="col "><img src="icons/clr.png" ng-click="SelectedButtonTool='clear'"/></div></div><div ng-show="urll" class="row " style="background-color:black;margin-top:43px;"> <div class="col col-80 buttons"> <input type="text" id="file" style="padding:3px;overflow:hidden" value="http://x.babymri.org/?53320924&.dcm"/> </div><div class="col col-20 buttons"><button class="button button-royal" style="line-height:32px;min-height:0px;" id="urlbtn" >Open</button></div></div><div style="top:150px;left:5px;position:absolute" ><dicomviewer fileutilityid="" urllistid="file" urlopenbtnid="urlbtn" ></dicomviewer></div><div ng-show="info" style="top:45px;left:0px;width:26%;position:absolute; height:30px;display:block;z-index:45;background-color:white;padding:2px;" ><b>&emsp;Search:</b></div><div ng-show="info" style="top:45px;left:26%;position:absolute;height:30px;display:block;z-index:45;background-color:white;width:73%;padding:0px;margin:0px"><input ng-show="info" type="text" style="width:50%;background-color:white;border:1px solid black;padding:0px;margin:0px;height:90%;position:absolute;font-size:15px;top:5%" ng-model="search"/></div><div ng-show="info" style="top:75px;left:0px;position:absolute;overflow:auto;height:calc(100% - 75px);width:99%;display:block;z-index:45;background-color:white;padding:5px" ><div ng-show="Tag.length" style="height:20px; min-width: 100%;position:relative;display:inline-block"><span style="display: inline-block; text-align: center;font: normal normal bold 1em/normal 'Times New Roman', Times, serif;border-bottom: #898888 1px solid;width:100%" >Name&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;Value</span></div><div ng-show="Tag.length" style="height:100% ; width:99%;overflow-y:auto;display:block;position:absolute;display:block"> <div ng-repeat="tagObj in Tag | filter:search" style="position:relative;display:table-row;"><span style="display: table-cell;overflow: hidden;border-bottom: #898888 1px solid" ><b>{{tagObj.Name}}</b></span><span style="display: table-cell;overflow: hidden;border-bottom: #898888 1px solid" >{{tagObj.Value}}</span> </div></div></div><div style="top:152px;left:5px;max-width:60%;color:#ffcc99;background:transparent;font-family:'Courier New', Courier, monospace;font-style:bold;" class="fxd" ng-show="Tag.length"ng-clock>Name:{{PatientName}}<br>Id:{{PatientId}}</div><div style="top:152px;left:77%;max-width:23%;color:#ffcc99;background:transparent;font-family:'Courier New', Courier, monospace;font-style:bold;text-align:right;" class="fxd" ng-show="Tag.length" ng-clock>W:{{WWidth}}<br>C:{{WCenter}}</div><button ng-show="explore" class="button button-dark ion-arrow-left-c fxd" ng-click="back();" style="margin-top:48px;z-index:50;color:whitesmoke;min-width:0px;min-height:0px;line-height:normal;font-size:30px; padding:0px;opacity: 0.6;" ></button><div ng-show="explore" class="list" style="padding-top: 15px;width:99%;overflow-y:auto;height:calc(100% - 43px);display:block;position:absolute;margin:0px;margin-top:43px;z-index:45;padding:10px"><div class="item item-divider" style="background-color:black;color:white"> Folders: </div><div class="button" ng-repeat="o in dirs" ng-click="OpenSelectedItem(o.name,'d')" style="width:100%;text-align:left;overflow:hidden">{{o.name}}</div><div class="item item-divider" style="background-color:black;color:white"> Files</div><div class="button" ng-repeat="i in files" ng-click="OpenSelectedItem(i.name,'f')" style="width:100%;text-align:left;overflow:hidden">{{i.name}}</div></div><div ng-show="about" style="top:45px;left:0px;width:100%;height:calc(100% - 45px);position:absolute; display:block;z-index:60;background-color:white;padding:15px;overflow-y:auto" ><h1 class="title" >ABOUT</h1><p>DVH [Dicom Viewer Html5] is an cordova driven android app to view dicom images.Based on the angular app <a href="#" ng-click="openUrl('http://hrhrprasath.github.io/NgDicomViewer/')" >ng-dicomviewer</a> which is capable of viewing dicom images from the phone memory.Designed to use it simpler and easier.<br>Not fully DICOM compliant, see <a href="#" ng-click="openUrl('http://github.com/ivmartel/dwv/wiki/Dicom-Support')">Dicom-Support</a> for details<br><h3>Features available</h3></p><ul class="abt"><li>Annotation:<ul class="abt"><li>circle</li><li>line</li><li>rectangle</li><li>ellipse</li></ul></li><li>Window level tool</li><li>Filters:<ul class="abt"><li>plain</li><li>invplain</li><li>rainbow</li><li>hot</li><li>sharpen</li><li>sobel edge detection</li></ul></li><li>image information </li></ul><p>For more info visit <a href="#" ng-click="openUrl('http://hrhrprasath.github.io/DVH/')">official site</a><h3 >Declaration:</h3> <br>This app is not intended for clinical or diagnostic use. Any use of this viewer for diagnosis or in a clinical setting is strongly discouraged and should avoided. This app is provided “as is” without warranty of any kind, either expressed or implied, including, but not limited to, the implied warranties of merchantability, fitness for a particular purpose, or non-infringement. In no event shall author is liable for any special, incidental, indirect or consequential damages of any kind, or any damages whatsoever resulting from the use of this app, data or technical information accessed and viewed with this app, whether or not advised of the possibility of damage, under any theory of liability, arising out of or in connection with the use or performance of this app.</p></div><script type="text/javascript" src="js/ionic.bundle.min.js"></script> <script type="text/javascript" src="js/NgDicomViewer.js"></script> <script type="text/javascript" src="js/Explorer.js"></script> <script type="text/javascript" src="js/openjpeg.js"></script> <script type="text/javascript">var console={log:function(a){},warn:function(a){}};angular.module("dvh",["ngdicomviewer","ionic"]).controller("ctrl",["$scope","$ionicLoading","$rootScope","$timeout",function(a,e,h,k){a.show=function(){a.loadingstate=e.show({template:"Loading..."})}.bind(this);a.hide=function(){e.hide()}.bind(this);a.show();a.explore=!1;a.showTools=!0;a.urll=!0;a.$watch("loadFile",function(){a.urll=!1});a.urll=!1;a.dirs=[];a.files=[];a.openUrl=function(a){navigator.app.loadUrl(a,{openExternal:!0})};var b=new Explorer,l=function(g,c,b){try{g&&c&&a.$apply(function(){a.dirs=g;for(var b=[],f=0,e=c.length;f<e;f++){var d=c[f].name.split(".");"dic"!=d[d.length-1]&&"dcm"!=d[d.length-1]&&""!=d[d.length-1]&&d[d.length-1]!=c[f].name||b.push(c[f])}a.files=b}),b&&(a.show(),a.$$phase?(a.explore=!1,a.showTools=!0):a.$apply(function(){a.explore=!1;a.showTools=!0}),k(function(){a.$apply(function(){try{a.loadFile(b)}catch(c){console.log(c.message)}})},150))}catch(e){console.log("Update erroe:"+e.message)}}.bind(this);b.UpdateScope=l;document.addEventListener("deviceready",function(){try{b.getFileSystem(),a.hide()}catch(g){console.log(g.message)}},!1);h.OpenSelectedItem=function(a,c){b.getActiveItem(a,c)};a.back=function(){null!=b.parentDir&&b.listDir(b.parentDir)};a.toolActivate=function(b,c){a.SelectedMouseTool=val}}]);</script> <script type="text/javascript" src="cordova.js"></script> </body></html>
5 changes: 5 additions & 0 deletions minified/www/js/Explorer.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 1c6e59c

Please sign in to comment.