blob: 976d88d4318ce69915c43fcdc8ad97b5febbbd0f [file] [log] [blame]
Matteo Scandolo667334f2017-02-26 10:58:08 -08001angular.module('app')
2 .constant('StyleConfig', {
3 projectName: '{{ gui_project_name }}',
4 favicon: '{{ gui_favicon }}',
5 background: '{{ gui_background }}',
6 payoff: '{{ gui_payoff }}',
7 logo: '{{ gui_logo }}',
8 routes: [
Matteo Scandolo6050fda2017-02-16 13:01:52 -08009{% for route in gui_routes %}
10 {
Matteo Scandolo667334f2017-02-26 10:58:08 -080011 label: '{{ route.label }}',
12 state: '{{ route.state }}',
Matteo Scandolo6050fda2017-02-16 13:01:52 -080013{% if route.parent is defined %}
Matteo Scandolo667334f2017-02-26 10:58:08 -080014 parent: '{{ route.parent }}'
Matteo Scandolo6050fda2017-02-16 13:01:52 -080015{% endif %}
16 },
17{% endfor %}
Matteo Scandolo667334f2017-02-26 10:58:08 -080018 ]
19});