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

View File

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