-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
63 lines (50 loc) · 2.53 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no" />
<!-- inject:vendor_css -->
<link rel="stylesheet" href="node_modules/angular-material/angular-material.min.css">
<link rel="stylesheet" href="node_modules/angular-material-data-table/dist/md-data-table.css">
<link rel="stylesheet" href="node_modules/nvd3/build/nv.d3.min.css">
<!-- endinject -->
<!-- inject:css -->
<link rel="stylesheet" href="dist/gnucash.css">
<!-- endinject -->
<title>GNU Cash Display</title>
</head>
<body ng-app="mainDisplay" layout="row">
<section layout="row" flex>
<md-sidenav class="md-sidenav-left md-whiteframe-z2" md-component-id="left" md-is-locked-open="$mdMedia('gt-lg')">
<ng-include src="'core/sidemenu.html'" ng-controller="SideMenuController as controller"></ng-include>
</md-sidenav>
<md-content layout="column" flex ui-view layout-align="start start">
</md-content>
</section>
</body>
<!-- inject:vendor_js -->
<script src="node_modules/angular/angular.min.js"></script>
<script src="node_modules/angular-aria/angular-aria.min.js"></script>
<script src="node_modules/angular-animate/angular-animate.min.js"></script>
<script src="node_modules/angular-material/angular-material.min.js"></script>
<script src="node_modules/angular-ui-router/release/angular-ui-router.min.js"></script>
<script src="node_modules/d3/d3.js"></script>
<script src="node_modules/nvd3/build/nv.d3.min.js"></script>
<script src="node_modules/angular-nvd3/dist/angular-nvd3.min.js"></script>
<script src="node_modules/angular-material-data-table/dist/md-data-table.min.js"></script>
<script src="node_modules/angular-material-icons/angular-material-icons.min.js"></script>
<!-- endinject -->
<!-- inject:js -->
<script src="dist/gnucash-reports-view.js"></script>
<!-- endinject -->
<script language="JavaScript">
angular.module('mainDisplay', ['gnucash-reports-view']).config(['ReportsServiceProvider', function(provider) {
provider.configureReportFile('data/__reports.json');
}]).run(['$animate', function($animate) {
// Have to turn off the animations for now because ui router is animating the transitions of states
// and it is causing the graphs to not be rendered correctly because the size of the divs are not
// set when the graph is being rendered and nvd3 is not listening for the div to stop changing sizes.
$animate.enabled(false);
}]);
</script>
</html>