aboutsummaryrefslogtreecommitdiffstats
path: root/cds-ui/designer-client/src/app/modules/feature-modules/packages/configuration-dashboard/configuration-dashboard.component.html
blob: 4042c888113fcef140b7009fc8b4b81cd15938e0 (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
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
<app-header></app-header>

<div class="new-wrapper">
    <div class="container-fluid main-container">
        <header class="page-title">
            <div class="row">
                <h2 class="col m-0">
                    <ul class="breadcrumb-header">
                        <li><a routerLink="/packages">CBA Packages</a></li>
                        <i class="fa fa-angle-right ml-2 mr-2"></i>
                        <li>{{viewedPackage.artifactName}}</li> 
                    </ul>
                </h2>
                <div class="col">
                </div>
            </div>
        </header>


        <div class="container-fluid body-container">

            <div class="container">
                <div class="creat-action-container">

                    <a href="#" class="action-button save" (click)="editBluePrint()">
                        <i class="icon-save-sm" aria-hidden="true"></i>
                        <span>Save</span>
                    </a>
                    <a href="#" class="action-button" (click)="goBacktoDashboard()">
                        <i class="icon-discard-sm" aria-hidden="true"></i>
                        <span>Discard Changes</span>
                    </a>

                    <hr>
                    <a href="#" class="action-button">
                        <i class="icon-clone-sm" aria-hidden="true"></i>
                        <span>Clone</span>
                    </a>

                    <a href="#" class="action-button">
                        <i class="icon-archive-sm" aria-hidden="true"></i>
                        <span>Archive</span>
                    </a>

                    <a class="action-button"
                       (click)="downloadPackage(viewedPackage.artifactName,viewedPackage.artifactVersion)">
                        <i class="icon-download" aria-hidden="true"></i>
                        <span>Download</span>
                    </a>

                    <a class="action-button delete">
                        <i class="icon-delete-sm" aria-hidden="true"></i>
                        <span>Delete</span>
                    </a>
                </div>

                <div class="card creat-card view-package-container">
                    <div class="row">
                        <div class="col-1 text-center"><i class="package-type-icon icon-topologyView-active"></i></div>
                        <div class="col-9">
                            <div class="row mb-4">
                                <div class="col-12 package-name deployed">
                                    {{viewedPackage.artifactName}}
                                    <img src="/assets/img/icon-deploy-inactive.svg" class="deply-status-icon">
                                    <span class="package-version">Version 1.0.2</span>
                                </div>
                                <div class="col-12 package-description">
                                    Last modified {{ viewedPackage.createdDate | date:'short' }} By
                                    {{viewedPackage.updatedBy}}
                                </div>
                            </div>
                            <div class="row package-auth-info">
                                <div class="col-3">
                                    <p><b>Author Name</b></p>
                                    <span>Shaaban Ebrahim</span>
                                </div>
                                <div class="col-4">
                                    <p><b>Author Email</b></p>
                                    <span>shaaban.eltanany.ext@orange.com</span>
                                </div>
                                <div class="col-5">
                                    <p><b>Contributions</b></p>
                                    <ul class="package-contributers">
                                        <li>
                                            <button type="button" class="border-fade" data-toggle="tooltip"
                                                    data-placement="bottom" title="User name">
                                                <img src="/assets/img/img-user1.jpeg">
                                            </button>
                                        </li>
                                        <li>
                                            <button type="button" data-toggle="tooltip" data-placement="bottom"
                                                    title="User name">
                                                <img src="/assets/img/img-user2.jpg">
                                            </button>
                                        </li>
                                        <li>
                                            <button type="button" data-toggle="tooltip" data-placement="bottom"
                                                    title="User name">
                                                <img src="/assets/img/img-user3.jpg">
                                            </button>
                                        </li>
                                        <li>
                                            <a href="">5 contributors</a>
                                        </li>
                                    </ul>
                                </div>
                            </div>
                        </div>
                        <div class="col-2 package-view-button pt-3">
                            <!-- <button class="btn btn-sm btn-primary mb-2" (click)="goToDesignerMode()">Designer
                                Mode
                            </button> -->
                            <!-- Button trigger modal - 1st Action -->
                            <button type="button" class="btn btn-sm btn-primary mb-2" data-toggle="modal"
                                data-target="#exampleModalLong">
                                Designer Mode
                            </button>
                            <!-- Modal -->
                            <div class="modal fade createActionModal" id="exampleModalLong" tabindex="-1" role="dialog"
                                aria-labelledby="exampleModalLongTitle" aria-hidden="true">
                                <div class="modal-dialog" role="document">
                                    <div class="modal-content">
                                        <div class="modal-content">
                                            <div class="modal-header">
                                                <h5 class="modal-title" id="exampleModalLongTitle"></h5>
                                                <button type="button" class="close" data-dismiss="modal"
                                                    aria-label="Close" title="Close">
                                                    <i class="icon-action-close"></i>
                                                </button>
                                            </div>
                                            <div class="modal-body">
                                                <div id="carouselExampleIndicators" class="carousel slide"
                                                    data-ride="carousel" data-interval="false">
                                                    <div class="carousel-inner" style="height: 450px">
                                                        <!--OPTIONS SLIDE-->
                                                        <div class="carousel-item active">
                                                            <h1>Let’s create the 1st Action</h1>
                                                            <div class="row">
                                                                <!--Custom Action-->
                                                                <div class="col-3 d-flex">
                                                                    <a class="d-flex" data-target="#carouselExampleIndicators"
                                                                        data-slide-to="1">
                                                                        <div class="card actionType custom">
                                                                            <div class="card-body">
                                                                                <h3>Custom</h3>
                                                                                <p>Start with your own settings</p>
                                                                                <button
                                                                                    data-target="#carouselExampleIndicators"
                                                                                    data-slide-to="1" class="btn">
                                                                                    Create
                                                                                </button>
                                                                            </div>
                                                                        </div>
                                                                    </a>
                                                                </div>
                                                                <!--Default Action-->
                                                                <div class="col-3 d-flex">
                                                                    <a class="d-flex" data-target="#carouselExampleIndicators"
                                                                        data-slide-to="2">
                                                                        <div class="card actionType default">
                                                                            <div class="card-body">
                                                                                <h3>Default</h3>
                                                                                <p>Explore preset actions from CDS
                                                                                    Action Catalog</p>
                                                                                <button
                                                                                    data-target="#carouselExampleIndicators"
                                                                                    data-slide-to="2" class="btn">
                                                                                    Select
                                                                                </button>
                                                                            </div>
                                                                        </div>
                                                                    </a>
                                                                </div>
                                                                <!--Recent Action-->
                                                                <div class="col-3 d-flex">
                                                                    <a class="d-flex" data-target="#carouselExampleIndicators"
                                                                        data-slide-to="3">
                                                                        <div class="card actionType recent">
                                                                            <div class="card-body">
                                                                                <h3>Recent</h3>
                                                                                <p>Re-use recent actions of your
                                                                                    recent
                                                                                    packages</p>
                                                                                <button
                                                                                    data-target="#carouselExampleIndicators"
                                                                                    data-slide-to="3" class="btn">
                                                                                    Select
                                                                                </button>
                                                                            </div>
                                                                        </div>
                                                                    </a>
                                                                </div>
                                                                <!--Import Action-->
                                                                <div class="col-3 d-flex">
                                                                    <a class="d-flex" data-target="#carouselExampleIndicators"
                                                                        data-slide-to="4">
                                                                        <div class="card actionType import">
                                                                            <div class="card-body">
                                                                                <h3>Import</h3>
                                                                                <p>Import your own action files</p>
                                                                                <button
                                                                                    data-target="#carouselExampleIndicators"
                                                                                    data-slide-to="4" class="btn">
                                                                                    Browse</button>
                                                                            </div>
                                                                        </div>
                                                                    </a>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <!--Custom Action Form-->
                                                        <div class="carousel-item">
                                                            <button data-target="#carouselExampleIndicators"
                                                                data-slide-to="0" title="Back" class="btn back"><i
                                                                    class="icon-action-back"></i></button>
                                                            <h1>Create Custom Action</h1>
                                                            <div class="form-group text-center">
                                                                <input type="text" class="form-control customAction"
                                                                    placeholder="Type Action Name" autofocus>
                                                                <button type="button" (click)="goToDesignerMode(viewedPackage.id)" class="btn submit">Start</button>
                                                            </div>

                                                        </div>
                                                        <!--Default Actions Form-->
                                                        <div class="carousel-item">
                                                            <button data-target="#carouselExampleIndicators"
                                                                data-slide-to="0" title="Back" class="btn back"><i
                                                                    class="icon-action-back"></i></button>
                                                            <h1>Choose Action(s) from CDS Default Package </h1>
                                                            <div class="actionFormWrapper">
                                                                <div class="row mb-3">
                                                                    <div class="col sort-packages">
                                                                        <label class="actionlabel">Version</label>
                                                                        <div class="dropdown" style="width: 90px">
                                                                            <input class="dropdown-toggle" type="text">
                                                                            <div class="dropdown-text">1.6.2</div>
                                                                            <ul class="dropdown-content">
                                                                                <li>
                                                                                    <a>1.1.8</a>
                                                                                </li>
                                                                                <li>
                                                                                    <a>2.1.8</a>
                                                                                </li>
                                                                            </ul>
                                                                        </div>
                                                                    </div>
                                                                    <div class="col">
                                                                        <input type="text"
                                                                            class="form-control searchInput"
                                                                            placeholder="Search">
                                                                    </div>
                                                                </div>
                                                                <div class="row actionsListScroll">
                                                                    <div class="col-6">
                                                                        <div class="actionName">
                                                                            <div class="custom-control custom-checkbox">
                                                                                <input type="checkbox"
                                                                                    class="custom-control-input"
                                                                                    id="customControlValidation1"
                                                                                    required>
                                                                                <label class="custom-control-label"
                                                                                    for="customControlValidation1">config-assign</label>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                    <div class="col-6">
                                                                        <div class="actionName">
                                                                            <div class="custom-control custom-checkbox">
                                                                                <input type="checkbox"
                                                                                    class="custom-control-input"
                                                                                    id="customControlValidation2"
                                                                                    required>
                                                                                <label class="custom-control-label"
                                                                                    for="customControlValidation2">config-assign-test</label>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                    <div class="col-6">
                                                                        <div class="actionName">
                                                                            <div class="custom-control custom-checkbox">
                                                                                <input type="checkbox"
                                                                                    class="custom-control-input"
                                                                                    id="customControlValidation3"
                                                                                    required>
                                                                                <label class="custom-control-label"
                                                                                    for="customControlValidation3">config-deploy</label>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                    <div class="col-6">
                                                                        <div class="actionName">
                                                                            <div class="custom-control custom-checkbox">
                                                                                <input type="checkbox"
                                                                                    class="custom-control-input"
                                                                                    id="customControlValidation4"
                                                                                    required>
                                                                                <label class="custom-control-label"
                                                                                    for="customControlValidation4">config-modify</label>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                    <div class="col-6">
                                                                        <div class="actionName">
                                                                            <div class="custom-control custom-checkbox">
                                                                                <input type="checkbox"
                                                                                    class="custom-control-input"
                                                                                    id="customControlValidation5"
                                                                                    required>
                                                                                <label class="custom-control-label"
                                                                                    for="customControlValidation5">config-assign1</label>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                    <div class="col-6">
                                                                        <div class="actionName">
                                                                            <div class="custom-control custom-checkbox">
                                                                                <input type="checkbox"
                                                                                    class="custom-control-input"
                                                                                    id="customControlValidation5"
                                                                                    required>
                                                                                <label class="custom-control-label"
                                                                                    for="customControlValidation5">config-assign1</label>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                    <div class="col-6">
                                                                        <div class="actionName">
                                                                            <div class="custom-control custom-checkbox">
                                                                                <input type="checkbox"
                                                                                    class="custom-control-input"
                                                                                    id="customControlValidation5"
                                                                                    required>
                                                                                <label class="custom-control-label"
                                                                                    for="customControlValidation5">config-assign1</label>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                    <div class="col-6">
                                                                        <div class="actionName">
                                                                            <div class="custom-control custom-checkbox">
                                                                                <input type="checkbox"
                                                                                    class="custom-control-input"
                                                                                    id="customControlValidation5"
                                                                                    required>
                                                                                <label class="custom-control-label"
                                                                                    for="customControlValidation5">config-assign1</label>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                    <div class="col-6">
                                                                        <div class="actionName">
                                                                            <div class="custom-control custom-checkbox">
                                                                                <input type="checkbox"
                                                                                    class="custom-control-input"
                                                                                    id="customControlValidation5"
                                                                                    required>
                                                                                <label class="custom-control-label"
                                                                                    for="customControlValidation5">config-assign1</label>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                    <div class="col-6">
                                                                        <div class="actionName">
                                                                            <div class="custom-control custom-checkbox">
                                                                                <input type="checkbox"
                                                                                    class="custom-control-input"
                                                                                    id="customControlValidation5"
                                                                                    required>
                                                                                <label class="custom-control-label"
                                                                                    for="customControlValidation5">config-assign1</label>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                    <div class="col-6">
                                                                        <div class="actionName">
                                                                            <div class="custom-control custom-checkbox">
                                                                                <input type="checkbox"
                                                                                    class="custom-control-input"
                                                                                    id="customControlValidation5"
                                                                                    required>
                                                                                <label class="custom-control-label"
                                                                                    for="customControlValidation5">config-assign1</label>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                                <div class="row">
                                                                    <div class="col text-center">
                                                                        <p class="selectedActions">0 selected</p>
                                                                        <button type="button" (click)="goToDesignerMode(viewedPackage.id)"
                                                                            class="btn submit">Start</button>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <!--Recent Actions Form-->
                                                        <div class="carousel-item">
                                                            <button data-target="#carouselExampleIndicators"
                                                                data-slide-to="0" title="Back" class="btn back"><i
                                                                    class="icon-action-back"></i></button>
                                                            <h1>Choose Action(s) from Recent Packages</h1>
                                                            <div class="actionFormWrapper">
                                                                <div class="row mb-3">
                                                                    <div class="col sort-packages">
                                                                        <label class="actionlabel">Package
                                                                            Name</label>
                                                                        <div class="dropdown">
                                                                            <input class="dropdown-toggle" type="text">
                                                                            <div class="dropdown-text">CDS (v 1.0.0)
                                                                            </div>
                                                                            <ul class="dropdown-content">
                                                                                <li>
                                                                                    <a>Test Package (v 1.1.8)</a>
                                                                                </li>
                                                                                <li>
                                                                                    <a>Test Package (v 1.1.8)</a>
                                                                                </li>
                                                                                <li>
                                                                                    <a>Test Package (v 1.1.8)</a>
                                                                                </li>
                                                                                <li>
                                                                                    <a>Test Package (v 1.1.8)</a>
                                                                                </li>
                                                                            </ul>
                                                                        </div>
                                                                    </div>
                                                                    <div class="col">
                                                                        <input type="text"
                                                                            class="form-control searchInput"
                                                                            placeholder="Search">
                                                                    </div>
                                                                </div>
                                                                <div class="row actionsListScroll">
                                                                    <div class="col-6">
                                                                        <div class="actionName">
                                                                            <div class="custom-control custom-checkbox">
                                                                                <input type="checkbox"
                                                                                    class="custom-control-input"
                                                                                    id="customControlValidation1"
                                                                                    required>
                                                                                <label class="custom-control-label"
                                                                                    for="customControlValidation1">config-assign</label>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                    <div class="col-6">
                                                                        <div class="actionName">
                                                                            <div class="custom-control custom-checkbox">
                                                                                <input type="checkbox"
                                                                                    class="custom-control-input"
                                                                                    id="customControlValidation2"
                                                                                    required>
                                                                                <label class="custom-control-label"
                                                                                    for="customControlValidation2">config-assign-test</label>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                    <div class="col-6">
                                                                        <div class="actionName">
                                                                            <div class="custom-control custom-checkbox">
                                                                                <input type="checkbox"
                                                                                    class="custom-control-input"
                                                                                    id="customControlValidation3"
                                                                                    required>
                                                                                <label class="custom-control-label"
                                                                                    for="customControlValidation3">config-deploy</label>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                    <div class="col-6">
                                                                        <div class="actionName">
                                                                            <div class="custom-control custom-checkbox">
                                                                                <input type="checkbox"
                                                                                    class="custom-control-input"
                                                                                    id="customControlValidation4"
                                                                                    required>
                                                                                <label class="custom-control-label"
                                                                                    for="customControlValidation4">config-modify</label>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                    <div class="col-6">
                                                                        <div class="actionName">
                                                                            <div class="custom-control custom-checkbox">
                                                                                <input type="checkbox"
                                                                                    class="custom-control-input"
                                                                                    id="customControlValidation5"
                                                                                    required>
                                                                                <label class="custom-control-label"
                                                                                    for="customControlValidation5">config-assign1</label>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                    <div class="col-6">
                                                                        <div class="actionName">
                                                                            <div class="custom-control custom-checkbox">
                                                                                <input type="checkbox"
                                                                                    class="custom-control-input"
                                                                                    id="customControlValidation5"
                                                                                    required>
                                                                                <label class="custom-control-label"
                                                                                    for="customControlValidation5">config-assign1</label>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                    <div class="col-6">
                                                                        <div class="actionName">
                                                                            <div class="custom-control custom-checkbox">
                                                                                <input type="checkbox"
                                                                                    class="custom-control-input"
                                                                                    id="customControlValidation5"
                                                                                    required>
                                                                                <label class="custom-control-label"
                                                                                    for="customControlValidation5">config-assign1</label>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                    <div class="col-6">
                                                                        <div class="actionName">
                                                                            <div class="custom-control custom-checkbox">
                                                                                <input type="checkbox"
                                                                                    class="custom-control-input"
                                                                                    id="customControlValidation5"
                                                                                    required>
                                                                                <label class="custom-control-label"
                                                                                    for="customControlValidation5">config-assign1</label>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                    <div class="col-6">
                                                                        <div class="actionName">
                                                                            <div class="custom-control custom-checkbox">
                                                                                <input type="checkbox"
                                                                                    class="custom-control-input"
                                                                                    id="customControlValidation5"
                                                                                    required>
                                                                                <label class="custom-control-label"
                                                                                    for="customControlValidation5">config-assign1</label>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                    <div class="col-6">
                                                                        <div class="actionName">
                                                                            <div class="custom-control custom-checkbox">
                                                                                <input type="checkbox"
                                                                                    class="custom-control-input"
                                                                                    id="customControlValidation5"
                                                                                    required>
                                                                                <label class="custom-control-label"
                                                                                    for="customControlValidation5">config-assign1</label>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                    <div class="col-6">
                                                                        <div class="actionName">
                                                                            <div class="custom-control custom-checkbox">
                                                                                <input type="checkbox"
                                                                                    class="custom-control-input"
                                                                                    id="customControlValidation5"
                                                                                    required>
                                                                                <label class="custom-control-label"
                                                                                    for="customControlValidation5">config-assign1</label>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                                <div class="row">
                                                                    <div class="col text-center">
                                                                        <p class="selectedActions">0 selected</p>
                                                                        <button type="button"
                                                                            class="btn submit">Start</button>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <!--Import Actions Form-->
                                                        <div class="carousel-item">
                                                            <button data-target="#carouselExampleIndicators"
                                                                data-slide-to="0" title="Back" class="btn back"><i
                                                                    class="icon-action-back"></i></button>
                                                            <h1>Import Action(s)</h1>
                                                            <div class="actionFormWrapper">
                                                                <div class="row">
                                                                    <div class="col">
                                                                        <ngx-file-drop accept=".json"
                                                                            dropZoneLabel="Drop files here"
                                                                            (onFileDrop)="dropped($event)"
                                                                            (onFileOver)="fileOver($event)"
                                                                            (onFileLeave)="fileLeave($event)">
                                                                            <ng-template ngx-file-drop-content-tmp
                                                                                let-openFileSelector="openFileSelector">
                                                                                <div class="folder-upload">
                                                                                    <img
                                                                                        src="assets/img/folder-upload.svg" />
                                                                                </div>
                                                                                <div class="folder-upload-text">
                                                                                    Drag & Drop file
                                                                                </div>
                                                                                <div class="folder-upload-text">or
                                                                                    <button type="button"
                                                                                        class="btn btn-sm btn-primary"
                                                                                        (click)="openFileSelector()">Browse
                                                                                        Files
                                                                                    </button>
                                                                                </div>
                                                                                <div class="folder-upload-type">
                                                                                    Allowed file
                                                                                    type: json</div>
                                                                            </ng-template>
                                                                        </ngx-file-drop>
                                                                        <div class="upload-table">
                                                                            <table class="table">
                                                                                <thead>
                                                                                    <tr
                                                                                        *ngFor="let item of uploadedFiles; let i=index">
                                                                                        <th width="40"><img
                                                                                                src="assets/img/icon-file-code.svg" />
                                                                                        </th>
                                                                                        <th>{{ item.name }}</th>
                                                                                        <th width="40"
                                                                                            class="text-right">
                                                                                            <img
                                                                                                src="assets/img/icon-remove-file.svg" />
                                                                                        </th>
                                                                                    </tr>
                                                                                </thead>
                                                                            </table>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                                <div class="row">
                                                                    <div class="col text-center">
                                                                        <button type="button"
                                                                            class="btn submit mt-4">Import</button>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <button class="btn btn-sm btn-outline-secondary" (click)="deployCurrentPackage()"><i
                                    class="fa fa-play-circle"></i> Deploy
                            </button>
                        </div>
                    </div>

                </div>

                <nav class="row">
                    <!--Nav Tabs-->
                    <div class="col">
                        <div class="nav nav-tabs " id="nav-tab" role="tablist">
                            <a class="nav-item nav-link active complete" id="nav-metadata-tab" data-toggle="tab"
                               href="#nav-metadata" role="tab" aria-controls="nav-metadata" aria-selected="true"
                               autofocus #nameit (focusout)="saveMetaData()">METADATA</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>
                            <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">DEFINITIONS</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>
                        </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">
                                <app-metadata-tab></app-metadata-tab>
                            </div>
                            <div class="tab-pane fade" id="nav-template" role="tabpanel"
                                 aria-labelledby="nav-template-tab">
                                <app-template-mapping></app-template-mapping>
                            </div>
                            <div class="tab-pane fade" id="nav-scripts" role="tabpanel"
                                 aria-labelledby="nav-scripts-tab">
                                <app-scripts-tab></app-scripts-tab>
                            </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 class="card creat-card">
                                    <div class="editor-container">
                                        <app-dsl-definitions-tab></app-dsl-definitions-tab>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>