Zack Williams | 3432b94 | 2018-04-24 17:46:41 -0700 | [diff] [blame^] | 1 | {{- /* |
| 2 | Copyright 2017-present Open Networking Foundation |
| 3 | |
| 4 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | you may not use this file except in compliance with the License. |
| 6 | You may obtain a copy of the License at |
| 7 | |
| 8 | http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | |
| 10 | Unless required by applicable law or agreed to in writing, software |
| 11 | distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | See the License for the specific language governing permissions and |
| 14 | limitations under the License. |
| 15 | */ -}} |
| 16 | |
| 17 | {{- define "xos-gui.app_config" }} |
| 18 | angular.module('app') |
| 19 | .constant('AppConfig', { |
| 20 | apiEndpoint: '/xosapi/v1', |
| 21 | websocketClient: '/' |
| 22 | }); |
| 23 | {{- end }} |
| 24 | |
| 25 | {{- define "xos-gui.style_config" }} |
| 26 | angular.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 | |