This commit is contained in:
Loic GUEGAN 2016-04-27 19:06:34 +02:00
parent 9a93133272
commit cc6f0008e3
2 changed files with 14 additions and 10 deletions

View file

@ -13,16 +13,16 @@ mainApp.config(['$routeProvider', function($routeProvider){
$routeProvider.
when('/home',{
templateUrl: 'partials/home/home.html',
controller: 'homeCtrl'
templateUrl: 'partials/home/home.html'
//controller: 'homeCtrl'
}).
when('/network',{
templateUrl: 'partials/network/network.html',
controller: 'networkCtrl'
templateUrl: 'partials/network/network.html'
//controller: 'networkCtrl'
}).
when('/image',{
templateUrl: 'partials/image/image.html',
controller: 'imageCtrl'
templateUrl: 'partials/image/image.html'
//controller: 'imageCtrl'
})
.otherwise({
redirectTo: '/home'

View file

@ -3,9 +3,13 @@
Home
</div>
<div class="panel-body">
<div id="graphHolder"></div>
Selectionner une machine:
<div ng-repeat="machine in machines"> <a ng-click="raiseShowMachineDetailsEvent(machine.id)"> {{ machine.name }}</a></div>
<div class="container-lg">
<!-- Status bar -->
<div class="row">
<div class="col-md-12">
<div id="graphHolder"></div>
</div>
</div>
</div>
</div>
</div>