Sean Condon | d6f95bf | 2020-01-21 10:10:23 +0000 | [diff] [blame^] | 1 | <!-- |
| 2 | ~ Copyright 2018-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 | <div id="yang-model-details-panel" class="floatpanel" [@yangDetailsState]="id!=='' && id!=undefined && !closed"> |
| 18 | <div class="container"> |
| 19 | <div class="top"> |
| 20 | <div class="close-btn"> |
| 21 | <onos-icon class="close-btn" classes="active-close" iconId="close" iconSize="20" (click)="close()"></onos-icon> |
| 22 | </div> |
| 23 | <onos-icon [iconSize]="40" [iconId]="'nav_yang'"></onos-icon> |
| 24 | <h2 class="clickable">Module {{detailsData.id}} ({{detailsData.revision}})</h2> |
| 25 | <hr> |
| 26 | </div> |
| 27 | <div class="bottom"> |
| 28 | <h3>YANG Source</h3> |
| 29 | <div class="src-frame" style="height: 65vh"> |
| 30 | <div class="module-source"> |
| 31 | <pre>{{detailsData.source?.join('\n')}}</pre> |
| 32 | </div> |
| 33 | </div> |
| 34 | </div> |
| 35 | </div> |
| 36 | </div> |