diff options
author | Nicholas Soteropoulos <ns299g@us.att.com> | 2020-09-14 17:19:10 -0400 |
---|---|---|
committer | Nicholas Soteropoulos <ns299g@us.att.com> | 2020-09-22 17:25:58 -0400 |
commit | 457685063fd4b960441e482cc8b88fa8c972a7d2 (patch) | |
tree | b96a9bbc90c44a2319ed7666f2e811d1c20bd339 /mod2/ui/src/app/ms-instance-add/ms-instance-add.component.html | |
parent | 8f3e2c0068392a6d2e7aeed2959c3a681f6a1fe6 (diff) |
Fix mod ui build issues
Change-Id: I4d002645240852a3a5f1964d9ffa2cac11c45b47
Signed-off-by: Nicholas Soteropoulos <ns299g@us.att.com>
Issue-ID: DCAEGEN2-2317
Signed-off-by: Nicholas Soteropoulos <ns299g@us.att.com>
Diffstat (limited to 'mod2/ui/src/app/ms-instance-add/ms-instance-add.component.html')
-rw-r--r-- | mod2/ui/src/app/ms-instance-add/ms-instance-add.component.html | 93 |
1 files changed, 93 insertions, 0 deletions
diff --git a/mod2/ui/src/app/ms-instance-add/ms-instance-add.component.html b/mod2/ui/src/app/ms-instance-add/ms-instance-add.component.html new file mode 100644 index 0000000..804de33 --- /dev/null +++ b/mod2/ui/src/app/ms-instance-add/ms-instance-add.component.html @@ -0,0 +1,93 @@ +<!-- + # ============LICENSE_START======================================================= + # Copyright (c) 2020 AT&T Intellectual Property. All rights reserved. + # ================================================================================ + # 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. + # ============LICENSE_END========================================================= + --> + +<p-dialog [(visible)]="visible" [header]="guiHeader" appendTo="body" [modal]="true" [transitionOptions]="'300ms'" [style]="{width: '720px'}" [baseZIndex]="10000" + [closable]="false" (onHide)="closeDialog()"> + + <!-- "Add / Change MS Instance" Error Message --> + <p-toast key="instanceAddChangeError"></p-toast> + + <form [formGroup]="msInstanceAddForm"> + <!-- * * * Name * * * --> + <div class="input"> + <label class="inputLabel">MS Name</label> + <b>{{msName}}</b> + </div> + <!-- * * * Release * * * --> + <div class="input"> + <label class="inputLabel">Release<span style="color:red">*</span></label> + <p-dropdown [options]="msInstanceReleases" placeholder="Select Release" formControlName="release"></p-dropdown> + </div> + <!-- * * * Scrum Lead / UID * * * --> + <div class="input"> + <label class="inputLabel">Scrum Lead/UID</label> + <input class="inputFieldLg" type="text" pInputText formControlName="scrumLead" /> / <input class="inputFieldXSm" type="text" pInputText formControlName="scrumLeadId" /> + </div> + <!-- * * * Systems Engineer / UID * * * --> + <div class="input"> + <label class="inputLabel">Systems Engineer/UID</label> + <input class="inputFieldLg" type="text" pInputText formControlName="systemsEngineer" /> / <input class="inputFieldXSm" type="text" pInputText formControlName="systemsEngineerId" /> + </div> + <!-- * * * Developer / UID * * * --> + <div class="input"> + <label class="inputLabel">Developer<span style="color:red">*</span>/UID<span style="color:red">*</span></label> + <input class="inputFieldLg" type="text" pInputText formControlName="developer" /> / <input class="inputFieldXSm" type="text" pInputText formControlName="developerId" /> + </div> + <!-- * * * PST Due Date * * * --> + <div class="input"> + <label class="inputLabel">PST Due Date</label> + <p-calendar appendTo="body" [baseZIndex]="10001" dateFormat="yy-mm-dd" formControlName="pstDueDate" [showIcon]="true"></p-calendar> + </div> + <!-- * * * PST Due Iteration * * * --> + <div class="input"> + <label class="inputLabel">PST Due Iteration</label> + <input class="inputFieldSm" type="text" pInputText formControlName="pstDueIteration" /> + </div> + <!-- * * * ETE Due Date * * * --> + <div class="input"> + <label class="inputLabel">ETE Due Date</label> + <p-calendar appendTo="body" [baseZIndex]="10001" dateFormat="yy-mm-dd" formControlName="eteDueDate" [showIcon]="true"></p-calendar> + </div> + <!-- * * * ETE Due Iteration * * * --> + <div class="input"> + <label class="inputLabel">ETE Due Iteration</label> + <input class="inputFieldSm" type="text" pInputText formControlName="eteDueIteration" /> + </div> + <!-- * * * Labels * * * --> + <div class="input"> + <label class="inputLabel">Labels</label> + <input class="inputFieldLg" type="text" pInputText formControlName="labels" /> + </div> + <span style="padding: 0px 0px 0px 188px; font-size: 13px;">(Separate labels with a space)</span> + <!-- * * * Notes * * * --> + <div class="input"> + <label class="inputLabel" style="vertical-align: top">Notes</label> + <textarea class="inputFieldLg" [rows]="1" [cols]="30" pInputTextarea autoResize="autoResize" formControlName="notes"></textarea> + </div> + + <!-- * * * ADD and Cancel buttons * * * --> + <div style="float: right; padding: 10px 25px 5px;"> + <button pButton type="button" (click)="closeDialog()" label="Cancel"></button> + <button pButton type="submit" (click)="submitMsInstance()" class="ui-button-success" [label]="addOrUpdate" style="width: 77px" + [disabled]="!msInstanceAddForm.valid || + !msInstanceAddForm.value['developer'].trim() || + !msInstanceAddForm.value['developerId'].trim()"></button> + </div> + </form> + +</p-dialog>
\ No newline at end of file |