aboutsummaryrefslogtreecommitdiffstats
path: root/cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/package-creation.component.html
blob: 454e11215a28cfa179ebe62670b8589ab0980c04 (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
<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 pb-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>Package Name</li>
                    </ul>
                </h2>
                <div class="col profile-help">
                    <nav class="navbar navbar-expand-lg navbar-light">
                          <ul class="navbar-nav ml-auto">
                            <li class="nav-item help-btn">
                              <a class="nav-link mr-2" href="https://wiki.onap.org/display/DW/CDS+Designer+Guide" target="_blank" [delay]="300"
                              tooltip="Help" placement="bottom"><i class="icon-info" aria-hidden="true"></i></a>
                            </li>
                            <div class="nav-item dropdown">
                                <input class="dropdown-toggle" type="text">
                                <div class="dropdown-text"><img src="../assets/img/img-user.jpeg" align="right"></div>
                                <ul class="dropdown-content">
                                  <li>
                                    <a href="#">Username</a>
                                  </li>
                                  <li>
                                    <a href="#">Settings</a>
                                  </li>
                                  <li>
                                    <a href="#">Projects</a>
                                  </li>
                                  <li>
                                    <a href="#">Log out</a>
                                  </li>
                                </ul>
                              </div>
                            <!-- <li class="nav-item dropdown">
                              <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                                Dropdown
                              </a>
                              <div class="dropdown-menu" aria-labelledby="navbarDropdown">
                                <a class="dropdown-item" href="#">Action</a>
                                <a class="dropdown-item" href="#">Another action</a>
                                <div class="dropdown-divider"></div>
                                <a class="dropdown-item" href="#">Something else here</a>
                              </div>
                            </li> -->
                          </ul>
                      </nav>
                    <!-- <ul class="menu-dropdown userProfile">
                        <li><button type="button" class="btn package-info-btn" data-toggle="modal"
                          data-target="#exampleModalLong">
                          <i class="icon-info" aria-hidden="true"></i>
                      </button></li>
                      <li>
                        <div class="dropdown">
                          <input class="dropdown-toggle" type="text">
                          <div class="dropdown-text">User name</div>
                          <ul class="dropdown-content">
                            <li>
                              <a href="#">Settings</a>
                            </li>
                            <li>
                              <a href="#">Projects</a>
                            </li>
                            <li>
                              <a href="#">Log out</a>
                            </li>
                          </ul>
                        </div>
                      </li>
                    </ul> -->
                </div>
            </div>
        </header>

        <div class="container-fluid body-container">
            <div class="container">
                <div class="creat-action-container">
                    <!--  <a class="action-button save" [hidden]="!isSaveEnabled" (click)="saveBluePrint()">
                          <i class="icon-save-sm" aria-hidden="true"></i>
                          <span>Save</span>-->
                    <button (click)="saveBluePrint()" [disabled]="!isSaveEnabled"
                            class="action-button save" aria-hidden="true"><i class="icon-save-sm"
                                                                                          aria-hidden="true"></i>
                        <span>Save</span></button>
                </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" id="nav-metadata-tab" data-toggle="tab"
                               href="#nav-metadata" role="tab" aria-controls="nav-metadata" aria-selected="false"
                               autofocus #nameit (focusout)="saveMetaData()" [classList]="metadataClasses">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>