blob: 2fb282e9d1f7c530b55ad6e1f258d196d54fb8f0 [file] [log] [blame]
Matteo Scandolo3896c472017-08-01 13:31:42 -07001
2{#
3Copyright 2017-present Open Networking Foundation
4
5Licensed under the Apache License, Version 2.0 (the "License");
6you may not use this file except in compliance with the License.
7You may obtain a copy of the License at
8
9http://www.apache.org/licenses/LICENSE-2.0
10
11Unless required by applicable law or agreed to in writing, software
12distributed under the License is distributed on an "AS IS" BASIS,
13WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14See the License for the specific language governing permissions and
15limitations under the License.
16#}
17
18
Matteo Scandolo667334f2017-02-26 10:58:08 -080019angular.module('app')
20 .constant('StyleConfig', {
21 projectName: '{{ gui_project_name }}',
22 favicon: '{{ gui_favicon }}',
23 background: '{{ gui_background }}',
24 payoff: '{{ gui_payoff }}',
25 logo: '{{ gui_logo }}',
26 routes: [
Matteo Scandolo6050fda2017-02-16 13:01:52 -080027{% for route in gui_routes %}
28 {
Matteo Scandolo667334f2017-02-26 10:58:08 -080029 label: '{{ route.label }}',
30 state: '{{ route.state }}',
Matteo Scandolo6050fda2017-02-16 13:01:52 -080031{% if route.parent is defined %}
Matteo Scandolo667334f2017-02-26 10:58:08 -080032 parent: '{{ route.parent }}'
Matteo Scandolo6050fda2017-02-16 13:01:52 -080033{% endif %}
34 },
35{% endfor %}
Matteo Scandolo667334f2017-02-26 10:58:08 -080036 ]
37});