Skip to content

Commit 4e510b4

Browse files
committedSep 24, 2014
add return button on applications screen
1 parent 23087a7 commit 4e510b4

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed
 

‎src/main/webapp/partials/applications.html

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44

55
<material-toolbar id="toolbar" class="toolbar">
66
<div class="material-toolbar-tools">
7+
<span class="fa fa-arrow-left toolbar-icon"
8+
ng-click="goHome()">
9+
</span>
710
<img src="../images/logo-perfly.svg" width="122" height="52"></img>
811
<span flex></span>
912

‎src/main/webapp/scripts/controllers/ApplicationsController.js

+3
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ angular.module('perfly')
2020
var deviceId = $routeParams['deviceId'];
2121
var progressDialogOpened = false;
2222

23+
$scope.goHome = function () {
24+
$location.path('/');
25+
}
2326

2427
$scope.getPaletteTarget = function (index) {
2528
return [{target: 'tile-header-' + index, alpha: 0.05}];

0 commit comments

Comments
 (0)
Please sign in to comment.