@ardimedia/angular-portal-azure 0.2.49 → 0.2.50
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/apn.d.ts +1 -0
- package/apn.js +7 -2
- package/directives/home/home.html +39 -39
- package/package.json +3 -1
package/apn.d.ts
CHANGED
package/apn.js
CHANGED
|
@@ -5,7 +5,9 @@ var angularportalazure;
|
|
|
5
5
|
var angularModule = angular.module('angularportalazure', [
|
|
6
6
|
// Angular modules
|
|
7
7
|
'ngResource',
|
|
8
|
-
'ngDialog'
|
|
8
|
+
'ngDialog',
|
|
9
|
+
'angulartics',
|
|
10
|
+
'angulartics.google.analytics'
|
|
9
11
|
]);
|
|
10
12
|
angularModule.config([function () {
|
|
11
13
|
//Debug.enable('[angularportalazure-debug]');
|
|
@@ -305,6 +307,8 @@ var angularportalazure;
|
|
|
305
307
|
};
|
|
306
308
|
Blade.prototype.navigateTo = function (arg) {
|
|
307
309
|
angularportalazure.Debug.write('[angularportalazure-debug] \'Blade.navigateTo\' called. You should not override this, use onNavigateTo instead.', [this, arg]);
|
|
310
|
+
console.log(arg);
|
|
311
|
+
this.portalService.$analytics.pageTrack(arg);
|
|
308
312
|
this.onNavigateTo(arg);
|
|
309
313
|
};
|
|
310
314
|
Blade.prototype.onNavigateTo = function (arg) {
|
|
@@ -879,6 +883,7 @@ var angularportalazure;
|
|
|
879
883
|
this.$q = $injector.get('$q');
|
|
880
884
|
this.$rootScope = $injector.get('$rootScope');
|
|
881
885
|
this.$window = $injector.get('$window');
|
|
886
|
+
this.$analytics = $injector.get('$analytics');
|
|
882
887
|
this.ngDialog = $injector.get('ngDialog');
|
|
883
888
|
this.ngDialog.openConfirm;
|
|
884
889
|
}
|
|
@@ -1378,7 +1383,7 @@ var angularportalazure;
|
|
|
1378
1383
|
this.items = new Array();
|
|
1379
1384
|
this.isNav = true;
|
|
1380
1385
|
angularportalazure.Debug.write('[angularportalazure-debug] \'BladeNav\' constructor called.', [this, portalService, path, title, subtitle, width]);
|
|
1381
|
-
_super.prototype.
|
|
1386
|
+
_super.prototype.navigateTo = this.navigateTo;
|
|
1382
1387
|
}
|
|
1383
1388
|
return BladeNav;
|
|
1384
1389
|
}(angularportalazure.BladeData));
|
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
<div class="fxs-portal">
|
|
2
|
-
<div class="fxs-portal-top-bar fxs-portal-appbar"></div>
|
|
3
|
-
<div id="azureportalscroll" class="fxs-portal-content fxs-panorama">
|
|
4
|
-
|
|
5
|
-
<div class="fxs-panorama-homearea" ng-class="{collapsed: !$ctrl.vm.portalService.panorama.startboard.tiles.showTiles}" ng-show="$ctrl.vm.portalService.panorama.isVisible">
|
|
6
|
-
<header class="fxs-pannable" ng-class="{collapsed: !$ctrl.vm.portalService.panorama.startboard.tiles.showTiles}">
|
|
7
|
-
<h1 class="fxs-panorama-title fxs-pannable">{{$ctrl.vm.title}}</h1>
|
|
8
|
-
<div class="fxs-avatarmenu-target fxs-avatarmenu" ng-class="{collapsed: !$ctrl.vm.portalService.panorama.startboard.tiles.showTiles}">
|
|
9
|
-
<a class="fxs-avatarmenu-header" href="/Account/Manage">
|
|
10
|
-
<img alt="" src="/node_modules/@ardimedia/angular-portal-azure/images/avatar.jpg" />
|
|
11
|
-
<div class="fxs-avatarmenu-username">{{$ctrl.vm.user.name}}</div>
|
|
12
|
-
<div class="fxs-avatarmenu-emailaddresse">{{$ctrl.vm.user.emailaddress}}</div>
|
|
13
|
-
</a>
|
|
14
|
-
</div>
|
|
15
|
-
</header>
|
|
16
|
-
<div class="fxs-startboard-target fxs-startboard fx-rightClick" ng-class="{collapsed: !$ctrl.vm.portalService.panorama.startboard.tiles.showTiles}">
|
|
17
|
-
<div class="fxs-startboard-layout fxs-flowlayout">
|
|
18
|
-
<div class="fxs-flowlayout-childcontainer">
|
|
19
|
-
<section data-ng-repeat="tile in $ctrl.vm.tiles track by $index" class="fxs-tile fx-rightClick fxs-flowlayout-element" data-ng-class="{'fxs-tilesize-normal':tile.size=='normal', 'fxs-tilesize-mini':tile.size=='mini', 'fxs-tilesize-herowide':tile.size=='herowide'}" data-ng-style="{'left': tile.left, 'top': tile.top}">
|
|
20
|
-
<div class="fxs-part fxs-part-clickable" ng-click="$ctrl.vm.navigateTo(tile.bladePath);tile.clicked();" style="cursor:pointer;">
|
|
21
|
-
<header class="fxs-part-title">
|
|
22
|
-
<h2 class="msportalfx-tooltip-overflow">{{tile.title}}</h2>
|
|
23
|
-
<h3 class="msportalfx-tooltip-overflow">{{tile.subTitle}}</h3>
|
|
24
|
-
</header>
|
|
25
|
-
<section class="fxs-part-content css-scope-HubsExtension"></section>
|
|
26
|
-
</div>
|
|
27
|
-
<div class="fxs-title-overlay"></div>
|
|
28
|
-
</section>
|
|
29
|
-
</div>
|
|
30
|
-
</div>
|
|
31
|
-
</div>
|
|
32
|
-
</div>
|
|
33
|
-
<div class="fxs-journey-target fxs-journey">
|
|
34
|
-
<div class="fxs-journey-layout fxs-stacklayout fxs-stacklayout-horizontal">
|
|
35
|
-
<div data-ng-repeat="blade in $ctrl.vm.blades track by $index" class="azureportalblade fxs-stacklayout-child" ng-include="blade.path"></div>
|
|
36
|
-
</div>
|
|
37
|
-
</div>
|
|
38
|
-
</div>
|
|
39
|
-
</div>
|
|
1
|
+
<div class="fxs-portal">
|
|
2
|
+
<div class="fxs-portal-top-bar fxs-portal-appbar"></div>
|
|
3
|
+
<div id="azureportalscroll" class="fxs-portal-content fxs-panorama">
|
|
4
|
+
|
|
5
|
+
<div class="fxs-panorama-homearea" ng-class="{collapsed: !$ctrl.vm.portalService.panorama.startboard.tiles.showTiles}" ng-show="$ctrl.vm.portalService.panorama.isVisible">
|
|
6
|
+
<header class="fxs-pannable" ng-class="{collapsed: !$ctrl.vm.portalService.panorama.startboard.tiles.showTiles}">
|
|
7
|
+
<h1 class="fxs-panorama-title fxs-pannable">{{$ctrl.vm.title}}</h1>
|
|
8
|
+
<div class="fxs-avatarmenu-target fxs-avatarmenu" ng-class="{collapsed: !$ctrl.vm.portalService.panorama.startboard.tiles.showTiles}">
|
|
9
|
+
<a class="fxs-avatarmenu-header" href="/Account/Manage">
|
|
10
|
+
<img alt="" src="/node_modules/@ardimedia/angular-portal-azure/images/avatar.jpg" />
|
|
11
|
+
<div class="fxs-avatarmenu-username">{{$ctrl.vm.user.name}}</div>
|
|
12
|
+
<div class="fxs-avatarmenu-emailaddresse">{{$ctrl.vm.user.emailaddress}}</div>
|
|
13
|
+
</a>
|
|
14
|
+
</div>
|
|
15
|
+
</header>
|
|
16
|
+
<div class="fxs-startboard-target fxs-startboard fx-rightClick" ng-class="{collapsed: !$ctrl.vm.portalService.panorama.startboard.tiles.showTiles}">
|
|
17
|
+
<div class="fxs-startboard-layout fxs-flowlayout">
|
|
18
|
+
<div class="fxs-flowlayout-childcontainer">
|
|
19
|
+
<section data-ng-repeat="tile in $ctrl.vm.tiles track by $index" class="fxs-tile fx-rightClick fxs-flowlayout-element" data-ng-class="{'fxs-tilesize-normal':tile.size=='normal', 'fxs-tilesize-mini':tile.size=='mini', 'fxs-tilesize-herowide':tile.size=='herowide'}" data-ng-style="{'left': tile.left, 'top': tile.top}">
|
|
20
|
+
<div class="fxs-part fxs-part-clickable" ng-click="$ctrl.vm.navigateTo(tile.bladePath);tile.clicked();" style="cursor:pointer;">
|
|
21
|
+
<header class="fxs-part-title">
|
|
22
|
+
<h2 class="msportalfx-tooltip-overflow">{{tile.title}}</h2>
|
|
23
|
+
<h3 class="msportalfx-tooltip-overflow">{{tile.subTitle}}</h3>
|
|
24
|
+
</header>
|
|
25
|
+
<section class="fxs-part-content css-scope-HubsExtension"></section>
|
|
26
|
+
</div>
|
|
27
|
+
<div class="fxs-title-overlay"></div>
|
|
28
|
+
</section>
|
|
29
|
+
</div>
|
|
30
|
+
</div>
|
|
31
|
+
</div>
|
|
32
|
+
</div>
|
|
33
|
+
<div class="fxs-journey-target fxs-journey">
|
|
34
|
+
<div class="fxs-journey-layout fxs-stacklayout fxs-stacklayout-horizontal">
|
|
35
|
+
<div data-ng-repeat="blade in $ctrl.vm.blades track by $index" class="azureportalblade fxs-stacklayout-child" ng-include="blade.path"></div>
|
|
36
|
+
</div>
|
|
37
|
+
</div>
|
|
38
|
+
</div>
|
|
39
|
+
</div>
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@ardimedia/angular-portal-azure",
|
|
3
3
|
"description": "Angular Portal Azure - GUI Framework.",
|
|
4
4
|
"author": "Ardimedia Anstalt <info@ardimedia.com> (http://www.ardimedia.com)",
|
|
5
|
-
"version": "0.2.
|
|
5
|
+
"version": "0.2.50",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"typings": "apn.d.ts",
|
|
8
8
|
"dependencies": {
|
|
@@ -11,6 +11,8 @@
|
|
|
11
11
|
"@types/ng-dialog": "0.0.31",
|
|
12
12
|
"angular": "^1.5.8",
|
|
13
13
|
"angular-resource": "^1.5.8",
|
|
14
|
+
"angulartics": "^1.3.0",
|
|
15
|
+
"angulartics-google-analytics": "^0.4.0",
|
|
14
16
|
"ng-dialog": "^0.6.4"
|
|
15
17
|
},
|
|
16
18
|
"devDependencies": {
|