diff --git a/README.md b/README.md index 0967e6e..cbe629d 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ # CacheUMLExplorer -An UML Class explorer for InterSystems Caché. It can build UML class diagram for any class or even for whole package in Caché. +An UML Class explorer for InterSystems Caché. It is able to build UML class diagram for any class or even for whole package in Caché. ## Screenshots -![2015-04-21_214058](https://cloud.githubusercontent.com/assets/4989256/7260103/6c1e2a20-e870-11e4-8bf0-9832885be9ab.png) +![2015-04-21_214058](https://cloud.githubusercontent.com/assets/4989256/7396518/65ba1924-eeaa-11e4-808b-5f648c0011e4.png) ## Installation diff --git a/gulpfile.js b/gulpfile.js index 44c7ac8..7fb7571 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -60,7 +60,10 @@ gulp.task("gatherLibs", ["clean"], function () { gulp.task("gatherScripts", ["clean", "gatherLibs"], function () { return gulp.src("web/js/*.js") .pipe(concat("CacheUMLExplorer.js")) - .pipe(replace(/[^\s]+\/\*build.replace:(.*)\*\//g, "$1")) + .pipe(replace(/[^\s]+\/\*build\.replace:(.*)\*\//g, function (part, match) { + var s = match.toString(); + return s.replace(/pkg\.([a-zA-Z]+)/g, function (p,a) { return pkg[a]; }); + })) .pipe(wrap("CacheUMLExplorer = (function(){<%= contents %> return CacheUMLExplorer;}());")) .pipe(uglify({ output: { diff --git a/package.json b/package.json index 5e0fa69..bbb2db7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "CacheUMLExplorer", - "version": "0.5.1", + "version": "0.5.2", "description": "An UML Class explorer for InterSystems Caché", "directories": { "test": "test" @@ -18,7 +18,7 @@ "gulp-minify-css": "^0.3.11", "gulp-postcss": "^5.1.3", "gulp-rename": "^1.2.0", - "gulp-replace": "^0.5.0", + "gulp-replace": "^0.5.3", "gulp-strip-comments": "^1.0.1", "gulp-uglify": "^1.2.0", "gulp-wrap": "^0.5.0", diff --git a/web/css/extras.css b/web/css/extras.css index 0921c8f..8d33901 100644 --- a/web/css/extras.css +++ b/web/css/extras.css @@ -140,6 +140,28 @@ left: 9px; } +.icon.info:after { + content: ""; + background-color: #fff; + width: 4px; + height: 10px; + border-radius: 1px; + position: absolute; + top: 10px; + left: 10px; +} + +.icon.info:before { + content: ""; + background-color: #fff; + width: 4px; + height: 4px; + border-radius: 2px; + position: absolute; + top: 4px; + left: 10px; +} + .icon.scaleNormal:after { content: "1:1"; position: absolute; diff --git a/web/css/interface.css b/web/css/interface.css index 4076ceb..7e390b9 100644 --- a/web/css/interface.css +++ b/web/css/interface.css @@ -48,6 +48,41 @@ html, body { padding: .5em; } +.ui-topRightToolBar { + position: absolute; + top: 0; + right: 0; + padding: .5em; +} + #className { text-shadow: 1px 1px 0 white, -1px -1px 0 white, 1px -1px 0 white, -1px 1px 0 white; +} + +.central { + position: absolute; + left: 0; + top: 0; + width: 100%; + height: 100%; + display: table; +} + +.central > div { + display: table-cell; + vertical-align: middle; + text-align: center; +} + +.central > div > div { + display: inline-block; +} + +.message { + font-size: 14pt; + background: rgba(245, 245, 245, 0.9); + -webkit-transition: all .2s ease; + -moz-transition: all .2s ease; + -o-transition: all .2s ease; + transition: all .2s ease; } \ No newline at end of file diff --git a/web/index.html b/web/index.html index af5d99f..f296930 100644 --- a/web/index.html +++ b/web/index.html @@ -20,10 +20,11 @@ +
-