blob: 8939554737c0592194f80ac7f4f3821413ee98f0 [file] [log] [blame]
Zack Williams3432b942018-04-24 17:46:41 -07001{{- /*
2Copyright 2017-present Open Networking Foundation
3
4Licensed under the Apache License, Version 2.0 (the "License");
5you may not use this file except in compliance with the License.
6You may obtain a copy of the License at
7
8http://www.apache.org/licenses/LICENSE-2.0
9
10Unless required by applicable law or agreed to in writing, software
11distributed under the License is distributed on an "AS IS" BASIS,
12WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13See the License for the specific language governing permissions and
14limitations under the License.
15*/ -}}
16
17{{- define "xos-gui.app_config" }}
18angular.module('app')
19.constant('AppConfig', {
20 apiEndpoint: '/xosapi/v1',
21 websocketClient: '/'
22});
23{{- end }}
24
25{{- define "xos-gui.style_config" }}
26angular.module('app')
27.constant('StyleConfig', {
28 projectName: 'R-CORD',
29 favicon: 'cord-favicon.png',
30 background: 'cord-bg.jpg',
31 payoff: 'Your VNF orchestrator',
32 logo: 'cord-logo.png',
33 routes: [
34 {
35 label: 'Slices',
36 state: 'xos.core.slice',
37 },
38 {
39 label: 'Nodes',
40 state: 'xos.core.node',
41 },
42 {
43 label: 'Instances',
44 state: 'xos.core.instance',
45 },
46 ]
47});
48{{- end }}
49