blob: dc363b28a038b0a9aa136efa47301271fb3c6096 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
|
<app-header></app-header>
<div class="new-wrapper">
<header class="page-title">
<div class="row">
<h2 class="col m-0">CBA Packages
<span>({{numberOfPackages}} packages)</span>
</h2>
<div class="col">
</div>
</div>
</header>
<div class="main-container">
<div class="container-fluid body-container creat-container-all">
<div class="creat-container">
<div class="creat-action-container">
<a href="#" class="action-button">
<i class="icon-clone" aria-hidden="true"></i>
<span>Clone</span>
</a>
<a href="#" class="action-button">
<i class="icon-archive" aria-hidden="true"></i>
<span>Archive</span>
</a>
<a href="#" class="action-button">
<i class="icon-delete" aria-hidden="true"></i>
<span>Delete</span>
</a>
</div>
<nav class="row">
<div class="col pr-0">
<button class="float btn btn-sm btn-primary" (click)="saveMetaData()">Save</button>
<button class="float btn btn-sm btn-outline-secondary" disabled>Cancel</button>
</div>
</nav>
<nav class="row">
<!--Nav Tabs-->
<div class="col pr-0">
<div class="nav nav-tabs " id="nav-tab" role="tablist">
<a class="nav-item nav-link active" id="nav-metadata-tab" data-toggle="tab"
href="#nav-metadata"
role="tab" aria-controls="nav-metadata"
aria-selected="true">METADATA</a>
<a class="nav-item nav-link" id="nav-imports-tab" data-toggle="tab" href="#nav-imports"
role="tab" aria-controls="nav-imports"
aria-selected="false">IMPORTS</a>
<a class="nav-item nav-link" id="nav-authentication-tab" data-toggle="tab"
href="#nav-authentication"
role="tab" aria-controls="nav-authentication"
aria-selected="false">EXTERNAL SYSTEM AUTHENTICATION PROPERTIES</a>
<a class="nav-item nav-link" id="nav-template-tab" data-toggle="tab" href="#nav-template"
role="tab" aria-controls="nav-template"
aria-selected="false">TEMPLATE & MAPPING</a>
<a class="nav-item nav-link" id="nav-scripts-tab" data-toggle="tab" href="#nav-scripts"
role="tab" aria-controls="nav-scripts"
aria-selected="false">SCRIPTS</a>
</div>
</div>
</nav>
<div class="row mt-4">
<div class="col">
<div class="tab-content" id="nav-tabContent">
<div class="tab-pane fade show active" id="nav-metadata" role="tabpanel"
aria-labelledby="nav-metadata-tab">
<div class="card creat-card">
<div class="single-line">
<label class="label-name">Mode</label>
<label name="trst" *ngFor="let mode of modes; let i = index">
<input class="form-check-input" [(ngModel)]="metaDataTab.mode" type="radio"
name="exampleRadios" id="exampleRadios1" value={{mode.name}}>
<span>
<i [className]="mode.style" aria-hidden="true" [id]="mode.name"></i>
{{mode.name}}
</span>
</label>
</div>
</div>
<div class="card creat-card">
<div class="single-line">
<label class="label-name">Name</label>
<div class="label-input">
<input type="input"
[(ngModel)]="metaDataTab.name" placeholder="Topology name.vLB.CDS">
</div>
</div>
<hr/>
<div class="single-line">
<label class="label-name">Description</label>
<div class="label-input">
<input type="input" [(ngModel)]="metaDataTab.description"
placeholder="Descripe the package">
</div>
</div>
<hr/>
<div class="single-line">
<label class="label-name">Version</label>
<div class="label-input">
<input type="input" [(ngModel)]="metaDataTab.version"
(input)="validatePackageNameAndVersion()"
placeholder="Example: 1.0.0">
</div>
<div><label style="color: red">{{errorMessage}}</label></div>
</div>
<hr/>
<div class="single-line">
<label class="label-name">tags</label>
<div class="label-input">
<input type="input" [(ngModel)]="metaDataTab.tags"
placeholder="Ex., vDNS-CDS">
</div>
</div>
</div>
<div id="container">
<div id="target">
<div class="card creat-card">
<div class="single-line">
<h5 class="label-name">
Custom key <a class="delete-key" (click)="deleteCustomKey($event)">Delete</a>
</h5>
</div>
<div class="single-line">
<label class="label-name">Name</label>
<div class="label-input">
<input name="key" type="input" placeholder="Enter Name">
</div>
</div>
<hr/>
<div class="single-line">
<label class="label-name">Value</label>
<div class="label-input">
<input name="value" type="input"
placeholder="Enter Value">
</div>
</div>
</div>
</div>
</div>
<div class="card creat-card">
<div class="single-line">
<div name="custom key">
<button class="custom-key" (click)="createAnotherCustomKeyDiv()"><i
class="fa fa-plus" aria-hidden="true"></i> Add a custom key
</button>
</div>
</div>
</div>
</div>
<div class="tab-pane fade" id="nav-imports" role="tabpanel"
aria-labelledby="nav-imports-tab">
<app-imports-tab></app-imports-tab>
</div>
<div class="tab-pane fade" id="nav-authentication" role="tabpanel"
aria-labelledby="nav-authentication-tab">...
</div>
<div class="tab-pane fade" id="nav-template" role="tabpanel"
aria-labelledby="nav-template-tab">...
</div>
<div class="tab-pane fade" id="nav-scripts" role="tabpanel"
aria-labelledby="nav-scripts-tab">...
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
|