blob: d43c26407dca06af11be332beeb50ceed196e6a1 [file] [log] [blame]
Sean Condon28ecc5f2018-06-25 12:50:16 +01001<!--
Bhavesh72ead492018-07-19 16:29:18 +05302~ Copyright 2018-present Open Networking Foundation
Sean Condon28ecc5f2018-06-25 12:50:16 +01003~
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<div id="application-details-panel" class="floatpanel" [@appDetailsState]="id!=='' && !closed">
17 <!--<div *ngIf="visible" class="container">-->
18 <div class="container">
19 <div class="top">
20 <onos-icon class="close-btn" iconId="close" iconSize="20" (click)="close()"></onos-icon>
21 <div class="top-content">
22 <div class="app-title">{{ detailsData.title }}</div>
23 <div class="left app-icon">
24 <img src="{{ iconUrl(id) }}">
25 </div>
26 <div class="right">
27 <table class="app-props">
28 <tbody>
29 <tr>
30 <td class="label">{{ lionFn('app_id') }}:</td>
31 <td class="value">{{ id }}</td>
32 </tr>
33 <tr>
34 <td class="label">{{ lionFn('state') }}:</td>
35 <td class="value">{{ detailsData.state }}</td>
36 </tr>
37 <tr>
38 <td class="label">{{ lionFn('category') }}:</td>
39 <td class="value">{{ detailsData.category }}</td>
40 </tr>
41 <tr>
42 <td class="label">{{ lionFn('version') }}:</td>
43 <td class="value">{{ detailsData.version }}</td>
44 </tr>
45 <tr>
46 <td class="label">{{ lionFn('origin') }}:</td>
47 <td class="value">{{ detailsData.origin }}</td>
48 </tr>
49 <tr>
50 <td class="label">{{ lionFn('role') }}:</td>
51 <td class="value">{{ detailsData.role }}</td>
52 </tr>
53 </tbody>
54 </table>
55 </div>
56 <div class="app-url">
57 <a href="{{ detailsData.url }}" target="_blank">{{ detailsData.url }}</a>
58 </div>
59 </div>
60 </div>
61 <hr>
62 <div class="middle">
63 <div class="app-readme">{{ detailsData.readme }}</div>
64 </div>
65 <hr>
66 <div class="bottom">
67 <h2>{{ lionFn('dp_features') }}</h2>
68 <div class="features">
69 <table>
70 <tbody>
71 <tr *ngFor="let feat of detailsData.features">
72 <td>{{ feat }}</td>
73 </tr>
74 </tbody>
75 </table>
76 </div>
77 <h2>{{ lionFn('dp_required_apps') }}</h2>
78 <div class="required-apps">
79 <table>
80 <tbody>
81 <tr *ngFor="let reqd of detailsData.required_apps">
82 <td>{{ reqd }}</td>
83 </tr>
84 </tbody>
85 </table>
86 </div>
87 <h2>{{ lionFn('dp_permissions') }}</h2>
88 <div class="permissions">
89 <table>
90 <tbody>
91 <tr *ngFor="let perm of detailsData.permissions">
92 <td>{{ perm }}</td>
93 </tr>
94 </tbody>
95 </table>
96 </div>
97 </div>
98 </div>
99</div>