blob: 020d95c767c8f17491a25bc5e095c8fd3d835fc7 [file] [log] [blame]
<!--
~ Copyright 2018-present Open Networking Foundation
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<div id="yang-model-details-panel" class="floatpanel" [@yangDetailsState]="id!=='' && id!=undefined && !closed">
<div class="container">
<div class="top">
<div class="close-btn">
<onos-icon class="close-btn" classes="active-close" iconId="close" iconSize="20" (click)="close()"></onos-icon>
</div>
<onos-icon [iconSize]="40" [iconId]="'nav_yang'"></onos-icon>
<h2 class="clickable">Module {{detailsData.id}} ({{detailsData.revision}})</h2>
<hr>
</div>
<div class="bottom">
<h3>YANG Source</h3>
<div class="src-frame" style="height: 65vh">
<div class="module-source">
<pre>{{detailsData.source?.join('\n')}}</pre>
</div>
</div>
</div>
</div>
</div>