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. $routeProvider.
when('/home',{ when('/home',{
templateUrl: 'partials/home/home.html', templateUrl: 'partials/home/home.html'
controller: 'homeCtrl' //controller: 'homeCtrl'
}). }).
when('/network',{ when('/network',{
templateUrl: 'partials/network/network.html', templateUrl: 'partials/network/network.html'
controller: 'networkCtrl' //controller: 'networkCtrl'
}). }).
when('/image',{ when('/image',{
templateUrl: 'partials/image/image.html', templateUrl: 'partials/image/image.html'
controller: 'imageCtrl' //controller: 'imageCtrl'
}) })
.otherwise({ .otherwise({
redirectTo: '/home' redirectTo: '/home'

View file

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