Merge branch 'Development' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot into Development
This commit is contained in:
commit
a75f140893
|
@ -168,23 +168,25 @@
|
|||
<!-- <div class="heading">1.3 {{'DMP-EDITOR.FIELDS.LANGUAGE' | translate}}</div> -->
|
||||
<div class="heading">1.4 {{'DATASET-PROFILE-EDITOR.STEPS.GENERAL-INFO.DATASET-TEMPLATE-USERS'| translate}}</div>
|
||||
<div class="full-width basic-info-input">
|
||||
<table class="col-12">
|
||||
<tr class="row">
|
||||
<table class="col-12 user-table">
|
||||
<tr class="row user-table-header">
|
||||
<th class="col-4">{{'USERS.LISTING.NAME' | translate}}</th>
|
||||
<th class="col-4">{{'USERS.LISTING.EMAIL' | translate}}</th>
|
||||
<th class="col-4"></th>
|
||||
</tr>
|
||||
<tr *ngFor="let user of userChipList" class="row">
|
||||
<tr *ngFor="let user of userChipList" class="row user-table-row">
|
||||
<td class="col-4">{{user.name}}</td>
|
||||
<td class="col-4">{{user.email}}</td>
|
||||
<td class="col-4">
|
||||
<button mat-raised-button class="delete-btn" (click)="removeUser(user)">delete</button>
|
||||
<button mat-raised-button class="delete-btn" (click)="removeUser(user)">{{'DATASET-PROFILE-EDITOR.STEPS.GENERAL-INFO.DATASET-TEMPLATE-REMOVE-USER'| translate}}</button>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<input matInput #email class = "col-8" placeholder="{{'DATASET-PROFILE-EDITOR.STEPS.GENERAL-INFO.DATASET-TEMPLATE-USERS'| translate}}">
|
||||
<button mat-raised-button color="primary" (click)="checkAndAdd(email.value)">Add and Validate</button>
|
||||
<div class = "row">
|
||||
<input matInput #email class = "col-8 email-input" placeholder="{{'DATASET-PROFILE-EDITOR.STEPS.GENERAL-INFO.DATASET-TEMPLATE-USERS'| translate}}">
|
||||
<button mat-raised-button color="primary" (click)="checkAndAdd(email.value)">{{'DATASET-PROFILE-EDITOR.STEPS.GENERAL-INFO.DATASET-TEMPLATE-VALIDATE-AND-ADD-USER'| translate}}</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- <div class="col-12">
|
||||
|
|
|
@ -233,3 +233,40 @@ $blue-color-light: #5cf7f2;
|
|||
background-color: rgba(255, 0, 0, 0.76);
|
||||
color: white;
|
||||
}
|
||||
|
||||
.email-input {
|
||||
border-color: black;
|
||||
border-style: solid;
|
||||
border-width: thin;
|
||||
border-radius: 4px;
|
||||
margin-right: 5px;
|
||||
background-color: white;
|
||||
padding-top: 10px;
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
|
||||
|
||||
.user-table {
|
||||
border: thin solid rgb(179, 173, 173);
|
||||
background-color: white;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.user-table-header {
|
||||
text-align: center;
|
||||
display: revert;
|
||||
}
|
||||
|
||||
.user-table-header th {
|
||||
padding-top: 10px;
|
||||
padding-bottom: 10px;
|
||||
border: thin solid darkgray;
|
||||
}
|
||||
|
||||
.user-table-row {
|
||||
display: revert;
|
||||
}
|
||||
|
||||
.user-table-row:nth-child(even) {
|
||||
background-color: silver;
|
||||
}
|
||||
|
|
|
@ -290,6 +290,8 @@
|
|||
"DATASET-TEMPLATE-LANGUAGE": "Dataset template language",
|
||||
"DATASET-TEMPLATE-SELECT-LANGUAGE": "Select a language",
|
||||
"DATASET-TEMPLATE-USERS": "Users",
|
||||
"DATASET-TEMPLATE-REMOVE-USER": "Remove User",
|
||||
"DATASET-TEMPLATE-VALIDATE-AND-ADD-USER": "Validate and Add User",
|
||||
"DATASET-TEMPLATE-DESCRIPTION-PLACEHOLDER": "Dataset template description",
|
||||
"UNTITLED": "Untitled",
|
||||
"QUESTION": "Question",
|
||||
|
|
|
@ -290,6 +290,8 @@
|
|||
"DATASET-TEMPLATE-LANGUAGE": "Dataset template language",
|
||||
"DATASET-TEMPLATE-SELECT-LANGUAGE": "Select a language",
|
||||
"DATASET-TEMPLATE-USERS": "Users",
|
||||
"DATASET-TEMPLATE-REMOVE-USER": "Remove User",
|
||||
"DATASET-TEMPLATE-VALIDATE-AND-ADD-USER": "Validate and Add User",
|
||||
"DATASET-TEMPLATE-DESCRIPTION-PLACEHOLDER": "Dataset template description",
|
||||
"UNTITLED": "Untitled",
|
||||
"QUESTION": "Question",
|
||||
|
|
|
@ -290,6 +290,8 @@
|
|||
"DATASET-TEMPLATE-LANGUAGE": "Dataset template language",
|
||||
"DATASET-TEMPLATE-SELECT-LANGUAGE": "Select a language",
|
||||
"DATASET-TEMPLATE-USERS": "Users",
|
||||
"DATASET-TEMPLATE-REMOVE-USER": "Remove User",
|
||||
"DATASET-TEMPLATE-VALIDATE-AND-ADD-USER": "Validate and Add User",
|
||||
"DATASET-TEMPLATE-DESCRIPTION-PLACEHOLDER": "Dataset template description",
|
||||
"UNTITLED": "Untitled",
|
||||
"QUESTION": "Question",
|
||||
|
|
|
@ -290,6 +290,8 @@
|
|||
"DATASET-TEMPLATE-LANGUAGE": "Dataset template language",
|
||||
"DATASET-TEMPLATE-SELECT-LANGUAGE": "Select a language",
|
||||
"DATASET-TEMPLATE-USERS": "Users",
|
||||
"DATASET-TEMPLATE-REMOVE-USER": "Remove User",
|
||||
"DATASET-TEMPLATE-VALIDATE-AND-ADD-USER": "Validate and Add User",
|
||||
"DATASET-TEMPLATE-DESCRIPTION-PLACEHOLDER": "Dataset template description",
|
||||
"UNTITLED": "Untitled",
|
||||
"QUESTION": "Question",
|
||||
|
|
|
@ -290,6 +290,8 @@
|
|||
"DATASET-TEMPLATE-LANGUAGE": "Dataset template language",
|
||||
"DATASET-TEMPLATE-SELECT-LANGUAGE": "Select a language",
|
||||
"DATASET-TEMPLATE-USERS": "Users",
|
||||
"DATASET-TEMPLATE-REMOVE-USER": "Remove User",
|
||||
"DATASET-TEMPLATE-VALIDATE-AND-ADD-USER": "Validate and Add User",
|
||||
"DATASET-TEMPLATE-DESCRIPTION-PLACEHOLDER": "Dataset template description",
|
||||
"UNTITLED": "Untitled",
|
||||
"QUESTION": "Question",
|
||||
|
|
|
@ -290,6 +290,8 @@
|
|||
"DATASET-TEMPLATE-LANGUAGE": "Dataset template language",
|
||||
"DATASET-TEMPLATE-SELECT-LANGUAGE": "Select a language",
|
||||
"DATASET-TEMPLATE-USERS": "Users",
|
||||
"DATASET-TEMPLATE-REMOVE-USER": "Remove User",
|
||||
"DATASET-TEMPLATE-VALIDATE-AND-ADD-USER": "Validate and Add User",
|
||||
"DATASET-TEMPLATE-DESCRIPTION-PLACEHOLDER": "Dataset template description",
|
||||
"UNTITLED": "Untitled",
|
||||
"QUESTION": "Question",
|
||||
|
|
|
@ -290,6 +290,8 @@
|
|||
"DATASET-TEMPLATE-LANGUAGE": "Dataset template language",
|
||||
"DATASET-TEMPLATE-SELECT-LANGUAGE": "Select a language",
|
||||
"DATASET-TEMPLATE-USERS": "Users",
|
||||
"DATASET-TEMPLATE-REMOVE-USER": "Remove User",
|
||||
"DATASET-TEMPLATE-VALIDATE-AND-ADD-USER": "Validate and Add User",
|
||||
"DATASET-TEMPLATE-DESCRIPTION-PLACEHOLDER": "Dataset template description",
|
||||
"UNTITLED": "Untitled",
|
||||
"QUESTION": "Question",
|
||||
|
|
|
@ -290,6 +290,8 @@
|
|||
"DATASET-TEMPLATE-LANGUAGE": "Dataset template language",
|
||||
"DATASET-TEMPLATE-SELECT-LANGUAGE": "Select a language",
|
||||
"DATASET-TEMPLATE-USERS": "Users",
|
||||
"DATASET-TEMPLATE-REMOVE-USER": "Remove User",
|
||||
"DATASET-TEMPLATE-VALIDATE-AND-ADD-USER": "Validate and Add User",
|
||||
"DATASET-TEMPLATE-DESCRIPTION-PLACEHOLDER": "Dataset template description",
|
||||
"UNTITLED": "Untitled",
|
||||
"QUESTION": "Question",
|
||||
|
|
Loading…
Reference in New Issue