[Library|Trunk]

Linking: 
	add tooltip for csv upload
	css minor fixes



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59264 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
argiro.kokogiannaki 2020-08-13 07:33:46 +00:00
parent c17f6e5597
commit a2ff09bea8
2 changed files with 14 additions and 4 deletions

View File

@ -28,8 +28,7 @@ declare var UIkit: any;
<line fill="none" stroke="#000" x1="9.5" y1="15" x2="9.5" y2="4"></line></svg></span> Select</button--> <line fill="none" stroke="#000" x1="9.5" y1="15" x2="9.5" y2="4"></line></svg></span> Select</button-->
<!--helper div="link-result-bulk" tooltip=true ></helper--> <!--helper div="link-result-bulk" tooltip=true ></helper-->
</div> </div>
<span class=" " title="{{tooltip}}" uk-tooltip><span class="uk-icon" uk-icon="icon: info; ratio: 0.8">&nbsp; </span> </span>
<div *ngIf="showReport" uk-alert class="uk-alert-primary"> <div *ngIf="showReport" uk-alert class="uk-alert-primary">
<a class="uk-alert-close" uk-close></a> <a class="uk-alert-close" uk-close></a>
<div>Uploaded file contains <span <div>Uploaded file contains <span
@ -106,7 +105,18 @@ export class BulkClaimComponent {
@Input() localStoragePrefix: string = ""; @Input() localStoragePrefix: string = "";
exceedsLimit = false; exceedsLimit = false;
@Input() basketLimit ; @Input() basketLimit ;
tooltip = `
<div class="uk-padding-small uk-padding-remove-right uk-padding-remove-left">
<div >
<div><span class="uk-text-bold">CSV format:</span> <br>&quot;DOI&quot;,&quot;ACCESS_MODE&quot;,&quot;DATE&quot;</div>
<br>
<div class=" uk-text-small">
<div>- DOI is required</div>
<div>- Access mode: <br> OPEN, CLOSED, EMBARGO</div>
<div>- Embargo end date:<br> YYYY-MM-DD </div>
</div>
</div>
</div>`;
constructor(private _searchCrossrefService: SearchCrossrefService, private _searchDataciteService: SearchDataciteService) { constructor(private _searchCrossrefService: SearchCrossrefService, private _searchDataciteService: SearchDataciteService) {
this.filesToUpload = []; this.filesToUpload = [];
} }

View File

@ -1,6 +1,6 @@
<div class="uk-section uk-padding-remove-top uk-padding-remove-bottom "> <div class="uk-section uk-padding-remove-top uk-padding-remove-bottom ">
<div <div
[class]="((defaultColors)?'linkingToolbar':'communityPanelBackground')+' uk-padding-small uk-margin-small-top'"> [class]="((defaultColors)?'linkingToolbar':'communityPanelBackground')+' uk-padding-small'">
<div class="uk-container uk-container-large uk-margin-small-top uk-padding-small"> <div class="uk-container uk-container-large uk-margin-small-top uk-padding-small">
<div class="uk-grid"> <div class="uk-grid">
<div class="uk-padding-remove-left uk-margin-auto-vertical back uk-link"> <div class="uk-padding-remove-left uk-margin-auto-vertical back uk-link">