diff options
author | franciscovila <javier.paradela.vila@est.tech> | 2022-11-24 10:29:04 +0000 |
---|---|---|
committer | Michael Morris <michael.morris@est.tech> | 2023-01-26 23:32:10 +0000 |
commit | 701e441228724c5b701d94cc3f1e520ce656398a (patch) | |
tree | 5900482086d86f8b8e465e6d4b57db4bd7a94184 /catalog-ui/src/app/ng2/components/ui/modal-import-type/modal-import-type.component.html | |
parent | 1bbecd7edbdd907a53812d303d378236d23d071e (diff) |
Import data type in UI
Develop all necessary changes in the UI to allow importing a data type from a yaml file
Issue-ID: SDC-4279
Signed-off-by: franciscovila <javier.paradela.vila@est.tech>
Change-Id: Id413386fad8b362e8c4a1d25c859a22178189074
Diffstat (limited to 'catalog-ui/src/app/ng2/components/ui/modal-import-type/modal-import-type.component.html')
-rw-r--r-- | catalog-ui/src/app/ng2/components/ui/modal-import-type/modal-import-type.component.html | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/catalog-ui/src/app/ng2/components/ui/modal-import-type/modal-import-type.component.html b/catalog-ui/src/app/ng2/components/ui/modal-import-type/modal-import-type.component.html new file mode 100644 index 0000000000..37439f8d70 --- /dev/null +++ b/catalog-ui/src/app/ng2/components/ui/modal-import-type/modal-import-type.component.html @@ -0,0 +1,51 @@ +<!-- + ~ - + ~ ============LICENSE_START======================================================= + ~ Copyright (C) 2023 Nordix Foundation. + ~ ================================================================================ + ~ 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. + ~ + ~ SPDX-License-Identifier: Apache-2.0 + ~ ============LICENSE_END========================================================= + --> +<div class="import-type-container"> + + <form novalidate class="w-sdc-form" name="importForm" validation-on-load form-to-validate="importForm"> + + <div class="w-sdc-form-section-container"> + + <div class="i-sdc-form-item"> + <label class="i-sdc-form-label required">Type</label> + <select class="i-sdc-form-select" + data-ng-class="{'view-mode': true}" + data-ng-disabled="false" + + data-tests-id="selectType" + data-ng-required="true" + + > + <option value="" selected>Data Type</option> + </select> + </div> + + <div class="i-sdc-form-item"> + <label class="i-sdc-form-label required">Select File to Import + <input (change)="onFileChange($event)" type="file" class="i-sdc-dashboard-item-upload-input"/> + </label> + </div> + + </div> + + </form> + +</div>
\ No newline at end of file |