diff options
author | nicolargo <nicolas@nicolargo.com> | 2020-04-26 16:46:51 +0200 |
---|---|---|
committer | nicolargo <nicolas@nicolargo.com> | 2020-04-26 16:46:51 +0200 |
commit | baa7e7f574af7b55f7866eb4cccd50e05372f379 (patch) | |
tree | ac5813ca38fdb0adcbbbd33e75a55ed6e5075e8d | |
parent | 924864f9d0ae347e0196f3d17ffc641b7562125f (diff) |
Update view.html #1636
-rw-r--r-- | glances/outputs/static/js/components/plugin-alert/view.html | 2 | ||||
-rw-r--r-- | glances/outputs/static/package-lock.json | 132 | ||||
-rw-r--r-- | glances/outputs/static/package.json | 4 | ||||
-rw-r--r-- | glances/outputs/static/public/glances.js | 154 | ||||
-rw-r--r-- | glances/outputs/static/public/glances.map.js | 2 |
5 files changed, 128 insertions, 166 deletions
diff --git a/glances/outputs/static/js/components/plugin-alert/view.html b/glances/outputs/static/js/components/plugin-alert/view.html index f7aebcb4..e2c72157 100644 --- a/glances/outputs/static/js/components/plugin-alert/view.html +++ b/glances/outputs/static/js/components/plugin-alert/view.html @@ -1,6 +1,6 @@ <section id="alerts"> <span class="title" ng-if="!vm.hasAlerts()">No warning or critical alert detected</span> - <span class="title" ng-if="vm.hasAlerts()">Warning or critical alerts (lasts {{vm.count()}} entries)</span> + <span class="title" ng-if="vm.hasAlerts()">Warning or critical alerts (last {{vm.count()}} entries)</span> </section> <section id="alert" class="plugin"> <div class="table"> diff --git a/glances/outputs/static/package-lock.json b/glances/outputs/static/package-lock.json index 83f86d17..d884e827 100644 --- a/glances/outputs/static/package-lock.json +++ b/glances/outputs/static/package-lock.json @@ -9,9 +9,9 @@ "dev": true }, "acorn": { - "version": "5.7.3", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-5.7.3.tgz", - "integrity": "sha512-T/zvzYRfbVojPWahDsE5evJdHb3oJoQfFbsrKM7w5Zcs++Tr257tia3BmMP8XYVjp1S9RZXQMh7gao96BlqZOw==", + "version": "5.7.4", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-5.7.4.tgz", + "integrity": "sha512-1D++VG7BhrtvQpNbBzovKNc1FLGGEE/oGe7b9xJm/RFHMBeUaUGpluV9RLjZa47YFdPcDAenEYuq9pQPcMdLJg==", "dev": true }, "acorn-dynamic-import": { @@ -83,9 +83,9 @@ "dev": true }, "angular": { - "version": "1.7.8", - "resolved": "https://registry.npmjs.org/angular/-/angular-1.7.8.tgz", - "integrity": "sha512-wtef/y4COxM7ZVhddd7JtAAhyYObq9YXKar9tsW7558BImeVYteJiTxCKeJOL45lJ/+7B4wrAC49j8gTFYEthg==" + "version": "1.7.9", + "resolved": "https://registry.npmjs.org/angular/-/angular-1.7.9.tgz", + "integrity": "sha512-5se7ZpcOtu0MBFlzGv5dsM1quQDoDeUTwZrWjGtTNA7O88cD8TEk5IEKCTDa3uECV9XnvKREVUr7du1ACiWGFQ==" }, "angular-hotkeys": { "version": "1.7.0", @@ -788,9 +788,9 @@ } }, "clean-css": { - "version": "4.1.9", - "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-4.1.9.tgz", - "integrity": "sha1-Nc7ornaHpJuYA09w3gDE7dOCYwE=", + "version": "4.1.11", + "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-4.1.11.tgz", + "integrity": "sha1-Ls3xRaujj1R0DybO/Q/z4D4SXWo=", "dev": true, "requires": { "source-map": "0.5.x" @@ -2656,13 +2656,13 @@ } }, "globule": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/globule/-/globule-1.2.1.tgz", - "integrity": "sha512-g7QtgWF4uYSL5/dn71WxubOrS7JVGCnFPEnoeChJmBnyR9Mw8nGoEwOgJL/RC2Te0WhbsEUCejfH8SZNJ+adYQ==", + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/globule/-/globule-1.3.1.tgz", + "integrity": "sha512-OVyWOHgw29yosRHCHo7NncwR1hW5ew0W/UrvtwvjefVJeQ26q4/8r8FmPsSF1hJ93IgWkyv16pCTz6WblMzm/g==", "dev": true, "requires": { "glob": "~7.1.1", - "lodash": "~4.17.10", + "lodash": "~4.17.12", "minimatch": "~3.0.2" } }, @@ -2978,9 +2978,9 @@ "dev": true }, "in-publish": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/in-publish/-/in-publish-2.0.0.tgz", - "integrity": "sha1-4g/146KvwmkDILbcVSaCqcf631E=", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/in-publish/-/in-publish-2.0.1.tgz", + "integrity": "sha512-oDM0kUSNFC31ShNxHKUyfZKy8ZeXZBWMjMdZHKLOk13uvT27VTL/QzRGfRUcevJhpkZAvlhPYuXkF7eNWrtyxQ==", "dev": true }, "indent-string": { @@ -3140,13 +3140,10 @@ "dev": true }, "is-finite": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-finite/-/is-finite-1.0.2.tgz", - "integrity": "sha1-zGZ3aVYCvlUO8R6LSqYwU0K20Ko=", - "dev": true, - "requires": { - "number-is-nan": "^1.0.0" - } + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-finite/-/is-finite-1.1.0.tgz", + "integrity": "sha512-cdyMtqX/BOqqNBBiKlIVkytNHm49MtMlYyn1zxzvJKWmFMlGzm+ry5BBfYyeY9YmNKbRSo/o7OX9w9ale0wg3w==", + "dev": true }, "is-fullwidth-code-point": { "version": "1.0.0", @@ -3360,9 +3357,9 @@ } }, "kind-of": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", - "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==", + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", + "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", "dev": true }, "lazy-cache": { @@ -3439,7 +3436,7 @@ }, "load-json-file": { "version": "1.1.0", - "resolved": "http://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz", + "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz", "integrity": "sha1-lWkFcI1YtLq0wiYbBPWfMcmTdMA=", "dev": true, "requires": { @@ -3633,14 +3630,6 @@ "read-pkg-up": "^1.0.1", "redent": "^1.0.0", "trim-newlines": "^1.0.0" - }, - "dependencies": { - "minimist": { - "version": "1.2.0", - "resolved": "http://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", - "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=", - "dev": true - } } }, "micromatch": { @@ -3723,9 +3712,9 @@ } }, "minimist": { - "version": "0.0.8", - "resolved": "http://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz", - "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=", + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", + "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==", "dev": true }, "mississippi": { @@ -3747,9 +3736,9 @@ } }, "mixin-deep": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/mixin-deep/-/mixin-deep-1.3.1.tgz", - "integrity": "sha512-8ZItLHeEgaqEvd5lYBXfm4EZSFCX29Jb9K+lAHhDKzReKBQKj3R+7NOF6tjqYi9t4oI8VUfaWITJQm86wnXGNQ==", + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/mixin-deep/-/mixin-deep-1.3.2.tgz", + "integrity": "sha512-WRoDn//mXBiJ1H40rqa3vH0toePwSsGb45iInWlTySa+Uu4k3tYUSxa2v1KqAiLtvlrSzaExqS1gtk96A9zvEA==", "dev": true, "requires": { "for-in": "^1.0.2", @@ -3786,12 +3775,12 @@ } }, "mkdirp": { - "version": "0.5.1", - "resolved": "http://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz", - "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=", + "version": "0.5.5", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz", + "integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==", "dev": true, "requires": { - "minimist": "0.0.8" + "minimist": "^1.2.5" } }, "move-concurrently": { @@ -3948,9 +3937,9 @@ } }, "node-sass": { - "version": "4.12.0", - "resolved": "https://registry.npmjs.org/node-sass/-/node-sass-4.12.0.tgz", - "integrity": "sha512-A1Iv4oN+Iel6EPv77/HddXErL2a+gZ4uBeZUy+a8O35CFYTXhgA8MgLCWBtwpGZdCvTvQ9d+bQxX/QC36GDPpQ==", + "version": "4.14.0", + "resolved": "https://registry.npmjs.org/node-sass/-/node-sass-4.14.0.tgz", + "integrity": "sha512-AxqU+DFpk0lEz95sI6jO0hU0Rwyw7BXVEv6o9OItoXLyeygPeaSpiV4rwQb10JiTghHaa0gZeD21sz+OsQluaw==", "dev": true, "requires": { "async-foreach": "^0.1.3", @@ -3960,7 +3949,7 @@ "get-stdin": "^4.0.1", "glob": "^7.0.3", "in-publish": "^2.0.0", - "lodash": "^4.17.11", + "lodash": "^4.17.15", "meow": "^3.7.0", "mkdirp": "^0.5.1", "nan": "^2.13.2", @@ -3973,9 +3962,9 @@ }, "dependencies": { "nan": { - "version": "2.14.0", - "resolved": "https://registry.npmjs.org/nan/-/nan-2.14.0.tgz", - "integrity": "sha512-INOFj37C7k3AfaNTtX8RhsTw7qRy7eLET14cROi9+5HAVbbHuIWUHEauBv5qT4Av2tWasiTY1Jw6puUNqRJXQg==", + "version": "2.14.1", + "resolved": "https://registry.npmjs.org/nan/-/nan-2.14.1.tgz", + "integrity": "sha512-isWHgVjnFjh2x2yuJ/tj3JbwoHu3UC2dX5G/88Cm24yB6YopVgxvBObDY7n5xW6ExmFhJpSEQqFPvq9zaXc8Jw==", "dev": true } } @@ -4145,7 +4134,7 @@ }, "os-locale": { "version": "1.4.0", - "resolved": "http://registry.npmjs.org/os-locale/-/os-locale-1.4.0.tgz", + "resolved": "https://registry.npmjs.org/os-locale/-/os-locale-1.4.0.tgz", "integrity": "sha1-IPnxeuKe00XoveWDsT0gCYA8FNk=", "dev": true, "requires": { @@ -5506,9 +5495,9 @@ "dev": true }, "set-value": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/set-value/-/set-value-2.0.0.tgz", - "integrity": "sha512-hw0yxk9GT/Hr5yJEYnHNKYXkIA8mVJgd9ditYZCe16ZczcaELYYcfvaXesNACk2O8O0nTiPQcQhGUQj8JLzeeg==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/set-value/-/set-value-2.0.1.tgz", + "integrity": "sha512-JxHc1weCN68wRY0fhCoXpyK55m/XPHafOmK4UWD7m2CI14GMcFypt4w/0+NV5f/ZMby2F6S2wwA7fgynh9gWSw==", "dev": true, "requires": { "extend-shallow": "^2.0.1", @@ -6185,38 +6174,15 @@ } }, "union-value": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/union-value/-/union-value-1.0.0.tgz", - "integrity": "sha1-XHHDTLW61dzr4+oM0IIHulqhrqQ=", + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/union-value/-/union-value-1.0.1.tgz", + "integrity": "sha512-tJfXmxMeWYnczCVs7XAEvIV7ieppALdyepWMkHkwciRpZraG/xwT+s2JN8+pr1+8jCRf80FFzvr+MpQeeoF4Xg==", "dev": true, "requires": { "arr-union": "^3.1.0", "get-value": "^2.0.6", "is-extendable": "^0.1.1", - "set-value": "^0.4.3" - }, - "dependencies": { - "extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "dev": true, - "requires": { - "is-extendable": "^0.1.0" - } - }, - "set-value": { - "version": "0.4.3", - "resolved": "https://registry.npmjs.org/set-value/-/set-value-0.4.3.tgz", - "integrity": "sha1-fbCPnT0i3H945Trzw79GZuzfzPE=", - "dev": true, - "requires": { - "extend-shallow": "^2.0.1", - "is-extendable": "^0.1.1", - "is-plain-object": "^2.0.1", - "to-object-path": "^0.3.0" - } - } + "set-value": "^2.0.1" } }, "uniq": { diff --git a/glances/outputs/static/package.json b/glances/outputs/static/package.json index 2e98b267..58845975 100644 --- a/glances/outputs/static/package.json +++ b/glances/outputs/static/package.json @@ -1,7 +1,7 @@ { "private": true, "dependencies": { - "angular": "^1.7.8", + "angular": "^1.7.9", "angular-hotkeys": "^1.7.0", "bootstrap": "^3.4.1", "favico.js": "^0.3.10", @@ -18,7 +18,7 @@ "less": "^3.10.3", "less-loader": "^4.1.0", "ngtemplate-loader": "^2.0.1", - "node-sass": "^4.12.0", + "node-sass": "^4.14.0", "sass-loader": "^6.0.7", "style-loader": "^0.20.3", "url-loader": "^0.6.2", diff --git a/glances/outputs/static/public/glances.js b/glances/outputs/static/public/glances.js index 6796c7f1..1cfa7b63 100644 --- a/glances/outputs/static/public/glances.js +++ b/glances/outputs/static/public/glances.js @@ -17973,7 +17973,7 @@ module.exports = __webpack_require__.p + "9a360c92ce9bda60a8da6389741dcfbf.png"; /***/ (function(module, exports) { /** - * @license AngularJS v1.7.8 + * @license AngularJS v1.7.9 * (c) 2010-2018 Google, Inc. http://angularjs.org * License: MIT */ @@ -18073,7 +18073,7 @@ function isValidObjectMaxDepth(maxDepth) { function minErr(module, ErrorConstructor) { ErrorConstructor = ErrorConstructor || Error; - var url = 'https://errors.angularjs.org/1.7.8/'; + var url = 'https://errors.angularjs.org/1.7.9/'; var regex = url.replace('.', '\\.') + '[\\s\\S]*'; var errRegExp = new RegExp(regex, 'g'); @@ -18455,8 +18455,10 @@ function baseExtend(dst, objs, deep) { } else if (isElement(src)) { dst[key] = src.clone(); } else { - if (!isObject(dst[key])) dst[key] = isArray(src) ? [] : {}; - baseExtend(dst[key], [src], true); + if (key !== '__proto__') { + if (!isObject(dst[key])) dst[key] = isArray(src) ? [] : {}; + baseExtend(dst[key], [src], true); + } } } else { dst[key] = src; @@ -20779,11 +20781,11 @@ function toDebugString(obj, maxDepth) { var version = { // These placeholder strings will be replaced by grunt's `build` task. // They need to be double- or single-quoted. - full: '1.7.8', + full: '1.7.9', major: 1, minor: 7, - dot: 8, - codeName: 'enthusiastic-oblation' + dot: 9, + codeName: 'pollution-eradication' }; @@ -20933,7 +20935,7 @@ function publishExternalAPI(angular) { }); } ]) - .info({ angularVersion: '1.7.8' }); + .info({ angularVersion: '1.7.9' }); } /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * @@ -25434,7 +25436,7 @@ function $TemplateCacheProvider() { * * This example show how you might use `$doCheck` to trigger changes in your component's inputs even if the * actual identity of the component doesn't change. (Be aware that cloning and deep equality checks on large - * arrays or objects can have a negative impact on your application performance) + * arrays or objects can have a negative impact on your application performance.) * * <example name="doCheckArrayExample" module="do-check-module"> * <file name="index.html"> @@ -25757,7 +25759,7 @@ function $TemplateCacheProvider() { * would result in the whole app "stalling" until all templates are loaded asynchronously - even in the * case when only one deeply nested directive has `templateUrl`. * - * Template loading is asynchronous even if the template has been preloaded into the {@link $templateCache} + * Template loading is asynchronous even if the template has been preloaded into the {@link $templateCache}. * * You can specify `templateUrl` as a string representing the URL or as a function which takes two * arguments `tElement` and `tAttrs` (described in the `compile` function api below) and returns @@ -25818,7 +25820,7 @@ function $TemplateCacheProvider() { * own templates or compile functions. Compiling these directives results in an infinite loop and * stack overflow errors. * - * This can be avoided by manually using $compile in the postLink function to imperatively compile + * This can be avoided by manually using `$compile` in the postLink function to imperatively compile * a directive's template instead of relying on automatic template compilation via `template` or * `templateUrl` declaration or manual compilation inside the compile function. * </div> @@ -25922,17 +25924,17 @@ function $TemplateCacheProvider() { * * * `true` - transclude the content (i.e. the child nodes) of the directive's element. * * `'element'` - transclude the whole of the directive's element including any directives on this - * element that defined at a lower priority than this directive. When used, the `template` + * element that are defined at a lower priority than this directive. When used, the `template` * property is ignored. * * **`{...}` (an object hash):** - map elements of the content onto transclusion "slots" in the template. * - * **Mult-slot transclusion** is declared by providing an object for the `transclude` property. + * **Multi-slot transclusion** is declared by providing an object for the `transclude` property. * * This object is a map where the keys are the name of the slot to fill and the value is an element selector * used to match the HTML to the slot. The element selector should be in normalized form (e.g. `myElement`) * and will match the standard element variants (e.g. `my-element`, `my:element`, `data-my-element`, etc). * - * For further information check out the guide on {@link guide/directive#matching-directives Matching Directives} + * For further information check out the guide on {@link guide/directive#matching-directives Matching Directives}. * * If the element selector is prefixed with a `?` then that slot is optional. * @@ -25957,7 +25959,7 @@ function $TemplateCacheProvider() { * </div> * * If you want to manually control the insertion and removal of the transcluded content in your directive - * then you must use this transclude function. When you call a transclude function it returns a a jqLite/JQuery + * then you must use this transclude function. When you call a transclude function it returns a jqLite/JQuery * object that contains the compiled DOM, which is linked to the correct transclusion scope. * * When you call a transclusion function you can pass in a **clone attach function**. This function accepts @@ -26042,8 +26044,8 @@ function $TemplateCacheProvider() { * The {@link ng.$compile.directive.Attributes Attributes} object - passed as a parameter in the * `link()` or `compile()` functions. It has a variety of uses. * - * * *Accessing normalized attribute names:* Directives like 'ngBind' can be expressed in many ways: - * 'ng:bind', `data-ng-bind`, or 'x-ng-bind'. The attributes object allows for normalized access + * * *Accessing normalized attribute names:* Directives like `ngBind` can be expressed in many ways: + * `ng:bind`, `data-ng-bind`, or `x-ng-bind`. The attributes object allows for normalized access * to the attributes. * * * *Directive inter-communication:* All directives share the same instance of the attributes @@ -26084,25 +26086,24 @@ function $TemplateCacheProvider() { <file name="index.html"> <script> angular.module('compileExample', [], function($compileProvider) { - // configure new 'compile' directive by passing a directive - // factory function. The factory function injects the '$compile' + // Configure new 'compile' directive by passing a directive + // factory function. The factory function injects '$compile'. $compileProvider.directive('compile', function($compile) { - // directive factory creates a link function + // The directive factory creates a link function. return function(scope, element, attrs) { scope.$watch( function(scope) { - // watch the 'compile' expression for changes + // Watch the 'compile' expression for changes. return scope.$eval(attrs.compile); }, function(value) { - // when the 'compile' expression changes - // assign it into the current DOM + // When the 'compile' expression changes + // assign it into the current DOM. element.html(value); - // compile the new DOM and link it to the current - // scope. - // NOTE: we only compile .childNodes so that - // we don't get into infinite loop compiling ourselves + // Compile the new DOM and link it to the current scope. + // NOTE: we only compile '.childNodes' so that we + // don't get into an infinite loop compiling ourselves. $compile(element.contents())(scope); } ); @@ -26175,13 +26176,13 @@ function $TemplateCacheProvider() { * } * ``` * * `futureParentElement` - defines the parent to which the `cloneAttachFn` will add - * the cloned elements; only needed for transcludes that are allowed to contain non html - * elements (e.g. SVG elements). See also the directive.controller property. + * the cloned elements; only needed for transcludes that are allowed to contain non HTML + * elements (e.g. SVG elements). See also the `directive.controller` property. * * Calling the linking function returns the element of the template. It is either the original * element passed in, or the clone of the element if the `cloneAttachFn` is provided. * - * After linking the view is not updated until after a call to $digest which typically is done by + * After linking the view is not updated until after a call to `$digest`, which typically is done by * AngularJS automatically. * * If you need access to the bound view, there are two ways to do it: @@ -26189,21 +26190,23 @@ function $TemplateCacheProvider() { * - If you are not asking the linking function to clone the template, create the DOM element(s) * before you send them to the compiler and keep this reference around. * ```js - * var element = $compile('<p>{{total}}</p>')(scope); + * var element = angular.element('<p>{{total}}</p>'); + * $compile(element)(scope); * ``` * * - if on the other hand, you need the element to be cloned, the view reference from the original * example would not point to the clone, but rather to the original template that was cloned. In - * this case, you can access the clone via the cloneAttachFn: + * this case, you can access the clone either via the `cloneAttachFn` or the value returned by the + * linking function: * ```js - * var templateElement = angular.element('<p>{{total}}</p>'), - * scope = ....; - * + * var templateElement = angular.element('<p>{{total}}</p>'); * var clonedElement = $compile(templateElement)(scope, function(clonedElement, scope) { - * //attach the clone to DOM document at the right place + * // Attach the clone to DOM document at the right place. * }); * - * //now we have reference to the cloned DOM via `clonedElement` + * // Now we have reference to the cloned DOM via `clonedElement`. + * // NOTE: The `clonedElement` returned by the linking function is the same as the + * // `clonedElement` passed to `cloneAttachFn`. * ``` * * @@ -26729,9 +26732,9 @@ function $CompileProvider($provide, $$sanitizeUriProvider) { * @description * Register a new directive with the compiler. * - * @param {string|Object} name Name of the directive in camel-case (i.e. <code>ngBind</code> which - * will match as <code>ng-bind</code>), or an object map of directives where the keys are the - * names and the values are the factories. + * @param {string|Object} name Name of the directive in camel-case (i.e. `ngBind` which will match + * as `ng-bind`), or an object map of directives where the keys are the names and the values + * are the factories. * @param {Function|Array} directiveFactory An injectable directive factory function. See the * {@link guide/directive directive guide} and the {@link $compile compile API} for more info. * @returns {ng.$compileProvider} Self for chaining. @@ -52398,14 +52401,7 @@ var ngHideDirective = ['$animate', function($animate) { var ngStyleDirective = ngDirective(function(scope, element, attr) { scope.$watchCollection(attr.ngStyle, function ngStyleWatchAction(newStyles, oldStyles) { if (oldStyles && (newStyles !== oldStyles)) { - if (!newStyles) { - newStyles = {}; - } - forEach(oldStyles, function(val, style) { - if (newStyles[style] == null) { - newStyles[style] = ''; - } - }); + forEach(oldStyles, function(val, style) { element.css(style, ''); }); } if (newStyles) element.css(newStyles); }); @@ -57459,7 +57455,7 @@ function GlancesController($scope, GlancesStats, hotkeys, ARGUMENTS) { /* 23 */ /***/ (function(module, exports) { -var path = '/Users/floranbrutel/dev/glances/glances/outputs/static/js/components/glances/view.html'; +var path = '/home/nicolargo/dev/glances/glances/outputs/static/js/components/glances/view.html'; var html = "<div>\n <div ng-if=\"!vm.dataLoaded\" class=\"container-fluid\" id=\"loading-page\">\n <div class=\"glances-logo\"></div>\n <div class=\"loader\">Loading...</div>\n </div>\n\n <glances-help ng-if=\"vm.arguments.help_tag\"></glances-help>\n\n <div ng-if=\"vm.dataLoaded && !vm.arguments.help_tag\" class=\"container-fluid\">\n <div class=\"top-plugin\">\n <div class=\"row\">\n <div class=\"col-sm-24\">\n <div class=\"pull-left\">\n <glances-plugin-system></glances-plugin-system>\n </div>\n <div class=\"pull-left\">\n <glances-plugin-ip></glances-plugin-ip>\n </div>\n <div class=\"pull-right\">\n <glances-plugin-uptime></glances-plugin-uptime>\n </div>\n </div>\n <div class=\"row\">\n <div class=\"col-sm-24\">\n <div class=\"pull-left\">\n <glances-plugin-cloud></glances-plugin-cloud>\n </div>\n </div>\n </div>\n </div>\n </div>\n\n <div class=\"row\">\n <div class=\"hidden-xs hidden-sm hidden-md col-lg-6\" ng-if=\"!vm.arguments.disable_quicklook\">\n <glances-plugin-quicklook></glances-plugin-quicklook>\n </div>\n <div class=\"col-sm-6 col-md-8 col-lg-6\" ng-if=\"!vm.arguments.disable_cpu && !vm.arguments.percpu\">\n <glances-plugin-cpu></glances-plugin-cpu>\n </div>\n <div class=\"col-sm-12 col-md-8 col-lg-6\" ng-if=\"!vm.arguments.disable_cpu && vm.arguments.percpu\">\n <glances-plugin-percpu></glances-plugin-percpu>\n </div>\n <div class=\"col-sm-6 col-md-4 col-lg-3\" ng-if=\"!vm.arguments.disable_gpu && vm.hasGpu\">\n <glances-plugin-gpu></glances-plugin-gpu>\n </div>\n <div class=\"col-sm-6 col-md-4 col-lg-3\" ng-if=\"!vm.arguments.disable_mem\">\n <glances-plugin-mem></glances-plugin-mem>\n </div>\n <div class=\"col-sm-6 col-md-4 col-lg-3\"\n ng-if=\"!vm.arguments.disable_mem && !(!vm.arguments.disable_gpu && vm.hasGpu)\">\n <glances-plugin-mem-more></glances-plugin-mem-more>\n </div>\n <div class=\"col-sm-6 col-md-4 col-lg-3\" ng-if=\"!vm.arguments.disable_memswap\">\n <glances-plugin-memswap></glances-plugin-memswap>\n </div>\n <div class=\"col-sm-6 col-md-4 col-lg-3\" ng-if=\"!vm.arguments.disable_load\">\n <glances-plugin-load></glances-plugin-load>\n </div>\n </div>\n <div class=\"row\">\n <div class=\"col-sm-6 sidebar\" ng-if=\"!vm.arguments.disable_left_sidebar\">\n <div class=\"table\">\n <glances-plugin-network id=\"plugin-network\" class=\"plugin table-row-group\" ng-if=\"!vm.arguments.disable_network\"></glances-plugin-network>\n <glances-plugin-connections id=\"plugin-connections\" class=\"plugin table-row-group\" ng-if=\"vm.isLinux && !vm.arguments.disable_connections\"></glances-plugin-connections>\n <glances-plugin-wifi id=\"plugin-wifi\" class=\"plugin table-row-group\" ng-if=\"!vm.arguments.disable_wifi\"></glances-plugin-wifi>\n <glances-plugin-ports id=\"plugin-ports\" class=\"plugin table-row-group\" ng-if=\"!vm.arguments.disable_ports\"></glances-plugin-ports>\n <glances-plugin-diskio id=\"plugin-diskio\" class=\"plugin table-row-group\" ng-if=\"!vm.arguments.disable_diskio\"></glances-plugin-diskio>\n <glances-plugin-fs id=\"plugin-fs\" class=\"plugin table-row-group\" ng-if=\"!vm.arguments.disable_fs\"></glances-plugin-fs>\n <glances-plugin-irq id=\"plugin-irq\" class=\"plugin table-row-group\" ng-if=\"vm.arguments.enable_irq\"></glances-plugin-irq>\n <glances-plugin-folders id=\"plugin-folders\" class=\"plugin table-row-group\" ng-if=\"!vm.arguments.disable_folders\"></glances-plugin-folders>\n <glances-plugin-raid id=\"plugin-raid\" class=\"plugin table-row-group\" ng-if=\"!vm.arguments.raid\"></glances-plugin-raid>\n <glances-plugin-sensors id=\"plugin-sensors\" class=\"plugin table-row-group\" ng-if=\"!vm.arguments.disable_sensors\"></glances-plugin-sensors>\n </div>\n </div>\n <div class=\"col-sm-18\">\n <glances-plugin-docker ng-if=\"!vm.arguments.disable_docker\"></glances-plugin-docker>\n <glances-plugin-alert ng-if=\"!vm.arguments.disable_alert\"></glances-plugin-alert>\n <glances-plugin-process></glances-plugin-process>\n </div>\n </div>\n </div>\n</div>\n"; window.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]); module.exports = path; @@ -57507,7 +57503,7 @@ function GlancesHelpController($http) { /* 26 */ /***/ (function(module, exports) { -var path = '/Users/floranbrutel/dev/glances/glances/outputs/static/js/components/help/view.html'; +var path = '/home/nicolargo/dev/glances/glances/outputs/static/js/components/help/view.html'; var html = "<div class=\"container-fluid\">\n <div class=\"row\">\n <div class=\"col-sm-12 col-lg-24\">{{vm.help.version}} {{vm.help.psutil_version}}</div>\n </div>\n <div class=\"row\"> </div>\n <div class=\"row\">\n <div class=\"col-sm-12 col-lg-24\">{{vm.help.configuration_file}}</div>\n </div>\n <div class=\"row\"> </div>\n <div class=\"row\">\n <div class=\"col-sm-12 col-lg-6\">{{vm.help.sort_auto}}</div>\n <div class=\"col-sm-12 col-lg-6\">{{vm.help.sort_network}}</div>\n </div>\n <div class=\"row\">\n <div class=\"col-sm-12 col-lg-6\">{{vm.help.sort_cpu}}</div>\n <div class=\"col-sm-12 col-lg-6\">{{vm.help.show_hide_alert}}</div>\n </div>\n <div class=\"row\">\n <div class=\"col-sm-12 col-lg-6\">{{vm.help.sort_mem}}</div>\n <div class=\"col-sm-12 col-lg-6\">{{vm.help.percpu}}</div>\n </div>\n <div class=\"row\">\n <div class=\"col-sm-12 col-lg-6\">{{vm.help.sort_user}}</div>\n <div class=\"col-sm-12 col-lg-6\">{{vm.help.show_hide_ip}}</div>\n </div>\n <div class=\"row\">\n <div class=\"col-sm-12 col-lg-6\">{{vm.help.sort_proc}}</div>\n <div class=\"col-sm-12 col-lg-6\">{{vm.help.enable_disable_docker}}</div>\n </div>\n <div class=\"row\">\n <div class=\"col-sm-12 col-lg-6\">{{vm.help.sort_io}}</div>\n <div class=\"col-sm-12 col-lg-6\">{{vm.help.view_network_io_combination}}</div>\n </div>\n <div class=\"row\">\n <div class=\"col-sm-12 col-lg-6\">{{vm.help.sort_cpu_times}}</div>\n <div class=\"col-sm-12 col-lg-6\">{{vm.help.view_cumulative_network}}</div>\n </div>\n <div class=\"row\">\n <div class=\"col-sm-12 col-lg-6\">{{vm.help.show_hide_diskio}}</div>\n <div class=\"col-sm-12 col-lg-6\">{{vm.help.show_hide_filesytem_freespace}}</div>\n </div>\n <div class=\"row\">\n <div class=\"col-sm-12 col-lg-6\">{{vm.help.show_hide_filesystem}}</div>\n <div class=\"col-sm-12 col-lg-6\">{{vm.help.show_hide_vm.help}}</div>\n </div>\n <div class=\"row\">\n <div class=\"col-sm-12 col-lg-6\">{{vm.help.show_hide_network}}</div>\n <div class=\"col-sm-12 col-lg-6\">{{vm.help.diskio_iops}}</div>\n </div>\n <div class=\"row\">\n <div class=\"col-sm-12 col-lg-6\">{{vm.help.show_hide_sensors}}</div>\n <div class=\"col-sm-12 col-lg-6\">{{vm.help.show_hide_top_menu}}</div>\n </div>\n <div class=\"row\">\n <div class=\"col-sm-12 col-lg-6\">{{vm.help.show_hide_left_sidebar}}</div>\n <div class=\"col-sm-12 col-lg-6\">{{vm.help.show_hide_amp}}</div>\n </div>\n <div class=\"row\">\n <div class=\"col-sm-12 col-lg-6\">{{vm.help.enable_disable_process_stats}}</div>\n <div class=\"col-sm-12 col-lg-6\">{{vm.help.show_hide_irq}}</div>\n </div>\n <div class=\"row\">\n <div class=\"col-sm-12 col-lg-6\">{{vm.help.enable_disable_gpu}}</div>\n <div class=\"col-sm-12 col-lg-6\">{{vm.help.enable_disable_mean_gpu}}</div>\n </div>\n <div class=\"row\">\n <div class=\"col-sm-12 col-lg-6\">{{vm.help.enable_disable_quick_look}}</div>\n <div class=\"col-sm-12 col-lg-6\"></div>\n </div>\n <div class=\"row\">\n <div class=\"col-sm-12 col-lg-6\">{{vm.help.enable_disable_short_processname}}</div>\n <div class=\"col-sm-12 col-lg-6\"></div>\n </div>\n <div class=\"row\">\n <div class=\"col-sm-12 col-lg-6\">{{vm.help.enable_disable_ports}}</div>\n <div class=\"col-sm-12 col-lg-6\"></div>\n </div>\n\n</div>\n"; window.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]); module.exports = path; @@ -57611,8 +57607,8 @@ function GlancesPluginAlertController($scope, favicoService) { /* 29 */ /***/ (function(module, exports) { -var path = '/Users/floranbrutel/dev/glances/glances/outputs/static/js/components/plugin-alert/view.html'; -var html = "<section id=\"alerts\">\n <span class=\"title\" ng-if=\"!vm.hasAlerts()\">No warning or critical alert detected</span>\n <span class=\"title\" ng-if=\"vm.hasAlerts()\">Warning or critical alerts (lasts {{vm.count()}} entries)</span>\n</section>\n<section id=\"alert\" class=\"plugin\">\n <div class=\"table\">\n <div class=\"table-row\" ng-repeat=\"alert in vm.getAlerts()\">\n <div class=\"table-cell text-left\">\n {{alert.begin | date : 'yyyy-MM-dd H:mm:ss'}} ({{ alert.ongoing ? 'ongoing' : alert.duration }}) - <span\n ng-hide=\"alert.ongoing\">{{alert.level}} on</span> <span class=\"{{ alert.level | lowercase }}\">{{alert.name}}</span>\n ({{alert.max| number:1 }})\n </div>\n </div>\n </div>\n</section>\n"; +var path = '/home/nicolargo/dev/glances/glances/outputs/static/js/components/plugin-alert/view.html'; +var html = "<section id=\"alerts\">\n <span class=\"title\" ng-if=\"!vm.hasAlerts()\">No warning or critical alert detected</span>\n <span class=\"title\" ng-if=\"vm.hasAlerts()\">Warning or critical alerts (last {{vm.count()}} entries)</span>\n</section>\n<section id=\"alert\" class=\"plugin\">\n <div class=\"table\">\n <div class=\"table-row\" ng-repeat=\"alert in vm.getAlerts()\">\n <div class=\"table-cell text-left\">\n {{alert.begin | date : 'yyyy-MM-dd H:mm:ss'}} ({{ alert.ongoing ? 'ongoing' : alert.duration }}) - <span\n ng-hide=\"alert.ongoing\">{{alert.level}} on</span> <span class=\"{{ alert.level | lowercase }}\">{{alert.name}}</span>\n ({{alert.max| number:1 }})\n </div>\n </div>\n </div>\n</section>\n"; window.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]); module.exports = path; @@ -57694,7 +57690,7 @@ function GlancesPluginAmpsController($scope, GlancesStats, favicoService) { /* 32 */ /***/ (function(module, exports) { -var path = '/Users/floranbrutel/dev/glances/glances/outputs/static/js/components/plugin-amps/view.html'; +var path = '/home/nicolargo/dev/glances/glances/outputs/static/js/components/plugin-amps/view.html'; var html = "<section id=\"amps\" class=\"plugin\">\n <div class=\"table\">\n <div class=\"table-row\" ng-repeat=\"process in vm.processes\">\n <div class=\"table-cell text-left\" ng-class=\"vm.getDescriptionDecoration(process)\">{{ process.name }}</div>\n <div class=\"table-cell text-left\">{{ process.count }}</div>\n <div class=\"table-cell text-left process-result\" ng-bind-html=\"process.result|nl2br\"></div>\n </div>\n </div>\n</section>\n"; window.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]); module.exports = path; @@ -57758,7 +57754,7 @@ function GlancesPluginCloudController($scope, GlancesStats) { /* 35 */ /***/ (function(module, exports) { -var path = '/Users/floranbrutel/dev/glances/glances/outputs/static/js/components/plugin-cloud/view.html'; +var path = '/home/nicolargo/dev/glances/glances/outputs/static/js/components/plugin-cloud/view.html'; var html = "<section id=\"cloud\">\n <span class=\"title\">{{ vm.provider }}</span> {{ vm.instance }}\n</section>\n"; window.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]); module.exports = path; @@ -57839,7 +57835,7 @@ function GlancesPluginConnectionsController($scope, GlancesStats) { /* 38 */ /***/ (function(module, exports) { -var path = '/Users/floranbrutel/dev/glances/glances/outputs/static/js/components/plugin-connections/view.html'; +var path = '/home/nicolargo/dev/glances/glances/outputs/static/js/components/plugin-connections/view.html'; var html = "<div class=\"table-row\">\n <div class=\"table-cell text-left title\">TCP CONNECTIONS</div>\n <div class=\"table-cell\"></div>\n</div>\n<div class=\"table-row\">\n <div class=\"table-cell text-left\">Listen</div>\n <div class=\"table-cell\"></div>\n <div class=\"table-cell\">{{vm.listen}}</div>\n</div>\n<div class=\"table-row\">\n <div class=\"table-cell text-left\">Initiated</div>\n <div class=\"table-cell\"></div>\n <div class=\"table-cell\">{{vm.initiated}}</div>\n</div>\n<div class=\"table-ro |