Fix paths.

This commit is contained in:
Alexis Lahouze 2016-02-17 09:17:32 +01:00
parent 55710bd0fd
commit fe7277bdd7
2 changed files with 34 additions and 34 deletions

View File

@ -24,16 +24,16 @@
<title>Accountant</title>
<!-- Custom styles -->
<!-- include: "type": "css", "files": "static/css/*.css" -->
<link href="static/css/main.css" rel="stylesheet" type="text/css">
<!-- include: "type": "css", "files": "css/*.css" -->
<link href="css/main.css" rel="stylesheet" type="text/css">
<!-- /include -->
<!-- bower:css -->
<link rel="stylesheet" href="static/bower_components/bootstrap/dist/css/bootstrap.css" />
<link rel="stylesheet" href="static/bower_components/bootstrap-additions/dist/bootstrap-additions.css" />
<link rel="stylesheet" href="static/bower_components/angular-xeditable/dist/css/xeditable.css" />
<link rel="stylesheet" href="static/bower_components/angular-ui-notification/dist/angular-ui-notification.css" />
<link rel="stylesheet" href="static/bower_components/font-awesome/css/font-awesome.css" />
<link rel="stylesheet" href="bower_components/bootstrap/dist/css/bootstrap.css" />
<link rel="stylesheet" href="bower_components/bootstrap-additions/dist/bootstrap-additions.css" />
<link rel="stylesheet" href="bower_components/angular-xeditable/dist/css/xeditable.css" />
<link rel="stylesheet" href="bower_components/angular-ui-notification/dist/angular-ui-notification.css" />
<link rel="stylesheet" href="bower_components/font-awesome/css/font-awesome.css" />
<!-- endbower -->
</head>
@ -55,33 +55,33 @@
</div>
<!-- bower:js -->
<script src="static/bower_components/jquery/dist/jquery.js"></script>
<script src="static/bower_components/moment/moment.js"></script>
<script src="static/bower_components/bootstrap/dist/js/bootstrap.js"></script>
<script src="static/bower_components/angular/angular.js"></script>
<script src="static/bower_components/angular-resource/angular-resource.js"></script>
<script src="static/bower_components/angular-route/angular-route.js"></script>
<script src="static/bower_components/angular-strap/dist/angular-strap.js"></script>
<script src="static/bower_components/angular-strap/dist/angular-strap.tpl.js"></script>
<script src="static/bower_components/angular-xeditable/dist/js/xeditable.js"></script>
<script src="static/bower_components/angular-ui-notification/dist/angular-ui-notification.js"></script>
<script src="static/bower_components/highcharts-ng/dist/highcharts-ng.js"></script>
<script src="static/bower_components/highstock-release/highstock.js"></script>
<script src="static/bower_components/highstock-release/highcharts-more.js"></script>
<script src="static/bower_components/highstock-release/modules/exporting.js"></script>
<script src="static/bower_components/angular-http-auth/src/http-auth-interceptor.js"></script>
<script src="static/bower_components/meanie-angular-storage/release/meanie-angular-storage.js"></script>
<script src="static/bower_components/bootbox/bootbox.js"></script>
<script src="static/bower_components/angular-bootstrap/ui-bootstrap-tpls.js"></script>
<script src="static/bower_components/ngBootbox/dist/ngBootbox.js"></script>
<script src="bower_components/jquery/dist/jquery.js"></script>
<script src="bower_components/moment/moment.js"></script>
<script src="bower_components/bootstrap/dist/js/bootstrap.js"></script>
<script src="bower_components/angular/angular.js"></script>
<script src="bower_components/angular-resource/angular-resource.js"></script>
<script src="bower_components/angular-route/angular-route.js"></script>
<script src="bower_components/angular-strap/dist/angular-strap.js"></script>
<script src="bower_components/angular-strap/dist/angular-strap.tpl.js"></script>
<script src="bower_components/angular-xeditable/dist/js/xeditable.js"></script>
<script src="bower_components/angular-ui-notification/dist/angular-ui-notification.js"></script>
<script src="bower_components/highcharts-ng/dist/highcharts-ng.js"></script>
<script src="bower_components/highstock-release/highstock.js"></script>
<script src="bower_components/highstock-release/highcharts-more.js"></script>
<script src="bower_components/highstock-release/modules/exporting.js"></script>
<script src="bower_components/angular-http-auth/src/http-auth-interceptor.js"></script>
<script src="bower_components/meanie-angular-storage/release/meanie-angular-storage.js"></script>
<script src="bower_components/bootbox/bootbox.js"></script>
<script src="bower_components/angular-bootstrap/ui-bootstrap-tpls.js"></script>
<script src="bower_components/ngBootbox/dist/ngBootbox.js"></script>
<!-- endbower -->
<!-- Custom Javascript libraries -->
<!-- include: "type": "js", "files": "static/js/*.js" -->
<script src="static/js/accounts.js"></script>
<script src="static/js/app.js"></script>
<script src="static/js/operations.js"></script>
<script src="static/js/scheduler.js"></script>
<!-- include: "type": "js", "files": "js/*.js" -->
<script src="js/accounts.js"></script>
<script src="js/app.js"></script>
<script src="js/operations.js"></script>
<script src="js/scheduler.js"></script>
<!-- /include -->
</body>
</html>

View File

@ -54,17 +54,17 @@ angular.module('accountant', [
// Defining template and controller in function of route.
$routeProvider
.when('/account/:accountId/operations', {
templateUrl: 'static/views/operations.html',
templateUrl: 'views/operations.html',
controller: 'OperationController',
controllerAs: 'operationsCtrl'
})
.when('/account/:accountId/scheduler', {
templateUrl: 'static/views/scheduler.html',
templateUrl: 'views/scheduler.html',
controller: 'SchedulerController',
controllerAs: 'schedulerCtrl'
})
.when('/accounts', {
templateUrl: 'static/views/accounts.html',
templateUrl: 'views/accounts.html',
controller: 'AccountController',
controllerAs: 'accountsCtrl'
})