Skip to content
This repository has been archived by the owner on May 7, 2020. It is now read-only.

Commit

Permalink
[PaperUI] Performance improvements - control page (#3731)
Browse files Browse the repository at this point in the history
* PaperUI: Control page performance improvements & refactoring

Signed-off-by: Henning Treu <henning.treu@telekom.de>
  • Loading branch information
htreu authored and kaikreuzer committed Aug 4, 2017
1 parent 5abe7b7 commit 06fbe2b
Show file tree
Hide file tree
Showing 7 changed files with 420 additions and 447 deletions.
12 changes: 9 additions & 3 deletions extensions/ui/org.eclipse.smarthome.ui.paper/tests/setup.test.js
Expand Up @@ -294,16 +294,22 @@ describe('module PaperUI.controllers.setup', function() {
$httpBackend = $injector.get('$httpBackend');
mdDialog = $injector.get('$mdDialog');
thingTypeRepository = $injector.get('thingTypeRepository');
spyOn(thingTypeRepository, "getOne").and.callThrough();
thingTypeRepository.singleElements = {
'A:B' : {
UID : 'A:B',
label : 'LABEL'
}
}
spyOn(thingTypeRepository, 'getOne').and.callThrough();
rootScope.data.thingTypes = [ {
UID : "A:B",
UID : 'A:B',
label : 'LABEL'
} ];
approveInboxEntryDialogController = $controller('ApproveInboxEntryDialogController', {
'$scope' : scope,
'discoveryResult' : {
label : 'LABEL',
thingTypeUID : "A:B"
thingTypeUID : 'A:B'
}
});
discoveryService = $injector.get('discoveryService');
Expand Down
Expand Up @@ -88,6 +88,7 @@ md-tabs {
md-tabs md-tabs-wrapper {
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.15);
background-color: #01324D;
z-index: 1;
}

md-tabs section {
Expand Down

0 comments on commit 06fbe2b

Please sign in to comment.